aboutsummaryrefslogtreecommitdiff
path: root/scss/mixins
AgeCommit message (Collapse)AuthorFilesLines
2024-08-07Docs: update WCAG links and references (#40703)Louis-Maxime Piton1-1/+1
Co-authored-by: Julien Déramond <[email protected]>
2024-02-20Release v5.3.3 (#39524)Julien Déramond1-1/+1
* Release v5.3.3 * Dist --------- Co-authored-by: XhmikosR <[email protected]>
2024-02-05Bump copyright year to 2024Julien Déramond1-1/+1
2023-12-09Fix focus box-shadow for validation stated form-controls (#38719)Dmitry Karpunin1-2/+12
Co-authored-by: Dmitry Karpunin <[email protected]>
2023-11-10Fix typo in `_grid.scss` (#39387)Edwin1-1/+1
2023-09-14Release v5.3.2 (#39173)Julien Déramond1-1/+1
* Bump version to 5.3.2 * Dist
2023-09-12Fix dart-sass deprecation warning (#39030)Sebastian Blank1-1/+1
* Fix dart-sass deprecation warning * Fix wrong percentages --------- Co-authored-by: XhmikosR <[email protected]>
2023-07-26Release v5.3.1 (#38956)XhmikosR1-1/+1
* Bump version to 5.3.1 * Dist
2023-05-30Release v5.3.0 (#38657)XhmikosR1-1/+1
* Bump version to 5.3.0 * Dist
2023-04-03Release v5.3.0-alpha3 (#38357)XhmikosR1-1/+1
* Bump version to 5.3.0-alpha3 * Dist
2023-03-24Release v5.3.0-alpha2 (#38244)XhmikosR1-1/+1
* Bump version to 5.3.0-alpha2 * Dist
2023-01-07Docs: missing deprecated callout for `list-group-item-variant()` mixinJulien Déramond1-1/+0
2023-01-06Fixlouismaximepiton1-1/+5
2023-01-01Docs: remove remnants of Twitter / bump dates (#37779)Patrick H. Lauke1-1/+1
2022-12-24SCSS testing of the utilities API (#36029)Romaric Pascal1-1/+1
* Set up CSS testing using sass-true and mocha Use mocha to handle the heavy lifting of finding tests and running them. Mocha is made to look directly for SCSS files which are compiled thanks to Node's require.extensions mechanism. * Add CSS tests to workflow * Add tests for the generate-utility mixin * Add tests for utilities generation * Fix linting issues * Fix test contents Don't know why the whole utilities.test.scss ended up copied in the api.test.scss * Remove unnecessary entry in package.json * Move to Jasmine for running the tests * Move running of CSS tests before CSS build * Update linting set up Add exceptions for test files in stylelint * Remove irrelevant option for sass-true * Fix linting issues after rebase * Add color mode tests * Fix linter Co-authored-by: Mark Otto <[email protected]>
2022-12-24Release v5.3.0-alpha1 (#37661)XhmikosR1-1/+1
* Bump version to 5.3.0-alpha1 * Dist * Add docs versions updates * Update note in homepage hero Co-authored-by: Mark Otto <[email protected]>
2022-12-21Fix Sass compilation when `$color-mode-type` is set to `media-query` (#37687)Julien Déramond1-4/+12
* Fix Sass compilation when `$color-mode-type` is set to `media-query` * Update mixin names, fix docs color modes for using media queries by using mixin Co-authored-by: Mark Otto <[email protected]>
2022-12-20Follow upMark Otto1-2/+0
2022-11-28Add dark mode support (#35857)Mark Otto4-7/+26
* Add dark mode to docs * Minor fix: missing space indentation * Minor fix: revert utilities/z-index added-in modification * Remove prev: and next: from doc because extracted to another PR * Use .bg-body-tertiary in all Utilities > Overflow examples * fix example * Fix up spacing examples * Update box-shadow Sass variables and utilities to auto-adjust to color modes * Remove unused docs class * Refactor form styles to use CSS variable for background images on .form-check and .form-switch * Fix docs selector * Rename shortcut for clarity * Heading consistency * Reintroduce missing 4th grid item in Utilities > Spacing example * Fix bundlewatch * .bd-callout* rendering is OK so removing comments in the code * Update scss/_utilities.scss Co-authored-by: Julien Déramond <[email protected]> * Fix gutters example styling * Fix text colors on background utils docs * redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken * fix some color utils examples * Deprecate mixin notice * Deprecate notice for list-group-item-variant() mixin * Revamp new link CSS vars * Use map-keys in some each Sass files * Remove list-group-item-variant mixin ref in sass loop desc * Display CSS vars scoped to our built-in dark mode * Revert previous commit * Fix list group variant link * Fix typo * Remove imports of alert/list-group mixins in scss/_mixins.scss * Small formatting + comments removal in scss/_content.scss * Fix alert links colors * fix dropdown border-radius mixin * fix link color and underline again, this time using CSS var override for color var and fallback value for the underline * fix colors on docs navbar for dark mode * remove two changes * missing ref * another link underline fix, just use sass vars for link decoration for now * missing color bg docs, plus move dropdown override to scss * more changes from review * fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin * Few fixes around type - Restored CSS variable for color on headings, this time with a fallback value - In conjunction, restored and wrapped the default CSS var with a null value check - Split headings and paragraphs docs in Reboot, elaborated on them * Restyle custom details > summary element in docs * Rewrite some migration docs * fix form checks * Fix up some navbar styling, tweak docs callout * Fix select images, mostly for validation styling * Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs * Update site/content/docs/5.2/components/scrollspy.md Co-authored-by: Julien Déramond <[email protected]> * Apply suggestions from code review Co-authored-by: Julien Déramond <[email protected]> * mention form control css vars in migration guide * Tweak grid and flex docs background examples * clarify some docs * fix some more things Co-authored-by: Julien Déramond <[email protected]> Co-authored-by: Julien Déramond <[email protected]>
2022-11-22Merge branch 'main' into prepare-523XhmikosR2-26/+32
2022-11-21Bump version to 5.2.3XhmikosR1-1/+1
2022-10-03Add parameters to the caret mixinmaks1-25/+30
2022-10-03Add color CSS vars for .alert-link (#36456)Vino Rodrigues1-1/+2
* color css vars for .alert-link * Update scss/mixins/_alert.scss Co-authored-by: Mark Otto <[email protected]>
2022-10-03Release v5.2.2 (#37236)XhmikosR1-1/+1
* Bump version to v5.2.2 * Dist
2022-10-02Don't redefine `$border-color` in `table-variant` mixin (#37239)Julien Déramond1-2/+2
Co-authored-by: XhmikosR <[email protected]>
2022-09-07Release v5.2.1 (#37098)XhmikosR1-1/+1
* Bump version to v5.2.1. * Dist
2022-08-31Fix input group z-index focus + validationFlorian Lacreuse1-10/+10
2022-07-29Fix typos after #36762 (#36771)Julien Déramond1-1/+1
2022-07-22Remove unused parameter of `bsBanner` mixin (#36791)なつき1-1/+1
2022-07-19Release v5.2.0 (#36768)XhmikosR1-1/+1
* Bump version to 5.2.0 * Dist * Update masthead.html
2022-07-18Fix typos in code (#36763)Marc Wrobel1-1/+1
Shoutout is correct but has been replaced by its more common form : Shout-out (https://www.merriam-webster.com/dictionary/shout-out).
2022-07-11Add a banner mixin, helping future releases and maintenance (#36178)GeoSot1-0/+9
* Add a banner mixin, helping future releases and maintenance * Update scss/bootstrap-reboot.scss Co-authored-by: Julien Déramond <[email protected]> * Apply suggestions from code review Co-authored-by: Julien Déramond <[email protected]> Co-authored-by: Mark Otto <[email protected]>
2022-07-11Add CSS custom property: --bs-btn-disabled-border-color to mixin: ↵Neeraj Kumar Das1-0/+1
button-outline-variant
2022-06-13Generate local CSS variables on utilities when using state optionMark Otto1-0/+5
2022-05-22Stylelint: Disable `custom-property-empty-line-before`Mark Otto2-3/+1
2022-04-20Update _breakpoints.scssMetadavid1-7/+7
2022-03-13Add additional root variables, rename `$variable-prefix` to `$prefix` (#35981)Mark Otto8-68/+68
* 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-28fix(forms): color input with validation iconGaël Poupard1-0/+8
2022-02-28Convert border utilities to CSS variablesMark Otto1-4/+7
- Updates the utilities mixin to check for specific CSS variable names via `css-variable` - Bonus fix: we now prevent local variables for `0` value utilities (e.g., `.border-top-0` no longer sets `--bs-border-opacity: 1` - Adds new `.border-opacity-*` classes - Adds new root variables: `--bs-border-color`, `--bs-border-style`, `--bs-border-width` - Documents the new variable changes
2022-02-24`media-breakpoint-only` now passes `$breakpoints` int `breakpoint-max`. ↵Richard Giraud1-1/+1
Fixes #35084.
2022-02-23Replace non-existent `--bs-btn-padding` by `--bs-btn-padding-{x|y}`Julien Déramond1-1/+2
2022-02-16Convert pagination component to CSS variables (#35399)Mark Otto1-25/+4
* Convert pagination component to CSS variables * Use RFS mixin * Remove the useless fallback
2022-02-16Fixed border radius var name and .show targetEugene Kopyov1-1/+1
2022-02-14Convert .btn and mixins to use CSS variablesMark Otto1-95/+32
2022-02-14Correct the horizontal padding on grid containers (#35825)Mark Otto1-2/+2
* Correct the horizontal padding on grid containers * Don't halve the container-padding-x variable
2021-12-17Convert alerts to CSS variables (#35401)Mark Otto1-3/+7
Co-authored-by: XhmikosR <[email protected]>
2021-12-14Update stylelint and stylelint-config-twbs-bootstrap (#35438)XhmikosR1-1/+1
2021-11-01`make-col-ready()`: remove the unused `$gutter` variable (#34334)Michael Sørensen1-1/+1
Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Mark Otto <[email protected]>
2021-11-01Always set the CSS variables for gutters in containers (#34644)Mark Otto1-0/+2
We already do this in rows, so to best support our containers, we need to do it at the container level as well. Fixes #32658, fixes #34614, closes #32658. Co-authored-by: XhmikosR <[email protected]>
2021-10-11Add color and border-color css variables to tables (#35055)Geremia Taglialatela1-2/+5