Skip to content

Commit

Permalink
Fix header
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
  • Loading branch information
dzaporozhets committed Dec 30, 2013
1 parent 6cbadc9 commit 2ecf831
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 15 deletions.
2 changes: 2 additions & 0 deletions app/assets/stylesheets/gitlab_bootstrap/lists.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
*/
.well-list {
margin: 0;
padding: 0;
list-style: none;

li {
padding: 10px;
min-height: 20px;
Expand Down
2 changes: 1 addition & 1 deletion app/assets/stylesheets/gitlab_bootstrap/mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
color: $style_color;
text-shadow: 0 1px 1px #FFF;
font-size: 16px;
line-height: 40px;
line-height: 44px;
font-weight: normal;
}

Expand Down
27 changes: 13 additions & 14 deletions app/assets/stylesheets/sections/header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,23 @@
header {
&.navbar-gitlab {
margin-bottom: 0;
height: 40px;
overflow: hidden;
min-height: 40px;

.navbar-inner {
/*height: 40px;*/
padding: 3px;
background: #F1F1F1;
border-bottom: 1px solid #DDD;
filter: none;

.nav > li > a {
color: $style_color;
text-shadow: 0 1px 0 #fff;
font-size: 14px;
padding: 10px;
line-height: 32px;
padding: 6px 10px;

&:hover {
background: none;
}
}

/** NAV block with links and profile **/
Expand All @@ -39,9 +42,6 @@ header {
.app_logo {
float: left;
margin-right: 9px;
position: relative;
top: -3px;
padding-top: 3px;

a {
float: left;
Expand All @@ -53,7 +53,7 @@ header {
background: url('logo-black.png') no-repeat center center;
background-size: 32px;
float: left;
height: 40px;
height: 46px;
width: 40px;
@include header-font;
text-indent: -9999px;
Expand All @@ -79,7 +79,7 @@ header {

.profile-pic {
position: relative;
top: -4px;
top: -1px;
img {
width: 26px;
height: 26px;
Expand All @@ -95,7 +95,7 @@ header {
.search {
margin-right: 10px;
margin-left: 10px;
margin-top: 5px;
margin-top: 8px;

form {
margin: 0;
Expand All @@ -115,7 +115,7 @@ header {
box-shadow: none;
@include transition(all 0.15s ease-in 0s);
&:focus {
@extend .col-md-4;
width: 400px;
}
}
}
Expand Down Expand Up @@ -192,10 +192,9 @@ header {
.separator {
float: left;
height: 46px;
width: 1px;
width: 2px;
background: white;
border-left: 1px solid #DDD;
margin-top: -3px;
margin-left: 10px;
margin-right: 10px;
}
Expand Down

0 comments on commit 2ecf831

Please sign in to comment.