Assets: Fix download dropdown

This commit is contained in:
2018-09-07 12:27:37 +02:00
parent 95c1f913c6
commit be98a95fc0
5 changed files with 30 additions and 41 deletions

View File

@@ -1,11 +1,24 @@
// Global, we want all menus to look like this.
.dropdown-menu
ul.dropdown-menu
box-shadow: $dropdown-box-shadow
top: 95% // So there is less gap between the dropdown and the item.
> li
&:first-child > a
padding-top: ($dropdown-item-padding-y * 1.5)
&:last-child > a
padding-bottom: ($dropdown-item-padding-y * 1.5)
> a
padding: $dropdown-item-padding-y
padding-top: $dropdown-item-padding-y
padding-bottom: $dropdown-item-padding-y
.dropdown-divider
margin: 0
.dropdown-item:last-child
border-bottom-left-radius: $border-radius
border-bottom-right-radius: $border-radius
// Open dropdown on mouse hover dropdowns in the navbar.
nav .dropdown:hover