summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2021-07-29 06:36:13 +0300
committerMaxim Devaev <[email protected]>2021-07-29 06:36:13 +0300
commitc26ed616e0af450c55d434988fe4e0dd47ff4cb5 (patch)
tree4b9e0c52b92fe4178eeabb97d9579d5a5367d72b /web
parent82e4e7e2cbd60b80b8d6e101cc36c277604c8889 (diff)
input file css for future needs
Diffstat (limited to 'web')
-rw-r--r--web/share/css/main.css16
1 files changed, 12 insertions, 4 deletions
diff --git a/web/share/css/main.css b/web/share/css/main.css
index 3ba157f7..6854dc88 100644
--- a/web/share/css/main.css
+++ b/web/share/css/main.css
@@ -102,20 +102,26 @@ img.inline-lamp-big {
}
button,
-select {
+select,
+input[type=file]::-webkit-file-selector-button,
+input[type=file]::file-selector-button {
border: none;
border-radius: 4px;
color: var(--cs-control-default-fg);
background-color: var(--cs-control-default-bg);
- display: block;
- width: 100%;
height: 30px;
font-family: inherit;
font-size: 16px;
outline: none;
cursor: pointer;
}
+button {
+ display: block;
+ width: 100%;
+}
select {
+ display: block;
+ width: 100%;
padding-left: 5px;
padding-right: 25px;
}
@@ -204,7 +210,9 @@ input[type=text], input[type=password] {
button,
select,
input[type=text],
- input[type=password] {
+ input[type=password],
+ input[type=file]::-webkit-file-selector-button,
+ input[type=file]::file-selector-button {
height: 45px !important;
}
}