2022-10-18 22:39:32 -04:00
|
|
|
/**************************************************************
|
|
|
|
|
|
|
|
Dynamic Table
|
|
|
|
v 0.4
|
|
|
|
|
|
|
|
**************************************************************/
|
2024-10-03 08:37:11 -04:00
|
|
|
.altRowColors tbody tr:nth-child(odd of :not(.invisible)) {
|
|
|
|
background-color: var(--color-background-default);
|
|
|
|
}
|
2022-10-18 22:39:32 -04:00
|
|
|
|
2023-03-13 20:28:18 -04:00
|
|
|
.dynamicTable tbody tr,
|
2023-03-13 21:31:54 -04:00
|
|
|
.dynamicTable tr.nonAlt,
|
|
|
|
#torrentFilesTableDiv .dynamicTable tr.nonAlt {
|
2022-10-24 09:42:50 -04:00
|
|
|
background-color: var(--darkmode-background);
|
2022-10-18 22:39:32 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.dynamicTable tbody tr:nth-child(even),
|
|
|
|
.dynamicTable tbody tr.alt {
|
2022-10-24 09:42:50 -04:00
|
|
|
background-color: var(--darkmode-background-alt);
|
2022-10-18 22:39:32 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#transferList .dynamicTable td {
|
|
|
|
padding: 0 2px;
|
|
|
|
}
|
|
|
|
|
2022-12-02 08:26:21 -05:00
|
|
|
.dynamicTable tbody tr.selected,
|
2022-10-18 22:39:32 -04:00
|
|
|
.dynamicTable tbody tr:hover {
|
2023-10-30 15:58:53 -04:00
|
|
|
background-color: var(--darkmode-background-alt2);
|
|
|
|
color: var(--darkmode-text-alt)
|
2022-10-18 22:39:32 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#transferList tr:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
#transferList img.stateIcon {
|
|
|
|
height: 1.3em;
|
|
|
|
margin-bottom: -1px;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
tr.dynamicTableHeader {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dynamicTable {
|
|
|
|
border-spacing: 0;
|
|
|
|
padding: 0;
|
|
|
|
table-layout: fixed;
|
|
|
|
width: 1%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dynamicTable th {
|
2022-10-24 09:42:50 -04:00
|
|
|
background: var(--darkmode-background);
|
2023-09-06 19:45:48 -04:00
|
|
|
color: var(--darkmode-text);
|
|
|
|
border-right: 1px solid var(--darkmode-line-color);
|
2022-10-18 22:39:32 -04:00
|
|
|
box-sizing: border-box;
|
2024-10-03 08:37:11 -04:00
|
|
|
padding: 4px 2px;
|
2022-10-18 22:39:32 -04:00
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
2024-10-03 08:37:11 -04:00
|
|
|
.dynamicTable tr:is(:hover, .selected) img:not(.flags) {
|
|
|
|
filter: var(--color-icon-hover);
|
|
|
|
}
|
|
|
|
|
2022-10-18 22:39:32 -04:00
|
|
|
.dynamicTable td {
|
|
|
|
padding: 0px 4px;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dynamicTable thead tr {
|
2022-10-24 09:42:50 -04:00
|
|
|
background-color: var(--darkmode-background);
|
2022-10-18 22:39:32 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.dynamicTable th,
|
|
|
|
.dynamicTable td {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dynamicTable th.sorted {
|
|
|
|
background-image: url("../images/go-up.svg");
|
|
|
|
background-position: right;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dynamicTable th.sorted.reverse {
|
|
|
|
background-image: url("../images/go-down.svg");
|
|
|
|
}
|
|
|
|
|
2024-10-03 08:37:11 -04:00
|
|
|
.dynamicTable span.flags {
|
|
|
|
background: left center / contain no-repeat;
|
|
|
|
margin-left: 2px;
|
|
|
|
padding-left: 25px;
|
2022-10-18 22:39:32 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.dynamicTableFixedHeaderDiv {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dynamicTableDiv {
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dynamicTableDiv thead th {
|
|
|
|
height: 0px !important;
|
|
|
|
line-height: 0px !important;
|
|
|
|
padding-bottom: 0px !important;
|
|
|
|
padding-top: 0px !important;
|
2024-10-09 23:20:38 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.dynamicTableDiv tbody tr td img.filesTableCollapseIcon {
|
|
|
|
height: 18px;
|
|
|
|
width: 18px;
|
|
|
|
vertical-align: middle;
|
|
|
|
margin: auto;
|
|
|
|
transform: rotate(180deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.dynamicTableDiv tbody tr td img.filesTableCollapseIcon.rotate {
|
|
|
|
transform: rotate(0deg);
|
2023-07-18 11:58:05 -04:00
|
|
|
}
|