Commit 21bfd1e7fc91ce9a1aa34582381c1dec716607f8

Authored by randx
1 parent 19a52197

minor css improvements

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