mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2025-10-26 21:20:31 +00:00
同步顶部工单等仪表板样式
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user