aboutsummaryrefslogtreecommitdiff
path: root/scss/_variables.scss
AgeCommit message (Collapse)AuthorFilesLines
2021-09-07Add `border-radius` sizes to small and large `.form-select`s (#34853)Dominik Crha1-1/+3
Fixes #34852 Co-authored-by: Dominik Crha <[email protected]> Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Mark Otto <[email protected]>
2021-08-23Fix `$dropdown-link-hover-color` variable color value in _variable.scss (#34779)ghost_321-1/+1
2021-08-10Add check to rgba-css-var function for body or bg (#34699)Mark Otto1-8/+18
2021-08-03Update color and background-color utilitiesMark Otto1-0/+26
- 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-08-03Add new placeholder component (#31859)Jaume Sala1-0/+7
Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Jaume Sala <[email protected]> Co-authored-by: Mark Otto <[email protected]> Co-authored-by: Patrick H. Lauke <[email protected]>
2021-08-03Update input-bg to use body-bg (#34651)Mark Otto1-1/+1
2021-07-25Make default $accordion-icon-color consistentTheFakeCake1-1/+1
Change the $accordion-icon-color variable default value to $accordion-button-color
2021-07-14fix(forms): prevent color control from shrinking (#34445)Gaël Poupard1-0/+2
* fix(forms): prevent color control from shrinking Fixes #34195 Setting `min-width` alongside `max-width` wouldn't make any sense IMHO. The only concern I have is whether we should introduce a dedicated variable for said width? * feat(forms): introduce ` $form-color-width` * feat(forms): use ` $form-color-width` Co-authored-by: XhmikosR <[email protected]>
2021-07-08Add null `$card-box-shadow` variable (#34440)Mark Otto1-1/+2
Fixes #34421 Co-authored-by: XhmikosR <[email protected]>
2021-07-06Add maps for all colors, document how to extend color utilities (#32319)Mark Otto1-0/+120
* Add maps for all colors, document how to extend color utilities * Updates to make this more functional for v5 - Moves color maps into _variables.scss for now (felt weird to split them out when the variables are there) - Adds a new function, map-merge-multiple(), and updates docs that reference combo-map - Updates code snippet and docs guidance about how to extend the color utils to handle this * Update site/content/docs/5.0/customize/color.md Co-authored-by: Gaël Poupard <[email protected]> Co-authored-by: XhmikosR <[email protected]>
2021-07-05Add horizontal collapse supportMark Otto1-0/+1
2021-06-25Variablize backdrop for modal and offcanvasMark Otto1-3/+6
2021-06-22v5.1: Add optional CSS grid (#31813)Mark Otto1-0/+1
2021-06-19Small typos, closes #34249Mark Otto1-2/+2
2021-06-14Replace `/` division with multiplication and custom `divide()` function (#34245)Mark Otto1-15/+15
* Convert bulk of division to multiplication * Use custom divide() function instead of Dart Sass math module for greater compatibility * Apply suggestions from code review * Fix functions
2021-06-03fix(forms): unitless `line-height` for floating labels (#34161)Gaël Poupard1-0/+1
Co-authored-by: Mark Otto <[email protected]> Co-authored-by: XhmikosR <[email protected]>
2021-05-28Add missing transition to `.form-select` (#34034)Simon Ihmig1-0/+2
A selectbox is styled in a very similar way as an input (`.form-control`), including border-color and box-shadow. So it can be assumed it should apply the same CSS transition for these properties when focused, but this was missing. Co-authored-by: alpadev <[email protected]>
2021-05-28fix(tables): decouple table-bg and table-accent-bg (#34048)Gaël Poupard1-0/+1
Co-authored-by: alpadev <[email protected]>
2021-05-20fix wrong comment text for tooltip (#34044)GeoSot1-1/+1
2021-04-19Use the backdrop util in offcanvas, enforcing consistency (#33545)GeoSot1-3/+2
* respect /share modal's backdrop functionality, keeping consistency * listen click events over backdrop (only) and trigger `hide()` without add/remove event tricks * achieve to hide foreign open offcanvas instances without glitches `if (allReadyOpen && allReadyOpen !== target)`, in case another is going to be open, when user clicks on trigger button
2021-04-14Make accordion icon rotation more natural (#33292)Victor Massé1-1/+1
2021-04-14Have $form-check-input-border's default derive from ($black instead of ↵Carson1-1/+1
hard-coded black)
2021-04-04Spinner alignment changesMark Otto1-0/+1
2021-03-30Make .nav-link color consistent when using buttons (#33478)Kyle Tsang1-2/+2
* Make .nav-link color consistent when using buttons * Set $nav-link-hover-color to $link-hover-color as default
2021-03-16Revamp accordion borders to fix pixel jumping (#33149)Mark Otto1-1/+2
- Pushes the borders to the .accordion-item - Simplifies the .accordion-flush - Recreates the .accordion-button border-bottom with an inset box-shadow - Updates background-color to solid to match other components like list group and prevent stacked translucent borders - Use negative margin to overlap the consecutive items
2021-03-02Offcanvas as component (#29017)GeoSot1-4/+22
* Add a new offcanvas component * offcanvas.js: switch to string constants and `event.key` * Remove unneeded code * Sass optimizations * Fixes Make sure the element is hidden and not offscreen when inactive fix close icon negative margins Add content in right & bottom examples Re-fix bottom offcanvas height not to cover all viewport * Wording tweaks * update tests and offcanvas class * separate scrollbar functionality and use it in offcanvas * Update .bundlewatch.config.json * fix focus * update btn-close / fix focus on close * add aria-modal and role return focus on trigger when offcanvas is closed change body scrolling timings * move common code to reusable functions * add aria-labelledby * Replace lorem ipsum text * fix focus when offcanvas is closed * updates * revert modal, add tests for scrollbar * show backdrop by default * Update offcanvas.md * Update offcanvas CSS to better match modals - Add background-clip for borders - Move from outline to border (less clever, more consistent) - Add scss-docs in vars * Revamp offcanvas docs - Add static example to show and explain the components - Split live examples and rename them - Simplify example content - Expand docs notes elsewhere - Add sass docs * Add .offcanvas-title instead of .modal-title * Rename offcanvas example to offcanvas-navbar to reflect it's purpose * labelledby references title and not header * Add default shadow to offcanvas * enable offcanvas-body to fill all the remaining wrapper area * Be more descriptive, on Accessibility area * remove redundant classes * ensure in case of an already open offcanvas, not to open another one * bring back backdrop|scroll combinations * bring back toggling class * refactor scrollbar method, plus tests * add check if element is not full-width, according to #30621 * revert all in modal * use documentElement innerWidth * Rename classes to -start and -end Also copyedit some docs wording * omit some things on scrollbar * PASS BrowserStack tests -- IOS devices, Android devices and Browsers on Mac, hide scrollbar by default and appear it, only while scrolling. * Rename '_handleClosing' to '_addEventListeners' * change pipe usage to comma * change Data.getData to Data.get Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Martijn Cuppens <[email protected]> Co-authored-by: Mark Otto <[email protected]>
2021-03-02Reset select:disabled opacity and null-ify color to fix rendering ↵Mark Otto1-1/+1
differences in Chrome
2021-03-01fix(list-group): properly set a color on list-group-itemsGaël Poupard1-1/+1
2021-02-16Clear duplicated class `border-0` (#32925)k-utsumi1-1/+0
* Clear duplicated class `border-0` * Update migration.md Co-authored-by: Mark Otto <[email protected]>
2021-02-10Add input focus blur variableSam Willis1-1/+2
2021-02-10Add Sass docs (variables, mixins, and loops) to most pages (#32747)Mark Otto1-21/+110
* 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/+10
- Split colors from background utilities with new docs page - Add Sass docs for both pages
2021-01-14Drop transition on .form-check, keep on .form-switchMark Otto1-2/+3
To avoid breaking changes, turns -check-transition to null, then adds a new -switch-transition variable
2021-01-14Lighten disabled dropdown text to $gray-500Mark Otto1-1/+1
Fixes #32474
2021-01-11Darken dropdown item hover style (#32754)Patrick H. Lauke1-1/+1
Closes https://github.com/twbs/bootstrap/issues/23329
2020-12-28Tweak .form-select padding (#32419)Mark Otto1-3/+3
* Tweak .form-select padding * Simplify the padding entirely Co-authored-by: XhmikosR <[email protected]>
2020-12-17Add variables for modifying button state colours. (#32317)Dylan Anderson1-0/+9
Add some variables to allow users to modify how much a button gets lighter or darker on :hover and :active. Co-authored-by: XhmikosR <[email protected]>
2020-12-14Add two new variables for pagination border-radius values (#32423)Mark Otto1-0/+3
Co-authored-by: XhmikosR <[email protected]>
2020-12-04Add toast positioningMartijn Cuppens1-0/+1
2020-12-04feat(RTL): implement RTLGaël Poupard1-8/+9
Using RTLCSS directives, renaming things to use logical names and following best practices.
2020-12-01Remove background, padding, border from breadcrumb containerPatrick H. Lauke1-4/+4
2020-11-14Simplify make-container() (#31735)Gaël Poupard1-1/+1
2020-11-13Rename scale-color() function to shift-color() to avoid collision with ↵Mark Otto1-7/+7
Sass's own color function (#32149)
2020-11-09Drop `.btn-block` classes, replace with utilities (#31995)Mark Otto1-2/+0
Co-authored-by: XhmikosR <[email protected]>
2020-11-08Add checks to fix color contrast issues (#32085)Martijn Cuppens1-2/+2
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 Cuppens1-0/+4
2020-11-06Add dedicated accordion component based on Collapse JSMark Otto1-0/+27
2020-11-03Form file docs and overrides (#32058)Gaël Poupard1-1/+1