Checkbox stuff!
This commit is contained in:
parent
048a94ade6
commit
a9d3e14b66
8 changed files with 574 additions and 3 deletions
|
|
@ -102,6 +102,135 @@ form {
|
|||
}
|
||||
}
|
||||
|
||||
&[type="checkbox"],
|
||||
&[type="radio"] {
|
||||
--active-inner: #fff;
|
||||
--background: #fff;
|
||||
--disabled: #f6f8ff;
|
||||
--disabled-inner: #e1e6f9;
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
height: 21px;
|
||||
outline: none;
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
background: var(--b, lighten($background, 25%));
|
||||
transition: background 0.3s, border-color 0.3s, box-shadow 0.2s;
|
||||
&:after {
|
||||
content: "";
|
||||
display: block;
|
||||
left: 1px;
|
||||
top: 1px;
|
||||
position: absolute;
|
||||
transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s);
|
||||
}
|
||||
|
||||
&:checked {
|
||||
background: var(--b, $cyan);
|
||||
--d-o: 0.3s;
|
||||
--d-t: 0.6s;
|
||||
--d-t-e: cubic-bezier(0.2, 0.85, 0.32, 1.2);
|
||||
}
|
||||
|
||||
&:disabled {
|
||||
--b: var(--disabled);
|
||||
cursor: not-allowed;
|
||||
opacity: 0.9;
|
||||
&:checked {
|
||||
--b: var(--disabled-inner);
|
||||
--bc: var(--border);
|
||||
}
|
||||
& + label {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
}
|
||||
&:hover {
|
||||
&:not(:checked) {
|
||||
&:not(:disabled) {
|
||||
--bc: $cyan;
|
||||
}
|
||||
}
|
||||
}
|
||||
&:focus {
|
||||
box-shadow: 0 0 10px 0 rgba($cyan, 0.9);
|
||||
}
|
||||
&:not(.switch) {
|
||||
width: 21px;
|
||||
&:after {
|
||||
opacity: var(--o, 0);
|
||||
}
|
||||
&:checked {
|
||||
--o: 1;
|
||||
}
|
||||
}
|
||||
& + label {
|
||||
font-size: 14px;
|
||||
line-height: 21px;
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
cursor: pointer;
|
||||
margin-left: 4px;
|
||||
}
|
||||
}
|
||||
&[type="checkbox"] {
|
||||
&:not(.switch) {
|
||||
border-radius: 7px;
|
||||
&:after {
|
||||
width: 5px;
|
||||
height: 9px;
|
||||
border: 2px solid lighten($background, 25%);
|
||||
border-top: 0;
|
||||
border-left: 0;
|
||||
left: 7px;
|
||||
top: 4px;
|
||||
transform: rotate(var(--r, 20deg));
|
||||
}
|
||||
&:checked {
|
||||
--r: 43deg;
|
||||
}
|
||||
}
|
||||
&.switch {
|
||||
width: 38px;
|
||||
border-radius: 11px;
|
||||
&:after {
|
||||
left: 3px;
|
||||
top: 3px;
|
||||
border-radius: 50%;
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
background: var(--ab, $cyan);
|
||||
transform: translateX(var(--x, 0));
|
||||
}
|
||||
&:checked {
|
||||
--ab: var(--active-inner);
|
||||
--x: 17px;
|
||||
&:after {
|
||||
background: lighten($background, 25%);
|
||||
}
|
||||
}
|
||||
&:disabled {
|
||||
&:not(:checked) {
|
||||
&:after {
|
||||
opacity: 0.6;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
&[type="radio"] {
|
||||
border-radius: 50%;
|
||||
&:after {
|
||||
width: 19px;
|
||||
height: 19px;
|
||||
border-radius: 50%;
|
||||
background: lighten($background, 25%);
|
||||
opacity: 0;
|
||||
transform: scale(var(--s, 0.7));
|
||||
}
|
||||
}
|
||||
|
||||
&[type="range"] {
|
||||
height: 26px;
|
||||
-webkit-appearance: none;
|
||||
|
|
|
|||
|
|
@ -647,6 +647,153 @@ form .flex-form input[type="checkbox"]:focus, form .flex-form input[type="color"
|
|||
box-shadow: 0px 0px 10px 0px #00bee0;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"], form .flex-form input[type="radio"] {
|
||||
--active-inner: #fff;
|
||||
--background: #fff;
|
||||
--disabled: #f6f8ff;
|
||||
--disabled-inner: #e1e6f9;
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
height: 21px;
|
||||
outline: none;
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
background: var(--b, #656565);
|
||||
-webkit-transition: background 0.3s, border-color 0.3s, -webkit-box-shadow 0.2s;
|
||||
transition: background 0.3s, border-color 0.3s, -webkit-box-shadow 0.2s;
|
||||
transition: background 0.3s, border-color 0.3s, box-shadow 0.2s;
|
||||
transition: background 0.3s, border-color 0.3s, box-shadow 0.2s, -webkit-box-shadow 0.2s;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:after, form .flex-form input[type="radio"]:after {
|
||||
content: "";
|
||||
display: block;
|
||||
left: 1px;
|
||||
top: 1px;
|
||||
position: absolute;
|
||||
-webkit-transition: opacity var(--d-o, 0.2s), -webkit-transform var(--d-t, 0.3s) var(--d-t-e, ease);
|
||||
transition: opacity var(--d-o, 0.2s), -webkit-transform var(--d-t, 0.3s) var(--d-t-e, ease);
|
||||
transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s);
|
||||
transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s), -webkit-transform var(--d-t, 0.3s) var(--d-t-e, ease);
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:checked, form .flex-form input[type="radio"]:checked {
|
||||
background: var(--b, #00bee0);
|
||||
--d-o: 0.3s;
|
||||
--d-t: 0.6s;
|
||||
--d-t-e: cubic-bezier(0.2, 0.85, 0.32, 1.2);
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:disabled, form .flex-form input[type="radio"]:disabled {
|
||||
--b: var(--disabled);
|
||||
cursor: not-allowed;
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:disabled:checked, form .flex-form input[type="radio"]:disabled:checked {
|
||||
--b: var(--disabled-inner);
|
||||
--bc: var(--border);
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:disabled + label, form .flex-form input[type="radio"]:disabled + label {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:hover:not(:checked):not(:disabled), form .flex-form input[type="radio"]:hover:not(:checked):not(:disabled) {
|
||||
--bc: $cyan;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:focus, form .flex-form input[type="radio"]:focus {
|
||||
-webkit-box-shadow: 0 0 10px 0 rgba(0, 190, 224, 0.9);
|
||||
box-shadow: 0 0 10px 0 rgba(0, 190, 224, 0.9);
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:not(.switch), form .flex-form input[type="radio"]:not(.switch) {
|
||||
width: 21px;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:not(.switch):after, form .flex-form input[type="radio"]:not(.switch):after {
|
||||
opacity: var(--o, 0);
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:not(.switch):checked, form .flex-form input[type="radio"]:not(.switch):checked {
|
||||
--o: 1;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"] + label, form .flex-form input[type="radio"] + label {
|
||||
font-size: 14px;
|
||||
line-height: 21px;
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
cursor: pointer;
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:not(.switch) {
|
||||
border-radius: 7px;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:not(.switch):after {
|
||||
width: 5px;
|
||||
height: 9px;
|
||||
border: 2px solid #656565;
|
||||
border-top: 0;
|
||||
border-left: 0;
|
||||
left: 7px;
|
||||
top: 4px;
|
||||
-webkit-transform: rotate(var(--r, 20deg));
|
||||
transform: rotate(var(--r, 20deg));
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:not(.switch):checked {
|
||||
--r: 43deg;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"].switch {
|
||||
width: 38px;
|
||||
border-radius: 11px;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"].switch:after {
|
||||
left: 3px;
|
||||
top: 3px;
|
||||
border-radius: 50%;
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
background: var(--ab, #00bee0);
|
||||
-webkit-transform: translateX(var(--x, 0));
|
||||
transform: translateX(var(--x, 0));
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"].switch:checked {
|
||||
--ab: var(--active-inner);
|
||||
--x: 17px;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"].switch:checked:after {
|
||||
background: #656565;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"].switch:disabled:not(:checked):after {
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
form .flex-form input[type="radio"] {
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
form .flex-form input[type="radio"]:after {
|
||||
width: 19px;
|
||||
height: 19px;
|
||||
border-radius: 50%;
|
||||
background: #656565;
|
||||
opacity: 0;
|
||||
-webkit-transform: scale(var(--s, 0.7));
|
||||
transform: scale(var(--s, 0.7));
|
||||
}
|
||||
|
||||
form .flex-form input[type="range"] {
|
||||
height: 26px;
|
||||
-webkit-appearance: none;
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -647,6 +647,153 @@ form .flex-form input[type="checkbox"]:focus, form .flex-form input[type="color"
|
|||
box-shadow: 0px 0px 10px 0px #00bee0;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"], form .flex-form input[type="radio"] {
|
||||
--active-inner: #fff;
|
||||
--background: #fff;
|
||||
--disabled: #f6f8ff;
|
||||
--disabled-inner: #e1e6f9;
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
height: 21px;
|
||||
outline: none;
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
background: var(--b, white);
|
||||
-webkit-transition: background 0.3s, border-color 0.3s, -webkit-box-shadow 0.2s;
|
||||
transition: background 0.3s, border-color 0.3s, -webkit-box-shadow 0.2s;
|
||||
transition: background 0.3s, border-color 0.3s, box-shadow 0.2s;
|
||||
transition: background 0.3s, border-color 0.3s, box-shadow 0.2s, -webkit-box-shadow 0.2s;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:after, form .flex-form input[type="radio"]:after {
|
||||
content: "";
|
||||
display: block;
|
||||
left: 1px;
|
||||
top: 1px;
|
||||
position: absolute;
|
||||
-webkit-transition: opacity var(--d-o, 0.2s), -webkit-transform var(--d-t, 0.3s) var(--d-t-e, ease);
|
||||
transition: opacity var(--d-o, 0.2s), -webkit-transform var(--d-t, 0.3s) var(--d-t-e, ease);
|
||||
transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s);
|
||||
transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s), -webkit-transform var(--d-t, 0.3s) var(--d-t-e, ease);
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:checked, form .flex-form input[type="radio"]:checked {
|
||||
background: var(--b, #00bee0);
|
||||
--d-o: 0.3s;
|
||||
--d-t: 0.6s;
|
||||
--d-t-e: cubic-bezier(0.2, 0.85, 0.32, 1.2);
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:disabled, form .flex-form input[type="radio"]:disabled {
|
||||
--b: var(--disabled);
|
||||
cursor: not-allowed;
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:disabled:checked, form .flex-form input[type="radio"]:disabled:checked {
|
||||
--b: var(--disabled-inner);
|
||||
--bc: var(--border);
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:disabled + label, form .flex-form input[type="radio"]:disabled + label {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:hover:not(:checked):not(:disabled), form .flex-form input[type="radio"]:hover:not(:checked):not(:disabled) {
|
||||
--bc: $cyan;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:focus, form .flex-form input[type="radio"]:focus {
|
||||
-webkit-box-shadow: 0 0 10px 0 rgba(0, 190, 224, 0.9);
|
||||
box-shadow: 0 0 10px 0 rgba(0, 190, 224, 0.9);
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:not(.switch), form .flex-form input[type="radio"]:not(.switch) {
|
||||
width: 21px;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:not(.switch):after, form .flex-form input[type="radio"]:not(.switch):after {
|
||||
opacity: var(--o, 0);
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:not(.switch):checked, form .flex-form input[type="radio"]:not(.switch):checked {
|
||||
--o: 1;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"] + label, form .flex-form input[type="radio"] + label {
|
||||
font-size: 14px;
|
||||
line-height: 21px;
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
cursor: pointer;
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:not(.switch) {
|
||||
border-radius: 7px;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:not(.switch):after {
|
||||
width: 5px;
|
||||
height: 9px;
|
||||
border: 2px solid white;
|
||||
border-top: 0;
|
||||
border-left: 0;
|
||||
left: 7px;
|
||||
top: 4px;
|
||||
-webkit-transform: rotate(var(--r, 20deg));
|
||||
transform: rotate(var(--r, 20deg));
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:not(.switch):checked {
|
||||
--r: 43deg;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"].switch {
|
||||
width: 38px;
|
||||
border-radius: 11px;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"].switch:after {
|
||||
left: 3px;
|
||||
top: 3px;
|
||||
border-radius: 50%;
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
background: var(--ab, #00bee0);
|
||||
-webkit-transform: translateX(var(--x, 0));
|
||||
transform: translateX(var(--x, 0));
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"].switch:checked {
|
||||
--ab: var(--active-inner);
|
||||
--x: 17px;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"].switch:checked:after {
|
||||
background: white;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"].switch:disabled:not(:checked):after {
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
form .flex-form input[type="radio"] {
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
form .flex-form input[type="radio"]:after {
|
||||
width: 19px;
|
||||
height: 19px;
|
||||
border-radius: 50%;
|
||||
background: white;
|
||||
opacity: 0;
|
||||
-webkit-transform: scale(var(--s, 0.7));
|
||||
transform: scale(var(--s, 0.7));
|
||||
}
|
||||
|
||||
form .flex-form input[type="range"] {
|
||||
height: 26px;
|
||||
-webkit-appearance: none;
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -647,6 +647,153 @@ form .flex-form input[type="checkbox"]:focus, form .flex-form input[type="color"
|
|||
box-shadow: 0px 0px 10px 0px #00bee0;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"], form .flex-form input[type="radio"] {
|
||||
--active-inner: #fff;
|
||||
--background: #fff;
|
||||
--disabled: #f6f8ff;
|
||||
--disabled-inner: #e1e6f9;
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
height: 21px;
|
||||
outline: none;
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
background: var(--b, #535884);
|
||||
-webkit-transition: background 0.3s, border-color 0.3s, -webkit-box-shadow 0.2s;
|
||||
transition: background 0.3s, border-color 0.3s, -webkit-box-shadow 0.2s;
|
||||
transition: background 0.3s, border-color 0.3s, box-shadow 0.2s;
|
||||
transition: background 0.3s, border-color 0.3s, box-shadow 0.2s, -webkit-box-shadow 0.2s;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:after, form .flex-form input[type="radio"]:after {
|
||||
content: "";
|
||||
display: block;
|
||||
left: 1px;
|
||||
top: 1px;
|
||||
position: absolute;
|
||||
-webkit-transition: opacity var(--d-o, 0.2s), -webkit-transform var(--d-t, 0.3s) var(--d-t-e, ease);
|
||||
transition: opacity var(--d-o, 0.2s), -webkit-transform var(--d-t, 0.3s) var(--d-t-e, ease);
|
||||
transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s);
|
||||
transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s), -webkit-transform var(--d-t, 0.3s) var(--d-t-e, ease);
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:checked, form .flex-form input[type="radio"]:checked {
|
||||
background: var(--b, #00bee0);
|
||||
--d-o: 0.3s;
|
||||
--d-t: 0.6s;
|
||||
--d-t-e: cubic-bezier(0.2, 0.85, 0.32, 1.2);
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:disabled, form .flex-form input[type="radio"]:disabled {
|
||||
--b: var(--disabled);
|
||||
cursor: not-allowed;
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:disabled:checked, form .flex-form input[type="radio"]:disabled:checked {
|
||||
--b: var(--disabled-inner);
|
||||
--bc: var(--border);
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:disabled + label, form .flex-form input[type="radio"]:disabled + label {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:hover:not(:checked):not(:disabled), form .flex-form input[type="radio"]:hover:not(:checked):not(:disabled) {
|
||||
--bc: $cyan;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:focus, form .flex-form input[type="radio"]:focus {
|
||||
-webkit-box-shadow: 0 0 10px 0 rgba(0, 190, 224, 0.9);
|
||||
box-shadow: 0 0 10px 0 rgba(0, 190, 224, 0.9);
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:not(.switch), form .flex-form input[type="radio"]:not(.switch) {
|
||||
width: 21px;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:not(.switch):after, form .flex-form input[type="radio"]:not(.switch):after {
|
||||
opacity: var(--o, 0);
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:not(.switch):checked, form .flex-form input[type="radio"]:not(.switch):checked {
|
||||
--o: 1;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"] + label, form .flex-form input[type="radio"] + label {
|
||||
font-size: 14px;
|
||||
line-height: 21px;
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
cursor: pointer;
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:not(.switch) {
|
||||
border-radius: 7px;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:not(.switch):after {
|
||||
width: 5px;
|
||||
height: 9px;
|
||||
border: 2px solid #535884;
|
||||
border-top: 0;
|
||||
border-left: 0;
|
||||
left: 7px;
|
||||
top: 4px;
|
||||
-webkit-transform: rotate(var(--r, 20deg));
|
||||
transform: rotate(var(--r, 20deg));
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:not(.switch):checked {
|
||||
--r: 43deg;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"].switch {
|
||||
width: 38px;
|
||||
border-radius: 11px;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"].switch:after {
|
||||
left: 3px;
|
||||
top: 3px;
|
||||
border-radius: 50%;
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
background: var(--ab, #00bee0);
|
||||
-webkit-transform: translateX(var(--x, 0));
|
||||
transform: translateX(var(--x, 0));
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"].switch:checked {
|
||||
--ab: var(--active-inner);
|
||||
--x: 17px;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"].switch:checked:after {
|
||||
background: #535884;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"].switch:disabled:not(:checked):after {
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
form .flex-form input[type="radio"] {
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
form .flex-form input[type="radio"]:after {
|
||||
width: 19px;
|
||||
height: 19px;
|
||||
border-radius: 50%;
|
||||
background: #535884;
|
||||
opacity: 0;
|
||||
-webkit-transform: scale(var(--s, 0.7));
|
||||
transform: scale(var(--s, 0.7));
|
||||
}
|
||||
|
||||
form .flex-form input[type="range"] {
|
||||
height: 26px;
|
||||
-webkit-appearance: none;
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue