Files
gitea-themes/styles/components/templates/repo/view_list.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

35 lines
981 B
TypeScript

export const repoFileLastCommit = `
/* 仓库页和文件列表文件夹页的最后一次提交 */
.repository.file.list #repo-files-table .gitea-github-theme-templates.repo-file-line.repo-file-last-commit {
padding-right: 10px;
/* 提交时间 */
.gitea-github-theme-latest-time {
color: var(--color-text-light-1);
font-size: 12px;
}
/* 提交历史按钮 */
.gitea-github-theme-latest-commit {
display: inline-flex;
align-items: center;
gap: 4px;
border-radius: var(--border-radius);
padding: 0px 8px;
min-height: 28px;
height: 28px;
font-size: 12px;
font-weight: 500;
&:hover {
background-color: var(--github-control-transparent-bgColor-hover);
color: inherit;
text-decoration-line: none;
}
svg {
color: var(--github-button-invisible-iconColor-rest);
}
}
}
`;
export const stylesheet = [repoFileLastCommit].join("\n\n");