优化 任务样式

This commit is contained in:
j m 2024-12-11 20:51:55 +08:00
parent 130886345c
commit 3f035bef6f
2 changed files with 8 additions and 9 deletions

View File

@ -292,11 +292,6 @@ ul[data-type=taskList] {
position: relative; position: relative;
} }
& + span:hover::before {
transform: rotate(360deg);
background: #e67700;
}
& + span::before { & + span::before {
content: '✖'; content: '✖';
width: 0.8rem; width: 0.8rem;
@ -333,9 +328,13 @@ ul[data-type=taskList] {
} }
} }
&:hover > label > span::before { &:last-child p {
transform: rotate(360deg); margin-bottom: 0;
background: #e67700; }
&:hover label span::before {
transform: rotate(360deg) !important;
background: #e67700 !important;
} }
} }
} }

File diff suppressed because one or more lines are too long