Files
gitea-themes/styles/components/repo/milestones.ts
T
chuan 434161de5b
Release / release (push) Failing after 13s
Refactor theme management and update documentation
- Removed `.github-theme` from .gitignore as it is no longer needed.
- Updated `official-style-map.md` to clarify the maintenance of GitHub Light style increments within the current repository.
- Revised `rules.md` to reflect the new approach to maintaining GitHub Light theme increments.
- Changed test script in `package.json` to verify generated theme instead of GitHub migration.
- Added `verify-generated-theme.ts` script to validate the generated theme files.
- Migrated various styles from `.github-theme` to the new structure, updating comments and references accordingly.
2026-05-18 01:26:17 +08:00

60 lines
1.4 KiB
TypeScript

export const milestone = `
/* 里程碑头部 */
.milestone-header {
gap: 16px;
/* 进度条 */
progress {
height: 5px;
width: 300px;
max-width: 80vw;
}
}
/* 里程碑 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: var(--color-text-light-1);
strong {
color: var(--color-text);
}
> .flex-text-block {
gap: 8px !important;
}
}
}
> .divider {
border-top-color: #0000;
}
}
}
`;
export const milestoneMobile = `
@media (max-width: 767.98px) {
.page-content.repository.milestone-issue-list > .ui.container > .flex-text-block:first-child + .tw-flex {
flex-direction: column !important;
}
}
`;
export const stylesheet = [milestone, milestoneMobile].join("\n\n");