1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 17:33:14 +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:
Brett Sun 2015-12-02 14:47:03 +01:00
parent ad736ad12f
commit 8e837f8149

View File

@ -68,10 +68,15 @@ hr {
.dropdown-menu {
background-color: $ascribe--nav-bg-color;
}
.navbar-nav > li > .dropdown-menu {
padding: 0;
}
.dropdown-menu > li > a {
color: $ascribe--nav-fg-prim-color;
font-weight: $ascribe--font-weight-light;
padding-bottom: 9px;
padding-top: 9px;
}
.dropdown-menu > li > a:hover,
@ -79,6 +84,10 @@ hr {
background-color: rgba($ascribe--button-default-color, .05);
}
.dropdown-menu > .divider {
margin: 0;
}
.notification-menu {
.dropdown-menu {
background-color: white;