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 209 }
210 210  
211 211 .git_error_tips {
212   - @extend .span6;
  212 + @extend .col-md-6;
213 213 text-align: left;
214 214 margin-top: 40px;
215 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 5 form {
2 6 @extend .form-horizontal;
3 7  
4 8 label {
5 9 @extend .control-label;
  10 + @extend .col-sm-2;
6 11  
7 12 &.radio-label {
8 13 text-align: left;
... ... @@ -33,10 +38,14 @@ input.input-xpadding,
33 38 }
34 39  
35 40 .control-group {
  41 + @extend .form-group;
  42 +
36 43 .control-label {
37 44 padding-top: 6px;
38 45 }
39 46 .controls {
  47 + @extend .col-sm-10;
  48 +
40 49 input, textarea {
41 50 padding: 6px 10px;
42 51 }
... ... @@ -76,3 +85,12 @@ fieldset legend {
76 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 43  
44 44 ul {
45 45 margin: 0;
  46 + padding: 0;
46 47 }
47 48  
48 49 .title {
... ...
app/assets/stylesheets/sections/dashboard.scss
... ... @@ -20,7 +20,7 @@
20 20  
21 21 .search-text-input {
22 22 float:left;
23   - @extend .span2;
  23 + @extend .col-md-2;
24 24 }
25 25 .btn {
26 26 margin-left: 5px;
... ...
app/assets/stylesheets/sections/editor.scss
... ... @@ -42,7 +42,7 @@
42 42 line-height: 20px;
43 43 }
44 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 147 float: left;
148 148 padding: 9px 6px;
149 149 font-size: 18px;
150   - width: 26px;
  150 + width: 40px;
151 151 @include border-radius(3px);
152 152 }
153 153  
... ...
app/assets/stylesheets/sections/header.scss
... ... @@ -5,6 +5,9 @@
5 5 header {
6 6 &.navbar-gitlab {
7 7 margin-bottom: 0;
  8 + height: 40px;
  9 + overflow: hidden;
  10 +
8 11 .navbar-inner {
9 12 /*height: 40px;*/
10 13 padding: 3px;
... ... @@ -92,12 +95,19 @@ header {
92 95 .search {
93 96 margin-right: 10px;
94 97 margin-left: 10px;
  98 + margin-top: 5px;
  99 +
  100 + form {
  101 + margin: 0;
  102 + }
95 103  
96 104 .search-input {
97   - @extend .span3;
  105 + width: 300px;
98 106 background-image: url("icon-search.png");
99 107 background-repeat: no-repeat;
100 108 background-position: 10px;
  109 + height: inherit;
  110 + padding: 4px 6px;
101 111 padding-left: 25px;
102 112 font-size: 13px;
103 113 @include border-radius(3px);
... ... @@ -105,7 +115,7 @@ header {
105 115 box-shadow: none;
106 116 @include transition(all 0.15s ease-in 0s);
107 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 302 }
303 303  
304 304 .note-image-attach {
305   - @extend .span4;
  305 + @extend .col-md-4;
306 306 @extend .thumbnail;
307 307 margin-left: 45px;
308 308 }
... ...
app/assets/stylesheets/sections/wall.scss
1 1 .wall-page {
2 2 .wall-note-form {
3   - @extend .span12;
  3 + @extend .col-md-12;
4 4  
5 5 margin: 0;
6 6 height: 140px;
... ...