mirror of
https://github.com/quotefox/Hyper-Station-13.git
synced 2026-08-28 07:06:16 +01:00
50 lines
887 B
SCSS
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%
|
|
}
|