aboutsummaryrefslogtreecommitdiff
path: root/scss/_helpers.scss
AgeCommit message (Collapse)AuthorFilesLines
2021-07-16Split .vr from stacks as a new helperMark Otto1-0/+1
2021-07-16Add hstack and vstack helpersMark Otto1-0/+1
2020-09-23Rename the classes and docs page, update everything accordinglyMark Otto1-1/+1
2020-07-10Docs: rename "Screen readers" helper page to "Visually hidden"Patrick H. Lauke1-1/+1
"screen readers" is quite reductive, as there are other assistive technologies. content hidden this way is even announced by things like Alexa/Siri etc, so it's not so much just "screen readers". in the long run, we may even consider changing the actual classnames (maybe `.visually-hidden` / `.visually-hidden-focusable`, though admittedly that's a bit verbose). also includes a tiny tweak to layout.md to generalise the note about using `.sr-only`
2020-05-15Improve gradientsMartijn Cuppens1-1/+0
- Use a semitransparent gradient from light to dark which works on any background-color - Store the gradient as a custom property (--bs-gradient) - Remove `.bg-gradient-*` variants in favour of `.bg-gradient` which works even when `$enable-gradients` are enabled - Add gradients to navbar, active page links and badges when gradients are enabled
2019-08-26Link helpers & use utility API for all utilitiesMartijn Cuppens1-1/+2
2019-05-23Helpers & utilities split (#28445)Martijn Cuppens1-0/+7