From 630678ceda0d469a93a86a9b8f45c70a85c95ba3 Mon Sep 17 00:00:00 2001 From: Daniel Markstedt Date: Wed, 8 Nov 2023 12:44:18 +0900 Subject: [PATCH] Move inline css style to stylesheet --- python/web/src/static/themes/classic/style.css | 4 ++++ python/web/src/static/themes/modern/style.css | 2 +- python/web/src/templates/base.html | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/python/web/src/static/themes/classic/style.css b/python/web/src/static/themes/classic/style.css index fa9d62e9..7da5bdb1 100644 --- a/python/web/src/static/themes/classic/style.css +++ b/python/web/src/static/themes/classic/style.css @@ -97,6 +97,10 @@ div.flash div.info { background-color: #0d6efd; } +div.flash > div a { + display: none; +} + td.inactive { text-align: center; background-color: tan; diff --git a/python/web/src/static/themes/modern/style.css b/python/web/src/static/themes/modern/style.css index 9d6b3911..e33bb2c0 100644 --- a/python/web/src/static/themes/modern/style.css +++ b/python/web/src/static/themes/modern/style.css @@ -545,7 +545,7 @@ div.flash > div { } div.flash > div a { - display: inline-block !important; + display: inline-block; padding: 0.25rem 0.75rem; margin-left: auto; color: #fff; diff --git a/python/web/src/templates/base.html b/python/web/src/templates/base.html index 37394e0e..0c3a72ad 100644 --- a/python/web/src/templates/base.html +++ b/python/web/src/templates/base.html @@ -95,7 +95,7 @@ {% else %}
{{ message }}
{% endif %} - + {% endfor %} {% endif %}