0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-06 12:12:42 +00:00

Tweak combobox style

This commit is contained in:
Trevor Buckner
2023-03-20 14:04:20 -04:00
parent 285b4c3b92
commit 33d8d51956

View File

@@ -5,30 +5,43 @@
} }
.dropdown-options { .dropdown-options {
position:absolute; position:absolute;
background-color: rgb(227, 227, 227); background-color: white;
z-index: 100; z-index: 100;
width: 100%; width: 100%;
border: 1px solid gray; border: 1px solid gray;
overflow-y: auto; overflow-y: auto;
max-height: 200px; max-height: 200px;
&::-webkit-scrollbar {
width: 14px;
}
&::-webkit-scrollbar-track {
background: #ffffff;
}
&::-webkit-scrollbar-thumb {
background-color: #949494;
border-radius: 10px;
border: 3px solid #ffffff;
}
.item { .item {
position:relative; position:relative;
font-size: 14px; font-size: 11px;
font-family: OpenSans; font-family: Open Sans;
padding: 5px; padding: 5px;
cursor: default; cursor: default;
margin: 0 3px; margin: 0 3px;
border-bottom: 1px solid darkgray; //border-bottom: 1px solid darkgray;
&:hover { &:hover {
filter: brightness(120%); filter: brightness(120%);
background-color: rgb(163, 163, 163); background-color: rgb(163, 163, 163);
} }
.detail { .detail {
width:100%; width:100%;
text-align: right; text-align: left;
color: rgb(124, 124, 124); color: rgb(124, 124, 124);
font-style:italic; font-style:italic;
font-size: 12px; font-size: 9px;
} }
} }