aboutsummaryrefslogtreecommitdiff
path: root/scss
AgeCommit message (Collapse)AuthorFilesLines
2020-09-15Add spaces after commasXhmikosR1-5/+5
2020-09-15Remove unnecessary nesting selectorsXhmikosR2-2/+2
2020-09-15Add a comment for escape-svg functionMark Otto1-0/+3
Closes #30835 by leaving a comment in the source that the escape-svg() function must have quotes around data URIs.
2020-09-09Add border width utility (#31484)Mauricio Hernan Cabrera2-0/+13
Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Martijn Cuppens <[email protected]>
2020-09-01Add default parameters to each border radius mixin (#31571)Jeremy Jackson1-8/+8
* Add default parameters to each border radius mixin * Add border radius changes to migration guide Co-authored-by: Jeremy Jackson <[email protected]>
2020-08-22fix(breakpoints): use next breakpoint when targetting xs onlyGaël Poupard1-3/+4
2020-08-13Give more priority to `.d-none` (#31473)Aleksander Machniak1-1/+1
2020-08-06Remove flex: 1 0 100% from rows (#31439)Mark Otto1-1/+0
Co-authored-by: XhmikosR <[email protected]>
2020-08-04box-shadow() mixin allow 'null' and drop support 'none' with multiple args ↵Shohei Yoshida1-9/+7
(#30394) * Support 'null' and drop `none` with multiple args * Output a warning when use 'none' with multiple arguments * Add migration note * Update migration.md Co-authored-by: Mark Otto <[email protected]> Co-authored-by: XhmikosR <[email protected]>
2020-08-04Ensure to increase contrasts on buttons & colored links hover/active states ↵Gaël Poupard2-5/+5
(#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-08-03Removed a broken referenceJacty1-1/+0
https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_hr_size this link is broken, I think we perhaps should remove it?
2020-08-03Add transition to Pagination buttons just like other Bootstrap buttonsSamarth Arora2-0/+6
2020-08-02Add padding to badges (#31132)Patrick H. Lauke1-2/+2
* Add padding to badges The current badges are very tightly padded, and because the top and bottom padding are the same, and aligned to the baseline, this makes badges with descenders (e.g. the "g" in "Danger") look uncomfortably close to the bottom. Adding more ample padding masks this a bit. An alternative would be to have separate top and bottom padding, with the bottom one slightly larger than the top - but conversely, that then makes badges that contain no text with descenders, and particularly badges that contain all uppercase characters, look too bottom-heavy. Also adding some left/right extra padding, as currently the pill badges look uncomfortably tight on the sides due to the rounding.
2020-07-31Adjust sizing of checks and radios (#31383)Mark Otto1-1/+1
Moves from 1.25em to 1em to better support custom font-size-base values. Most common would probably be .875rem (14px) and current sizing garbles that into 1.09-ish, thus causing the rendering issues in #31269. Co-authored-by: Martijn Cuppens <[email protected]>
2020-07-31Remove overflow: hidden from toasts (#31381)Mark Otto1-1/+1
2020-07-31Cleanup/fix after the sr-only to visually-hidden renaming (#31359)Patrick H. Lauke2-4/+4
* 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-21Turn off scroll anchoring for accordions (#31346)Patrick H. Lauke1-0/+2
New default behavior for scroll anchoring (rolled out in Chrome 84?) leads to unsightly/odd accordion interactions - see #31341 This rule suppresses this new behavior and reverts back to the old way. See https://drafts.csswg.org/css-scroll-anchoring/
2020-07-13v5: Tweak some colors (#31276)Mark Otto1-4/+4
* Tweak green and cyan colors, bump min contrast ratio to 4.5 Co-authored-by: XhmikosR <[email protected]>
2020-07-12Easier disabled state customization for button variants (#30639)Gaël Poupard1-4/+7
* feat(buttons): easier disabled state customization * docs(migration): mention new arguments for disabled state in button-variant() * Update migration.md Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Mark Otto <[email protected]>
2020-07-11Add null variables for nav-linkMark Otto2-0/+8
Replaces #30498 by adding four new null default variables for .nav-link. Doesn't carry over font-style from the original PR though since that's rarely used, at least by default Bootstrap. Nullifies all values from that PR, too, since we count on some basic inheritance here and don't need color by default.
2020-07-10Docs: rename "Screen readers" helper page to "Visually hidden"Patrick H. Lauke2-2/+2
"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. Lauke2-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-06-25Remove backdrop-filter from toastsMark Otto1-1/+0
2020-06-25Fix scrollable modal (#31151)Shohei Yoshida1-2/+3
Co-authored-by: XhmikosR <[email protected]>
2020-06-24Fix table separator typo (#31162)Jorge González2-2/+2
2020-06-23Darken dropdown divider (#31131)Patrick H. Lauke1-1/+1
currently, `$gray-200` is practically imperceptible. switch to reusing `$dropdown-border-color`.
2020-06-20Fixes #31113 (#31120)Mark Otto1-1/+1
2020-06-17feat: adds th null var (#30781)Catalin Zalog2-4/+8
Inherit `font-weight: bold` that comes from user agent stylesheets.
2020-06-16Rename "master" to "main". (#31050)XhmikosR4-4/+4
2020-06-16v5: Add role=button cursor in Reboot (#31040)Mark Otto1-0/+7
* v5: Add role=button cursor in Reboot Ports the changes from #30562 made in v4.5 and adds them to v5. This replaces #30563 which sought to add this to the utility API, but the v4 PR shifted to implement an accessible solution vs a lone utility. * Update reboot.md Co-authored-by: XhmikosR <[email protected]>
2020-06-15Clarify removal of border radiiMartijn Cuppens1-4/+5
2020-06-15Switch to btn-checkMartijn Cuppens4-13/+13
2020-06-15Remove checkbox/radio toggle from button plugin in favor of a CSS only solutionMartijn Cuppens4-42/+34
2020-06-14Change breakpoint-max implementationMartijn Cuppens3-11/+10
- The `media-breakpoint-down()` uses the breakpoint itself instead of the next breakpoint. Use `media-breakpoint-down(lg)` instead of `media-breakpoint-down(md)` to target viewports smaller than the `lg` breakpoint. - The `media-breakpoint-between()` mixin's second parameter also uses the breakpoint itself instead of the next breakpoint. Use `media-between(sm, lg)` instead of `media-breakpoint-between(sm, md)` to target viewports between the `sm` and `lg` breakpoints.
2020-06-12🔥 Remove container duplicationk-utsumi2-15/+1
2020-06-12v5: Redo blockquote attributions (#30814)Mark Otto2-6/+12
* 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-06-12Stylelint: remove redundant disables (#31006)XhmikosR2-3/+1
2020-06-09fix(grid): zero min-width on .col has too much side-effects (#30979)Gaël Poupard1-1/+0
Co-authored-by: XhmikosR <[email protected]>
2020-06-09Fix undefined custom properties in reboot (#30981)Martijn Cuppens3-2/+6
2020-06-09Remove .nav-item from .nav-link to make it consistentRohit Sharma1-0/+2
- Closes #28423
2020-06-08Prevent `.row` from shrinking in flex container (#30940)Gaël Poupard1-0/+1
2020-05-31Restore word-break: break-word on .text-break to fix text breaking on flex ↵Mark Otto1-1/+1
containers (#30932)
2020-05-30Add `space-evenly` option for `justify-content` (#30910)Edson Jr1-0/+1
2020-05-20v5: Make navbar active links consistent (#30831)Mark Otto1-4/+0
* Update navbar docs to put .active class on .nav-link Fixes #30652 in v5. * Remove two selectors from navbar nav that are either unused, or duplicative Co-authored-by: XhmikosR <[email protected]>
2020-05-20Code simplificationMartijn Cuppens1-20/+7
2020-05-20feat(color-contrast): set min-contrast-ratio as an argumentGaël Poupard1-1/+1
2020-05-20feat(color-contrast): ensure we return a contrasted enough color ↵Gaël Poupard1-2/+33
(light-first), the most contrasted one otherwise
2020-05-19Fix gradient on switch checkbox (#30868)Martijn Cuppens1-1/+1
2020-05-15Prevent conflicts with components with classes (#30830)Martijn Cuppens1-1/+1
Co-authored-by: XhmikosR <[email protected]>
2020-05-15v5: Add border-radius to .card-img-overlay (#30817)Mark Otto1-0/+1
Allows use of background-color and more. Fixes #29033 for v5. Co-authored-by: XhmikosR <[email protected]>