This repository has been archived on 2023-08-30. You can view files and clone it, but cannot push or open issues/pull-requests.
bytedo
/
wcui
Archived
1
0
Fork 0

优化单选&多选元素的UI

old
宇天 2018-07-31 02:09:39 +08:00
parent 17db4c8042
commit 8593a71f1d
1 changed files with 2 additions and 2 deletions

View File

@ -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;}
} }
} }