Commit 2ecf83191d4ae7a158d70f8cfa11ec9f2744b0ce

Authored by Dmitriy Zaporozhets
1 parent 6cbadc95

Fix header

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
app/assets/stylesheets/gitlab_bootstrap/lists.scss
... ... @@ -4,7 +4,9 @@
4 4 */
5 5 .well-list {
6 6 margin: 0;
  7 + padding: 0;
7 8 list-style: none;
  9 +
8 10 li {
9 11 padding: 10px;
10 12 min-height: 20px;
... ...
app/assets/stylesheets/gitlab_bootstrap/mixins.scss
... ... @@ -79,7 +79,7 @@
79 79 color: $style_color;
80 80 text-shadow: 0 1px 1px #FFF;
81 81 font-size: 16px;
82   - line-height: 40px;
  82 + line-height: 44px;
83 83 font-weight: normal;
84 84 }
85 85  
... ...
app/assets/stylesheets/sections/header.scss
... ... @@ -5,20 +5,23 @@
5 5 header {
6 6 &.navbar-gitlab {
7 7 margin-bottom: 0;
8   - height: 40px;
9   - overflow: hidden;
  8 + min-height: 40px;
10 9  
11 10 .navbar-inner {
12   - /*height: 40px;*/
13   - padding: 3px;
14 11 background: #F1F1F1;
  12 + border-bottom: 1px solid #DDD;
15 13 filter: none;
16 14  
17 15 .nav > li > a {
18 16 color: $style_color;
19 17 text-shadow: 0 1px 0 #fff;
20 18 font-size: 14px;
21   - padding: 10px;
  19 + line-height: 32px;
  20 + padding: 6px 10px;
  21 +
  22 + &:hover {
  23 + background: none;
  24 + }
22 25 }
23 26  
24 27 /** NAV block with links and profile **/
... ... @@ -39,9 +42,6 @@ header {
39 42 .app_logo {
40 43 float: left;
41 44 margin-right: 9px;
42   - position: relative;
43   - top: -3px;
44   - padding-top: 3px;
45 45  
46 46 a {
47 47 float: left;
... ... @@ -53,7 +53,7 @@ header {
53 53 background: url('logo-black.png') no-repeat center center;
54 54 background-size: 32px;
55 55 float: left;
56   - height: 40px;
  56 + height: 46px;
57 57 width: 40px;
58 58 @include header-font;
59 59 text-indent: -9999px;
... ... @@ -79,7 +79,7 @@ header {
79 79  
80 80 .profile-pic {
81 81 position: relative;
82   - top: -4px;
  82 + top: -1px;
83 83 img {
84 84 width: 26px;
85 85 height: 26px;
... ... @@ -95,7 +95,7 @@ header {
95 95 .search {
96 96 margin-right: 10px;
97 97 margin-left: 10px;
98   - margin-top: 5px;
  98 + margin-top: 8px;
99 99  
100 100 form {
101 101 margin: 0;
... ... @@ -115,7 +115,7 @@ header {
115 115 box-shadow: none;
116 116 @include transition(all 0.15s ease-in 0s);
117 117 &:focus {
118   - @extend .col-md-4;
  118 + width: 400px;
119 119 }
120 120 }
121 121 }
... ... @@ -192,10 +192,9 @@ header {
192 192 .separator {
193 193 float: left;
194 194 height: 46px;
195   - width: 1px;
  195 + width: 2px;
196 196 background: white;
197 197 border-left: 1px solid #DDD;
198   - margin-top: -3px;
199 198 margin-left: 10px;
200 199 margin-right: 10px;
201 200 }
... ...