Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-10-03Added breakpoints as css variables (#36095)Stefan Haack
2022-07-11Remove headings-color CSS variable due to backward compatibility issuesMark Otto
2022-05-23Stylelint: Disable `custom-property-empty-line-before`Mark Otto
2022-05-06Iterate on border utilities (#36239)Mark Otto
* Remove `--bs-border-opacity: 1` from `.border-*` utilities We set `--bs-border-opacity: 1` globally at the `:root` level, so redeclaring it on every `.border-*` utility doesn't make much sense. I think we can drop this. * Remove global border-opacity var, restore on .border-color classes, move .border-color utils down the list to fix some specificity issues * Add some demos of border utils to the docs
2022-04-29Revert `border-color` change (#36238)Mark Otto
* Revert `border-color` change * Add new border-color-translucent for when we want optional alpha-transparency in our border-color Apply to drodpowns, modals, offcanvas, popovers, and toasts * bundlewatch
2022-04-01Fix duplicate border radius CSS var definitionJulien Déramond
2022-03-13Add additional root variables, rename `$variable-prefix` to `$prefix` (#35981)Mark Otto
* 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-08Add missing root border opacity CSS varJulien Déramond
2022-02-28Convert border utilities to CSS variablesMark Otto
- 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
2021-11-26Correctly implement RFS in `:root` CSS variable for `$body-font-size` (#35326)Travis Risner
* rfs fix * Update scss/_root.scss * Update _reboot.scss Co-authored-by: Mark Otto <otto@github.com> Co-authored-by: Mark Otto <markd.otto@gmail.com>
2021-08-10Add check to rgba-css-var function for body or bg (#34699)Mark Otto
2021-08-04Add and document additional :root CSS variablesMark Otto
- Adds grayscale colors - Adds root and body variables Note that some Sass variables default to `null`, so as we generate and use the CSS variable, we'll be potentially adding some lines of code.
2021-08-04Update color and background-color utilitiesMark Otto
- Adds new functions to generate additional Sass maps - Adds new root variables for rgb() versions of our theme colors, plus a few extras - Adds ability to change the alpha transparency of text color and background color utilities with new utilities, inline styles, or local CSS var - Updates documentation for color and background-color utilities pages - Deprecates .text-black-50 and .text-white-50 since those (and additional transparency levels) can be generated on the fly Change approach slightly to prevent cascade
2020-09-30Add Sass variable for CSS variable prefix (#31684)Mark Otto
* Add Sass variable for CSS variable prefix * Update other --bs-* var instances
2020-05-15Improve gradientsMartijn Cuppens
- 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-15Add `bs-` prefixes to custom properties (#30591)Martijn Cuppens
2019-08-29theming.md: automate _root.scss. (#29326)XhmikosR
2019-08-29theming.md: bring `:root` up to par with Scss. (#29323)XhmikosR
Also, add a warning in _root.scss so that we don't miss it again.
2019-07-14Drop breakpoint CSS custom properties (#29020)Mark Otto
Media queries do not support CSS custom properties (CSS variables), so we've had some useless variables lying around since shipping v4. This finally removes them and the associated documentation content that explained the situation. Fixes #29012.
2017-10-14Escape SassScript in custom variable values (#24354)Gleb Mazovetskiy
This is required for Sass v3.5+ compatibility. See https://github.com/sass/sass/blob/stable/doc-src/SASS_CHANGELOG.md#backwards-incompatibilities----must-read and https://github.com/sass/sass/issues/2383
2017-10-02Generate CSS variables for colors, breakpoints, fonts (#23761)Félix Saparelli
* Generate CSS variables See #23349 Supersedes #23446 * Ignore _root.scss for linting