summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorSamuel Mannehed <samuel@cendio.se>2022-12-12 14:40:08 +0100
committerSamuel Mannehed <samuel@cendio.se>2022-12-12 15:31:00 +0100
commit8c1b6e19c781ea5265aec335ad134584f29402a5 (patch)
tree6e9b870b10a5ea2bcd00ce64d671404c52f9d643 /app
parent3cf2bb9b5938fe61a7914704bbcd354a4eaa956c (diff)
downloadnovnc-8c1b6e19c781ea5265aec335ad134584f29402a5.tar.gz
Combine rules for buttons in input.css
It was completely unnecessary that these two were separate, lets combine them. The only difference was that the lower rule didn't apply for <select>. That doesn't matter though, since padding-left and padding-right are specifically set for <select> elements anyway.
Diffstat (limited to 'app')
-rw-r--r--app/styles/input.css9
1 files changed, 1 insertions, 8 deletions
diff --git a/app/styles/input.css b/app/styles/input.css
index 8ea38c2..5985b17 100644
--- a/app/styles/input.css
+++ b/app/styles/input.css
@@ -47,7 +47,6 @@ select {
appearance: none;
background: none;
- padding: 5px;
border: 1px solid rgb(192, 192, 192);
border-bottom-width: 2px;
border-radius: 5px;
@@ -56,14 +55,8 @@ select {
/* This avoids it jumping around when :active */
vertical-align: middle;
-}
-input[type=button],
-input[type=color],
-input[type=reset],
-input[type=submit],
-input::file-selector-button,
-button {
+ padding: 5px;
padding-left: 20px;
padding-right: 20px;
}