mirror of
https://github.com/deps-rs/deps.rs.git
synced 2024-11-24 19:16:31 +00:00
51 lines
1.2 KiB
Sass
51 lines
1.2 KiB
Sass
|
$menu-item-color: $text !default
|
||
|
$menu-item-radius: $radius-small !default
|
||
|
$menu-item-hover-color: $text-strong !default
|
||
|
$menu-item-hover-background-color: $background !default
|
||
|
$menu-item-active-color: $link-invert !default
|
||
|
$menu-item-active-background-color: $link !default
|
||
|
|
||
|
$menu-list-border-left: 1px solid $border !default
|
||
|
|
||
|
$menu-label-color: $text-light !default
|
||
|
|
||
|
.menu
|
||
|
font-size: $size-normal
|
||
|
// Sizes
|
||
|
&.is-small
|
||
|
font-size: $size-small
|
||
|
&.is-medium
|
||
|
font-size: $size-medium
|
||
|
&.is-large
|
||
|
font-size: $size-large
|
||
|
|
||
|
.menu-list
|
||
|
line-height: 1.25
|
||
|
a
|
||
|
border-radius: $menu-item-radius
|
||
|
color: $menu-item-color
|
||
|
display: block
|
||
|
padding: 0.5em 0.75em
|
||
|
&:hover
|
||
|
background-color: $menu-item-hover-background-color
|
||
|
color: $menu-item-hover-color
|
||
|
// Modifiers
|
||
|
&.is-active
|
||
|
background-color: $menu-item-active-background-color
|
||
|
color: $menu-item-active-color
|
||
|
li
|
||
|
ul
|
||
|
border-left: $menu-list-border-left
|
||
|
margin: 0.75em
|
||
|
padding-left: 0.75em
|
||
|
|
||
|
.menu-label
|
||
|
color: $menu-label-color
|
||
|
font-size: 0.75em
|
||
|
letter-spacing: 0.1em
|
||
|
text-transform: uppercase
|
||
|
&:not(:first-child)
|
||
|
margin-top: 1em
|
||
|
&:not(:last-child)
|
||
|
margin-bottom: 1em
|