mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-19 16:10:12 +01:00
This commit is contained in:
parent
257cf706b6
commit
f8e6f5d1c1
1 changed files with 14 additions and 12 deletions
|
|
@ -70,16 +70,6 @@
|
||||||
left: 17px;
|
left: 17px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover:not(:disabled) {
|
|
||||||
&::after {
|
|
||||||
background-color: var(--b3-switch-checked-hover);
|
|
||||||
}
|
|
||||||
|
|
||||||
&::before {
|
|
||||||
background-color: var(--b3-switch-checked-hover2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&:active:not(:disabled)::after {
|
&:active:not(:disabled)::after {
|
||||||
height: 14px;
|
height: 14px;
|
||||||
width: 14px;
|
width: 14px;
|
||||||
|
|
@ -95,8 +85,20 @@
|
||||||
height: 10px;
|
height: 10px;
|
||||||
width: 10px;
|
width: 10px;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
&:hover:not(:disabled)::before {
|
label:hover .b3-switch:not(:disabled)::before,
|
||||||
display: inline-block;
|
.b3-switch:hover:not(:disabled)::before {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
label:hover .b3-switch:checked:not(:disabled),
|
||||||
|
.b3-switch:checked:hover:not(:disabled) {
|
||||||
|
&::after {
|
||||||
|
background-color: var(--b3-switch-checked-hover);
|
||||||
|
}
|
||||||
|
|
||||||
|
&::before {
|
||||||
|
background-color: var(--b3-switch-checked-hover2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue