bulma/sass/components/menu.sass
2016-12-22 19:51:52 +00:00

33 lines
607 B
Sass

.menu
font-size: $size-normal
.menu-list
line-height: 1.25
a
border-radius: $radius-small
color: $text
display: block
padding: 0.5em 0.75em
&:hover
background-color: $background
color: $link
// Modifiers
&.is-active
background-color: $link
color: $link-invert
li
ul
border-left: 1px solid $border
margin: 0.75em
padding-left: 0.75em
.menu-label
color: $text-light
font-size: 0.8em
letter-spacing: 0.1em
text-transform: uppercase
&:not(:first-child)
margin-top: 1em
&:not(:last-child)
margin-bottom: 1em