bulma/sass/components/menu.sass

33 lines
562 B
Sass
Raw Normal View History

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-03-25 13:38:40 +00:00
border-radius: 2px
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-03-25 13:38:40 +00:00
background: $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-03-25 13:38:40 +00:00
background: $link
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