From bab1ba17a9550139e832e42bfae4bbd44a9fcb80 Mon Sep 17 00:00:00 2001 From: tophf Date: Wed, 2 Feb 2022 13:46:55 +0300 Subject: [PATCH] use standard web cursor for controls in options + increase clickable area of (i) notes --- options/onoffswitch.css | 2 +- options/options.css | 10 ++++------ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/options/onoffswitch.css b/options/onoffswitch.css index 1f47d499..13c5119e 100644 --- a/options/onoffswitch.css +++ b/options/onoffswitch.css @@ -10,7 +10,7 @@ .onoffswitch input { -webkit-appearance: none; -moz-appearance: none; - cursor: pointer; + cursor: default; position: absolute; top: -8px; bottom: -10px; diff --git a/options/options.css b/options/options.css index c09a9687..aff84033 100644 --- a/options/options.css +++ b/options/options.css @@ -154,11 +154,6 @@ label > :first-child { transition: text-shadow .1s; } -label:not([disabled]), -label:not([disabled]) :not([type="number"]):not([type="text"]):not([type="password"]) { - cursor: pointer; -} - label:not([disabled]):hover > :first-child { text-shadow: 0 0 0.01px rgba(0, 0, 0, .25); } @@ -232,7 +227,10 @@ input[type="color"] { [data-cmd="check-updates"] button { position: relative; } - +[data-cmd="note"] { + padding: .5em 1em .5em 0; + cursor: pointer; +} .update-in-progress [data-cmd="check-updates"] { opacity: .5; pointer-events: none;