0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-17 14:54:30 +01:00

Keep themed appearance for print (#29714)

This commit is contained in:
Martijn Cuppens 2019-11-24 20:01:02 +01:00 committed by GitHub
parent e8eed52271
commit 460ba061cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,6 +21,7 @@
background-color: $form-check-input-bg;
border: $form-check-input-border;
appearance: none;
color-adjust: exact; // Keep themed appearance for print
&[type="checkbox"] {
@include border-radius($form-check-input-border-radius);
@ -113,6 +114,7 @@
background-position: left center;
background-size: $form-switch-bg-size; // Get a 1px separation
@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?
// transition: $form-switch-transition;
// transition-property: $form-switch-transition-property;