Commit 5c3e0f61d731c97d9c08eaaf8b5b57b66e26c4e5

Authored by Dmitriy Zaporozhets
1 parent 1b1a408a

Fix forms and header

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
app/assets/stylesheets/common.scss
@@ -209,7 +209,7 @@ li.note { @@ -209,7 +209,7 @@ li.note {
209 } 209 }
210 210
211 .git_error_tips { 211 .git_error_tips {
212 - @extend .span6; 212 + @extend .col-md-6;
213 text-align: left; 213 text-align: left;
214 margin-top: 40px; 214 margin-top: 40px;
215 pre { 215 pre {
app/assets/stylesheets/gitlab_bootstrap/forms.scss
  1 +input[type="text"], input[type="password"], input[type="search"], input[type="email"] {
  2 + @extend .form-control;
  3 +}
  4 +
1 form { 5 form {
2 @extend .form-horizontal; 6 @extend .form-horizontal;
3 7
4 label { 8 label {
5 @extend .control-label; 9 @extend .control-label;
  10 + @extend .col-sm-2;
6 11
7 &.radio-label { 12 &.radio-label {
8 text-align: left; 13 text-align: left;
@@ -33,10 +38,14 @@ input.input-xpadding, @@ -33,10 +38,14 @@ input.input-xpadding,
33 } 38 }
34 39
35 .control-group { 40 .control-group {
  41 + @extend .form-group;
  42 +
36 .control-label { 43 .control-label {
37 padding-top: 6px; 44 padding-top: 6px;
38 } 45 }
39 .controls { 46 .controls {
  47 + @extend .col-sm-10;
  48 +
40 input, textarea { 49 input, textarea {
41 padding: 6px 10px; 50 padding: 6px 10px;
42 } 51 }
@@ -76,3 +85,12 @@ fieldset legend { @@ -76,3 +85,12 @@ fieldset legend {
76 width: 100px; 85 width: 100px;
77 } 86 }
78 } 87 }
  88 +
  89 +.form-actions {
  90 + padding: 17px 20px 18px;
  91 + margin-top: 18px;
  92 + margin-bottom: 18px;
  93 + background-color: whitesmoke;
  94 + border-top: 1px solid #e5e5e5;
  95 + padding-left: 180px;
  96 +}
app/assets/stylesheets/gitlab_bootstrap/ui_box.scss
@@ -43,6 +43,7 @@ @@ -43,6 +43,7 @@
43 43
44 ul { 44 ul {
45 margin: 0; 45 margin: 0;
  46 + padding: 0;
46 } 47 }
47 48
48 .title { 49 .title {
app/assets/stylesheets/sections/dashboard.scss
@@ -20,7 +20,7 @@ @@ -20,7 +20,7 @@
20 20
21 .search-text-input { 21 .search-text-input {
22 float:left; 22 float:left;
23 - @extend .span2; 23 + @extend .col-md-2;
24 } 24 }
25 .btn { 25 .btn {
26 margin-left: 5px; 26 margin-left: 5px;
app/assets/stylesheets/sections/editor.scss
@@ -42,7 +42,7 @@ @@ -42,7 +42,7 @@
42 line-height: 20px; 42 line-height: 20px;
43 } 43 }
44 textarea { 44 textarea {
45 - @extend .span8; 45 + @extend .col-md-8;
46 } 46 }
47 } 47 }
48 } 48 }
app/assets/stylesheets/sections/events.scss
@@ -147,7 +147,7 @@ @@ -147,7 +147,7 @@
147 float: left; 147 float: left;
148 padding: 9px 6px; 148 padding: 9px 6px;
149 font-size: 18px; 149 font-size: 18px;
150 - width: 26px; 150 + width: 40px;
151 @include border-radius(3px); 151 @include border-radius(3px);
152 } 152 }
153 153
app/assets/stylesheets/sections/header.scss
@@ -5,6 +5,9 @@ @@ -5,6 +5,9 @@
5 header { 5 header {
6 &.navbar-gitlab { 6 &.navbar-gitlab {
7 margin-bottom: 0; 7 margin-bottom: 0;
  8 + height: 40px;
  9 + overflow: hidden;
  10 +
8 .navbar-inner { 11 .navbar-inner {
9 /*height: 40px;*/ 12 /*height: 40px;*/
10 padding: 3px; 13 padding: 3px;
@@ -92,12 +95,19 @@ header { @@ -92,12 +95,19 @@ header {
92 .search { 95 .search {
93 margin-right: 10px; 96 margin-right: 10px;
94 margin-left: 10px; 97 margin-left: 10px;
  98 + margin-top: 5px;
  99 +
  100 + form {
  101 + margin: 0;
  102 + }
95 103
96 .search-input { 104 .search-input {
97 - @extend .span3; 105 + width: 300px;
98 background-image: url("icon-search.png"); 106 background-image: url("icon-search.png");
99 background-repeat: no-repeat; 107 background-repeat: no-repeat;
100 background-position: 10px; 108 background-position: 10px;
  109 + height: inherit;
  110 + padding: 4px 6px;
101 padding-left: 25px; 111 padding-left: 25px;
102 font-size: 13px; 112 font-size: 13px;
103 @include border-radius(3px); 113 @include border-radius(3px);
@@ -105,7 +115,7 @@ header { @@ -105,7 +115,7 @@ header {
105 box-shadow: none; 115 box-shadow: none;
106 @include transition(all 0.15s ease-in 0s); 116 @include transition(all 0.15s ease-in 0s);
107 &:focus { 117 &:focus {
108 - @extend .span4; 118 + @extend .col-md-4;
109 } 119 }
110 } 120 }
111 } 121 }
app/assets/stylesheets/sections/notes.scss
@@ -302,7 +302,7 @@ ul.notes { @@ -302,7 +302,7 @@ ul.notes {
302 } 302 }
303 303
304 .note-image-attach { 304 .note-image-attach {
305 - @extend .span4; 305 + @extend .col-md-4;
306 @extend .thumbnail; 306 @extend .thumbnail;
307 margin-left: 45px; 307 margin-left: 45px;
308 } 308 }
app/assets/stylesheets/sections/wall.scss
1 .wall-page { 1 .wall-page {
2 .wall-note-form { 2 .wall-note-form {
3 - @extend .span12; 3 + @extend .col-md-12;
4 4
5 margin: 0; 5 margin: 0;
6 height: 140px; 6 height: 140px;