From 5995b5e737dbaea0698cc1d4846a8030396188f1 Mon Sep 17 00:00:00 2001 From: GilbN Date: Sun, 13 Feb 2022 17:29:42 +0100 Subject: [PATCH] Gitea: Fixes for #321 --- css/base/gitea/gitea-base.css | 48 +++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/css/base/gitea/gitea-base.css b/css/base/gitea/gitea-base.css index 868eb841..1f6e0c4e 100644 --- a/css/base/gitea/gitea-base.css +++ b/css/base/gitea/gitea-base.css @@ -1618,4 +1618,52 @@ input::selection { /* CALENDAR */ ::-webkit-calendar-picker-indicator { filter: invert(1); +} + +/* VIEW FILE */ + +.lines-num { + color: var(--text); +} + +.code-view .lines-num:hover { + color: var(--text-hover)!important; + background: rgb(var(--accent-color),.5); +} + +.code-view .lines-num:active,.code-view .lines-num:focus { + color: var(--text-hover)!important; + background: rgb(var(--accent-color),.5); +} + +.code-line-button { + background-color: var(--button-color); + color: var(--button-text); + border: 1px solid var(--button-color); +} + +.code-line-button:hover { + color: var(--button-text-hover); +} + +.ui.popup { + background-color: var(--button-color); + color: var(--button-text); + border-color: var(--button-color); +} + +.ui.top.popup:before { + background: var(--button-color); +} + +.ui.popup:before { + box-shadow: 1px 1px var(--button-color); +} + +.ui.link.list .item, .ui.link.list a.item, .ui.link.list .item a:not(.ui) { + color: var(--button-text); +} + +.ui.link.list.list a.item:hover, .ui.link.list.list .item a:not(.ui):hover, .ui.link.list.list a.item:active, .ui.link.list.list .item a:not(.ui):active { + color: var(--button-text-hover); } \ No newline at end of file