summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWinnie Hellmann <winnie@gitlab.com>2017-10-09 15:07:40 +0200
committerWinnie Hellmann <winnie@gitlab.com>2017-12-08 11:56:04 +0100
commit244ac208140cef2f3534f5449cc1ea5907fa813a (patch)
treea8fbcdc76fedefb0a0fa94eabef7cbc1fda71b5d
parentf85d70008113243078715799f72aac078b6870d8 (diff)
downloadgitlab-ce-244ac208140cef2f3534f5449cc1ea5907fa813a.tar.gz
Make new dropdown <li> style global
-rw-r--r--app/assets/stylesheets/framework/dropdowns.scss19
1 files changed, 2 insertions, 17 deletions
diff --git a/app/assets/stylesheets/framework/dropdowns.scss b/app/assets/stylesheets/framework/dropdowns.scss
index 1cedf2d362f..0494a105195 100644
--- a/app/assets/stylesheets/framework/dropdowns.scss
+++ b/app/assets/stylesheets/framework/dropdowns.scss
@@ -261,9 +261,10 @@
}
li {
+ display: block;
text-align: left;
list-style: none;
- padding: 0 10px;
+ padding: 0 1px;
a,
button,
@@ -338,7 +339,6 @@
}
.dropdown-menu li {
- padding: $gl-btn-padding;
cursor: pointer;
&.droplab-item-active button {
@@ -357,12 +357,6 @@
}
}
- &:hover,
- &:focus {
- background-color: $dropdown-hover-color;
- color: $white-light;
- }
-
&.droplab-item-selected i {
visibility: visible;
}
@@ -765,15 +759,6 @@
#{$selector}.dropdown-menu-nav {
margin-bottom: 24px;
- li {
- display: block;
- padding: 0 1px;
-
- &:hover {
- background-color: transparent;
- }
- }
-
&.dropdown-menu-selectable {
li {
a {