summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwinh <winnie@gitlab.com>2017-07-26 13:45:09 +0200
committerwinh <winnie@gitlab.com>2017-07-26 21:31:31 +0200
commit8961b7ec602d583c00b2df4c310092a2472a0ee2 (patch)
tree33e9a6fd421be082588feb693503cb4da18cb162
parent1a2b92f7f6fd3a533654aae22c4e2b9e5db567ee (diff)
downloadgitlab-ce-winh-user-dropdown-style.tar.gz
Make header dropdown styles consistentwinh-user-dropdown-style
-rw-r--r--app/assets/stylesheets/framework/header.scss19
1 files changed, 19 insertions, 0 deletions
diff --git a/app/assets/stylesheets/framework/header.scss b/app/assets/stylesheets/framework/header.scss
index 605f4284bb5..33d016652e5 100644
--- a/app/assets/stylesheets/framework/header.scss
+++ b/app/assets/stylesheets/framework/header.scss
@@ -313,6 +313,25 @@ header {
.impersonation i {
color: $red-500;
}
+
+ // TODO: fallback to global style
+ .dropdown-menu,
+ .dropdown-menu-nav {
+ li {
+ padding: 0 1px;
+
+ a {
+ border-radius: 0;
+ padding: 8px 16px;
+
+ &:hover,
+ &:active,
+ &:focus {
+ background-color: $gray-darker;
+ }
+ }
+ }
+ }
}
.navbar-nav {