7 padding-left: 0; // Reset for Bootstrap rule
8 color: $mdb-checkbox-label-color;
9 @include mdb-label-color-toggle-focus();
12 // Hide native checkbox
13 input[type=checkbox] {
26 vertical-align: middle;
30 display: inline-block;
37 background-color: rgba(0,0,0,.84);
38 height: $mdb-checkbox-size;
39 width: $mdb-checkbox-size;
45 @include transform-scale3d(unquote('2.3,2.3,1'));
50 display: inline-block;
51 width: $mdb-checkbox-size;
52 height: $mdb-checkbox-size;
53 border: 1px solid $mdb-checkbox-border-color;
56 border-radius: $border-radius-base;
61 transform: rotate(45deg);
76 @include animation(checkbox-off $mdb-checkbox-animation-check forwards);
80 input[type=checkbox] {
82 &:focus + .checkbox-material .check:after {
88 & + .checkbox-material .check {
89 background: $mdb-checkbox-checked-color;
92 & + .checkbox-material .check:before {
94 box-shadow: 0 0 0 10px,
100 @include animation(checkbox-on $mdb-checkbox-animation-check forwards);
103 & + .checkbox-material:before {
104 @include animation(rippleOn $mdb-checkbox-animation-ripple);
107 & + .checkbox-material .check:after {
108 //background-color: $brand-success; // FIXME: seems like tho wrong color, test and make sure it can be removed
109 @include animation(rippleOn $mdb-checkbox-animation-ripple forwards);
114 & + .checkbox-material:before {
115 @include animation(rippleOff $mdb-checkbox-animation-ripple);
118 & + .checkbox-material .check:after {
119 @include animation(rippleOff $mdb-checkbox-animation-ripple); // Ripple effect on uncheck
125 // Style for disabled inputs
126 fieldset[disabled] &,
127 fieldset[disabled] & input[type=checkbox],
128 input[type=checkbox][disabled] ~ .checkbox-material .check,
129 input[type=checkbox][disabled] + .circle {
133 input[type=checkbox][disabled] ~ .checkbox-material .check{
134 border-color: #000000;
138 input[type=checkbox][disabled] + .checkbox-material .check:after {
139 background-color: $mdb-text-color-primary;
140 transform: rotate(-45deg);
144 @keyframes checkbox-on {
174 @keyframes rippleOn {
185 @keyframes rippleOff {