bulma/sass/components/menu.sass
2016-09-22 20:30:43 +01:00

35 lines
623 B
Sass

@import "../utilities/variables.sass"
.menu-nav
a
display: block
padding: 5px 10px
.menu-list
a
border-radius: $radius-small
color: $text
display: block
padding: 5px 10px
&:hover
background-color: $background
color: $link
// Modifiers
&.is-active
background-color: $link
color: $link-invert
li
ul
border-left: 1px solid $border
margin: 10px
padding-left: 10px
.menu-label
color: $text-light
font-size: $size-small
letter-spacing: 1px
margin-bottom: 5px
text-transform: uppercase
&:not(:first-child)
margin-top: 20px