node_modules/bulma/sass/components/dropdown.sass in bulma-clean-theme-0.5.1 vs node_modules/bulma/sass/components/dropdown.sass in bulma-clean-theme-0.5.2
- old
+ new
@@ -1,8 +1,12 @@
+$dropdown-menu-min-width: 12rem !default
+
$dropdown-content-background-color: $white !default
$dropdown-content-arrow: $link !default
$dropdown-content-offset: 4px !default
+$dropdown-content-padding-bottom: 0.5rem !default
+$dropdown-content-padding-top: 0.5rem !default
$dropdown-content-radius: $radius !default
$dropdown-content-shadow: 0 2px 3px rgba($black, 0.1), 0 0 0 1px rgba($black, 0.1) !default
$dropdown-content-z: 20 !default
$dropdown-item-color: $grey-dark !default
@@ -33,21 +37,21 @@
top: auto
.dropdown-menu
display: none
left: 0
- min-width: 12rem
+ min-width: $dropdown-menu-min-width
padding-top: $dropdown-content-offset
position: absolute
top: 100%
z-index: $dropdown-content-z
.dropdown-content
background-color: $dropdown-content-background-color
border-radius: $dropdown-content-radius
box-shadow: $dropdown-content-shadow
- padding-bottom: 0.5rem
- padding-top: 0.5rem
+ padding-bottom: $dropdown-content-padding-bottom
+ padding-top: $dropdown-content-padding-top
.dropdown-item
color: $dropdown-item-color
display: block
font-size: 0.875rem