49 lines
1.2 KiB
CSS
49 lines
1.2 KiB
CSS
/*
|
|
Copyright 2022 New Vector Ltd
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
|
|
.listBox {
|
|
margin: 0;
|
|
padding: 0;
|
|
max-height: 150px;
|
|
overflow-y: auto;
|
|
list-style: none;
|
|
background-color: transparent;
|
|
border: 1px solid var(--quinary-content);
|
|
background-color: var(--background);
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.option {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
background-color: transparent;
|
|
color: var(--primary-content);
|
|
padding: 8px 16px;
|
|
outline: none;
|
|
cursor: pointer;
|
|
font-size: var(--font-size-body);
|
|
min-height: 32px;
|
|
}
|
|
|
|
.option.focused {
|
|
background-color: rgba(111, 120, 130, 0.2);
|
|
}
|
|
|
|
.option.disabled {
|
|
color: var(--quaternary-content);
|
|
background-color: var(--bgColor3);
|
|
}
|