Commit 3f9749dd86874c4b6dcbdad7d3cd0dc7406a20b8

Authored by randx
1 parent 93401ef9

Fix branch selector. Few css fixed also

app/assets/stylesheets/sections/login.scss
@@ -27,6 +27,7 @@ body.login-page{ @@ -27,6 +27,7 @@ body.login-page{
27 -moz-border-radius-topright: 5px; 27 -moz-border-radius-topright: 5px;
28 border-top-left-radius: 5px; 28 border-top-left-radius: 5px;
29 border-top-right-radius: 5px; 29 border-top-right-radius: 5px;
  30 + margin-bottom:0px;
30 } 31 }
31 32
32 .login-box input.text.bottom{ 33 .login-box input.text.bottom{
app/assets/stylesheets/sections/notes.scss
@@ -48,7 +48,7 @@ @@ -48,7 +48,7 @@
48 p { color:$style_color; } 48 p { color:$style_color; }
49 .note-author { color: $style_color;} 49 .note-author { color: $style_color;}
50 50
51 - .note-title { margin-left:50px; padding-top: 5px;} 51 + .note-title { padding-top: 5px;}
52 .avatar { 52 .avatar {
53 margin-top:3px; 53 margin-top:3px;
54 } 54 }
app/assets/stylesheets/themes/ui_modern.scss
@@ -37,6 +37,7 @@ @@ -37,6 +37,7 @@
37 * 37 *
38 */ 38 */
39 .app_logo { 39 .app_logo {
  40 + width:160px;
40 a { 41 a {
41 h1 { 42 h1 {
42 opacity: 0.7; 43 opacity: 0.7;
@@ -56,7 +57,7 @@ @@ -56,7 +57,7 @@
56 .separator { 57 .separator {
57 width: 1px; 58 width: 1px;
58 height: 40px; 59 height: 40px;
59 - margin: 0 9px; 60 + margin: 0 10px;
60 overflow: hidden; 61 overflow: hidden;
61 background: #222; 62 background: #222;
62 border-left: 1px solid #333; 63 border-left: 1px solid #333;
@@ -73,6 +74,7 @@ @@ -73,6 +74,7 @@
73 background:none; 74 background:none;
74 margin-left:8px; 75 margin-left:8px;
75 font-size: 13px; 76 font-size: 13px;
  77 + font-weight:bold;
76 line-height: 19px; 78 line-height: 19px;
77 color:#ccc; 79 color:#ccc;
78 &:hover { 80 &:hover {
@@ -81,6 +83,7 @@ @@ -81,6 +83,7 @@
81 border: none; 83 border: none;
82 box-shadow:none; 84 box-shadow:none;
83 text-shadow: 0 -1px 0 #000000; 85 text-shadow: 0 -1px 0 #000000;
  86 + border-left: 1px solid #333;
84 } 87 }
85 } 88 }
86 89
@@ -115,7 +118,7 @@ @@ -115,7 +118,7 @@
115 .project_name { 118 .project_name {
116 line-height:34px; 119 line-height:34px;
117 font-size:22px; 120 font-size:22px;
118 - color:#fff; 121 + color:#ccc;
119 text-shadow: 0 1px 1px #111; 122 text-shadow: 0 1px 1px #111;
120 } 123 }
121 124
app/views/notes/_show.html.haml
1 %li{id: dom_id(note), class: "note"} 1 %li{id: dom_id(note), class: "note"}
2 - = image_tag gravatar_icon(note.author.email), class: "avatar" 2 + = image_tag gravatar_icon(note.author.email), class: "avatar s32"
3 %div.note-author 3 %div.note-author
4 %strong= note.author_name 4 %strong= note.author_name
5 = link_to "##{dom_id(note)}", name: dom_id(note) do 5 = link_to "##{dom_id(note)}", name: dom_id(note) do
app/views/refs/_tree.html.haml
@@ -51,8 +51,6 @@ @@ -51,8 +51,6 @@
51 51
52 :javascript 52 :javascript
53 $(function(){ 53 $(function(){
54 - $('select#branch').selectmenu({style:'popup', width:200});  
55 - $('select#tag').selectmenu({style:'popup', width:200});  
56 $('.project-refs-select').chosen(); 54 $('.project-refs-select').chosen();
57 55
58 history.pushState({ path: this.path }, '', "#{@history_path}"); 56 history.pushState({ path: this.path }, '', "#{@history_path}");
app/views/refs/_tree_commit.html.haml
1 - if tm 1 - if tm
2 - %strong= link_to "[#{tm.user_name}]", project_team_member_path(@project, tm) 2 + = link_to "[#{tm.user_name}]", project_team_member_path(@project, tm)
3 = link_to_gfm truncate(content_commit.title, length: tm ? 30 : 50), project_commit_path(@project, content_commit.id), class: "tree-commit-link" 3 = link_to_gfm truncate(content_commit.title, length: tm ? 30 : 50), project_commit_path(@project, content_commit.id), class: "tree-commit-link"