From 9fc93e61f9f364982e0d27004429fd6011543efd Mon Sep 17 00:00:00 2001 From: silverwind Date: Thu, 29 Feb 2024 03:00:33 +0100 Subject: [PATCH] Improve contrast on blame timestamp, fix double border (#29482) Before, double border on top, bad contrast on dark: Screenshot 2024-02-29 at 02 06 17 Screenshot 2024-02-29 at 02 07 28 After, no double border on top, good contrast: Screenshot 2024-02-29 at 02 20 20 Screenshot 2024-02-29 at 02 20 38 (cherry picked from commit 6e1873288f86ca4de4d1943919343f342c7abcd9) --- web_src/css/base.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/web_src/css/base.css b/web_src/css/base.css index bb45c8d32..976f2f9f3 100644 --- a/web_src/css/base.css +++ b/web_src/css/base.css @@ -1587,7 +1587,7 @@ a.ui.active.label:hover { .lines-commit { vertical-align: top; - color: var(--color-grey); + color: var(--color-text-light-2); padding: 0 !important; background: var(--color-code-sidebar-bg); width: 1%; @@ -1630,6 +1630,10 @@ a.ui.active.label:hover { border-top: 1px solid var(--color-secondary); } +.code-view tr.top-line-blame:first-of-type { + border-top: none; +} + .lines-code .bottom-line, .lines-commit .bottom-line { border-bottom: 1px solid var(--color-secondary);