aboutsummaryrefslogtreecommitdiff
path: root/scss/_helpers.scss
AgeCommit message (Collapse)AuthorFilesLines
2023-01-03Add new link utilities, icon link helper, and update colored link helpers ↵Mark Otto1-0/+1
(#37762) * Add new link utilities, update colored link helpers * Remove commented out code * Fixes * Remove examples changes * Fixes and copy * Fix icon-link instances on homepage * Bump bundlewatch * Fix node-sass issue for rgba() function bug * More bundlewatch * One more time after merge * Add callout for a11y * Hover and focus-visible * Add a11y callouts * Remove duplicate for now * More code review feedback
2022-12-29Focus ring helper and utilities (#33125)Mark Otto1-0/+1
* Add global variables for box-shadow focus rings * Update instances of -btn-focus-box-shadow to use -ring-box-shadow, unless it's for buttons or inputs * fix variable name * Add CSS variables for global focus styling, document it * Move to CSS vars section * Update scss/_nav.scss Co-authored-by: Gaël Poupard <[email protected]> * Helper and utils * Fix bundlewatch * Change 'Focus ring' in sidebar so that the page can be visible * Minor typo fix * fix merge * Revamp some more, improve docs Co-authored-by: Gaël Poupard <[email protected]> Co-authored-by: Julien Déramond <[email protected]> Co-authored-by: Patrick H. Lauke <[email protected]>
2022-04-30Add new text-bg-color utilitiesMark Otto1-0/+1
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