summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Mannehed <samuel@cendio.se>2022-10-31 10:44:01 +0100
committerSamuel Mannehed <samuel@cendio.se>2022-10-31 10:44:01 +0100
commit138df468258661891b11ce23a17b2362c558f8c9 (patch)
tree79f4719fe0a2f838081d19d6690cdea9871bf63c
parent5c684cce2a54414f6a8698ee3ee3a75ccfe84827 (diff)
downloadnovnc-138df468258661891b11ce23a17b2362c558f8c9.tar.gz
Remove unnecessary legacy CSS properties
We depend un such modern things anyway, having these kinds of properties are more confusing than helpful. Let's not give the impression that we make any attempt to work in old browsers.
-rw-r--r--app/styles/input.css14
1 files changed, 2 insertions, 12 deletions
diff --git a/app/styles/input.css b/app/styles/input.css
index 63a534f..bde60c0 100644
--- a/app/styles/input.css
+++ b/app/styles/input.css
@@ -25,8 +25,7 @@ input[type=url],
input[type=week],
textarea {
/* Disable default rendering */
- -webkit-appearance: none;
- -moz-appearance: none;
+ appearance: none;
background: none;
padding: 5px;
@@ -43,8 +42,7 @@ input[type=submit],
button,
select {
/* Disable default rendering */
- -webkit-appearance: none;
- -moz-appearance: none;
+ appearance: none;
background: none;
padding: 5px;
@@ -97,14 +95,6 @@ textarea:focus {
outline: none;
}
-input[type=button]::-moz-focus-inner,
-input[type=color]::-moz-focus-inner,
-input[type=reset]::-moz-focus-inner,
-input[type=submit]::-moz-focus-inner,
-button::-moz-focus-inner {
- border: none;
-}
-
input:not([type]):disabled,
input[type=button]:disabled,
input[type=color]:disabled,