mirror of
https://github.com/saegl5/Gitea-Red.git
synced 2025-05-24 00:12:23 -04:00
cleaning up
This commit is contained in:
parent
a5175874e1
commit
3386cc8cac
@ -1,7 +1,5 @@
|
|||||||
/* root and emoji source: https://github.com/go-gitea/gitea/blob/main/web_src/css/themes/theme-arc-green.css */
|
/* some root colors are customized */
|
||||||
/* some root colors and one alpha are customized */
|
|
||||||
/* custom colors are slightly brighter */
|
/* custom colors are slightly brighter */
|
||||||
/* custom alpha is slightly more transparent */
|
|
||||||
|
|
||||||
/* @import "../chroma/base.css"; */
|
/* @import "../chroma/base.css"; */
|
||||||
/* @import "../chroma/dark.css"; */
|
/* @import "../chroma/dark.css"; */
|
||||||
@ -224,7 +222,6 @@
|
|||||||
--color-active-line: #534d1b;
|
--color-active-line: #534d1b;
|
||||||
accent-color: var(--color-accent);
|
accent-color: var(--color-accent);
|
||||||
color-scheme: dark;
|
color-scheme: dark;
|
||||||
/* no longer needed: --fonts-monospace */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* invert emojis that are hard to read otherwise */
|
/* invert emojis that are hard to read otherwise */
|
||||||
@ -251,8 +248,6 @@
|
|||||||
filter: invert(100%) hue-rotate(180deg);
|
filter: invert(100%) hue-rotate(180deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* not needed: .full.height */
|
|
||||||
|
|
||||||
.home a {
|
.home a {
|
||||||
color: var(--color-primary) !important; /* link and link hover color on home page, other links use --color-primary */
|
color: var(--color-primary) !important; /* link and link hover color on home page, other links use --color-primary */
|
||||||
}
|
}
|
||||||
@ -287,7 +282,6 @@
|
|||||||
|
|
||||||
.ui.red.button {
|
.ui.red.button {
|
||||||
background-color: var(--color-primary-dark-4) !important; /* red button color (e.g., Confirm Deletion, Remove) */
|
background-color: var(--color-primary-dark-4) !important; /* red button color (e.g., Confirm Deletion, Remove) */
|
||||||
/* color: var(--color-body) !important; */ /* reconsidered: text color overrides text color for some buttons (e.g., Transfer Ownership) */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui.red.button:hover {
|
.ui.red.button:hover {
|
||||||
@ -298,26 +292,8 @@
|
|||||||
background-color: unset !important; /* reset color in danger zone */
|
background-color: unset !important; /* reset color in danger zone */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* reconsidered: .ui.active.button:hover, .ui.active.button:active */
|
|
||||||
/* not needed: .ui.tabular.stackable.menu.navbar .active.item */
|
|
||||||
/* not needed: .ui.secondary.pointing.tabular.top.attached.borderless.menu.stackable.new-menu.navbar.shadow-body .active.item */
|
|
||||||
/* reconsidered: .ui.secondary.pointing.tabular.top.attached.borderless.menu.stackable.new-menu.navbar .active.item */
|
|
||||||
/* reconsidered: .ui.top.attached.pull.tabular.stackable.menu .active.item */
|
|
||||||
/* not needed: .ui.top.tabular.menu .active.write.item */
|
|
||||||
/* reconsidered: .ui.top.attached.tabular.menu .active.item */
|
|
||||||
/* reconsidered, re-ordered: #repo-files-table tr:hover */
|
|
||||||
/* not needed: .repository .diff-detail-box */
|
|
||||||
|
|
||||||
details {
|
details {
|
||||||
background-color: var(--color-secondary-light-2); /* make collapsible elements easier to distinguish from main body */
|
background-color: var(--color-secondary-light-2); /* make collapsible elements easier to distinguish from main body */
|
||||||
border-radius: 4px; /* same as code blocks */
|
border-radius: 4px; /* same as code blocks */
|
||||||
padding: .2em .4em; /* same as code blocks */
|
padding: .2em .4em; /* same as code blocks */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* reconsidered: .js-clone-url */
|
|
||||||
/* not needed: .color-preview */
|
|
||||||
/* not needed: .markup table tr:nth-child(2n) */
|
|
||||||
/* reconsidered: .added-code */
|
|
||||||
/* not needed: .ui.table>thead>tr>th */
|
|
||||||
/* not needed: .ui.table>thead>tr:first-child>th:first-child */
|
|
||||||
/* not needed: .ui.table>thead>tr:first-child>th:last-child */
|
|
@ -4,18 +4,13 @@
|
|||||||
:root {
|
:root {
|
||||||
--color-primary: #cd041c !important; /* moderate contributions heatmap, primary email address label, Regenerate Scratch Token, and more (below) */
|
--color-primary: #cd041c !important; /* moderate contributions heatmap, primary email address label, Regenerate Scratch Token, and more (below) */
|
||||||
--color-primary-dark-2: #ab0316 !important; /* greater contributions heatmap and more (below) */
|
--color-primary-dark-2: #ab0316 !important; /* greater contributions heatmap and more (below) */
|
||||||
/* reconsidered: --color-primary-dark-3 */
|
|
||||||
--color-primary-dark-4: #870312 !important; /* red buttons and greatest contributions heatmap */
|
--color-primary-dark-4: #870312 !important; /* red buttons and greatest contributions heatmap */
|
||||||
--color-primary-dark-6: #5f020d !important; /* red buttons hover */
|
--color-primary-dark-6: #5f020d !important; /* red buttons hover */
|
||||||
--color-primary-light-1: #d1152b !important; /* selection color */
|
--color-primary-light-1: #d1152b !important; /* selection color */
|
||||||
--color-primary-light-2: #ce2236 !important; /* fewer contributions heatmap */
|
--color-primary-light-2: #ce2236 !important; /* fewer contributions heatmap */
|
||||||
--color-primary-light-4: #d54455 !important; /* fewest contributions heatmap */
|
--color-primary-light-4: #d54455 !important; /* fewest contributions heatmap */
|
||||||
/* reconsidered: --color-background */
|
|
||||||
/* no contributions heatmap is okay */
|
/* no contributions heatmap is okay */
|
||||||
/* no longer needed: --fonts-monospace */
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/* reconsidered: .full.height */
|
|
||||||
|
|
||||||
.home a {
|
.home a {
|
||||||
color: var(--color-primary) !important; /* link and link hover color on home page, other links use --color-primary */
|
color: var(--color-primary) !important; /* link and link hover color on home page, other links use --color-primary */
|
||||||
@ -51,7 +46,6 @@
|
|||||||
|
|
||||||
.ui.red.button {
|
.ui.red.button {
|
||||||
background-color: var(--color-primary-dark-4) !important; /* red button color (e.g., Confirm Deletion, Remove) */
|
background-color: var(--color-primary-dark-4) !important; /* red button color (e.g., Confirm Deletion, Remove) */
|
||||||
/* color: var(--color-body) !important; */ /* reconsidered: text color overrides text color for some buttons (e.g., Transfer Ownership) */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui.red.button:hover {
|
.ui.red.button:hover {
|
||||||
@ -62,34 +56,16 @@
|
|||||||
background-color: unset !important; /* reset color in danger zone */
|
background-color: unset !important; /* reset color in danger zone */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* not needed: .ui.basic.red.button:hover */
|
|
||||||
/* reconsidered: .ui.active.button:hover, .ui.active.button:active */
|
|
||||||
/* reconsidered: .ui.tabular.menu.navbar */
|
|
||||||
/* not needed: .ui.secondary.pointing.tabular.top.attached.borderless.menu.stackable.new-menu.navbar.shadow-body .active.item */
|
|
||||||
/* not needed: .ui.secondary.pointing.tabular.top.attached.borderless.menu.stackable.new-menu.navbar .active.item */
|
|
||||||
/* reconsidered: .ui.top.attached.pull.tabular.stackable.menu .active.item */
|
|
||||||
/* reconsidered: .ui.top.tabular.menu .active.write.item */
|
|
||||||
/* not needed: .ui.top.attached.tabular.menu .active.item */
|
|
||||||
/* reconsidered, re-ordered: #repo-files-table tr:hover */
|
|
||||||
/* not needed: .repository .diff-detail-box */
|
|
||||||
|
|
||||||
details {
|
details {
|
||||||
background-color: var(--color-secondary-light-2); /* make collapsible elements easier to distinguish from main body */
|
background-color: var(--color-secondary-light-2); /* make collapsible elements easier to distinguish from main body */
|
||||||
border-radius: 4px; /* same as code blocks */
|
border-radius: 4px; /* same as code blocks */
|
||||||
padding: .2em .4em; /* same as code blocks */
|
padding: .2em .4em; /* same as code blocks */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* reconsidered: .js-clone-url */
|
|
||||||
/* not needed: .color-preview */
|
|
||||||
/* not needed: .markup table tr:nth-child(2n) */
|
|
||||||
/* reconsidered: .added-code */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
/* root and emoji source: https://github.com/go-gitea/gitea/blob/main/web_src/css/themes/theme-arc-green.css */
|
/* some root colors are customized */
|
||||||
/* some root colors and one alpha are customized */
|
|
||||||
/* custom colors are slightly brighter */
|
/* custom colors are slightly brighter */
|
||||||
/* custom alpha is slightly more transparent */
|
|
||||||
|
|
||||||
/* @import "../chroma/base.css"; */
|
/* @import "../chroma/base.css"; */
|
||||||
/* @import "../chroma/dark.css"; */
|
/* @import "../chroma/dark.css"; */
|
||||||
@ -312,8 +288,7 @@
|
|||||||
--color-active-line: #534d1b;
|
--color-active-line: #534d1b;
|
||||||
accent-color: var(--color-accent);
|
accent-color: var(--color-accent);
|
||||||
color-scheme: dark;
|
color-scheme: dark;
|
||||||
/* no longer needed: --fonts-monospace */
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/* invert emojis that are hard to read otherwise */
|
/* invert emojis that are hard to read otherwise */
|
||||||
.emoji[aria-label="check mark"],
|
.emoji[aria-label="check mark"],
|
||||||
@ -339,8 +314,6 @@
|
|||||||
filter: invert(100%) hue-rotate(180deg);
|
filter: invert(100%) hue-rotate(180deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* not needed: .full.height */
|
|
||||||
|
|
||||||
.home a {
|
.home a {
|
||||||
color: var(--color-primary) !important; /* link and link hover color on home page, other links use --color-primary */
|
color: var(--color-primary) !important; /* link and link hover color on home page, other links use --color-primary */
|
||||||
}
|
}
|
||||||
@ -375,7 +348,6 @@
|
|||||||
|
|
||||||
.ui.red.button {
|
.ui.red.button {
|
||||||
background-color: var(--color-primary-dark-4) !important; /* red button color (e.g., Confirm Deletion, Remove) */
|
background-color: var(--color-primary-dark-4) !important; /* red button color (e.g., Confirm Deletion, Remove) */
|
||||||
/* color: var(--color-body) !important; */ /* reconsidered: text color overrides text color for some buttons (e.g., Transfer Ownership) */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui.red.button:hover {
|
.ui.red.button:hover {
|
||||||
@ -386,27 +358,9 @@
|
|||||||
background-color: unset !important; /* reset color in danger zone */
|
background-color: unset !important; /* reset color in danger zone */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* reconsidered: .ui.active.button:hover, .ui.active.button:active */
|
|
||||||
/* not needed: .ui.tabular.stackable.menu.navbar .active.item */
|
|
||||||
/* not needed: .ui.secondary.pointing.tabular.top.attached.borderless.menu.stackable.new-menu.navbar.shadow-body .active.item */
|
|
||||||
/* reconsidered: .ui.secondary.pointing.tabular.top.attached.borderless.menu.stackable.new-menu.navbar .active.item */
|
|
||||||
/* reconsidered: .ui.top.attached.pull.tabular.stackable.menu .active.item */
|
|
||||||
/* not needed: .ui.top.tabular.menu .active.write.item */
|
|
||||||
/* reconsidered: .ui.top.attached.tabular.menu .active.item */
|
|
||||||
/* reconsidered, re-ordered: #repo-files-table tr:hover */
|
|
||||||
/* not needed: .repository .diff-detail-box */
|
|
||||||
|
|
||||||
details {
|
details {
|
||||||
background-color: var(--color-secondary-light-2); /* make collapsible elements easier to distinguish from main body */
|
background-color: var(--color-secondary-light-2); /* make collapsible elements easier to distinguish from main body */
|
||||||
border-radius: 4px; /* same as code blocks */
|
border-radius: 4px; /* same as code blocks */
|
||||||
padding: .2em .4em; /* same as code blocks */
|
padding: .2em .4em; /* same as code blocks */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* reconsidered: .js-clone-url */
|
|
||||||
/* not needed: .color-preview */
|
|
||||||
/* not needed: .markup table tr:nth-child(2n) */
|
|
||||||
/* reconsidered: .added-code */
|
|
||||||
/* not needed: .ui.table>thead>tr>th */
|
|
||||||
/* not needed: .ui.table>thead>tr:first-child>th:first-child */
|
|
||||||
/* not needed: .ui.table>thead>tr:first-child>th:last-child */
|
|
||||||
}
|
}
|
@ -1,19 +1,14 @@
|
|||||||
:root {
|
:root {
|
||||||
--color-primary: #cd041c !important; /* moderate contributions heatmap, primary email address label, Regenerate Scratch Token, and more (below) */
|
--color-primary: #cd041c !important; /* moderate contributions heatmap, primary email address label, Regenerate Scratch Token, and more (below) */
|
||||||
--color-primary-dark-2: #ab0316 !important; /* greater contributions heatmap and more (below) */
|
--color-primary-dark-2: #ab0316 !important; /* greater contributions heatmap and more (below) */
|
||||||
/* reconsidered: --color-primary-dark-3 */
|
|
||||||
--color-primary-dark-4: #870312 !important; /* red buttons and greatest contributions heatmap */
|
--color-primary-dark-4: #870312 !important; /* red buttons and greatest contributions heatmap */
|
||||||
--color-primary-dark-6: #5f020d !important; /* red buttons hover */
|
--color-primary-dark-6: #5f020d !important; /* red buttons hover */
|
||||||
--color-primary-light-1: #d1152b !important; /* selection color */
|
--color-primary-light-1: #d1152b !important; /* selection color */
|
||||||
--color-primary-light-2: #ce2236 !important; /* fewer contributions heatmap */
|
--color-primary-light-2: #ce2236 !important; /* fewer contributions heatmap */
|
||||||
--color-primary-light-4: #d54455 !important; /* fewest contributions heatmap */
|
--color-primary-light-4: #d54455 !important; /* fewest contributions heatmap */
|
||||||
/* reconsidered: --color-background */
|
|
||||||
/* no contributions heatmap is okay */
|
/* no contributions heatmap is okay */
|
||||||
/* no longer needed: --fonts-monospace */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* reconsidered: .full.height */
|
|
||||||
|
|
||||||
.home a {
|
.home a {
|
||||||
color: var(--color-primary) !important; /* link and link hover color on home page, other links use --color-primary */
|
color: var(--color-primary) !important; /* link and link hover color on home page, other links use --color-primary */
|
||||||
}
|
}
|
||||||
@ -48,7 +43,6 @@
|
|||||||
|
|
||||||
.ui.red.button {
|
.ui.red.button {
|
||||||
background-color: var(--color-primary-dark-4) !important; /* red button color (e.g., Confirm Deletion, Remove) */
|
background-color: var(--color-primary-dark-4) !important; /* red button color (e.g., Confirm Deletion, Remove) */
|
||||||
/* color: var(--color-body) !important; */ /* reconsidered: text color overrides text color for some buttons (e.g., Transfer Ownership) */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui.red.button:hover {
|
.ui.red.button:hover {
|
||||||
@ -59,24 +53,8 @@
|
|||||||
background-color: unset !important; /* reset color in danger zone */
|
background-color: unset !important; /* reset color in danger zone */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* not needed: .ui.basic.red.button:hover */
|
|
||||||
/* reconsidered: .ui.active.button:hover, .ui.active.button:active */
|
|
||||||
/* reconsidered: .ui.tabular.menu.navbar */
|
|
||||||
/* not needed: .ui.secondary.pointing.tabular.top.attached.borderless.menu.stackable.new-menu.navbar.shadow-body .active.item */
|
|
||||||
/* not needed: .ui.secondary.pointing.tabular.top.attached.borderless.menu.stackable.new-menu.navbar .active.item */
|
|
||||||
/* reconsidered: .ui.top.attached.pull.tabular.stackable.menu .active.item */
|
|
||||||
/* reconsidered: .ui.top.tabular.menu .active.write.item */
|
|
||||||
/* not needed: .ui.top.attached.tabular.menu .active.item */
|
|
||||||
/* reconsidered, re-ordered: #repo-files-table tr:hover */
|
|
||||||
/* not needed: .repository .diff-detail-box */
|
|
||||||
|
|
||||||
details {
|
details {
|
||||||
background-color: var(--color-secondary-light-2); /* make collapsible elements easier to distinguish from main body */
|
background-color: var(--color-secondary-light-2); /* make collapsible elements easier to distinguish from main body */
|
||||||
border-radius: 4px; /* same as code blocks */
|
border-radius: 4px; /* same as code blocks */
|
||||||
padding: .2em .4em; /* same as code blocks */
|
padding: .2em .4em; /* same as code blocks */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* reconsidered: .js-clone-url */
|
|
||||||
/* not needed: .color-preview */
|
|
||||||
/* not needed: .markup table tr:nth-child(2n) */
|
|
||||||
/* reconsidered: .added-code */
|
|
Loading…
x
Reference in New Issue
Block a user