Add more theming changes to dropdowns

This commit is contained in:
Andreas Nedbal 2020-05-03 20:24:32 +02:00
parent 241b8cbdcb
commit a6b21a85e5
1 changed files with 24 additions and 3 deletions

View File

@ -1,4 +1,25 @@
.dropdown-item.active, .dropdown-item:active { .dropdown-menu {
color: RGB(var(--body-text));
background-color: var(--raised-bg);
box-shadow: $box-shadow-lg;
border: none;
}
.dropdown-item {
color: RGB(var(--body-text));
&.active,
&:active,
&:active:hover {
color: RGB(var(--primary-text)); color: RGB(var(--primary-text));
background-color: var(--primary); background-color: var(--primary);
}
&:hover {
background-color: var(--raised-accent);
}
}
.dropdown-divider {
border-top: 1px solid var(--raised-accent);
} }