Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dzaporozhets@gitlab.com>2014-10-04 11:03:17 +0400
committerDmitriy Zaporozhets <dzaporozhets@gitlab.com>2014-10-04 11:03:17 +0400
commitac71c386f98fa9b88381abbf9d20e79f57bd7957 (patch)
treec964bbbe1ecb6a47e5b9b01c7481e798ae08f991
parentc0bb3f5af200a457cd375b455528578d1c459e40 (diff)
parentb2a45a1d35254a8142c7e0c9c511615db2228097 (diff)
Merge branch 'minor-ui-improvements' into 'master'
Minor ui improvements See merge request !1152
-rw-r--r--app/assets/stylesheets/sections/nav.scss41
1 files changed, 7 insertions, 34 deletions
diff --git a/app/assets/stylesheets/sections/nav.scss b/app/assets/stylesheets/sections/nav.scss
index 778953984d6..31c0a0835db 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,53 +35,28 @@
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;
}
}
}
a {
display: block;
text-align: center;
- font-weight: 500;
- height: 38px;
- line-height: 34px;
+ font-weight: bold;
+ height: 42px;
+ line-height: 39px;
color: #777;
text-shadow: 0 1px 1px white;
text-decoration: none;
- padding-top: 2px;
+ overflow: hidden;
+ margin-bottom: -1px;
}
}