From f7ede92f82f7f3ec7bb31a1249f9524e5b728f34 Mon Sep 17 00:00:00 2001 From: silverwind Date: Wed, 10 May 2023 23:59:58 +0200 Subject: [PATCH] Notification list enhancements, fix striped tables on dark theme (#24639) - Make code block rendering via backticks work - Remove link color unless hovered - Remove table stripes and fix stripes rendering on dark theme for other tables - Introduce new `button-link` class discussed previously for buttons that look and act like links and apply it to the two right-side buttons - Reduce box padding by 8px on each side - Fix "Mark all read" button margin-right - brighten `--color-markup-code-block` on arc-green ### Before Screenshot 2023-05-10 at 20 00 30 Screenshot 2023-05-10 at 20 00 48 ### After Screenshot 2023-05-10 at 20 09 59 Screenshot 2023-05-10 at 20 05 34 --- templates/repo/issue/list.tmpl | 4 ++-- templates/repo/issue/milestone_issues.tmpl | 6 +++--- templates/user/dashboard/navbar.tmpl | 2 +- .../user/notification/notification_div.tmpl | 20 +++++++++---------- web_src/css/base.css | 16 +++++++++++++++ web_src/css/helpers.css | 8 ++++++++ web_src/css/themes/theme-arc-green.css | 2 +- 7 files changed, 41 insertions(+), 17 deletions(-) diff --git a/templates/repo/issue/list.tmpl b/templates/repo/issue/list.tmpl index a7311c249..d739561d2 100644 --- a/templates/repo/issue/list.tmpl +++ b/templates/repo/issue/list.tmpl @@ -215,9 +215,9 @@ {{if not .Repository.IsArchived}} {{if .IsShowClosed}} - + {{else}} - + {{end}}