parent
df0cdc051e
commit
19f9bc13e3
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
.checkbox {
|
.checkbox {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-left: 5px;
|
margin-left: 7px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -234,7 +234,8 @@ input[type="checkbox"]:checked::after {
|
|||||||
height: 24px;
|
height: 24px;
|
||||||
width: 24px;
|
width: 24px;
|
||||||
background-color: #f3f3f3;
|
background-color: #f3f3f3;
|
||||||
box-shadow: inset 0 1px 2px 1px rgba(50,50,50,.05);
|
box-shadow: inset 0 1px 2px 1px rgba(50, 50, 50, 0.05);
|
||||||
|
border: 2px solid var(--color-primary);
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
color: white;
|
color: white;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@ -242,7 +243,6 @@ input[type="checkbox"]:checked::after {
|
|||||||
|
|
||||||
label::before,
|
label::before,
|
||||||
label::after {
|
label::after {
|
||||||
content: '';
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
display: block;
|
display: block;
|
||||||
top: 12px;
|
top: 12px;
|
||||||
@ -251,7 +251,6 @@ input[type="checkbox"]:checked::after {
|
|||||||
width: 8px;
|
width: 8px;
|
||||||
background-color: var(--color-font);
|
background-color: var(--color-font);
|
||||||
transition: all .2s;
|
transition: all .2s;
|
||||||
opacity: 0.2;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
:checked + label {
|
:checked + label {
|
||||||
@ -260,7 +259,7 @@ input[type="checkbox"]:checked::after {
|
|||||||
|
|
||||||
:checked + label::before,
|
:checked + label::before,
|
||||||
:checked + label::after {
|
:checked + label::after {
|
||||||
opacity: 1;
|
content: '';
|
||||||
}
|
}
|
||||||
|
|
||||||
:checked + label::before {
|
:checked + label::before {
|
||||||
@ -275,6 +274,16 @@ input[type="checkbox"]:checked::after {
|
|||||||
top: 11px;
|
top: 11px;
|
||||||
width: 13px;
|
width: 13px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[disabled] + label {
|
||||||
|
pointer-events: none;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
[disabled] + label::before,
|
||||||
|
[disabled] + label::after {
|
||||||
|
content: none !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.radio::before {
|
.radio::before {
|
||||||
|
|||||||
Reference in New Issue
Block a user