From 2662e74883a7f8a768a36070dc4e04117d4b3096 Mon Sep 17 00:00:00 2001 From: Giteabot Date: Thu, 29 Feb 2024 16:51:42 +0800 Subject: [PATCH] Improve contrast on blame timestamp, fix double border (#29482) (#29485) Backport #29482 by @silverwind 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 Co-authored-by: silverwind (cherry picked from commit 65b9ffe3c081b54234306b2d6231569bff3ce02d) --- 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 cd46aaf7e6..92be60315b 100644 --- a/web_src/css/base.css +++ b/web_src/css/base.css @@ -1784,7 +1784,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%; @@ -1827,6 +1827,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);