input file css for future needs

This commit is contained in:
Maxim Devaev 2021-07-29 06:36:13 +03:00
parent 82e4e7e2cb
commit c26ed616e0

View File

@ -102,20 +102,26 @@ img.inline-lamp-big {
} }
button, button,
select { select,
input[type=file]::-webkit-file-selector-button,
input[type=file]::file-selector-button {
border: none; border: none;
border-radius: 4px; border-radius: 4px;
color: var(--cs-control-default-fg); color: var(--cs-control-default-fg);
background-color: var(--cs-control-default-bg); background-color: var(--cs-control-default-bg);
display: block;
width: 100%;
height: 30px; height: 30px;
font-family: inherit; font-family: inherit;
font-size: 16px; font-size: 16px;
outline: none; outline: none;
cursor: pointer; cursor: pointer;
} }
button {
display: block;
width: 100%;
}
select { select {
display: block;
width: 100%;
padding-left: 5px; padding-left: 5px;
padding-right: 25px; padding-right: 25px;
} }
@ -204,7 +210,9 @@ input[type=text], input[type=password] {
button, button,
select, select,
input[type=text], 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; height: 45px !important;
} }
} }