mirror of
https://github.com/ascribe/onion.git
synced 2025-01-03 10:25:08 +01:00
Make dropdown items have padding inside them as opposed to outside margin
Avoids weird highlighting when the items are selected.
This commit is contained in:
parent
ad736ad12f
commit
8e837f8149
@ -68,10 +68,15 @@ hr {
|
|||||||
.dropdown-menu {
|
.dropdown-menu {
|
||||||
background-color: $ascribe--nav-bg-color;
|
background-color: $ascribe--nav-bg-color;
|
||||||
}
|
}
|
||||||
|
.navbar-nav > li > .dropdown-menu {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.dropdown-menu > li > a {
|
.dropdown-menu > li > a {
|
||||||
color: $ascribe--nav-fg-prim-color;
|
color: $ascribe--nav-fg-prim-color;
|
||||||
font-weight: $ascribe--font-weight-light;
|
font-weight: $ascribe--font-weight-light;
|
||||||
|
padding-bottom: 9px;
|
||||||
|
padding-top: 9px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dropdown-menu > li > a:hover,
|
.dropdown-menu > li > a:hover,
|
||||||
@ -79,6 +84,10 @@ hr {
|
|||||||
background-color: rgba($ascribe--button-default-color, .05);
|
background-color: rgba($ascribe--button-default-color, .05);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.dropdown-menu > .divider {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.notification-menu {
|
.notification-menu {
|
||||||
.dropdown-menu {
|
.dropdown-menu {
|
||||||
background-color: white;
|
background-color: white;
|
||||||
|
Loading…
Reference in New Issue
Block a user