element-call-Github/src/ListBox.module.css

34 lines
636 B
CSS
Raw Normal View History

2021-12-07 09:34:10 +08:00
.listBox {
margin: 0;
padding: 0;
max-height: 150px;
overflow-y: auto;
list-style: none;
background-color: transparent;
2021-12-15 07:28:54 +08:00
border: 1px solid var(--inputBorderColor);
background-color: var(--bgColor1);
border-radius: 8px;
2021-12-07 09:34:10 +08:00
}
.option {
display: flex;
align-items: center;
justify-content: space-between;
background-color: transparent;
color: var(--textColor1);
padding: 8px 16px;
outline: none;
cursor: pointer;
font-size: 15px;
min-height: 32px;
}
.option.focused {
2021-12-15 07:28:54 +08:00
background-color: rgba(111, 120, 130, 0.2);
2021-12-07 09:34:10 +08:00
}
.option.disabled {
color: var(--textColor2);
background-color: var(--bgColor3);
}