Added: small style
This commit is contained in:
parent
19dc349842
commit
53e4a1e84e
@ -37,7 +37,11 @@
|
||||
width: 22px;
|
||||
}
|
||||
|
||||
.switch > input:checked + .switch-slider:before { -ms-transform: translateX(26px); -webkit-transform: translateX(26px); transform: translateX(26px); }
|
||||
.switch > input:checked + .switch-slider:before {
|
||||
-ms-transform: translateX(26px);
|
||||
-webkit-transform: translateX(26px);
|
||||
transform: translateX(26px);
|
||||
}
|
||||
|
||||
.switch.switch-off-primary > input + .switch-slider { background-color: #2196F3; }
|
||||
.switch.switch-off-success > input + .switch-slider { background-color: #5cb85c; }
|
||||
@ -58,3 +62,18 @@
|
||||
font-weight: bold;
|
||||
padding-top: 5px;
|
||||
}
|
||||
|
||||
|
||||
.switch-sm {
|
||||
height: 26px;
|
||||
width: 48px;
|
||||
}
|
||||
.switch-sm > .switch-slider:before {
|
||||
height: 18px;
|
||||
width: 18px;
|
||||
}
|
||||
.switch-sm > input:checked + .switch-slider:before {
|
||||
-ms-transform: translateX(22px);
|
||||
-webkit-transform: translateX(22px);
|
||||
transform: translateX(22px);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user