luci-theme-openwrt-2020: update -webkit-appearance
authorJoshua Criss <redacted>
Thu, 2 Apr 2026 04:00:52 +0000 (15:00 +1100)
committerPaul Donald <redacted>
Sat, 4 Apr 2026 14:23:32 +0000 (16:23 +0200)
Compliment '-webkit-appearance'
with 'appearance', as it is
non-standard and has since
been succeeded by 'appearance',
accepted by all baseline browsers.

Future consideration to then
remove '-webkit-appearance'.

Signed-off-by: Joshua Criss <redacted>
themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css

index 17bab59cf0604f7f3da1da34b20c5a051658f325..d6a476e3476c32516680f0ae22e31b3ec39cc0aa 100644 (file)
@@ -35,7 +35,8 @@
        font-size: 100%;
        background: none;
        outline: none;
-       -webkit-appearance: none;
+       -webkit-appearance: none; /* nonstandard, should remove in future */
+       appearance: none;
 }
 
 html {
@@ -981,9 +982,8 @@ input[type="checkbox"],
 input[type="radio"] {
        --bd-color: var(--main-dark-color);
        --fg-color: var(--main-dark-color);
-
+       -webkit-appearance: none; /* nonstandard, should remove in future */
        appearance: none;
-       -webkit-appearance: none;
        width: 1em;
        height: 1em;
        color: var(--fg-color);
@@ -1096,7 +1096,8 @@ input[type="password"] + .btn, input[type="password"] + button {
 
 select {
        padding: .1rem 0;
-       -webkit-appearance: menulist;
+       -webkit-appearance: menulist; /* nonstandard, should remove in future */
+       appearance: menulist;
 }
 
 textarea {
git clone https://git.99rst.org/PROJECT