aboutsummaryrefslogtreecommitdiff
path: root/scss
AgeCommit message (Collapse)AuthorFilesLines
2022-03-18Convert progress bars to CSS variables (#35962)Mark Otto1-9/+20
* Convert progress bars to CSS variables * bundlewatch
2022-03-17Convert toasts to CSS variables (#35961)Mark Otto1-14/+30
* Convert toasts to CSS variables * bundlewatch
2022-03-17Convert spinners to CSS variables (#35960)Mark Otto1-21/+37
* Convert spinners to CSS variables * bundlewatch
2022-03-17Revert #35759, fixes #35869Mark Otto1-25/+25
2022-03-17Fixes #36015: Fix pagination link border-radius if statementMark Otto1-1/+1
2022-03-17Fixes #36016: Update .dropdown-item paddingMark Otto1-1/+1
2022-03-13Add additional root variables, rename `$variable-prefix` to `$prefix` (#35981)Mark Otto26-559/+574
* 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-03-11Convert breadcrumb to CSS variablesMark Otto1-8/+23
2022-03-11Allow to set active and disabled class also to .page-link (#35804)A Web Artisan1-14/+16
Sometimes we can set `.active` class only to link tag and not parent. Since active status style is applied only to `.page-link` and not `.page-item`, would also make more sense to just add the active class to `.page-link` itself. The other way to set `.active` class to `.page-item` still remain, so there is not BC. Allow to set also `.disabled` class to `.page-link` Co-authored-by: Gaël Poupard <[email protected]> Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Mark Otto <[email protected]>
2022-03-11Set opacity on dropdown-divider for nowMark Otto1-0/+1
2022-03-11Updates -color to use rgba()Mark Otto1-1/+1
2022-03-11Adjust border-radius values and add some new utilitiesMark Otto2-3/+9
- Updates global border-radius values for a more modern appearance - New .fw-semibold - New .rounded-4 and .rounded-5
2022-03-11Fix some instances of lazy Sass math when multiplying new CSS var based ↵Mark Otto3-5/+5
border-width
2022-03-10Ignore warning for `.navbar-light` deprecation (#35995)XhmikosR1-1/+1
2022-03-08Convert popovers to CSS variablesMark Otto3-50/+91
2022-03-08Deprecate the tooltip-arrow-bg color since we're using CSS variables to set ↵Mark Otto2-3/+3
tooltip colors
2022-03-08Document new CSS vars in tooltip docsMark Otto1-0/+1
2022-03-08Convert tooltips to CSS varsMark Otto1-27/+43
2022-03-08Fix dropdownslouismaxime.piton1-1/+1
2022-03-07Add missing root border opacity CSS varJulien Déramond1-0/+1
2022-03-02fix:border-widthcccabinet1-0/+1
2022-03-01Split CSS vars for padding values (#35921)Mark Otto4-11/+20
* Split CSS vars for padding values Make these few components consistent with where we're heading with other components. Had to add some new Sass variables to handle the dropdown-header element, but not a huge deal. This ensures we can drop the combined variable in v6 when we're ready. * Update scss/_dropdown.scss Co-authored-by: Julien Déramond <[email protected]> * Deprecate dropdown-header-padding var Co-authored-by: Gaël Poupard <[email protected]> Co-authored-by: Julien Déramond <[email protected]>
2022-02-28fix(forms): color input with validation iconGaël Poupard1-0/+8
2022-02-28fix(tooltips|popovers): RTL arrowsGaël Poupard2-0/+12
2022-02-28.louismaxime.piton1-1/+1
2022-02-28Use the new CSS variable in dropdown menu.louismaxime.piton1-1/+1
2022-02-28Add centered dropdown and dropup optionsMark Otto1-1/+3
2022-02-28Replace instances of Sass vars for CSS variable versions of border-color and ↵Mark Otto3-22/+23
border-width
2022-02-28Convert border utilities to CSS variablesMark Otto4-12/+47
- 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-28Remove thicker border on table thead elementsMark Otto1-5/+3
Use the new .table-group-divider to create your own dividers as desired. Would love to find a better way to handle border-color for this, but for now, this is at least opt-in. I've applied it by default in another way for our docs tables to help differentiate our content vs our components. Fixes #35342
2022-02-25Prefer Linux-specific fonts over ArialErik Faye-Lund1-1/+1
Some Linux distributions (like Debian) have fontconfig aliases for Arial that picks specific fonts. But such generic aliases might be less desirable than the known-good Linux specific fonts. This fixes a problem on my setup where Liberation Sans is aliased as Arial, even when Noto Sans is available. Liberation Sans doesn't support a weight of 500, so we end up rendering headers at the normal weight of 400, which makes them stand out less. Reordering the Arial fallback makes us instead pick Noto Sans over Lieration Sans, which does support a weight of 500, and makes headers stand out again. While we're at it, fixup the reboot documentation to match, and change the comment about Helvetica Neue; that's not a "Basic web-fallback" font, it's the UI font on older iOS and macOS versions.
2022-02-25move theme-colors (vars+map) after color tints definitionsmaks1-24/+24
In this way we can use color tints other than grays in our custom theme, w/o having to extend it later (e.g `$primary: $indigo-600;` ). This could be done in the project variables file, but i believe most developers just include a full local copy of `scss/_variables.scss` before the the original `default` file and change the values the need (maybe also removing the !default flag) so that it's easier to track changes and custom values during upgrades.
2022-02-25Add z-index for .toast-container (#35859)Mark Otto2-0/+3
* Add z-index for .toast-container - Adds positioning and z-index to toast container so that it has a system-declared layer in relation to other components. - Updates docs to use the class better Fixes $34028 * Remove unnecessary z-index from docs examples
2022-02-25Use all dropdowns CSS variablesJulien Déramond1-4/+4
2022-02-24Base .text-muted on body colorMark Otto1-1/+1
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-22Rely on `border-width` for `<hr>` size (#35491)Gaël Poupard2-10/+9
* fix(reboot): revert hr styles to v4 implementation * docs(cheatsheet): add a hr example * fix(reboot): currentColor is the initial border-color value * Document hr element in Reboot docs * Update migration guide * Update scss/_variables.scss Co-authored-by: Mark Otto <[email protected]>
2022-02-18Apply list group numbering to all items (#35822)Jann Westermann1-1/+1
2022-02-18Add null modal-footer-bg variable (#35858)Mark Otto2-0/+2
Fixes #35782
2022-02-17New CSS variable for Navbars (#35829)Louis-Maxime Piton1-1/+2
* Adding a brand new CSS var * Update scss/_variables.scss Co-authored-by: Gaël Poupard <[email protected]>
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]>
2022-02-16Rename dropdown-shadow to dropdown-box-shadow for consistencyMark Otto1-3/+3
2022-02-16Convert pagination component to CSS variables (#35399)Mark Otto2-41/+62
* Convert pagination component to CSS variables * Use RFS mixin * Remove the useless fallback
2022-02-16Fixed border radius var name and .show targetEugene Kopyov2-2/+2
2022-02-14Convert dropdowns to CSS variablesMark Otto1-60/+62
2022-02-14Convert .btn and mixins to use CSS variablesMark Otto2-120/+104
2022-02-14Correct the horizontal padding on grid containers (#35825)Mark Otto2-3/+3
* Correct the horizontal padding on grid containers * Don't halve the container-padding-x variable
2022-02-10Convert .badge to CSS variablesMark Otto1-5/+15
2022-02-08Fix overriding styles of `.list-group-item-action`Anton1-27/+24
~~~html <style> .list-group-item-action {color: blue;} .list-group-item {color: red;} </style> <p class="list-group-item">red text!</p> <p class="list-group-item list-group-item-action">still red text!</p> ~~~ because `.list-group-item` declared after `.list-group-item-action` (order in attribute `class` no effect)