From f04fbd790ea90fb771e5f4512f1bfcb186baaac5 Mon Sep 17 00:00:00 2001 From: hackademix Date: Tue, 19 Mar 2019 13:46:19 +0100 Subject: Fixed popup top buttons not visible in high contrast appearance mode. --- src/ui/ui-hc.css | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/src/ui/ui-hc.css b/src/ui/ui-hc.css index e1c1944..2db0a5b 100644 --- a/src/ui/ui-hc.css +++ b/src/ui/ui-hc.css @@ -51,15 +51,33 @@ tr.site { display:flex; flex-flow: row; justify-content: space-around; - + height: auto; } -#top button { +#top a { position: static; width: auto; + appearance: initial !important; + -moz-appearance: initial !important; + width: auto; + height: auto; + display: block; } -#top button.icon { +#top a.icon { font-size: 12px !important; - font-family: arial sans-serif !important; + font-family: sans-serif !important; + text-indent: 0; + color: black !important; + background: white !important; + background-image: none !important; + border-radius: .3em; + text-align: center; + border: 1px solid black; + height: auto; + padding: .2em; + vertical-align: middle; +} +#top a.icon:hover { + transform: none; } #noscript-popup #high-contrast-chooser { -- cgit v1.2.3