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 | 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
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,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