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

修改radio、checkbox

parent e5259cbd
...@@ -142,7 +142,7 @@ ...@@ -142,7 +142,7 @@
} }
& + span.el-checkbox__label { & + span.el-checkbox__label {
color: $--disabled-color-base; color: $--color-text-primary;
cursor: not-allowed; cursor: not-allowed;
} }
} }
...@@ -213,9 +213,9 @@ ...@@ -213,9 +213,9 @@
border-left: 0; border-left: 0;
border-top: 0; border-top: 0;
height: 7px; height: 7px;
left: 4px; left: 5px;
position: absolute; position: absolute;
top: 1px; top: 2px;
transform: rotate(45deg) scaleY(0); transform: rotate(45deg) scaleY(0);
width: 3px; width: 3px;
transition: transform .15s ease-in .05s; transition: transform .15s ease-in .05s;
...@@ -235,7 +235,7 @@ ...@@ -235,7 +235,7 @@
@include e(label) { @include e(label) {
display: inline-block; display: inline-block;
padding-left: 10px; padding-left: 8px;
line-height: 19px; line-height: 19px;
font-size: $--checkbox-font-size; font-size: $--checkbox-font-size;
} }
......
...@@ -114,12 +114,13 @@ ...@@ -114,12 +114,13 @@
border-color: $--radio-disabled-checked-input-border-color; border-color: $--radio-disabled-checked-input-border-color;
&::after { &::after {
background-color: $--radio-disabled-checked-icon-color; border-color: $--radio-disabled-checked-icon-color;
background-color: $--background-color-lighter;
} }
} }
} }
& + span.el-radio__label { & + span.el-radio__label {
color: $--color-text-placeholder; color: $--color-text-primary;
cursor: not-allowed; cursor: not-allowed;
} }
} }
...@@ -130,7 +131,8 @@ ...@@ -130,7 +131,8 @@
background: $--radio-checked-icon-color; background: $--radio-checked-icon-color;
&::after { &::after {
transform: translate(-50%, -50%) scale(1); // transform: translate(-50%, -50%) scale(1);
transform: rotate(45deg) scaleY(1);
} }
} }
...@@ -161,16 +163,19 @@ ...@@ -161,16 +163,19 @@
} }
&::after { &::after {
width: 4px; box-sizing: content-box;
height: 4px;
border-radius: $--radio-input-border-radius;
background-color: $--color-white;
content: ""; content: "";
border: 1px solid $--checkbox-checked-icon-color;
border-left: 0;
border-top: 0;
height: 7px;
left: 5px;
position: absolute; position: absolute;
left: 50%; top: 2px;
top: 50%; transform: rotate(45deg) scaleY(0);
transform: translate(-50%, -50%) scale(0); width: 3px;
transition: transform .15s ease-in; transition: transform .15s ease-in .05s;
transform-origin: center;
} }
} }
...@@ -194,6 +199,6 @@ ...@@ -194,6 +199,6 @@
@include e(label) { @include e(label) {
font-size: $--radio-font-size; 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