mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-28 10:24:19 +01:00
4829350a46
* Rewrite custom form check backgrounds Previously, this was all just a background-color and background-image. When we restored the gradients though, we had two background-images competing on the same element, causing rendering glitches. This refactors that code, creating a mixin to simplify things, so we can we easily use two background-images (SVG icon and gradient) when -gradients is set to true. Fixes #24598 * restore default vars * Revamp custom check and radio backgrounds Instead of applying multiple background-image's to the same element, we're adding a new ::before pseudo-element to layer the background-images. Gradients go on the .custom-control-indicator while their icons go on the ::before element. This allows us to shave some bytes from when we compile and we previously needed to redeclare the background-image for the icon if you changed the gradient. * remove now unused mixin * mention change in migration docs |
||
---|---|---|
.. | ||
_alert.scss | ||
_background-variant.scss | ||
_badge.scss | ||
_border-radius.scss | ||
_box-shadow.scss | ||
_breakpoints.scss | ||
_buttons.scss | ||
_caret.scss | ||
_clearfix.scss | ||
_float.scss | ||
_forms.scss | ||
_gradients.scss | ||
_grid-framework.scss | ||
_grid.scss | ||
_hover.scss | ||
_image.scss | ||
_list-group.scss | ||
_lists.scss | ||
_nav-divider.scss | ||
_navbar-align.scss | ||
_pagination.scss | ||
_reset-text.scss | ||
_resize.scss | ||
_screen-reader.scss | ||
_size.scss | ||
_table-row.scss | ||
_text-emphasis.scss | ||
_text-hide.scss | ||
_text-truncate.scss | ||
_transition.scss | ||
_visibility.scss |