同步顶部工单等仪表板样式

This commit is contained in:
lutinglt
2025-09-06 19:59:48 +08:00
parent e0518a2986
commit dc3047f16a
5 changed files with 152 additions and 43 deletions

View File

@@ -1,6 +1,6 @@
import { css } from "src/types/vars";
import { css, themeVars } from "src/types/vars";
export const milestones = css`
export const milestone = css`
// 里程碑头部
.milestone-header {
gap: 16px;
@@ -11,6 +11,49 @@ export const milestones = css`
max-width: 80vw;
}
}
.page-content.repository.milestones {
// 里程碑 Issue 列表的进度条
.milestone-progress-big {
height: 8px;
}
// 里程碑 Issue 列表
.page-content.repository.milestone-issue-list {
> .ui.container {
> .flex-text-block:first-child {
margin-bottom: 16px;
> h1 {
font-size: 32px;
font-weight: 600;
line-height: 48px;
word-break: keep-all;
}
+ .tw-flex {
flex-direction: row !important;
align-items: center;
gap: 8px !important;
padding-top: 8px;
padding-bottom: 10px;
font-size: 14px;
color: ${themeVars.color.text.light.num1};
strong {
color: ${themeVars.color.text.self};
}
> .flex-text-block {
gap: 8px !important;
}
}
}
> .divider {
border-top-color: #0000;
}
}
}
`;
// 避免手机/平板下菜单错位
export const milestoneMobile = css`
@media (max-width: 767.98px) {
.page-content.repository.milestone-issue-list > .ui.container > .flex-text-block:first-child + .tw-flex {
flex-direction: column !important;
}
}
`;