From 763b255542bb86cd45599c0b4eb44bf4be67a212 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Mon, 10 Aug 2020 01:58:59 +0200 Subject: name changes --- cgit.css | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/cgit.css b/cgit.css index 4a4509c..961020b 100644 --- a/cgit.css +++ b/cgit.css @@ -9,11 +9,10 @@ --text: white; --inactive-text: grey; --accent-color: green; - --highlight-bg: #444; + --hover-bg: #444; --table-bg1: #000; --table-bg2: #111; - --tab-active-bg: #333; - --tab-inactive-bg: #222; /*UNUSED*/ + --highlight-bg: #333; --age-mins: #0f0; --age-hours: #0a0; --age-days: #050; @@ -93,12 +92,12 @@ div#cgit table#header td.form select { div#cgit table#header td.sub { color: var(--inactive-text); - border-top: solid 1px var(--tab-active-bg); + border-top: solid 1px var(--highlight-bg); padding-left: 10px; } div#cgit table.tabs { - border-bottom: solid 3px var(--tab-active-bg); + border-bottom: solid 3px var(--highlight-bg); border-collapse: collapse; margin-top: 2em; margin-bottom: 0px; @@ -118,7 +117,7 @@ div#cgit table.tabs td a { div#cgit table.tabs td a.active { color: var(--text); - background-color: var(--tab-active-bg); + background-color: var(--highlight-bg); } div#cgit table.tabs a[href^="http://"]:after, div#cgit table.tabs a[href^="https://"]:after { @@ -146,13 +145,13 @@ div#cgit div.path { margin: 0px; padding: 5px 2em 2px 2em; color: var(--text); - background-color: var(--tab-active-bg); + background-color: var(--highlight-bg); } div#cgit div.content { margin: 0px; padding: 2em; - border-bottom: solid 3px var(--tab-active-bg); + border-bottom: solid 3px var(--highlight-bg); } @@ -179,7 +178,7 @@ div#cgit table.list tr:nth-child(odd) { } div#cgit table.list tr:hover { - background: var(--highlight-bg); + background: var(--hover-bg); } div#cgit table.list tr.nohover { @@ -187,7 +186,7 @@ div#cgit table.list tr.nohover { } div#cgit table.list tr.nohover:hover { - background: var(--highlight-bg); + background: var(--hover-bg); } div#cgit table.list tr.nohover-highlight:hover:nth-child(even) { @@ -333,7 +332,7 @@ div#cgit td.ls-mode { div#cgit table.blob { margin-top: 0.5em; - border-top: solid 1px var(--tab-active-bg); + border-top: solid 1px var(--highlight-bg); } div#cgit table.blob td.hashes, @@ -347,7 +346,7 @@ div#cgit table.blob td.linenumbers { margin: 0; padding: 0 0.5em 0 0.5em; vertical-align: top; text-align: right; - border-right: 1px solid var(--tab-active-bg); + border-right: 1px solid var(--highlight-bg); } div#cgit table.blob pre { @@ -433,7 +432,7 @@ div#cgit div.cgit-panel { } div#cgit div.cgit-panel table { - background-color: var(--tab-active-bg); + background-color: var(--highlight-bg); } div#cgit div.cgit-panel th { @@ -501,7 +500,7 @@ div#cgit div.diffstat-header { div#cgit table.diffstat { border-collapse: collapse; - background-color: var(--tab-active-bg); + background-color: var(--highlight-bg); } div#cgit table.diffstat th { -- cgit v1.2.3