mirror of
https://github.com/weilanwl/coloruicss.git
synced 2026-03-07 14:34:02 +08:00
v2.0.2 (单位全局使用rpx)
v2.0.2 (单位全局使用rpx)
This commit is contained in:
@@ -615,7 +615,7 @@ switch, checkbox, radio {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
switch::after ,switch::before{
|
||||
switch::after, switch::before {
|
||||
font-family: "iconfont" !important;
|
||||
content: "\e645";
|
||||
position: absolute;
|
||||
@@ -635,19 +635,18 @@ switch::after ,switch::before{
|
||||
switch::before {
|
||||
content: "\e646";
|
||||
right: 0;
|
||||
|
||||
transform: scale(1, 1);
|
||||
left: auto;
|
||||
}
|
||||
|
||||
switch[checked]::after {
|
||||
transform: scale(1, 1);
|
||||
}
|
||||
|
||||
switch[checked]::before {
|
||||
transform: scale(0, 0);
|
||||
}
|
||||
|
||||
|
||||
|
||||
radio::before, checkbox::before {
|
||||
font-family: "iconfont" !important;
|
||||
content: "\e645";
|
||||
@@ -670,7 +669,7 @@ switch[checked]::before {
|
||||
|
||||
switch .wx-switch-input {
|
||||
background: #aaa !important;
|
||||
border:none;
|
||||
border: none;
|
||||
padding: 0 60rpx;
|
||||
height: 64rpx;
|
||||
margin: 0;
|
||||
@@ -689,11 +688,13 @@ switch .wx-switch-input::after {
|
||||
transform: scale(0.9, 0.9) !important;
|
||||
transition: all 0.1s ease-in-out 0s;
|
||||
}
|
||||
switch .wx-switch-input-checked::after {
|
||||
|
||||
switch .wx-switch-input-checked::after {
|
||||
margin: auto !important;
|
||||
left: 54rpx !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
radio-group {
|
||||
display: inline-block;
|
||||
}
|
||||
@@ -708,8 +709,6 @@ checkbox.round .wx-checkbox-input {
|
||||
border-radius: 100rpx;
|
||||
}
|
||||
|
||||
|
||||
|
||||
switch.radius .wx-switch-input::after, switch.radius .wx-switch-input,
|
||||
switch.radius .wx-switch-input::before {
|
||||
border-radius: 10rpx;
|
||||
|
||||
Reference in New Issue
Block a user