aboutsummaryrefslogtreecommitdiff
path: root/scss/helpers
AgeCommit message (Collapse)AuthorFilesLines
2023-07-16`.text-bg-*` helpers now use theme CSS variables (#38772)cameronhollis1-2/+1
* #38769 text-bg-primary now respects --bs-primary color * Revert "#38769 text-bg-primary now respects --bs-primary color" This reverts commit a4db90ff70b0957755ae4870281c318668307c65. * #38769 updated scss file to respect --bs-primary color with text-bg-primary class --------- Co-authored-by: Cameron Hollis <[email protected]>
2023-07-16New Sass variable to change vertical rule widthJulien Déramond1-1/+1
2023-04-18Use `$enable-important-utilities` in `_colored-links.scss` (#38451)Julien Déramond1-10/+8
2023-04-11Update devDependencies (#38437)XhmikosR2-3/+1
* Update devDependencies * @babel/preset-env ^7.20.2 → ^7.21.4 * @rollup/plugin-node-resolve ^15.0.1 → ^15.0.2 * eslint ^8.37.0 → ^8.38.0 * rtlcss ^4.0.0 → ^4.1.0 * sass ^1.60.0 → ^1.61.0 * stylelint ^14.16.1 → ^15.4.0 * stylelint-config-twbs-bootstrap ^7.0.0 → ^9.0.1 * vnu-jar 22.9.29 → 23.4.11 * Fix the new Stylelint issues
2023-04-10Improve colored links interaction with link utilities (#38398)Mark Otto1-9/+9
* Fix missing paren in colored links color * Restore important flag on colored links color and text-decoration-color for better interaction with link utilities * Mention in migration guide
2023-03-02Icon link: envariable + enhance the documentation (#38130)Louis-Maxime Piton1-6/+7
* Envariable the icon-link helper * Proposal * .
2023-01-10Update colored links, add new `.link-body-emphasis` helper (#37833)Mark Otto1-3/+17
* Rewrite colored links to use color property again instead of --bs-link-color-rgb value because nav links and more do not set --bs-link-color-rgb * Update bundlewatch * Document it Co-authored-by: Julien Déramond <[email protected]>
2023-01-04Docs: replace `twbs/bootstrap-npm-starter` by ↵Julien Déramond1-1/+1
`twbs/examples/tree/main/icons-font` (#37671) * Docs: replace twbs/bootstrap-npm-starter by twbs/examples/tree/main/icons-font * Revamp starter template to use new .icon-link, fix Bootstrap icon and text at top * Remove extra CSS file * Change links to twbs/examples * Fix icon name * Adjust icon link offset to more reasonable and scaling distance Co-authored-by: Mark Otto <[email protected]>
2023-01-03Add new link utilities, icon link helper, and update colored link helpers ↵Mark Otto2-2/+32
(#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/+5
* 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-10-06Add `$enable-important-utilities` condition in colored linksJulien Déramond1-2/+2
2022-05-20CSS: few proposals (#36406)Louis-Maxime Piton1-3/+3
* Something to try about `!important` in color-bg helper * Better understanding border utility `.border-*-0` * Having rounded numbers of px
2022-04-30Add new text-bg-color utilitiesMark Otto1-0/+10
2022-04-08Update devDependencies (#36120)XhmikosR1-1/+1
* Update devDependencies * @babel/core ^7.17.8 → ^7.17.9 * @popperjs/core ^2.11.4 → ^2.11.5 * clean-css-cli ^5.5.2 → ^5.6.0 * eslint-plugin-import ^2.25.4 → ^2.26.0 * find-unused-sass-variables ^4.0.3 → ^4.0.4 * karma-rollup-preprocessor ^7.0.8 → ^7.0.7 * sass ^1.49.11 → ^1.50.0 * stylelint 14.2.0 → ^14.6.1 * Fix currentcolor case
2022-03-13Add additional root variables, rename `$variable-prefix` to `$prefix` (#35981)Mark Otto1-2/+2
* Add additional root variables, rename $variable-prefix to $prefix - Adds new root CSS variables for border-radius, border-width, border-color, and border-style - Adds new root CSS variables for heading-color, link-colors, code color, and highlight color - Replaces most instances of Sass variables (for border-radius, border-color, border-style, and border-width) for CSS variables inside _variables.scss - Updates $mark-padding to be an even pixel number - Renames $variable-prefix to $prefix throughout * Bundlewatch
2022-02-17Add !important property to colored links. (#35740)Nudasoft1-2/+2
* Add !important property to colored links. * Apply suggestions from code review Co-authored-by: Mark Otto <[email protected]>
2021-12-16Add sticky bottom utility (#35518)Florian Lacreuse1-1/+7
Co-authored-by: XhmikosR <[email protected]>
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