Style select element

This commit is contained in:
Zed
2019-10-23 12:05:08 +02:00
parent 6481004940
commit d4b86fd0f8
2 changed files with 13 additions and 2 deletions

View File

@@ -13,7 +13,8 @@ button {
}
input[type="text"],
input[type="date"] {
input[type="date"],
select {
@include input-colors;
background-color: var(--bg_elements);
padding: 1px 4px;
@@ -143,6 +144,16 @@ input::-webkit-datetime-edit-year-field:focus {
padding-right: 135px;
}
select {
position: absolute;
top: 0;
right: 0;
display: block;
-moz-appearance: none;
-webkit-appearance: none;
appearance: none;
}
input[type="text"] {
position: absolute;
right: 0;