折叠项观测小优化

This commit is contained in:
lutinglt
2024-12-27 00:16:28 +08:00
parent e9d2b62b0e
commit 3489fc94c2
3 changed files with 17 additions and 6 deletions

View File

@@ -1,7 +1,6 @@
// Made by Luting ^-^
// 设置左边栏(包含 Actions 的工作流栏)
%active-item-after-style {
background: #1f6feb;
border-radius: 0.375rem;
@@ -48,10 +47,22 @@
details {
&:has(.active.item) {
background: #161a21;
> summary {
background: #161a21;
&:hover {
background: var(--color-hover);
}
}
&[open] {
background: unset;
> summary {
background: unset;
&:hover {
background: var(--color-hover);
}
}
&:after {
display: none;