aboutsummaryrefslogtreecommitdiff
path: root/scss/utilities
AgeCommit message (Collapse)AuthorFilesLines
2021-09-08Replace Sass division with multiplication and custom divide() functionMark Otto1-1/+1
Fixes #34353. Co-Authored-By: Slaven Tomac <[email protected]>
2021-06-24🐛 Enable `0.x` with negative margins @ v4 (#33593)k-utsumi1-1/+1
* 🐛 Enable `0.x` with negative margins @ v4 I set it as below, but no negative margin was added. `$spacers: (0\.5: ($spacer * .125));` After investigating, it seems that `0 \ .5` is also evaluated as 0. So I changed it to string comparison. HTML example: `<img class="mt-n0.5">` * 💚 Clear CI errors
2020-10-05Update .text-break for wider browser supportMark Otto1-2/+2
2020-09-30Stylelint: replace deprecated optionsXhmikosR1-1/+1
2020-06-04Backport #30932XhmikosR1-1/+2
Restore word-break: break-word on .text-break to fix text breaking on flex containers
2020-05-11Add new interaction utilities and role attr to Reboot (#30562)Mark Otto1-0/+5
- Adds .user-select-* utils from v5 - Adds button role attribute util, one of the top requested features in our issues for adding pointer cursors - Adds new docs page to demonstrate both - Includes Sass list for customizing user select
2020-04-18Deprecate `bg-gradient-variant` mixin (#30594)Martijn Cuppens1-1/+1
Co-authored-by: XhmikosR <[email protected]>
2020-02-17Backport #29325. (#30074)Martijn Cuppens1-2/+1
`.text-break` fix
2019-08-26Add deprecation warningMartijn Cuppens1-1/+1
2019-07-31Apply `at-mixin-argumentless-call-parentheses: always` stylelint rule for v4 ↵Martijn Cuppens1-1/+1
mixins
2019-07-10Ignore the bg-variant deprecation warning in our files.Martijn Cuppens1-1/+1
2019-02-07Deprecate `invisible()` mixin (#28066)Martijn Cuppens1-2/+4
2019-02-06Fix text break in Firefox (#28063)Martijn Cuppens1-1/+4
2019-01-24Deprecate float mixins (#28104)Martijn Cuppens1-3/+5
2019-01-24Add `!important` to `.text-monospace` utility class (#28064)Martijn Cuppens1-1/+1
2019-01-13Add new rounded sizes classes (#28011)Justin1-0/+12
* update border-radius mixins Add $enable-rounded as a keyword argument to border-raidus mixins * Update rounded classes - use border-radius mixins to repleace !important - use true for $enable-rounded for rounded classes - Add `.rounded-sm` and `.rounded-sm` #27934 * update borders docs * Revert touch of dist files * Revert change of border-radius mixins * use !important in border-radius utilies classes * update border radius classes keep only rounded-lg and rounded-sm
2018-12-29Configurable display utility classes (#27917)Martijn Cuppens1-18/+6
2018-12-23Blacklist border-radius property (use mixin instead) (#27900)Martijn Cuppens1-1/+1
2018-12-22Merge branch 'v4-dev' into stretched-linkXhmikosR1-0/+2
2018-12-17Update scss/utilities/_text.scssMartijn Cuppens1-1/+1
Co-Authored-By: mdo <[email protected]>
2018-12-16Add new .text-break utility for applying word-break: break-wordMark Otto1-0/+2
2018-12-04Stretched linkMartijn Cuppens1-0/+19
2018-11-11Allow to add more embed responsive ratios (#25894)Martijn Cuppens1-20/+7
2018-11-05Add new `.rounded-pill` utility (#27339)sts-ryan-holton1-0/+4
2018-11-04Add `.text-wrap` class.Andrew1-0/+1
this is the opposite of `.text-nowrap`, and a forces elements to wrap onto new lines. One use case for this is extra long button text. Bootstrap buttons by default do no wrap, so this class could be used to override that behavior.
2018-10-23Added Viewport Height & Width helpers ItaloBC1-0/+8
This allows the user to make a container (ideally) to use viewport height and width and allow better vertical/horizontal alignments of elements.
2018-10-06Add overflow-auto and overflow-hidden utilitiesMark Otto2-5/+5
2018-08-25add text-reset to text utilities (#26866)m5o1-0/+4
2018-08-13Change if statementMartijn Cuppens1-1/+1
2018-07-24Merge branch 'garhbod-patch-1' into v4-devMark Otto1-1/+23
2018-07-24Add .text-decoration-none utility class (#25933)Stefan Wrobel1-0/+2
ref: https://github.com/twbs/bootstrap/pull/23881#issuecomment-337789596
2018-07-24add 'lighter' and 'bolder' font weight classes (#26580)Andrew1-4/+6
* add 'lighter' and 'bolder' font weight classes these are 2 special values for font weight, that will give their content a font-weight value of 100 more or less than their inherited font-weight. probably doesn't fully fulfill this issue, https://github.com/twbs/bootstrap/issues/23969, but it's a start * Update .stylelintrc * add 'lighter' and 'bolder' variables per @mdo 's request.
2018-07-08fix comment placement, remove unecessary prop wrapperMark Otto1-20/+17
2018-06-07Negative Margins classes for custom col guttersRyan Worth1-0/+25
Feature request #26681
2018-04-16Suppress text-hide deprecation warning (#26242)Alexander Rechsteiner1-1/+1
2018-03-31Add box-shadow utilities (#25758)Mark Otto1-0/+6
2018-03-31Add new .flex-grow and .flex-shrink utilsMark Otto1-0/+4
2018-03-31add 50% translucent black and white textMark Otto1-0/+3
2018-03-31add .text-body, fixes #25412Mark Otto1-0/+1
2018-03-31Add .text-monospace utilMark Otto1-0/+2
2018-03-12Replace "loose" HEX values with their respective variables (#25672)Jacob Müller1-1/+1
2018-02-07Enable `scss/dollar-variable-default` rule (#25542)freezy1-0/+1
This checks if all variables are `!default`.
2018-01-21Add missing flex-fill utilityPierre-Denis Vanduynslager1-0/+1
2018-01-17Prevent print utils from overriding all other display utils (#25269)Mark Otto1-28/+10
* Prevent print utils from overriding all other display utils Fixes #25221. I agree with the referenced issue—this is unexpected and also causes a serious bug when mixed with other utility classes. This wasn't an issue in v3 given we had different utilities for hiding that weren't focused on display property. * Add printing changes to migration docs * unrelated heading sentence case change * List out all .d-print- classes
2017-12-28Expand border utilities to include top, right, bottom, leftMark Otto1-1/+6
2017-10-19Gradients and shadows (#24429)Mark Otto1-0/+6
* Update the form focus mixin to use a manual `$enable-shadows` check so we can always ensure a focus state for accessibility and consistency * - Add new `$input-btn-focus-width` and `$input-btn-focus-color` variables. - Replace separate `$btn-focus-box-shadow` and `$input-focus-box-shadow` variables with unified `$input-btn-focus-box-shadow` to match our combined variables approach elsewhere. * Put new focus width var to use in buttons mixins * use new button input-box shadow var * Add a new mixin for quickly adding linear gradient to components when $enable-gradients is set to true * use correct var * fix focus shadows in button mixins * Add opt-in gradients to alerts, buttons, carousel, custom radios and checkboxes, custom file input, and dropdown items * Generate .bg-gradient- utilities * add headings to colors page and document bg-gradient utils * update the button color for active status, check with yiq as it's done for basic state and hover state
2017-10-02Switch to stylelint. (#23572)XhmikosR9-2/+20
2017-10-02add display `table-cell` (#24004)Paweł Kuna1-0/+1
2017-09-17Minor Sass cleanup and consistency changes. (#23959)XhmikosR1-2/+7
2017-09-09adds missing important on utility classsAndres Galante1-2/+2