mirror of
https://github.com/jgthms/bulma.git
synced 2024-12-12 13:28:30 +00:00
08ef4df2c0
* Add Bulma v9 * Add vendor dependencies * Fix native * Fix sponsors * Add style attribute
45 lines
686 B
SCSS
45 lines
686 B
SCSS
.bd-anchors {
|
|
padding: var(--docs-side-padding);
|
|
position: sticky;
|
|
top: 0;
|
|
|
|
&.bd-is-empty {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.bd-anchors-title {
|
|
color: $text-light;
|
|
font-size: 0.75em;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.bd-anchors-list {
|
|
padding: 0.25em 0 0.75em;
|
|
|
|
li {
|
|
align-items: flex-start;
|
|
display: flex;
|
|
font-size: 0.875em;
|
|
|
|
&.is-past a:not(:hover) {
|
|
background-color: $border-light;
|
|
color: $text-light;
|
|
}
|
|
|
|
&.is-current a {
|
|
background-color: var(--primary);
|
|
color: var(--primary-invert);
|
|
}
|
|
}
|
|
|
|
a {
|
|
@extend %bd-category-link;
|
|
|
|
&:hover {
|
|
background-color: var(--primary-invert);
|
|
color: var(--primary);
|
|
}
|
|
}
|
|
}
|