bulma/docs/_sass/components/anchors.scss
Jeremy Thomas 08ef4df2c0
Bulma v9 website (#3249)
* Add Bulma v9

* Add vendor dependencies

* Fix native

* Fix sponsors

* Add style attribute
2021-01-27 23:30:42 +00:00

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);
}
}
}