Commit 6d678b69 authored by 刘安琪's avatar 刘安琪

修改radio、checkbox

parent e5259cbd
......@@ -142,7 +142,7 @@
}
& + span.el-checkbox__label {
color: $--disabled-color-base;
color: $--color-text-primary;
cursor: not-allowed;
}
}
......@@ -213,9 +213,9 @@
border-left: 0;
border-top: 0;
height: 7px;
left: 4px;
left: 5px;
position: absolute;
top: 1px;
top: 2px;
transform: rotate(45deg) scaleY(0);
width: 3px;
transition: transform .15s ease-in .05s;
......@@ -235,7 +235,7 @@
@include e(label) {
display: inline-block;
padding-left: 10px;
padding-left: 8px;
line-height: 19px;
font-size: $--checkbox-font-size;
}
......
......@@ -114,12 +114,13 @@
border-color: $--radio-disabled-checked-input-border-color;
&::after {
background-color: $--radio-disabled-checked-icon-color;
border-color: $--radio-disabled-checked-icon-color;
background-color: $--background-color-lighter;
}
}
}
& + span.el-radio__label {
color: $--color-text-placeholder;
color: $--color-text-primary;
cursor: not-allowed;
}
}
......@@ -130,7 +131,8 @@
background: $--radio-checked-icon-color;
&::after {
transform: translate(-50%, -50%) scale(1);
// transform: translate(-50%, -50%) scale(1);
transform: rotate(45deg) scaleY(1);
}
}
......@@ -161,16 +163,19 @@
}
&::after {
width: 4px;
height: 4px;
border-radius: $--radio-input-border-radius;
background-color: $--color-white;
box-sizing: content-box;
content: "";
border: 1px solid $--checkbox-checked-icon-color;
border-left: 0;
border-top: 0;
height: 7px;
left: 5px;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%) scale(0);
transition: transform .15s ease-in;
top: 2px;
transform: rotate(45deg) scaleY(0);
width: 3px;
transition: transform .15s ease-in .05s;
transform-origin: center;
}
}
......@@ -194,6 +199,6 @@
@include e(label) {
font-size: $--radio-font-size;
padding-left: 10px;
padding-left: 8px;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment