Commit 5c3e0f61d731c97d9c08eaaf8b5b57b66e26c4e5
1 parent
1b1a408a
Exists in
spb-stable
and in
3 other branches
Fix forms and header
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
9 changed files
with
37 additions
and
8 deletions
Show diff stats
app/assets/stylesheets/common.scss
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
app/assets/stylesheets/sections/dashboard.scss
app/assets/stylesheets/sections/editor.scss
app/assets/stylesheets/sections/events.scss
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