summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-10-03 21:44:16 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-10-03 21:44:16 +0300
commit4adcd5113386e30edb7993f36bb009f472b36262 (patch)
treeb5b5d93802e6b147a1c33426b9c6b050dcf7f12c /app
parentc0bb3f5af200a457cd375b455528578d1c459e40 (diff)
downloadgitlab-ce-4adcd5113386e30edb7993f36bb009f472b36262.tar.gz
Improve subnavigation style
Diffstat (limited to 'app')
-rw-r--r--app/assets/stylesheets/sections/nav.scss39
1 files changed, 6 insertions, 33 deletions
diff --git a/app/assets/stylesheets/sections/nav.scss b/app/assets/stylesheets/sections/nav.scss
index 778953984d6..fca15950200 100644
--- a/app/assets/stylesheets/sections/nav.scss
+++ b/app/assets/stylesheets/sections/nav.scss
@@ -8,8 +8,6 @@
ul {
padding: 0;
margin: auto;
- height: 40px;
- overflow: hidden;
.count {
font-weight: normal;
display: inline-block;
@@ -37,40 +35,14 @@
a {
color: $link_color;
font-weight: bold;
- &:after {
- content: '';
- display: block;
- position: relative;
- bottom: -1px;
- border-color: $link_color;
- border-style: solid;
- border-width: 2px;
- }
+ border-bottom: 3px solid $link_color;
}
}
&:hover {
a {
color: $link_hover_color;
- &:after {
- content: '';
- display: block;
- position: relative;
- bottom: -1px;
- border-color: $link_hover_color;
- border-style: solid;
- border-width: 2px;
- }
- }
- }
-
- &.home {
- a {
- i {
- font-size: 20px;
- position: relative;
- top: 4px;
- }
+ border-bottom: 3px solid $link_hover_color;
}
}
}
@@ -78,12 +50,13 @@
display: block;
text-align: center;
font-weight: 500;
- height: 38px;
- line-height: 34px;
+ height: 42px;
+ line-height: 39px;
color: #777;
text-shadow: 0 1px 1px white;
text-decoration: none;
- padding-top: 2px;
+ overflow: hidden;
+ margin-bottom: -1px;
}
}