bulma/sass/components/menu.sass

35 lines
623 B
Sass
Raw Normal View History

2016-09-22 19:30:09 +00:00
@import "../utilities/variables.sass"
2016-03-25 13:38:40 +00:00
.menu-nav
a
display: block
padding: 5px 10px
2016-01-24 00:03:43 +00:00
.menu-list
a
2016-06-29 22:25:27 +00:00
border-radius: $radius-small
2016-01-24 00:03:43 +00:00
color: $text
2016-03-25 13:38:40 +00:00
display: block
padding: 5px 10px
2016-01-24 00:03:43 +00:00
&:hover
2016-06-29 22:59:48 +00:00
background-color: $background
2016-01-24 00:03:43 +00:00
color: $link
2016-04-10 15:27:27 +00:00
// Modifiers
2016-01-31 11:04:28 +00:00
&.is-active
2016-06-29 22:59:48 +00:00
background-color: $link
2016-03-25 13:38:40 +00:00
color: $link-invert
2016-04-10 15:27:27 +00:00
li
ul
border-left: 1px solid $border
margin: 10px
padding-left: 10px
2016-01-31 11:04:28 +00:00
2016-03-25 13:38:40 +00:00
.menu-label
color: $text-light
font-size: $size-small
letter-spacing: 1px
margin-bottom: 5px
text-transform: uppercase
&:not(:first-child)
margin-top: 20px