From ac3a61ea176d4f0359ddb195bcc73eef3eec44fe Mon Sep 17 00:00:00 2001 From: silverwind Date: Wed, 12 Oct 2022 18:26:27 +0200 Subject: 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. Screen Shot 2022-10-10 at 21 10 23 Screen Shot 2022-10-10 at 21 31 53 Screen Shot 2022-10-10 at 21 31 44 Co-authored-by: wxiaoguang Co-authored-by: techknowlogick --- web_src/less/themes/theme-arc-green.less | 49 +------------------------------- 1 file changed, 1 insertion(+), 48 deletions(-) (limited to 'web_src/less/themes/theme-arc-green.less') 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; -- cgit v1.2.3