Files
GhomandArchie 291dcf9515 Merge pull request #10575 from Arturlang/TGUIs_Nexties
[TESTMERGE] Properly working TGUI Next
2021-01-04 19:47:54 -03:00

50 lines
887 B
SCSS

.Dropdown {
position: relative;
}
.Dropdown__control {
position: relative;
display: inline-block;
font-family: Verdana, sans-serif;
font-size: 12px;
width: 100px;
line-height: 17px;
user-select: none;
}
.Dropdown__arrow-button {
float: right;
padding-left: 6px;
border-left: 1px solid #000;
border-left: 1px solid rgba(0, 0, 0, 0.25);
}
.Dropdown__menu {
position: absolute;
overflow-y: auto;
z-index: 5;
width: 100px;
max-height: 200px;
overflow-y: scroll;
border-radius: 0 0 2px 2px;
background-color: #000;
background-color: rgba(0, 0, 0, 0.75);
}
.Dropdown__menuentry {
padding: 2px 4px;
font-family: Verdana, sans-serif;
font-size: 12px;
line-height: 17px;
transition: background-color 100ms;
&:hover {
background-color: #444;
transition: background-color 0ms;
}
}
.Dropdown__over {
top: auto;
bottom: 100%
}