adjustment

This commit is contained in:
2023-04-21 17:17:56 +08:00
parent c4316e7e52
commit 222ca43afb
23 changed files with 341 additions and 293 deletions

View File

@ -1,15 +1,15 @@
@import "./functions/checkbox.scss";
@import "./functions/func.scss";
.checkbox-image {
.ui-check-image-wrapper {
>input[type="checkbox"] {
display: none;
&:checked {
&~.checked {
~.checked {
display: inline;
}
&~.unchecked {
~.unchecked {
display: none;
}
}
@ -24,17 +24,17 @@
}
}
.checkbox-wrapper {
.ui-check-wrapper {
display: inline-flex;
align-items: center;
padding: 0 8px;
height: 36px;
@include check-box();
@include ui-check();
.check-box-inner {
.ui-check-inner {
flex: 0 0 auto;
&+* {
+* {
flex: 1 1 auto;
font-weight: 400;
font-size: var(--font-size);