aboutsummaryrefslogtreecommitdiff
path: root/scss/_utilities.scss
AgeCommit message (Collapse)AuthorFilesLines
2021-08-03Update color and background-color utilitiesMark Otto1-8/+31
- 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
2021-06-22Add utility classes for opacity (#33781)harishhalodoc1-0/+13
* Add responsive utility classes for opacity - fix for #33483 * remove responsive opacity utils as it has impact on bootstrap.css bundle size * Update opacity.md * Update site/content/docs/5.0/utilities/opacity.md Co-authored-by: Mark Otto <[email protected]> * Update site/content/docs/5.0/utilities/opacity.md Co-authored-by: Mark Otto <[email protected]> Co-authored-by: Harish <[email protected]> Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Mark Otto <[email protected]> Co-authored-by: Mark Otto <[email protected]> Co-authored-by: alpadev <[email protected]>
2021-02-10Add Sass docs (variables, mixins, and loops) to most pages (#32747)Mark Otto1-37/+65
* WIP: Mention variables, mixins, and loops in docs * Add Sass sections to component pages * add sass docs for forms and content * Update buttons.md * Remove empty mixins sections * Massive update to utilities and some consistency changes Co-authored-by: XhmikosR <[email protected]>
2021-02-03Update docs for color and bg utilitiesMark Otto1-0/+6
- Split colors from background utilities with new docs page - Add Sass docs for both pages
2020-12-04Add `.translate-middle-x` and `.translate-middle-y` utilitiesMartijn Cuppens1-1/+3
2020-12-04feat(RTL): implement RTLGaël Poupard1-23/+36
Using RTLCSS directives, renaming things to use logical names and following best practices.
2020-11-08Add .gap utilities (#32074)Mark Otto1-0/+6
* Add gap utilities * Update .bundlewatch.config.json * Revamp headings on this page for better organization Co-authored-by: XhmikosR <[email protected]>
2020-11-06Add .d-grid to our display utilities (#32066)Mark Otto1-1/+1
Co-authored-by: XhmikosR <[email protected]>
2020-10-31Add class name so the utility generatesMark Otto1-0/+1
2020-10-30Updated .rounded utilities (#31687)Mark Otto1-4/+5
* Updated rounded utilities to fix scale, but not rename anything else * Rename rounded-pill to border-radius-pill to match Also reorder some variables while I'm here to make more sense * Updated rounded utilities to fix scale, but not rename anything else * Rename rounded-pill to border-radius-pill to match Also reorder some variables while I'm here to make more sense * Small copy addition * Add example modifier class for spacing Co-authored-by: XhmikosR <[email protected]>
2020-10-26v5: Add .fs-* utilities for font-size and rename font-weight/-style ↵Mark Otto1-5/+11
utilities (#30571) * v5: Add .fs-* utilities for font-size - Adds new font-sizes Sass map - Generates six new classes for setting only font-size - Updates docs to mention this, including a scss-docs reference * Update font utilities - Make .fs-* utils for font-size use RFS - Rename .font-weight-* utils to .fw-* - Rename .font-style-* utils to .f-* - Update order of utilities a bit - Update docs to match * Update migration docs to make note of these changes * Be more specific in font-size docs about scale * Update font-style abbreviation to .fst * Fix font-weight property * Formatting & font style utility fix * Move to Alpha 3 migration section * Update migration guide for more details, splitting alpha 2 stuff back to the appropriate section in Migration guide * Tweak language on example Co-authored-by: Martijn Cuppens <[email protected]>
2020-10-13Adding overflow visible as utilGaurav Behere1-1/+1
2020-09-30Add Sass variable for CSS variable prefix (#31684)Mark Otto1-2/+2
* Add Sass variable for CSS variable prefix * Update other --bs-* var instances
2020-09-20Extra position utilities (#31280)Jaume Sala1-0/+23
* Extra position utilities Given that there are utilities for the *position* property, it seems logic to have utilities for the *top*, *left*, *bottom* and *right* propertires. * Update extra position utilities * add default position values map * tweak examples * add real life examples * fix double colon Co-authored-by: XhmikosR <[email protected]>
2020-09-09Add border width utility (#31484)Mauricio Hernan Cabrera1-0/+5
Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Martijn Cuppens <[email protected]>
2020-08-13Give more priority to `.d-none` (#31473)Aleksander Machniak1-1/+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-15Improve gradientsMartijn Cuppens1-0/+5
- 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 Cuppens1-1/+1
2020-04-10Use custom properties for font-stacks (#30509)Gaël Poupard1-1/+1
2020-03-15style: applies ascending orderCatalin Zalog1-1/+1
2020-02-23Add pointer event utilities (#30185)Martijn Cuppens1-0/+5
2020-02-14Add utility class for the user-select property (#30035)Jens Luyten1-0/+4
* Add utility class for the user-select property * Docs: Add new page for behavior utility classes - includes user select utility * Update and rename behaviors.md to interactions.md * Update sidebar.yml Co-authored-by: Mark Otto <[email protected]> Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Martijn Cuppens <[email protected]>
2020-01-04Remove redundant `overflow-wrap` propertyMartijn Cuppens1-2/+2
While `overflow-wrap` is the more recommanded option, `word-wrap` alone has a wider support.
2020-01-04Use word-wrap in .text-break for IE and Edge compatibility.Florian Lacreuse1-1/+1
2019-12-30Drop `.text-justify` class (#29793)Martijn Cuppens1-1/+1
Co-authored-by: XhmikosR <[email protected]>
2019-12-06Add font style normal (#29744)Matthieu Vignolle1-1/+1
2019-11-27Change deprecated html tags to text decoration classes (#29604)Matthieu Vignolle1-1/+1
2019-11-24Compressed Sass output support (#29702)Martijn Cuppens1-10/+10
2019-10-10Add new .bg-body utility class (#29511)Mark Otto1-0/+1
2019-08-30Clean up line heights & add line height utilities (#29271)Martijn Cuppens1-0/+10
2019-08-26Link helpers & use utility API for all utilitiesMartijn Cuppens1-7/+48
2019-06-18Decrease number of order utilities (#28874)Martijn Cuppens1-8/+1
2019-06-05Rename .text-monospace to .font-monospace (#28867)Shohei Yoshida1-1/+1
2019-05-23Helpers & utilities split (#28445)Martijn Cuppens1-17/+443
2018-12-04Stretched linkMartijn Cuppens1-0/+1
2018-10-06Add overflow-auto and overflow-hidden utilitiesMark Otto1-0/+1
2018-03-31Add box-shadow utilities (#25758)Mark Otto1-0/+1
2017-07-01Redo the "responsive helpers" filesMark Otto1-0/+1
- Moves the embed SCSS to the utilities subfolder - Separate the floats from the embed docs - Rename embed docs from responsive helpers to embeds
2017-01-02New position utils, split docsMark Otto1-0/+2
- Renames .pos-f-t to .fixed-top, adds .fixed-bottom and .sticky-top - Updates utilities Sass to be split across more files (one for position, sizing, and spacing)
2016-10-18Add vertical-align utilitiesMark Otto1-0/+1
- Adds six new utils for vertical-align property - Documents the additional classes in the utils docs
2016-09-26Rename pull-*-{left|right} classes to .float-*-left and .float-*-rightMark Otto1-1/+1
2016-09-08Add new border utilsMark Otto1-0/+1
- Move and rename .img-rounded to .rounded, .img-circle to .rounded-circle - Add new .rounded-{direction} utils - New docs pages for border utils with TBD comments for the border property - Removes most image examples for rounding from the content/images docs in favor of new docs page
2016-04-06Add `display` utility classes (.d-{inline,block,inline-block}); fixes #19343Teo Dell'Amico1-1/+2
Refs #19665 [skip sauce]
2016-02-06Drop .center-block for .m-x-autoMark Otto1-1/+0
- Both classes do about the same thing, but with different names - Clarifies docs for .m-x-auto requiring a fixed width block element for it to work - Add missing heading for clearfix section in docs (unrelated)
2016-02-06Move the conditional statement back to the file because nested imports ↵Mark Otto1-4/+1
aren't supported in Sass
2016-02-06Conditionally include the flex utils in the import stack and reduce to a ↵Mark Otto1-0/+4
single query
2015-12-23Reorganize utilities into more separate files under a `/scss/utilities/` ↵Chris Rebert1-95/+8
directory [skip sauce] [skip validator]
2015-12-07Tweak naming and docs of font utility classesChris Rebert1-3/+3
* `.font-normal` is too generic. Rename it to `.font-weight-normal` for clarity. * Rename `.font-bold` to `.font-weight-bold` so as to parallel `.font-weight-normal`. * In docs, gloss "weight" term in relation to fonts for the benefit of non-typographiles. Refs #18433 [skip sauce]