From c26ed616e0af450c55d434988fe4e0dd47ff4cb5 Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Thu, 29 Jul 2021 06:36:13 +0300 Subject: input file css for future needs --- web/share/css/main.css | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'web') 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; } } -- cgit v1.2.3