aboutsummaryrefslogtreecommitdiff
path: root/scss/helpers
AgeCommit message (Collapse)AuthorFilesLines
2021-07-16Split .vr from stacks as a new helperMark Otto2-9/+8
2021-07-16Add hstack and vstack helpersMark Otto1-0/+24
2021-01-06fix(ratio): missing variable prefix (#32501)Gaël Poupard1-2/+2
This is the only unprefixed custom property, and its name is very common so I think we'd better prefix it too.
2020-12-15Expand `visually-hidden-focusable` so it can be used on a container, so the ↵Patrick H. Lauke1-1/+1
container becomes visible when focus is inside it / on one of its child elements.
2020-10-13Colors rewrite (#30622)Martijn Cuppens1-2/+2
2020-09-23Updates to .ratio selectors and docsMark Otto1-5/+1
- Remove group selector for ratio items - Drop the .ratio-item entirely - Update docs to explain updated approach - Update Migration guide to reflect the latest
2020-09-23Rename the classes and docs page, update everything accordinglyMark Otto1-5/+4
2020-09-23Updates responsive embeds with new class names and CSS variablesMark Otto1-3/+3
- Renames .embed-responsive-XbyY classes to .embed-responsive-XxY - Simplifies the Sass map to just be key and value, ratio and percentage - Builds .embed-responsive-* modifiers with CSS variables - Updates docs to show power of CSS variables - Add notes to the Migration guide
2020-08-04Ensure to increase contrasts on buttons & colored links hover/active states ↵Gaël Poupard1-1/+1
(#30989) * feat(buttons): ensure to increase contrasts on hover/active * Update _buttons.scss Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Mark Otto <[email protected]>
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-07-03Rename `sr-only`/`sr-only-focusable` (#31139)Patrick H. Lauke1-3/+3
* Rename `sr-only`/`sr-only-focusable` To be more representative of the fact that these are not necessarily "screen reader" specific, but actually apply to assistive technologies in general (and also things like Alexa/Siri/etc). Goes hand-in-hand with #31133 Co-authored-by: XhmikosR <[email protected]>
2020-05-15Improve gradientsMartijn Cuppens1-5/+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
2020-04-29Remove borders from iframes by default (#30620)Martijn Cuppens1-1/+0
2020-04-18Drop `@support (position: sticky)` media query (#30415)Martijn Cuppens1-9/+7
2019-09-26Sass: remove redundant stylelint inline suppressions. (#29427)XhmikosR1-2/+0
2019-09-13Responsive sticky top (#29158)jahanzaibsuleman071-5/+12
2019-08-26Link helpers & use utility API for all utilitiesMartijn Cuppens2-1/+13
2019-07-24Apply `at-mixin-argumentless-call-parentheses: always` stylelint ruleMartijn Cuppens1-1/+1
2019-06-26Stretched link updates (#28958)Martijn Cuppens1-6/+2
- Remove IE10 background hack - Ability to change the pseudo element - Ability to change the z-index - Remove pointer events, just inherit this
2019-05-29Remove redundant properties from `.embed-responsive` (#28062)Martijn Cuppens1-4/+0
2019-05-23Helpers & utilities split (#28445)Martijn Cuppens7-0/+105