From 9b5bd1c7756c37e6760a89b444110cf9352b14fd Mon Sep 17 00:00:00 2001 From: hackademix Date: Fri, 1 Feb 2019 00:31:43 +0100 Subject: Chromium-compatible UI stylesheets. --- src/ui/popup.css | 4 +++- src/ui/ui-hc.css | 4 ++++ src/ui/ui.css | 11 +++++++++++ 3 files changed, 18 insertions(+), 1 deletion(-) (limited to 'src/ui') diff --git a/src/ui/popup.css b/src/ui/popup.css index ad5e3d0..a0febc6 100644 --- a/src/ui/popup.css +++ b/src/ui/popup.css @@ -16,6 +16,7 @@ body { #top a { appearance: none !important; + webkit-appearance: none !important; -moz-appearance: none !important; width: 2em; height: 2em; @@ -119,8 +120,9 @@ body { } .hider-close { - -moz-appearance: none; appearance: none; + -webkit-appearance: none; + -moz-appearance: none; color: black; background: transparent; padding: 0; diff --git a/src/ui/ui-hc.css b/src/ui/ui-hc.css index e1c1944..eaa5914 100644 --- a/src/ui/ui-hc.css +++ b/src/ui/ui-hc.css @@ -5,10 +5,14 @@ input { } input[type="radio"] { + appearance: radio !important; + -webkit-appearance: radio !important; -moz-appearance: radio !important; padding-right: .2em !important; } input[type="checkbox"] { + appearance: checkbox !important; + -webkit-appearance: checkbox !important; -moz-appearance: checkbox !important; } diff --git a/src/ui/ui.css b/src/ui/ui.css index f59646a..1d40030 100644 --- a/src/ui/ui.css +++ b/src/ui/ui.css @@ -3,6 +3,7 @@ body { font-family: sans-serif; font: -moz-use-system-font; font-size: 12px; + min-width: 600px; } .mobile > body { @@ -139,6 +140,8 @@ input[type="checkbox"] { input.https-only { font-size: 1em; + appearance: none; + -webkit-appearance: none; -moz-appearance: none; background: url(/img/ui-http64.png) no-repeat center; background-size: 1.5em; @@ -186,6 +189,8 @@ span.preset { .presets input.preset { font-size: 1em; + appearance: none; + -webkit-appearance: none; -moz-appearance: none; background: url(/img/ui-no64.png) no-repeat center left; background-size: 1.5em; @@ -264,6 +269,8 @@ input.preset:active, input.preset:focus, input.preset:hover { } button.options { + appearance: none; + -webkit-appearance: none; -moz-appearance: none; border: none; background: none transparent; @@ -276,6 +283,8 @@ button.options { } .preset .options { + appearance: none; + -webkit-appearance: none; -moz-appearance: none; border: 0; @@ -315,6 +324,8 @@ input.preset[value="CUSTOM"] { input.temp { font-size: 1em; + appearance: none; + -webkit-appearance: none; -moz-appearance: none; margin: 0; padding: 0; -- cgit v1.2.3