summaryrefslogtreecommitdiffstats
path: root/web_src/less/themes/theme-arc-green.less
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2022-10-12 18:26:27 +0200
committerGitHub <noreply@github.com>2022-10-12 12:26:27 -0400
commitac3a61ea176d4f0359ddb195bcc73eef3eec44fe (patch)
treeb13d2dab63051a21bc9d745d447912fc5984aec2 /web_src/less/themes/theme-arc-green.less
parent42b803554cb9f96494893e27925bf5bba980b68f (diff)
downloadgitea-ac3a61ea176d4f0359ddb195bcc73eef3eec44fe.tar.gz
gitea-ac3a61ea176d4f0359ddb195bcc73eef3eec44fe.zip
Consolidate more CSS colors into variables (#21402)
Move more colors into variables. The only real notable change is the dot in the release timeline. Also, made the variable comments a bit more clear. <img width="279" alt="Screen Shot 2022-10-10 at 21 10 23" src="https://user-images.githubusercontent.com/115237/194938496-e5a21056-67c4-4219-9c68-134b0edf0e61.png"> <img width="88" alt="Screen Shot 2022-10-10 at 21 31 53" src="https://user-images.githubusercontent.com/115237/194939712-f666c43e-fb1a-4045-be52-1176391bd8ea.png"> <img width="90" alt="Screen Shot 2022-10-10 at 21 31 44" src="https://user-images.githubusercontent.com/115237/194939710-2e620c06-75a9-41b7-a3e1-18eab7a57614.png"> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'web_src/less/themes/theme-arc-green.less')
-rw-r--r--web_src/less/themes/theme-arc-green.less49
1 files changed, 1 insertions, 48 deletions
diff --git a/web_src/less/themes/theme-arc-green.less b/web_src/less/themes/theme-arc-green.less
index 3f3d4feae2..12dba79266 100644
--- a/web_src/less/themes/theme-arc-green.less
+++ b/web_src/less/themes/theme-arc-green.less
@@ -136,6 +136,7 @@
--color-label-active-bg: #4c525e;
--color-small-accent: var(--color-primary-light-5);
--color-accent: var(--color-primary-light-3);
+ --color-active-line: #534d1b;
}
::-webkit-calendar-picker-indicator {
@@ -231,10 +232,6 @@ a.ui.basic.green.label:hover {
background-color: #a0cc75;
}
-.repository .diff-stats li {
- border-color: var(--color-secondary);
-}
-
.ui.red.button,
.ui.red.buttons .button {
background-color: #7d3434;
@@ -245,24 +242,6 @@ a.ui.basic.green.label:hover {
background-color: #984646;
}
-.lines-code.active,
-.lines-code .active {
- background: #534d1b !important;
-}
-
-.ui.header .sub.header {
- color: var(--color-secondary-dark-6);
-}
-
-.ui.dividing.header {
- border-bottom: 1px solid var(--color-secondary);
-}
-
-.minicolors-panel {
- background: var(--color-secondary) !important;
- border-color: #6a737d !important;
-}
-
/* invert emojis that are hard to read otherwise */
.emoji[aria-label="check mark"],
.emoji[aria-label="currency exchange"],
@@ -287,36 +266,10 @@ a.ui.basic.green.label:hover {
filter: invert(100%) hue-rotate(180deg);
}
-.edit-diff > div > .ui.table {
- border-left-color: var(--color-secondary) !important;
- border-right-color: var(--color-secondary) !important;
-}
-
-footer .container .links > * {
- border-left-color: #888;
-}
-
-.repository.release #release-list > li .detail .dot {
- background-color: #505667;
- border-color: #383c4a;
-}
-
-.tribute-container {
- box-shadow: 0 .25rem .5rem rgba(0, 0, 0, .6);
-}
-
-.repository .repo-header .ui.huge.breadcrumb.repo-title .repo-header-icon .avatar {
- color: #2a2e3a;
-}
-
img[src$="/img/matrix.svg"] {
filter: invert(80%);
}
-.is-loading::after {
- border-color: #4a4c58 #4a4c58 #d7d7da #d7d7da;
-}
-
.markup-block-error {
border: 1px solid rgba(121, 71, 66, .5) !important;
border-bottom: none !important;