Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/vendor/bulma/sass/components/menu.sass')
-rw-r--r--assets/vendor/bulma/sass/components/menu.sass25
1 files changed, 16 insertions, 9 deletions
diff --git a/assets/vendor/bulma/sass/components/menu.sass b/assets/vendor/bulma/sass/components/menu.sass
index 727df36..1bf7829 100644
--- a/assets/vendor/bulma/sass/components/menu.sass
+++ b/assets/vendor/bulma/sass/components/menu.sass
@@ -6,8 +6,15 @@ $menu-item-active-color: $link-invert !default
$menu-item-active-background-color: $link !default
$menu-list-border-left: 1px solid $border !default
+$menu-list-line-height: 1.25 !default
+$menu-list-link-padding: 0.5em 0.75em !default
+$menu-nested-list-margin: 0.75em !default
+$menu-nested-list-padding-left: 0.75em !default
$menu-label-color: $text-light !default
+$menu-label-font-size: 0.75em !default
+$menu-label-letter-spacing: 0.1em !default
+$menu-label-spacing: 1em !default
.menu
font-size: $size-normal
@@ -20,12 +27,12 @@ $menu-label-color: $text-light !default
font-size: $size-large
.menu-list
- line-height: 1.25
+ line-height: $menu-list-line-height
a
border-radius: $menu-item-radius
color: $menu-item-color
display: block
- padding: 0.5em 0.75em
+ padding: $menu-list-link-padding
&:hover
background-color: $menu-item-hover-background-color
color: $menu-item-hover-color
@@ -35,16 +42,16 @@ $menu-label-color: $text-light !default
color: $menu-item-active-color
li
ul
- border-left: $menu-list-border-left
- margin: 0.75em
- padding-left: 0.75em
+ +ltr-property("border", $menu-list-border-left, false)
+ margin: $menu-nested-list-margin
+ +ltr-property("padding", $menu-nested-list-padding-left, false)
.menu-label
color: $menu-label-color
- font-size: 0.75em
- letter-spacing: 0.1em
+ font-size: $menu-label-font-size
+ letter-spacing: $menu-label-letter-spacing
text-transform: uppercase
&:not(:first-child)
- margin-top: 1em
+ margin-top: $menu-label-spacing
&:not(:last-child)
- margin-bottom: 1em
+ margin-bottom: $menu-label-spacing