Add more dropdown doc

This commit is contained in:
Jeremy Thomas
2017-07-24 12:34:43 +02:00
parent 41f9392a93
commit 28d22d97df
5 changed files with 104 additions and 10 deletions

View File

@@ -8,8 +8,8 @@ $dropdown-content-z: 20 !default
$dropdown-item: $grey-dark !default
$dropdown-item-hover: $black !default
$dropdown-item-hover-background: $background !default
$dropdown-item-active: $black !default
$dropdown-item-active-background: transparent !default
$dropdown-item-active: $primary-invert !default
$dropdown-item-active-background: $primary !default
$dropdown-divider-background: $border !default
@@ -51,10 +51,12 @@ $dropdown-divider-background: $border !default
a.dropdown-item
padding-right: 3rem
white-space: nowrap
&:hover,
&.is-active
&:hover
background-color: $dropdown-item-hover-background
color: $dropdown-item-hover
&.is-active
background-color: $dropdown-item-active-background
color: $dropdown-item-active
.dropdown-divider
background-color: $dropdown-divider-background