From: Martijn Cuppens Date: Sun, 24 Nov 2019 19:01:02 +0000 (+0100) Subject: Keep themed appearance for print (#29714) X-Git-Tag: v5.0.0-alpha1~638 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=460ba061cb470df7aca18b32854079a0caf335dd;p=thirdparty%2Fbootstrap.git Keep themed appearance for print (#29714) --- diff --git a/scss/forms/_form-check.scss b/scss/forms/_form-check.scss index dec1206547..d3aaf058b9 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;