mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2024-11-25 19:14:09 +03:00
fixed checkbox animation
This commit is contained in:
parent
0811b4e319
commit
41aade1981
|
@ -31,6 +31,10 @@ label.checkbox-inline {
|
||||||
height: 0;
|
height: 0;
|
||||||
margin-top: -4px;
|
margin-top: -4px;
|
||||||
margin-left: 6px;
|
margin-left: 6px;
|
||||||
|
// we need a solid color here to avoid glitches in the animation
|
||||||
|
// it will not look great on non white backgrounds, but this is the
|
||||||
|
// most common case and it's better support it
|
||||||
|
color: lighten(rgba($gray, 1), (1 - $gray-alpha) * 100);
|
||||||
content: "";
|
content: "";
|
||||||
box-shadow: 0 0 0 0,
|
box-shadow: 0 0 0 0,
|
||||||
0 0 0 0,
|
0 0 0 0,
|
||||||
|
|
|
@ -5,7 +5,8 @@
|
||||||
// redefine ? TODO: do we need this bmd variant? This is used as $body-color
|
// redefine ? TODO: do we need this bmd variant? This is used as $body-color
|
||||||
$gray-lighter: rgba($black, 0.12) !default;
|
$gray-lighter: rgba($black, 0.12) !default;
|
||||||
$gray-light: rgba($black, 0.26) !default;
|
$gray-light: rgba($black, 0.26) !default;
|
||||||
$gray: rgba($black, .54) !default; // spec color
|
$gray-alpha: .54 !default;
|
||||||
|
$gray: rgba($black, $gray-alpha) !default; // spec color
|
||||||
$gray-dark: rgba($black, 0.87) !default; // used for text color - others use grey-600 which is considerably lighter
|
$gray-dark: rgba($black, 0.87) !default; // used for text color - others use grey-600 which is considerably lighter
|
||||||
|
|
||||||
$bmd-font-weight-base: 400;
|
$bmd-font-weight-base: 400;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user