Commit 21bfd1e7fc91ce9a1aa34582381c1dec716607f8
1 parent
19a52197
Exists in
master
and in
4 other branches
minor css improvements
Showing
3 changed files
with
15 additions
and
15 deletions
Show diff stats
app/assets/stylesheets/gitlab_bootstrap/files.scss
app/assets/stylesheets/sections/header.scss
| ... | ... | @@ -22,7 +22,7 @@ header { |
| 22 | 22 | * |
| 23 | 23 | */ |
| 24 | 24 | .app_logo { |
| 25 | - width:230px; | |
| 25 | + width:200px; | |
| 26 | 26 | float:left; |
| 27 | 27 | position:relative; |
| 28 | 28 | top:-5px; |
| ... | ... | @@ -31,7 +31,7 @@ header { |
| 31 | 31 | |
| 32 | 32 | h1 { |
| 33 | 33 | padding-top: 5px; |
| 34 | - width:102px; | |
| 34 | + width:90px; | |
| 35 | 35 | background: url('logo_dark.png') no-repeat 0px -3px; |
| 36 | 36 | float:left; |
| 37 | 37 | margin-left:5px; | ... | ... |
app/assets/stylesheets/sections/nav.scss
| ... | ... | @@ -2,7 +2,7 @@ |
| 2 | 2 | * Main Menu of Application |
| 3 | 3 | * |
| 4 | 4 | */ |
| 5 | -ul.main_menu { | |
| 5 | +ul.main_menu { | |
| 6 | 6 | border-radius: 4px; |
| 7 | 7 | margin: auto; |
| 8 | 8 | margin:30px 0; |
| ... | ... | @@ -12,7 +12,7 @@ ul.main_menu { |
| 12 | 12 | position:relative; |
| 13 | 13 | overflow:hidden; |
| 14 | 14 | @include shade; |
| 15 | - .count { | |
| 15 | + .count { | |
| 16 | 16 | position: relative; |
| 17 | 17 | top: -1px; |
| 18 | 18 | display: inline-block; |
| ... | ... | @@ -29,12 +29,12 @@ ul.main_menu { |
| 29 | 29 | border-radius: 8px; |
| 30 | 30 | -moz-border-radius: 8px; |
| 31 | 31 | } |
| 32 | - .label { | |
| 32 | + .label { | |
| 33 | 33 | background:$hover; |
| 34 | 34 | text-shadow:none; |
| 35 | 35 | color:$style_color; |
| 36 | 36 | } |
| 37 | - li { | |
| 37 | + li { | |
| 38 | 38 | list-style-type: none; |
| 39 | 39 | margin: 0; |
| 40 | 40 | display: table-cell; |
| ... | ... | @@ -43,7 +43,7 @@ ul.main_menu { |
| 43 | 43 | border-left: 1px solid #EEE; |
| 44 | 44 | border-bottom:2px solid #CFCFCF; |
| 45 | 45 | |
| 46 | - &:first-child{ | |
| 46 | + &:first-child{ | |
| 47 | 47 | -webkit-border-top-left-radius: 4px; |
| 48 | 48 | -webkit-border-bottom-left-radius: 4px; |
| 49 | 49 | -moz-border-radius-topleft: 4px; |
| ... | ... | @@ -53,31 +53,31 @@ ul.main_menu { |
| 53 | 53 | border-left: 0; |
| 54 | 54 | } |
| 55 | 55 | |
| 56 | - &.current { | |
| 56 | + &.current { | |
| 57 | 57 | background-color:#D5D5D5; |
| 58 | - border-bottom: 2px solid $style_color; | |
| 58 | + border-bottom: 1px solid #AAA; | |
| 59 | 59 | border-right: 1px solid #BBB; |
| 60 | 60 | border-left: 1px solid #BBB; |
| 61 | 61 | border-radius: 0 0 1px 1px; |
| 62 | - &:first-child{ | |
| 62 | + &:first-child{ | |
| 63 | 63 | border-bottom:none; |
| 64 | 64 | border-left:none; |
| 65 | 65 | } |
| 66 | 66 | } |
| 67 | 67 | |
| 68 | - &.home { | |
| 69 | - a { | |
| 68 | + &.home { | |
| 69 | + a { | |
| 70 | 70 | background: url(home_icon.PNG) no-repeat center center; |
| 71 | 71 | text-indent:-9999px; |
| 72 | 72 | min-width:20px; |
| 73 | - img { | |
| 73 | + img { | |
| 74 | 74 | position:relative; |
| 75 | 75 | top:4px; |
| 76 | 76 | } |
| 77 | 77 | } |
| 78 | 78 | } |
| 79 | 79 | } |
| 80 | - a { | |
| 80 | + a { | |
| 81 | 81 | display: block; |
| 82 | 82 | text-align: center; |
| 83 | 83 | font-weight:bold; | ... | ... |