aboutsummaryrefslogtreecommitdiff
path: root/scss
AgeCommit message (Collapse)AuthorFilesLines
2020-11-14Simplify make-container() (#31735)Gaël Poupard2-5/+3
2020-11-14Add `bs` in data attributesRohit Sharma1-2/+2
- Add `bs` in data APIs everywhere - Update unit tests
2020-11-13Add hover utilitiesNikita Mikhaylov1-0/+11
remome several hobers refactoring hover utilities refactoring hover utilities
2020-11-13Rename scale-color() function to shift-color() to avoid collision with ↵Mark Otto4-14/+13
Sass's own color function (#32149)
2020-11-11Prepare v5.0.0-alpha3 (#32122)v5.0.0-alpha3XhmikosR4-4/+4
2020-11-11Use correct value order (#32121)Martijn Cuppens4-6/+6
Co-authored-by: XhmikosR <[email protected]>
2020-11-09Drop `.btn-block` classes, replace with utilities (#31995)Mark Otto2-17/+0
Co-authored-by: XhmikosR <[email protected]>
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-08Add checks to fix color contrast issues (#32085)Martijn Cuppens3-7/+19
2020-11-06_variables.scss: reorder SVG attributesXhmikosR1-6/+6
This results in slightly better gzip compression
2020-11-06Shade color for better color contrastMartijn Cuppens1-1/+1
2020-11-06Fix missing border & add transitionsMartijn Cuppens2-25/+26
2020-11-06Remove default transform-origin per code reviewMark Otto1-1/+0
2020-11-06Update relative position hack for layersMark Otto1-1/+6
Switches to slightly more verbose, but more consistent, z-index layering we use elsewhere (e.g., pagination). Doing this ensures we're not toggling position on and off, but rather z-index.
2020-11-06Add dedicated accordion component based on Collapse JSMark Otto4-27/+152
2020-11-06Add .d-grid to our display utilities (#32066)Mark Otto1-1/+1
Co-authored-by: XhmikosR <[email protected]>
2020-11-06stylelint: pass the ` --rd` flag (#32063)XhmikosR2-4/+0
* stylelint: pass the ` --rd` flag Should report any needless disables * Update _button-group.scss * Update _floating-labels.scss
2020-11-06Remove firefox workaround for ::file-selector-button margin. (#32064)Emilio Cobos Álvarez1-3/+0
As per https://bugzilla.mozilla.org/show_bug.cgi?id=1673895, this workaround shouldn't be necessary in FF83+. Co-authored-by: XhmikosR <[email protected]>
2020-11-05Drop Legacy Edge support.XhmikosR4-91/+2
This allows us to move forward without being held back. Microsoft already replaces the Legacy Edge with the new one on supported Windows versions.
2020-11-03Form file docs and overrides (#32058)Gaël Poupard1-1/+1
2020-10-31Add class name so the utility generatesMark Otto1-0/+1
2020-10-30Updated .rounded utilities (#31687)Mark Otto2-10/+11
* 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-30Fix color heights (#32023)Martijn Cuppens1-6/+9
2020-10-30Add `cursor:pointer` to color inputs (#32020)Patrick H. Lauke1-1/+5
* Add `cursor:pointer` for color inputs * Add to migration guide
2020-10-29Remove explicit heights on form elements (#31993)Martijn Cuppens4-24/+26
* Remove explicit heights * Link to upstream bug Co-authored-by: XhmikosR <[email protected]>
2020-10-28Use the same font on the button as on the field itselfMartijn Cuppens2-3/+9
2020-10-28Fix Firefox padding issueMartijn Cuppens1-0/+3
Caused by https://searchfox.org/mozilla-central/rev/0b7007a23bc16c857f894140e12f307bfeef2fdd/layout/style/res/forms.css#494
2020-10-28Drop custom file upload plugin in favor of CSSMartijn Cuppens6-155/+81
2020-10-27v5: Floating labels (#30449)Mark Otto4-3/+96
* v5: Promote floating labels example to component - Adds new .form-floating - Stubs out basics of a docs page - Removes existing Example * Update floating labels to support .form-select, make inputs and selects more consistent - To do this, I made the .form-control and .form-select consistent in min-height vs height - Removed some unused variables now - Updated -color to be the -color because I don't know why this was any different before - Update page to include some examples for layout, validation, and value - Rewrite styles to not modify padding, but instead transform and opacity * Streamline and bulletproof some things - Apply some optimizations from code review - Removed unecessary properties from the label - Add some comments for what properties are required - Move from fixed height for labels to height 100% so we can support textareas - Improve docs a little bit, add ToC * Move some values to variables, switch from scaling font-size to scale, update transforms * Bring over changes from #30966 and add to them to tighten things up * Delete the now unused example images * Fix typo * Allowlist the calc function * Add transform-origin, update transform values * Test out autofill fix * Fix linter issue * Mention it in the migration guide * Bump bundlesize * Add one more variable per review * Shave .25rem off the height Co-authored-by: XhmikosR <[email protected]>
2020-10-26v5: Add .fs-* utilities for font-size and rename font-weight/-style ↵Mark Otto2-5/+22
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-26Fix border radius for inputs groups with validationMartijn Cuppens1-0/+7
2020-10-26Fix border radii on validation messagesMartijn Cuppens1-1/+6
2020-10-26Require `.has-validation` class to fix border radii on form elementsMartijn Cuppens1-3/+5
2020-10-26Remove background-clip from .btn-closeMark Otto1-1/+0
2020-10-22Handle the Ubuntu sans-serif case (#31657)Gaël Poupard1-1/+1
On Ubuntu, our native font-stack doesn't output the same font on Firefox and Chrome. This is [a known aliasing issue](http://fontfamily.io/sans-serif) — check at the bottom, Ubuntu 14.04. Ubuntu 18.04 (my current) doesn't use the same (Firefox uses Liberation Sans, Chrome uses the default system font Ubuntu). I'm inclined to prefer Liberation Sans since it's closer to Arial / Helvetica. This patch already exists in Boosted, didn't notice it was missing in bootstrap until today… BTW, our linked Smashing Magazine's system fonts post mentions this and is even more accurate since it targets the three major Linux distributions. AFAIK this is not needed since [Liberation Sans is available everywhere](http://fontfamily.io/Liberation_Sans) — but we might go back to `Oxygen, Ubuntu, Cantarell`if we want to stick to system fonts. Co-authored-by: XhmikosR <[email protected]>
2020-10-19Apply smooth-scroll when `prefers-reduced-motion: no-preference` (#31877)Gaël Poupard2-0/+7
* feat(reboot): apply smooth-scroll when not prefers-reduced-motion * docs(migration): mention scroll-behavior in alpha3 * docs(accessibility): mention scroll-behavior in reduced motion section * docs(accessibility): rewording smooth scroll sentence * feat(variable): introduce enable-smooth-scroll variable * docs(accessibility): reword smooth-scroll sentence Co-authored-by: XhmikosR <[email protected]>
2020-10-19Slow down spinners when `prefers-reduced-motion: reduce` (#31882)Gaël Poupard1-0/+9
* feature(spinners): slow down spinners when prefers-reduced-motion * docs(spinners): add reduced motion callout and mention slowing down in accessibility page * Update spinners.md * docs(accessibility): rewording Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Patrick H. Lauke <[email protected]>
2020-10-13Adding overflow visible as utilGaurav Behere1-1/+1
2020-10-13Colors rewrite (#30622)Martijn Cuppens9-134/+130
2020-10-07Alert : Added z-index for close button (#31826)Ankit Mishra1-0/+1
Co-authored-by: Ankit Mishra <[email protected]> Co-authored-by: Martijn Cuppens <[email protected]>
2020-09-30Add Sass variable for CSS variable prefix (#31684)Mark Otto9-52/+56
* Add Sass variable for CSS variable prefix * Update other --bs-* var instances
2020-09-29feat(colors): bump dark to gray-900 (#30550)Gaël Poupard1-1/+1
Co-authored-by: XhmikosR <[email protected]>
2020-09-29Fix disabled checkbox toggle buttons (#31651)Nikita Mikhaylov2-2/+15
* fix disabled checkbox toggle buttons * add disabled checks-radios examples in documentation Co-authored-by: XhmikosR <[email protected]>
2020-09-29Suppress flexbox side effects in breadcrumb (#31700)Martijn Cuppens1-3/+1
* Suppress flexbox side effects * Trailing whitesapce Co-authored-by: Mark Otto <[email protected]> Co-authored-by: XhmikosR <[email protected]>
2020-09-29Prepare v5.0.0-alpha2. (#31748)v5.0.0-alpha2XhmikosR4-4/+4
2020-09-28Replace ellipsis Unicode symbol with three dots. (#31774)XhmikosR1-1/+1
2020-09-28Update stylelint to v13.7.2 (#31726)XhmikosR9-19/+19
2020-09-28_variables: change $btn-close-bg's attribute order (#31772)XhmikosR1-1/+1
Just to save a few bytes from the compressed files.
2020-09-25Restore `rem` unit (#31746)Martijn Cuppens1-1/+1
Fix unintentional unit change in https://github.com/twbs/bootstrap/commit/1af79bbc5267428af9fcb4a8fc9e6ab0b30328f4#diff-d8ee409a461718bfb6240710c8c73382
2020-09-24Carousel enhancements, including .carousel-dark (#31650)Mark Otto2-4/+25
* Replace existing carousel control icons with chevrons from Bootstrap Icons * Add .carousel-dark variant * Test * Add variable for .carousel-dark filter * Update _variables.scss Co-authored-by: XhmikosR <[email protected]>