From bee0512d8001afacd9e758df674138ed4933c395 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Wed, 6 Oct 2021 16:46:01 +0300 Subject: [PATCH] Fix dark mode bug in button groups, remove button outlines in Chrome --- static/css/base.css | 6 ++++++ static/css/bootstrap-colors.css | 1 + 2 files changed, 7 insertions(+) diff --git a/static/css/base.css b/static/css/base.css index ced7f5a8..91ef149c 100644 --- a/static/css/base.css +++ b/static/css/base.css @@ -246,3 +246,9 @@ pre { .nav-pills > li.active > a:focus { outline: 0; } + +/* no button outlines in Chrome-- */ +.btn-default.active, +.btn-default.active.focus { + outline: 0; +} \ No newline at end of file diff --git a/static/css/bootstrap-colors.css b/static/css/bootstrap-colors.css index aea24a2c..4de71aee 100644 --- a/static/css/bootstrap-colors.css +++ b/static/css/bootstrap-colors.css @@ -9,6 +9,7 @@ .btn-default:hover:active, .btn-default:focus, .btn-default:active, +.btn-default.active.focus, .btn-default.active:hover { color: var(--btn-active-color); background-color: var(--btn-active-bg);