bulma/sass/components/menu.sass

33 lines
607 B
Sass
Raw Normal View History

2016-10-30 19:20:51 +00:00
.menu
font-size: $size-normal
2016-01-24 00:03:43 +00:00
.menu-list
2016-10-30 19:20:51 +00:00
line-height: 1.25
2016-01-24 00:03:43 +00:00
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
2016-10-30 19:20:51 +00:00
padding: 0.5em 0.75em
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
2016-10-30 19:20:51 +00:00
margin: 0.75em
padding-left: 0.75em
2016-01-31 11:04:28 +00:00
2016-03-25 13:38:40 +00:00
.menu-label
color: $text-light
font-size: 0.8em
2016-12-22 19:51:52 +00:00
letter-spacing: 0.1em
2016-03-25 13:38:40 +00:00
text-transform: uppercase
&:not(:first-child)
2016-10-30 19:20:51 +00:00
margin-top: 1em
&:not(:last-child)
margin-bottom: 1em