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-03-21 16:30:58 +01:00
|
|
|
gap: var(--sl-spacing-small);
|
2024-01-16 16:25:39 +01:00
|
|
|
}
|
|
|
|
|
2024-02-23 16:49:00 +01:00
|
|
|
.et2_toolbar {
|
|
|
|
display: flex;
|
|
|
|
gap: 1ex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.et2_toolbar::slotted(*) {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.et2_toolbar::slotted(et2-button) {
|
|
|
|
flex-grow: 0;
|
|
|
|
}
|
|
|
|
|
2024-02-23 00:21:28 +01:00
|
|
|
.search__results {
|
2024-02-02 23:20:33 +01:00
|
|
|
flex: 2 1 auto;
|
2024-01-16 16:25:39 +01:00
|
|
|
min-height: 15em;
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
2024-02-23 00:21:28 +01:00
|
|
|
.search__results .search__empty {
|
2024-01-18 19:09:58 +01:00
|
|
|
height: 50%;
|
2024-01-16 16:25:39 +01:00
|
|
|
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-02-23 00:21:28 +01:00
|
|
|
.search__results .search__empty et2-image {
|
|
|
|
margin-top: auto;
|
|
|
|
}
|
|
|
|
|
2024-01-18 00:32:09 +01:00
|
|
|
.vfs_select__file_row {
|
|
|
|
display: table-row;
|
|
|
|
}
|
|
|
|
|
2024-02-23 00:21:28 +01:00
|
|
|
.search__results .search__loading {
|
2024-01-18 00:32:09 +01:00
|
|
|
text-align: center;
|
|
|
|
line-height: 15em; // 3 * listbox min height
|
|
|
|
}
|
|
|
|
|
2024-02-23 00:21:28 +01:00
|
|
|
.search__results sl-spinner {
|
2024-01-18 00:32:09 +01:00
|
|
|
font-size: 4rem;
|
|
|
|
}
|
2024-01-18 19:09:58 +01:00
|
|
|
|
2024-02-23 00:21:28 +01:00
|
|
|
.search__results .search__more {
|
2024-02-21 18:14:03 +01:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2024-01-18 19:09:58 +01:00
|
|
|
.vfs_select__mimefilter {
|
|
|
|
flex: 0 0;
|
|
|
|
}
|
2024-02-02 23:20:33 +01:00
|
|
|
|
|
|
|
:host::part(form-control-help-text) {
|
|
|
|
flex-basis: min-content !important;
|
|
|
|
}
|
2024-01-16 16:25:39 +01:00
|
|
|
`;
|