2024-01-16 16:25:39 +01:00
|
|
|
import {css} from 'lit';
|
|
|
|
|
|
|
|
export default css`
|
|
|
|
:host {
|
|
|
|
flex: 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
et2-dialog::part(body) {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2024-01-18 00:32:09 +01:00
|
|
|
max-height: 40em;
|
2024-01-16 16:25:39 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.vfs_select__listbox {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
min-height: 15em;
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.vfs_select__listbox .vfs_select__empty {
|
|
|
|
height: 100%;
|
|
|
|
min-height: 5em;
|
2024-01-18 00:32:09 +01:00
|
|
|
min-width: 20em;
|
2024-01-16 16:25:39 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
filter: contrast(0.1);
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
|
2024-01-18 00:32:09 +01:00
|
|
|
.vfs_select__file_row {
|
|
|
|
display: table-row;
|
|
|
|
}
|
|
|
|
|
|
|
|
.vfs_select__listbox .vfs_select__loading {
|
|
|
|
text-align: center;
|
|
|
|
line-height: 15em; // 3 * listbox min height
|
|
|
|
}
|
|
|
|
|
|
|
|
.vfs_select__listbox sl-spinner {
|
|
|
|
font-size: 4rem;
|
|
|
|
}
|
2024-01-16 16:25:39 +01:00
|
|
|
.vfs_select__listbox .vfs_select__empty et2-image {
|
|
|
|
margin-top: auto;
|
|
|
|
}
|
|
|
|
`;
|