mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-08 22:56:46 +02:00
Update .form-check to properly support gradients when enabled (#29338)
This commit is contained in:
committed by
Martijn Cuppens
parent
9c7bc1a111
commit
b81a23a60d
@@ -660,9 +660,9 @@ $form-check-input-indeterminate-bg-image: url("data:image/svg+xml,<svg xml
|
||||
|
||||
$form-switch-color: rgba(0, 0, 0, .25) !default;
|
||||
$form-switch-width: 2em !default;
|
||||
$form-switch-height: $form-check-input-width !default;
|
||||
$form-switch-padding-left: $form-switch-width + .5em !default;
|
||||
$form-switch-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='#{$form-switch-color}'/></svg>") !default;
|
||||
$form-switch-bg-size: contain !default;
|
||||
$form-switch-border-radius: $form-switch-width !default;
|
||||
$form-switch-transition: .2s ease-in-out !default;
|
||||
$form-switch-transition-property: background-position, background-color !default;
|
||||
|
Reference in New Issue
Block a user