2023-02-16 23:59:21 +08:00
|
|
|
/*
|
|
|
|
|
Copyright (c) Microsoft Corporation.
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
.list-view-content {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
flex: auto;
|
|
|
|
|
position: relative;
|
|
|
|
|
user-select: none;
|
|
|
|
|
overflow: auto;
|
2023-03-02 07:27:23 +08:00
|
|
|
outline: 1px solid transparent;
|
2023-02-16 23:59:21 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.list-view-entry {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex: none;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
align-items: center;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
line-height: 28px;
|
|
|
|
|
padding-left: 5px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.list-view-entry.highlighted,
|
|
|
|
|
.list-view-entry.selected {
|
|
|
|
|
background-color: var(--vscode-list-inactiveSelectionBackground);
|
|
|
|
|
}
|
|
|
|
|
|
2023-02-25 07:31:10 +08:00
|
|
|
.list-view-entry.selected {
|
|
|
|
|
z-index: 10;
|
|
|
|
|
}
|
|
|
|
|
|
2023-02-16 23:59:21 +08:00
|
|
|
.list-view-entry.highlighted {
|
|
|
|
|
background-color: var(--vscode-list-inactiveSelectionBackground);
|
|
|
|
|
}
|
|
|
|
|
|
2023-02-25 07:31:10 +08:00
|
|
|
.list-view-content:focus .list-view-entry.selected:not(.error) {
|
2023-02-16 23:59:21 +08:00
|
|
|
background-color: var(--vscode-list-activeSelectionBackground);
|
|
|
|
|
color: var(--vscode-list-activeSelectionForeground);
|
|
|
|
|
outline: 1px solid var(--vscode-focusBorder);
|
|
|
|
|
}
|
|
|
|
|
|
2023-02-25 07:31:10 +08:00
|
|
|
.list-view-content:focus .list-view-entry.error.selected {
|
|
|
|
|
outline: 1px solid var(--vscode-inputValidation-errorBorder);
|
2023-02-16 23:59:21 +08:00
|
|
|
}
|
|
|
|
|
|
2023-03-02 07:27:23 +08:00
|
|
|
.list-view-content:focus .list-view-entry.selected .codicon {
|
|
|
|
|
color: var(--vscode-list-activeSelectionForeground) !important;
|
|
|
|
|
}
|
|
|
|
|
|
2023-02-16 23:59:21 +08:00
|
|
|
.list-view-empty {
|
|
|
|
|
flex: auto;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
}
|
2023-02-24 01:09:21 +08:00
|
|
|
|
2023-02-25 07:31:10 +08:00
|
|
|
.list-view-entry.error {
|
2023-02-24 01:09:21 +08:00
|
|
|
color: var(--vscode-list-errorForeground);
|
|
|
|
|
background-color: var(--vscode-inputValidation-errorBackground);
|
|
|
|
|
}
|