优化单选&多选元素的UI
parent
17db4c8042
commit
8593a71f1d
|
@ -95,7 +95,7 @@
|
||||||
&:checked::after {display:block;width:13px;height:13px;margin:3px;border-radius:50%;background:nth($cgr, 1);content:""}
|
&:checked::after {display:block;width:13px;height:13px;margin:3px;border-radius:50%;background:nth($cgr, 1);content:""}
|
||||||
|
|
||||||
&:disabled {background:#fff8ed;box-shadow:none;cursor:not-allowed;}
|
&:disabled {background:#fff8ed;box-shadow:none;cursor:not-allowed;}
|
||||||
&:disabled:checked::after {background:nth($cp, 3);}
|
&:disabled:checked::after {background:nth($cgr, 1);}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.disabled {color:nth($cp, 3);cursor:not-allowed;}
|
&.disabled {color:nth($cp, 3);cursor:not-allowed;}
|
||||||
|
@ -107,7 +107,7 @@
|
||||||
|
|
||||||
&:checked::after {width:100%;height:100%;margin:0;line-height:19px;font-size:18px;text-align:center;color:nth($cgr, 1);background:none;content:"✓"}
|
&:checked::after {width:100%;height:100%;margin:0;line-height:19px;font-size:18px;text-align:center;color:nth($cgr, 1);background:none;content:"✓"}
|
||||||
|
|
||||||
&:disabled:checked::after {color:nth($cp, 3);background:none;}
|
&:disabled:checked::after {color:nth($cgr, 1);background:none;}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue