434161de5b
Release / release (push) Failing after 13s
- 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.
42 lines
993 B
TypeScript
42 lines
993 B
TypeScript
|
|
export const menu = `
|
|
.ui.menu {
|
|
min-height: 32px;
|
|
}
|
|
.menu .item svg {
|
|
color: var(--color-text-light-1);
|
|
}
|
|
/* 菜单默认悬浮色更改 */
|
|
.ui.menu a.item,
|
|
.ui.secondary.pointing.menu a.item,
|
|
.ui.secondary.menu .dropdown.item {
|
|
&:hover {
|
|
background: var(--github-control-transparent-bgColor-hover);
|
|
}
|
|
}
|
|
/* 一些水平小型菜单的颜色更改 */
|
|
.small-menu-items .item {
|
|
background-color: var(--color-body) !important;
|
|
&:hover {
|
|
background: var(--github-control-transparent-bgColor-hover) !important;
|
|
}
|
|
}
|
|
/* 一些菜单的悬浮色更改 */
|
|
.ui.segment .ui.tabular.menu,
|
|
.header-wrapper .ui.tabular.menu,
|
|
.ui.secondary.pointing.menu {
|
|
.item,
|
|
.active.item {
|
|
&:hover {
|
|
background: var(--github-control-transparent-bgColor-hover);
|
|
}
|
|
}
|
|
}
|
|
/* 菜单标签样式 */
|
|
.ui.menu .item > .label:not(.floating) {
|
|
padding: 0px 6px;
|
|
}
|
|
`;
|
|
|
|
export const stylesheet = [menu].join("\n\n");
|