aboutsummaryrefslogtreecommitdiff
path: root/site/content/docs/5.0/helpers
AgeCommit message (Collapse)AuthorFilesLines
2021-08-04Prepare v5.1.0. (#34674)v5.1.0XhmikosR9-430/+0
2021-07-16Split .vr from stacks as a new helperMark Otto2-3/+45
2021-07-16Add hstack and vstack helpersMark Otto1-0/+82
2021-02-03Update docs for color and bg utilitiesMark Otto1-1/+1
- Split colors from background utilities with new docs page - Add Sass docs for both pages
2021-01-12Mention stretched-link constraints with table elements (#32761)Mark Otto1-1/+1
Co-authored-by: XhmikosR <[email protected]>
2021-01-06fix(ratio): missing variable prefix (#32501)Gaël Poupard1-3/+3
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/+4
container becomes visible when focus is inside it / on one of its child elements.
2020-12-11Replace Lorem Ipsum placeholder text with more representative (or at least ↵Patrick H. Lauke1-3/+2
english language) text (#32246) Replaces shorter examples with more sensible/representative/inforrmative text. For longer passages, resorted to using SFW extracts from http://katyperryipsum.com/
2020-12-04docs(examples): new cheatsheet and RTL examplesGaël Poupard2-4/+4
2020-11-19Fix a few typos (#32204)XhmikosR1-1/+1
2020-11-02Add callouts about using light colors ideally on a dark background (#32040)Patrick H. Lauke1-0/+4
* Add callout about using light colors ideally on a dark background * Add callout to helpers > colored links as well
2020-10-19docs: switch to fenced codeblocks (#31806)XhmikosR4-16/+16
2020-10-13Revert "Improve callout shortcode. (#31802)" (#31871)XhmikosR1-2/+2
This reverts commit 5c6925385ee926a749ead6a4f2ebbfc64e701f36.
2020-10-12Improve callout shortcode. (#31802)XhmikosR1-2/+2
Remove the `markdownify` call, and instead rely on Hugo's proper syntax; `{{% callout %}}` when we want to the content to be processed as Markdown. This allows for stuff like: {{% callout info %}} ##### I'm an info callout! ```css .foo { color: #fff; } ``` {{< example >}} <div class="alert alert-warning alert-dismissible fade show" role="alert"> <strong>Holy guacamole!</strong> You should check in on some of those fields below. <button type="button" class="btn-close" data-dismiss="alert" aria-label="Close"></button> </div> {{< /example >}} {{% /callout %}}
2020-09-23Updates to .ratio selectors and docsMark Otto1-9/+11
- 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-23Add example of responsive behavior for aspect ratiosMark Otto1-0/+17
2020-09-23Move styles to docs CSSMark Otto1-7/+7
2020-09-23Rename the classes and docs page, update everything accordinglyMark Otto2-62/+62
2020-09-23Updates responsive embeds with new class names and CSS variablesMark Otto1-21/+30
- 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-07-31Cleanup/fix after the sr-only to visually-hidden renaming (#31359)Patrick H. Lauke1-25/+0
* sr-only -> visually-hidden cleanup It seems the old screen-readers.md file was left behind, and forgot to rename the mixin * Fix broken mixins for visually-hidden
2020-07-10Rename `sr-only` to `visually-hidden` in new/renamed helper doc filePatrick H. Lauke1-6/+6
2020-07-10Add alias/redirectPatrick H. Lauke1-0/+1
2020-07-10Docs: rename "Screen readers" helper page to "Visually hidden"Patrick H. Lauke1-0/+25
"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-6/+6
* 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-13Bump version to 5.0.0-alpha1 (#29925)XhmikosR7-0/+271
Also add v4.5.0 in versions and keep README.md pointing to v4.5.0 so that there are no broken stuff.