mirror of
https://github.com/Carve/qbittorrent-webui-cjratliff.com.git
synced 2024-11-15 11:23:18 +01:00
103 lines
1.9 KiB
CSS
103 lines
1.9 KiB
CSS
/**************************************************************
|
|
|
|
Dynamic Table
|
|
v 0.4
|
|
|
|
**************************************************************/
|
|
|
|
.dynamicTable tbody tr {
|
|
background-color: var(--darkmode-background);
|
|
}
|
|
|
|
.dynamicTable tbody tr:nth-child(even),
|
|
.dynamicTable tbody tr.alt {
|
|
background-color: var(--darkmode-background-alt);
|
|
}
|
|
|
|
#transferList .dynamicTable td {
|
|
padding: 0 2px;
|
|
}
|
|
|
|
.dynamicTable tbody tr.selected,
|
|
.dynamicTable tbody tr:hover {
|
|
background-color: #747474;
|
|
color: #f7f7f7;
|
|
}
|
|
|
|
#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 {
|
|
background: var(--darkmode-background);
|
|
color: var(--darkmode-text);
|
|
border-right: 1px solid var(--darkmode-line-color);
|
|
box-sizing: border-box;
|
|
padding: 4px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.dynamicTable td {
|
|
padding: 0px 4px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.dynamicTable thead tr {
|
|
background-color: var(--darkmode-background);
|
|
}
|
|
|
|
.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");
|
|
}
|
|
|
|
.dynamicTable td img.flags {
|
|
height: 1.25em;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.dynamicTableFixedHeaderDiv {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.dynamicTableDiv {
|
|
overflow: auto;
|
|
}
|
|
|
|
.dynamicTableDiv thead th {
|
|
height: 0px !important;
|
|
line-height: 0px !important;
|
|
padding-bottom: 0px !important;
|
|
padding-top: 0px !important;
|
|
}
|