mirror of
https://github.com/mickael-kerjean/filestash
synced 2025-12-24 01:04:39 +01:00
92 lines
2.1 KiB
CSS
92 lines
2.1 KiB
CSS
.component_tableviewer {
|
|
height: 100%;
|
|
background: var(--bg-color);
|
|
}
|
|
.component_table_container:has(.component_loader) .table {
|
|
display: none;
|
|
}
|
|
.component_tableviewer component-menubar input[type="search"] {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border: none;
|
|
color: inherit;
|
|
border-radius: 3px;
|
|
margin-right: 5px;
|
|
margin-top: 2px;
|
|
padding-left: 3px;
|
|
}
|
|
.component_tableviewer input[type="search"]::-webkit-search-cancel-button {
|
|
appearance: none;
|
|
}
|
|
.component_tableviewer .component_table_container {
|
|
height: 100%;
|
|
position: relative;
|
|
}
|
|
.component_tableviewer .table {
|
|
font-family: monospace;
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
white-space: nowrap;
|
|
display: block;
|
|
font-size: 13px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.component_tableviewer .table .thead {
|
|
overflow-x: scroll;
|
|
scrollbar-width: none;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
.component_tableviewer .table .tbody {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.component_tableviewer .thead > div, .component_tableviewer .tbody > div {
|
|
display: block;
|
|
}
|
|
|
|
.component_tableviewer .table .thead .th {
|
|
padding: 5px 10px;
|
|
font-weight: normal;
|
|
display: inline-block;
|
|
position: sticky;
|
|
top: 0;
|
|
opacity: 0.8;
|
|
text-transform: capitalize;
|
|
}
|
|
.component_tableviewer .table .thead .th img {
|
|
height: 13px;
|
|
border-radius: 5px;
|
|
position: absolute;
|
|
margin-top: 4px;
|
|
right: 7px;
|
|
cursor: pointer;
|
|
transition: ease transform 0.2s;
|
|
filter: contrast(1) invert(0);
|
|
}
|
|
.dark-mode .component_tableviewer .table .thead .th img {
|
|
filter: contrast(1) invert(1);
|
|
}
|
|
|
|
.component_tableviewer .table .tbody .td {
|
|
border-top: 1px solid var(--border);
|
|
border-bottom: 1px solid var(--border);
|
|
margin-top: -1px;
|
|
display: inline-block;
|
|
padding: 5px 10px;
|
|
line-height: 17px;
|
|
height: 17px;
|
|
vertical-align: middle;
|
|
cursor: pointer;
|
|
}
|
|
.component_tableviewer .table .tbody .td .empty {
|
|
opacity: 0.4;
|
|
}
|
|
|
|
.component_tableviewer .table .tbody .tr:hover .td {
|
|
background: var(--border);
|
|
}
|