2023-01-04 00:58:38 +08:00
|
|
|
/*
|
|
|
|
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.
|
|
|
|
*/
|
|
|
|
|
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;
|
2022-06-01 23:48:17 +08:00
|
|
|
border: 1px solid var(--quinary-content);
|
|
|
|
background-color: var(--background);
|
2021-12-15 07:28:54 +08:00
|
|
|
border-radius: 8px;
|
2021-12-07 09:34:10 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.option {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
background-color: transparent;
|
2022-06-01 23:48:17 +08:00
|
|
|
color: var(--primary-content);
|
2021-12-07 09:34:10 +08:00
|
|
|
padding: 8px 16px;
|
|
|
|
outline: none;
|
|
|
|
cursor: pointer;
|
2022-12-10 03:25:02 +08:00
|
|
|
font-size: var(--font-size-body);
|
2021-12-07 09:34:10 +08:00
|
|
|
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 {
|
2022-06-01 23:48:17 +08:00
|
|
|
color: var(--quaternary-content);
|
2021-12-07 09:34:10 +08:00
|
|
|
background-color: var(--bgColor3);
|
|
|
|
}
|