aboutsummaryrefslogtreecommitdiff
path: root/site/content/docs/5.0/examples
AgeCommit message (Collapse)AuthorFilesLines
2021-02-15docs(examples): typo in offcanvas example in .bg-body (#33092)Gaël Poupard1-1/+1
Caught by pa11y-ci on Boosted (because of insufficient contrasts) :heart:
2021-02-11Docs improvements after beta2 (#33049)Gaël Poupard2-22/+22
* docs(carousel): double-spaces out there * docs(toasts): missing word, ins't it? * docs(cheatsheet): use buttons for carousels and tabs ion cheatsheets too Co-authored-by: XhmikosR <[email protected]>
2021-01-28Make carousel indicators actual buttonsPatrick H. Lauke3-15/+15
2021-01-27Carousel: use buttons, not links, for prev/next controls (#32627)Patrick H. Lauke2-8/+8
* Carousel: use buttons, not links, for prev/next - expand the styles to neutralise border/background - change docs page - add extra unit test to check that links or buttons work as controls - modify visual test to use buttons as well - use buttons instead of links for prev/next - remove `role="button"` from links that are actually links * Clarify that controls can be button or link * Update site/content/docs/5.0/components/carousel.md Co-authored-by: Mark Otto <[email protected]> * Explicitly set padding to 0 to prevent dipping/moving on active in Firefox Co-authored-by: XhmikosR <[email protected]>
2021-01-25Replace .bg-white with .bg-body in docsVino Rodrigues5-10/+10
Response to issue #32810 Use of the .bg-white class to define visual aspects of the examples would be unintuitive for theme builders to test themes on. This replaces instances of .bg-white with .bg-body in the examples. - Edited examples to replace use .bg-white class with .bg-body class - product - offcanvas - pricing - cheatsheet - cheatsheet-rtl - Edited utilities colors.md & shadows.md to include .bg-body class
2021-01-14Remove role="button" from CTA links in carousel examples (#32788)Patrick H. Lauke2-12/+12
They're links, acting as links. Just because they're styled as buttons visually doesn't mean they need/get `role="button"`
2021-01-08Move "active" class from `.nav-item` to `.nav-link` (#32730)Théophile Helleboid - chtitux7-36/+36
2021-01-05Hyphen to dash for ranges (#32488)Jonathan5-5/+5
* Hyphen to dash for ranges * Hyphen to dash for ranges * Hyphen to dash for ranges * Hyphen to dash for ranges * Hyphen to dash for ranges
2021-01-05carousel example: Move "active" class on .nav-link element (#32647) (#32647)Théophile Helleboid - chtitux2-4/+4
The "active" CSS class must be on "nav-link" element, see `_navbar.scss`: ```css .nav-link.active { color: $navbar-dark-active-color; } ``` Co-authored-by: XhmikosR <[email protected]>
2020-12-14Add missing `has-validation` in checkout examples (#32464)Florian Lacreuse2-2/+2
2020-12-14docs(cheatsheet): fix RTL sidenav arrowsGaël Poupard2-0/+5
2020-12-14examples: Update font utility classes to new v5 versions (#32449)Alan Orth3-12/+12
* site: Fix .font-italic to .fst-italic in blog example The font utility class was renamed from .font-italic to .fst-italic but a few references didn't get updated. * site: Fix .font-weight-* to .fw-* in RTL examples These font utility classes were renamed from .font-weight-* to .fw-* but a few references didn't get updated. Co-authored-by: XhmikosR <[email protected]>
2020-12-11Replace Lorem Ipsum placeholder text with more representative (or at least ↵Patrick H. Lauke6-178/+162
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-09cheatsheet: Drop redundant `(current)` text (#32401)Gaël Poupard2-4/+4
Useless since we're using `aria-current` (see #31891).
2020-12-04cheatsheet.js: use `event` instead of `e` (#32335)XhmikosR1-2/+2
2020-12-04chore(dist): generate dist filesGaël Poupard1-1/+1
2020-12-04fix gradientMark Otto1-1/+1
2020-12-04docs(cheatsheet): various fixesGaël Poupard4-120/+166
2020-12-04Revamp header, headings, aside spacingMark Otto4-42/+18
Gradients caused artifacts in Safari, layout was feeling a little loose
2020-12-04docs(examples): use RTLCSS for RTL examplesGaël Poupard15-59/+454
2020-12-04Adapt to the recent main branch changesXhmikosR4-10/+10
2020-12-04docs(examples): new cheatsheet and RTL examplesGaël Poupard27-58/+4678
2020-11-19examples: fix `.btn-block` instancesXhmikosR3-5/+5
2020-11-15Switch to jsDelivr for the remaining docs assets (#32158)XhmikosR2-6/+6
2020-11-14Add `bs` in data attributesRohit Sharma11-42/+42
- Add `bs` in data APIs everywhere - Update unit tests
2020-10-31Update instances of .font-weight to .fwMark Otto6-10/+10
2020-10-27v5: Floating labels (#30449)Mark Otto2-136/+0
* v5: Promote floating labels example to component - Adds new .form-floating - Stubs out basics of a docs page - Removes existing Example * Update floating labels to support .form-select, make inputs and selects more consistent - To do this, I made the .form-control and .form-select consistent in min-height vs height - Removed some unused variables now - Updated -color to be the -color because I don't know why this was any different before - Update page to include some examples for layout, validation, and value - Rewrite styles to not modify padding, but instead transform and opacity * Streamline and bulletproof some things - Apply some optimizations from code review - Removed unecessary properties from the label - Add some comments for what properties are required - Move from fixed height for labels to height 100% so we can support textareas - Improve docs a little bit, add ToC * Move some values to variables, switch from scaling font-size to scale, update transforms * Bring over changes from #30966 and add to them to tighten things up * Delete the now unused example images * Fix typo * Allowlist the calc function * Add transform-origin, update transform values * Test out autofill fix * Fix linter issue * Mention it in the migration guide * Bump bundlesize * Add one more variable per review * Shave .25rem off the height Co-authored-by: XhmikosR <[email protected]>
2020-09-10docs(examples): ensure content sits in landmarks (#31579)Gaël Poupard13-787/+799
2020-09-10Fix the remaining instances using the old logos.XhmikosR5-5/+5
2020-07-03Rename `sr-only`/`sr-only-focusable` (#31139)Patrick H. Lauke2-4/+4
* 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-06-24Floating labels improvements (#30966)Gaël Poupard1-7/+13
* docs(example): floating-labels' better Edge fallback * docs(example): refactor floating-labels' CSS
2020-06-14Update index.htmlJonathan1-2/+2
Hyphen to minus for amount. Hyphen to dash for ranges.
2020-06-14docs(examples): fix pricing exampleGaël Poupard2-17/+10
2020-06-14docs(examples): improve headings hierarchyGaël Poupard1-1/+1
2020-06-14docs(examples): empty alt for screenshots to prevent redundancyGaël Poupard1-1/+1
2020-06-14Run dist on latestMark Otto1-0/+12
2020-06-12v5: Redo blockquote attributions (#30814)Mark Otto1-25/+25
* v5: Redo blockquote attributions - Renames -small-* variables to -footer-* - Updates blockquote demos with attribution to place it outside the blockquote with a figure wrapper * Updated class name * docs(examples): refactor blockquotes in masonry example Co-authored-by: Gaël Poupard <[email protected]> Co-authored-by: XhmikosR <[email protected]>
2020-05-26examples: remove no longer used classes. (#30894)XhmikosR1-4/+4
2020-05-13Bump version to 5.0.0-alpha1 (#29925)XhmikosR42-0/+3296
Also add v4.5.0 in versions and keep README.md pointing to v4.5.0 so that there are no broken stuff.