Skip to content
Snippets Groups Projects
Commit 4c6468aa authored by David Wagner's avatar David Wagner
Browse files

Make open and hovered dropdown toggles look the same


The chevron now has the same darker shade when the dropdown is opened it
had when hovered on.

Signed-off-by: default avatarDavid Wagner <david@marvid.fr>
parent b3ed4e0c
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -8,6 +8,12 @@
}
}
 
@mixin chevron-active {
.fa-chevron-down {
color: $dropdown-toggle-hover-icon-color;
}
}
.open {
.dropdown-menu,
.dropdown-menu-nav {
Loading
Loading
@@ -19,7 +25,10 @@
}
}
 
.dropdown-toggle,
.dropdown-menu-toggle {
@include chevron-active;
border-color: $dropdown-toggle-hover-border-color;
}
}
Loading
Loading
@@ -70,20 +79,14 @@
margin-left: 5px;
}
 
@mixin chevron-hover {
.fa-chevron-down {
color: $dropdown-toggle-hover-icon-color;
}
}
&:hover {
@include chevron-hover;
@include chevron-active;
 
border-color: $dropdown-toggle-hover-border-color;
}
 
&:focus:active {
@include chevron-hover;
@include chevron-active;
 
border-color: $dropdown-toggle-active-border-color;
}
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment