aboutsummaryrefslogtreecommitdiff
path: root/scss/forms
diff options
context:
space:
mode:
authorMartijn Cuppens <[email protected]>2019-11-24 20:01:02 +0100
committerGitHub <[email protected]>2019-11-24 20:01:02 +0100
commit460ba061cb470df7aca18b32854079a0caf335dd (patch)
tree63cef621ef5a54d7539f5f5852d7f47694db430c /scss/forms
parente8eed52271f8fad3f55018b48d6556405f98c248 (diff)
downloadbootstrap-460ba061cb470df7aca18b32854079a0caf335dd.tar.xz
bootstrap-460ba061cb470df7aca18b32854079a0caf335dd.zip
Keep themed appearance for print (#29714)
Diffstat (limited to 'scss/forms')
-rw-r--r--scss/forms/_form-check.scss2
1 files changed, 2 insertions, 0 deletions
diff --git a/scss/forms/_form-check.scss b/scss/forms/_form-check.scss
index dec120654..d3aaf058b 100644
--- a/scss/forms/_form-check.scss
+++ b/scss/forms/_form-check.scss
@@ -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;