aboutsummaryrefslogtreecommitdiff
path: root/scss/mixins
AgeCommit message (Collapse)AuthorFilesLines
2021-09-09Update a URL mentioning dead name (#34937)Kitty Giraudel1-1/+1
2021-08-03Update color and background-color utilitiesMark Otto1-6/+27
- 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-07-29Revert "Allow individual grid classes to override `.row-cols` (#33621)" (#34612)Mark Otto1-7/+1
This reverts commit f2b47e1c8a263f4406255991af9fd55984c22a0e.
2021-07-26Clean up a couple CSS Grid issues (#34572)Mark Otto1-0/+24
- Moves the make-cssgrid() mixin to the grid mixins stylesheet - Updates the g-start-* classes to start at 1 instead of 0 as 0 is an invalid value (fixes #34399) Co-authored-by: XhmikosR <[email protected]>
2021-06-25Variablize backdrop for modal and offcanvasMark Otto1-0/+14
2021-06-22Fix another Sass division (#34332)Mark Otto1-2/+2
* Fix another Sass division * Revert the percentage division in the mixins for accuracy Co-authored-by: XhmikosR <[email protected]>
2021-06-22Update the divide() functionMark Otto1-1/+1
2021-06-17Fix lingering Sass math (#34281)Mark Otto1-2/+2
2021-06-17Remove a leftover sass:math module call (#34280)Mark Otto1-2/+0
2021-06-14Replace `/` division with multiplication and custom `divide()` function (#34245)Mark Otto1-5/+8
* 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-03Allow individual grid classes to override `.row-cols` (#33621)Anal-Retentive Squirrel Hunter1-1/+7
2021-05-19Update button-variant mixin to add missing space.pu-master1-1/+1
2021-05-13Validated inputs in `.input-group` shouldn't be behind sibling element (#33644)Jatin Mehta1-1/+8
Added z-index property for input-group only for invalid state
2021-04-14refactor(color-scheme): reduce complexityGaël Poupard1-12/+2
2021-04-13Hide validation icons from multiple selectsGeremia Taglialatela1-11/+6
Implementation provided in #33411 does not take into account that some Operating Systems may display a vertical scrollbar in the multiple select field This implementation will hide the validation icons from multiple select fields, just like Bootstrap 4 does. Fix: #33591
2021-04-10Add color-scheme mixinMark Otto1-0/+17
2021-04-06Add equal column mixin (#32155)CFX1-3/+8
2021-04-02Fix validation feedback icon in select multipleGeremia Taglialatela1-0/+8
Validation feedback for `<select multiple>` should look like `<textarea>`. The previous implementation was placing the validation icon in the middle of the select field together with the single select arrow, that is not supposed to be part of this kind of inputs
2021-03-01fix(forms): validated controls in input-groupGaël Poupard1-0/+7
2021-02-10Add input focus blur variableSam Willis1-1/+1
2021-02-10Add Sass docs (variables, mixins, and loops) to most pages (#32747)Mark Otto7-1/+19
* 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/+4
- Split colors from background utilities with new docs page - Add Sass docs for both pages
2020-12-17Add variables for modifying button state colours. (#32317)Dylan Anderson1-4/+4
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-17Extended form validation states customization capabilities (#31757)Dmytro Yaremenko1-6/+13
Co-authored-by: XhmikosR <[email protected]>
2020-12-15Expand `visually-hidden-focusable` so it can be used on a container, so the ↵Patrick H. Lauke1-2/+3
container becomes visible when focus is inside it / on one of its child elements.
2020-12-04feat(RTL): implement RTLGaël Poupard5-16/+24
Using RTLCSS directives, renaming things to use logical names and following best practices.
2020-11-19fix(container): use $variable-prefix (#32201)Gaël Poupard1-2/+2
Missed that while merging.
2020-11-14Simplify make-container() (#31735)Gaël Poupard1-4/+2
2020-11-13Add hover utilitiesNikita Mikhaylov1-0/+11
remome several hobers refactoring hover utilities refactoring hover utilities
2020-10-28Drop custom file upload plugin in favor of CSSMartijn Cuppens1-16/+0
2020-10-13Colors rewrite (#30622)Martijn Cuppens3-6/+6
2020-09-30Add Sass variable for CSS variable prefix (#31684)Mark Otto3-18/+18
* Add Sass variable for CSS variable prefix * Update other --bs-* var instances
2020-09-28Update stylelint to v13.7.2 (#31726)XhmikosR4-9/+9
2020-09-23Forgot to divide by 2Mark Otto1-2/+2
2020-09-23Match container gutters with row guttersMark Otto1-3/+5
- Replaces make-container mixin's padding-x param with gutter to match naming - Changes value of container padding variable to match grid gutter width variable - Uses local CSS variable for container padding Fixes #31642
2020-09-17docs: fix a few redirects (#31689)XhmikosR1-1/+1
* Fix GitHub's permanent redirects * Fix a11yproject redirects * Update postcss-loader repo URL to the current one
2020-09-15Remove unnecessary nesting selectorsXhmikosR1-1/+1
2020-09-01Add default parameters to each border radius mixin (#31571)Jeremy Jackson1-8/+8
* Add default parameters to each border radius mixin * Add border radius changes to migration guide Co-authored-by: Jeremy Jackson <[email protected]>
2020-08-22fix(breakpoints): use next breakpoint when targetting xs onlyGaël Poupard1-3/+4
2020-08-06Remove flex: 1 0 100% from rows (#31439)Mark Otto1-1/+0
Co-authored-by: XhmikosR <[email protected]>
2020-08-04box-shadow() mixin allow 'null' and drop support 'none' with multiple args ↵Shohei Yoshida1-9/+7
(#30394) * Support 'null' and drop `none` with multiple args * Output a warning when use 'none' with multiple arguments * Add migration note * Update migration.md Co-authored-by: Mark Otto <[email protected]> Co-authored-by: XhmikosR <[email protected]>
2020-08-04Ensure to increase contrasts on buttons & colored links hover/active states ↵Gaël Poupard1-4/+4
(#30989) * feat(buttons): ensure to increase contrasts on hover/active * Update _buttons.scss Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Mark Otto <[email protected]>
2020-07-31Cleanup/fix after the sr-only to visually-hidden renaming (#31359)Patrick H. Lauke1-3/+3
* sr-only -> visually-hidden cleanup It seems the old screen-readers.md file was left behind, and forgot to rename the mixin * Fix broken mixins for visually-hidden
2020-07-12Easier disabled state customization for button variants (#30639)Gaël Poupard1-4/+7
* feat(buttons): easier disabled state customization * docs(migration): mention new arguments for disabled state in button-variant() * Update migration.md Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Mark Otto <[email protected]>
2020-07-03Rename `sr-only`/`sr-only-focusable` (#31139)Patrick H. Lauke1-3/+3
* Rename `sr-only`/`sr-only-focusable` To be more representative of the fact that these are not necessarily "screen reader" specific, but actually apply to assistive technologies in general (and also things like Alexa/Siri/etc). Goes hand-in-hand with #31133 Co-authored-by: XhmikosR <[email protected]>
2020-06-15Switch to btn-checkMartijn Cuppens1-6/+6
2020-06-15Remove checkbox/radio toggle from button plugin in favor of a CSS only solutionMartijn Cuppens1-4/+8
2020-06-14Change breakpoint-max implementationMartijn Cuppens1-7/+7
- The `media-breakpoint-down()` uses the breakpoint itself instead of the next breakpoint. Use `media-breakpoint-down(lg)` instead of `media-breakpoint-down(md)` to target viewports smaller than the `lg` breakpoint. - The `media-breakpoint-between()` mixin's second parameter also uses the breakpoint itself instead of the next breakpoint. Use `media-between(sm, lg)` instead of `media-breakpoint-between(sm, md)` to target viewports between the `sm` and `lg` breakpoints.
2020-06-12🔥 Remove container duplicationk-utsumi1-10/+0
2020-06-09fix(grid): zero min-width on .col has too much side-effects (#30979)Gaël Poupard1-1/+0
Co-authored-by: XhmikosR <[email protected]>