aboutsummaryrefslogtreecommitdiff
path: root/themes/hugo-pt2021/assets/bulma-0.9.3/sass/components/menu.sass
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2021-10-14 12:47:50 -0400
committerPaul Duncan <pabs@pablotron.org>2021-10-14 12:47:50 -0400
commit4b6c0e31385f5f27a151088c0a2b614495c4e589 (patch)
tree12243cdcd00704bc1a9d94ac9cc128459417370c /themes/hugo-pt2021/assets/bulma-0.9.3/sass/components/menu.sass
downloadpablotron.org-4b6c0e31385f5f27a151088c0a2b614495c4e589.tar.bz2
pablotron.org-4b6c0e31385f5f27a151088c0a2b614495c4e589.zip
initial commit, including theme
Diffstat (limited to 'themes/hugo-pt2021/assets/bulma-0.9.3/sass/components/menu.sass')
-rw-r--r--themes/hugo-pt2021/assets/bulma-0.9.3/sass/components/menu.sass59
1 files changed, 59 insertions, 0 deletions
diff --git a/themes/hugo-pt2021/assets/bulma-0.9.3/sass/components/menu.sass b/themes/hugo-pt2021/assets/bulma-0.9.3/sass/components/menu.sass
new file mode 100644
index 0000000..31dc56f
--- /dev/null
+++ b/themes/hugo-pt2021/assets/bulma-0.9.3/sass/components/menu.sass
@@ -0,0 +1,59 @@
+@import "../utilities/mixins"
+
+$menu-item-color: $text !default
+$menu-item-radius: $radius-small !default
+$menu-item-hover-color: $text-strong !default
+$menu-item-hover-background-color: $background !default
+$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
+ // Sizes
+ &.is-small
+ font-size: $size-small
+ &.is-medium
+ font-size: $size-medium
+ &.is-large
+ font-size: $size-large
+
+.menu-list
+ line-height: $menu-list-line-height
+ a
+ border-radius: $menu-item-radius
+ color: $menu-item-color
+ display: block
+ padding: $menu-list-link-padding
+ &:hover
+ background-color: $menu-item-hover-background-color
+ color: $menu-item-hover-color
+ // Modifiers
+ &.is-active
+ background-color: $menu-item-active-background-color
+ color: $menu-item-active-color
+ li
+ ul
+ +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: $menu-label-font-size
+ letter-spacing: $menu-label-letter-spacing
+ text-transform: uppercase
+ &:not(:first-child)
+ margin-top: $menu-label-spacing
+ &:not(:last-child)
+ margin-bottom: $menu-label-spacing