折叠项观测小优化

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

@@ -109,7 +109,7 @@
} }
} }
/* 关闭工单按钮 */ // 关闭工单按钮
.ui.red.basic.button#status-button { .ui.red.basic.button#status-button {
color: #ab7df8; color: #ab7df8;
border-color: var(--color-light-border); border-color: var(--color-light-border);
@@ -121,7 +121,7 @@
} }
} }
/* 重新开启按钮 */ // 重新开启按钮
.ui.basic.primary.button#status-button { .ui.basic.primary.button#status-button {
color: #39d353; color: #39d353;
background-color: var(--color-button); background-color: var(--color-button);

View File

@@ -1,6 +1,6 @@
// Made by Luting ^-^ // Made by Luting ^-^
/* 用户仓库列表字体颜色 /* 用户仓库列表字体颜色 */
/* .repo-list-link { /* .repo-list-link {
color: var(--color-blue) !important; color: var(--color-blue) !important;
} */ } */

View File

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