summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/framework/gitlab_theme.scss
diff options
context:
space:
mode:
authorDennis Tang <dennis@dennistang.net>2018-07-06 13:40:11 +0000
committerPhil Hughes <me@iamphill.com>2018-07-06 13:40:11 +0000
commit3892b022e3173851f418e4bd8469f0dcdde2ebef (patch)
tree4379c1214ca409902e0d858551282e2dd0c262aa /app/assets/stylesheets/framework/gitlab_theme.scss
parentb14b31b819f0f09d73e001a80acd528aad913dc9 (diff)
downloadgitlab-ce-3892b022e3173851f418e4bd8469f0dcdde2ebef.tar.gz
Resolve "Add dropdown to Groups link in top bar"
Diffstat (limited to 'app/assets/stylesheets/framework/gitlab_theme.scss')
-rw-r--r--app/assets/stylesheets/framework/gitlab_theme.scss21
1 files changed, 13 insertions, 8 deletions
diff --git a/app/assets/stylesheets/framework/gitlab_theme.scss b/app/assets/stylesheets/framework/gitlab_theme.scss
index aaa8bed3df0..dff6bce370f 100644
--- a/app/assets/stylesheets/framework/gitlab_theme.scss
+++ b/app/assets/stylesheets/framework/gitlab_theme.scss
@@ -29,15 +29,21 @@
.navbar-sub-nav,
.navbar-nav {
> li {
- > a:hover,
- > a:focus {
- background-color: rgba($search-and-nav-links, 0.2);
+ > a,
+ > button {
+ &:hover,
+ &:focus {
+ background-color: rgba($search-and-nav-links, 0.2);
+ }
}
- &.active > a,
- &.dropdown.show > a {
- color: $nav-svg-color;
- background-color: $color-alternate;
+ &.active,
+ &.dropdown.show {
+ > a,
+ > button {
+ color: $nav-svg-color;
+ background-color: $color-alternate;
+ }
}
&.line-separator {
@@ -147,7 +153,6 @@
}
}
-
// Sidebar
.nav-sidebar li.active {
box-shadow: inset 4px 0 0 $border-and-box-shadow;