mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-20 17:54:23 +01:00
Keep themed appearance for print (#29714)
This commit is contained in:
parent
e8eed52271
commit
460ba061cb
@ -21,6 +21,7 @@
|
|||||||
background-color: $form-check-input-bg;
|
background-color: $form-check-input-bg;
|
||||||
border: $form-check-input-border;
|
border: $form-check-input-border;
|
||||||
appearance: none;
|
appearance: none;
|
||||||
|
color-adjust: exact; // Keep themed appearance for print
|
||||||
|
|
||||||
&[type="checkbox"] {
|
&[type="checkbox"] {
|
||||||
@include border-radius($form-check-input-border-radius);
|
@include border-radius($form-check-input-border-radius);
|
||||||
@ -113,6 +114,7 @@
|
|||||||
background-position: left center;
|
background-position: left center;
|
||||||
background-size: $form-switch-bg-size; // Get a 1px separation
|
background-size: $form-switch-bg-size; // Get a 1px separation
|
||||||
@include border-radius($form-switch-border-radius);
|
@include border-radius($form-switch-border-radius);
|
||||||
|
color-adjust: exact; // Keep themed appearance for print
|
||||||
// Todo: Figure out how to tackle these, with or without mixin?
|
// Todo: Figure out how to tackle these, with or without mixin?
|
||||||
// transition: $form-switch-transition;
|
// transition: $form-switch-transition;
|
||||||
// transition-property: $form-switch-transition-property;
|
// transition-property: $form-switch-transition-property;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user