From cf71168e3eea5bc9f83c07ac3d18c84fec5b6d00 Mon Sep 17 00:00:00 2001 From: Zenithal Date: Wed, 10 Feb 2021 17:14:33 +0800 Subject: [PATCH 1/2] Add style for browser-update prompt Co-authored-by: Liu Xiaoyi --- static/css/style.scss | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/static/css/style.scss b/static/css/style.scss index 7807fda..3cbe8a1 100644 --- a/static/css/style.scss +++ b/static/css/style.scss @@ -541,3 +541,21 @@ body { } } {% endfor %} + +/* style for browser-update banner */ +body .buorg { + border-bottom: unset; + background-color: unset; +} +body #buorgul, body #buorgig { + background-color: #5bc0de; +} +@media (prefers-color-scheme: dark) { + body .buorg { + color: #ddd; + box-shadow: 0 0 5px rgba(255, 255, 255, 0.2); + } + body #buorgul, body #buorgig { + background-color: #40729e; + } +} From 7807f6312d421cde7f9a19d9378bf821a72455b6 Mon Sep 17 00:00:00 2001 From: Zenithal Date: Thu, 11 Feb 2021 00:15:08 +0800 Subject: [PATCH 2/2] Revert to default color of buttons in browser update prompt --- static/css/style.scss | 6 ------ 1 file changed, 6 deletions(-) diff --git a/static/css/style.scss b/static/css/style.scss index 3cbe8a1..9e00bde 100644 --- a/static/css/style.scss +++ b/static/css/style.scss @@ -547,15 +547,9 @@ body .buorg { border-bottom: unset; background-color: unset; } -body #buorgul, body #buorgig { - background-color: #5bc0de; -} @media (prefers-color-scheme: dark) { body .buorg { color: #ddd; box-shadow: 0 0 5px rgba(255, 255, 255, 0.2); } - body #buorgul, body #buorgig { - background-color: #40729e; - } }