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:
Diffstat (limited to 'app/assets/stylesheets/framework/dropdowns.scss')
-rw-r--r--app/assets/stylesheets/framework/dropdowns.scss27
1 files changed, 21 insertions, 6 deletions
diff --git a/app/assets/stylesheets/framework/dropdowns.scss b/app/assets/stylesheets/framework/dropdowns.scss
index 0abb5d7fd8a..7322aaae46c 100644
--- a/app/assets/stylesheets/framework/dropdowns.scss
+++ b/app/assets/stylesheets/framework/dropdowns.scss
@@ -732,26 +732,41 @@
@mixin new-style-dropdown($selector: '') {
#{$selector}.dropdown-menu,
#{$selector}.dropdown-menu-nav {
- .divider {
- margin: 6px 0;
- }
-
li {
padding: 0 1px;
+ &:hover {
+ background-color: transparent;
+ }
+
+ &.divider {
+ margin: 6px 0;
+
+ &:hover {
+ background-color: $dropdown-divider-color;
+ }
+ }
+
&.dropdown-header {
padding: 8px 16px;
}
- a {
+ a,
+ button {
border-radius: 0;
padding: 8px 16px;
+ // make sure the text color is not overriden
+ &.text-danger {
+ @extend .text-danger;
+ }
+
&.is-focused,
&:hover,
&:active,
&:focus {
- background-color: $gray-darker;
+ background-color: $dropdown-item-hover-bg;
+ color: $gl-text-color;
}
&.is-active {