split js
This commit is contained in:
+40
-89
@@ -2046,7 +2046,6 @@ body.mobile-mode .mobile-filter-bar {
|
||||
}
|
||||
|
||||
.rt-config-card-head small,
|
||||
.rt-config-runtime-note,
|
||||
.rt-config-value-note {
|
||||
display: block;
|
||||
overflow-wrap: anywhere;
|
||||
@@ -2120,15 +2119,10 @@ body.mobile-mode .mobile-filter-bar {
|
||||
box-shadow: 0 0 0 0.12rem rgba(var(--bs-danger-rgb), 0.18);
|
||||
}
|
||||
|
||||
.rt-config-runtime-note,
|
||||
.rt-config-value-note {
|
||||
margin-top: -0.2rem;
|
||||
}
|
||||
|
||||
.rt-config-runtime-note i {
|
||||
color: var(--bs-warning-text-emphasis);
|
||||
}
|
||||
|
||||
.rt-config-output {
|
||||
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
||||
font-size: 0.82rem;
|
||||
@@ -4647,7 +4641,7 @@ body,
|
||||
}
|
||||
}
|
||||
|
||||
/* Note: Peers tables keep hostnames readable and keep progress columns stable. */
|
||||
/* Note: Peers tables keep hostnames readable without letting the Host column dominate the layout. */
|
||||
.peers-table {
|
||||
min-width: 960px;
|
||||
table-layout: fixed;
|
||||
@@ -4662,76 +4656,56 @@ body,
|
||||
}
|
||||
|
||||
.peers-table .peer-progress-wide {
|
||||
min-width: 0;
|
||||
min-width: 108px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.peers-table:not(.mobile-details-peers-table):not(.peers-table-hosts) th:nth-child(1),
|
||||
.peers-table:not(.mobile-details-peers-table):not(.peers-table-hosts) td:nth-child(1),
|
||||
.peers-table:not(.mobile-details-peers-table).peers-table-hosts th:nth-child(1),
|
||||
.peers-table:not(.mobile-details-peers-table).peers-table-hosts td:nth-child(1) {
|
||||
.peers-table-hosts th:nth-child(1),
|
||||
.peers-table-hosts td:nth-child(1) {
|
||||
width: 4%;
|
||||
}
|
||||
|
||||
.peers-table:not(.mobile-details-peers-table):not(.peers-table-hosts) th:nth-child(2),
|
||||
.peers-table:not(.mobile-details-peers-table):not(.peers-table-hosts) td:nth-child(2),
|
||||
.peers-table:not(.mobile-details-peers-table).peers-table-hosts th:nth-child(2),
|
||||
.peers-table:not(.mobile-details-peers-table).peers-table-hosts td:nth-child(2) {
|
||||
.peers-table-hosts th:nth-child(2),
|
||||
.peers-table-hosts td:nth-child(2) {
|
||||
width: 13%;
|
||||
}
|
||||
|
||||
.peers-table:not(.mobile-details-peers-table).peers-table-hosts th:nth-child(3),
|
||||
.peers-table:not(.mobile-details-peers-table).peers-table-hosts td:nth-child(3) {
|
||||
.peers-table-hosts th:nth-child(3),
|
||||
.peers-table-hosts td:nth-child(3) {
|
||||
width: 15%;
|
||||
}
|
||||
|
||||
.peers-table:not(.mobile-details-peers-table):not(.peers-table-hosts) th:nth-child(3),
|
||||
.peers-table:not(.mobile-details-peers-table):not(.peers-table-hosts) td:nth-child(3),
|
||||
.peers-table:not(.mobile-details-peers-table):not(.peers-table-hosts) th:nth-child(4),
|
||||
.peers-table:not(.mobile-details-peers-table):not(.peers-table-hosts) td:nth-child(4),
|
||||
.peers-table:not(.mobile-details-peers-table).peers-table-hosts th:nth-child(4),
|
||||
.peers-table:not(.mobile-details-peers-table).peers-table-hosts td:nth-child(4),
|
||||
.peers-table:not(.mobile-details-peers-table).peers-table-hosts th:nth-child(5),
|
||||
.peers-table:not(.mobile-details-peers-table).peers-table-hosts td:nth-child(5) {
|
||||
.peers-table-hosts th:nth-child(4),
|
||||
.peers-table-hosts td:nth-child(4),
|
||||
.peers-table-hosts th:nth-child(5),
|
||||
.peers-table-hosts td:nth-child(5) {
|
||||
width: 8%;
|
||||
}
|
||||
|
||||
.peers-table:not(.mobile-details-peers-table):not(.peers-table-hosts) th:nth-child(5),
|
||||
.peers-table:not(.mobile-details-peers-table):not(.peers-table-hosts) td:nth-child(5),
|
||||
.peers-table:not(.mobile-details-peers-table).peers-table-hosts th:nth-child(6),
|
||||
.peers-table:not(.mobile-details-peers-table).peers-table-hosts td:nth-child(6) {
|
||||
.peers-table-hosts th:nth-child(6),
|
||||
.peers-table-hosts td:nth-child(6) {
|
||||
width: 15%;
|
||||
}
|
||||
|
||||
.peers-table:not(.mobile-details-peers-table):not(.peers-table-hosts) th:nth-child(6),
|
||||
.peers-table:not(.mobile-details-peers-table):not(.peers-table-hosts) td:nth-child(6),
|
||||
.peers-table:not(.mobile-details-peers-table).peers-table-hosts th:nth-child(7),
|
||||
.peers-table:not(.mobile-details-peers-table).peers-table-hosts td:nth-child(7) {
|
||||
width: 8rem;
|
||||
.peers-table-hosts th:nth-child(7),
|
||||
.peers-table-hosts td:nth-child(7) {
|
||||
width: 10%;
|
||||
}
|
||||
|
||||
.peers-table:not(.mobile-details-peers-table):not(.peers-table-hosts) th:nth-child(7),
|
||||
.peers-table:not(.mobile-details-peers-table):not(.peers-table-hosts) td:nth-child(7),
|
||||
.peers-table:not(.mobile-details-peers-table):not(.peers-table-hosts) th:nth-child(8),
|
||||
.peers-table:not(.mobile-details-peers-table):not(.peers-table-hosts) td:nth-child(8),
|
||||
.peers-table:not(.mobile-details-peers-table).peers-table-hosts th:nth-child(8),
|
||||
.peers-table:not(.mobile-details-peers-table).peers-table-hosts td:nth-child(8),
|
||||
.peers-table:not(.mobile-details-peers-table).peers-table-hosts th:nth-child(9),
|
||||
.peers-table:not(.mobile-details-peers-table).peers-table-hosts td:nth-child(9) {
|
||||
.peers-table-hosts th:nth-child(8),
|
||||
.peers-table-hosts td:nth-child(8),
|
||||
.peers-table-hosts th:nth-child(9),
|
||||
.peers-table-hosts td:nth-child(9) {
|
||||
width: 6%;
|
||||
}
|
||||
|
||||
.peers-table:not(.mobile-details-peers-table):not(.peers-table-hosts) th:nth-child(9),
|
||||
.peers-table:not(.mobile-details-peers-table):not(.peers-table-hosts) td:nth-child(9),
|
||||
.peers-table:not(.mobile-details-peers-table).peers-table-hosts th:nth-child(10),
|
||||
.peers-table:not(.mobile-details-peers-table).peers-table-hosts td:nth-child(10) {
|
||||
.peers-table-hosts th:nth-child(10),
|
||||
.peers-table-hosts td:nth-child(10) {
|
||||
width: 5%;
|
||||
}
|
||||
|
||||
.peers-table:not(.mobile-details-peers-table):not(.peers-table-hosts) th:nth-child(10),
|
||||
.peers-table:not(.mobile-details-peers-table):not(.peers-table-hosts) td:nth-child(10),
|
||||
.peers-table:not(.mobile-details-peers-table).peers-table-hosts th:nth-child(11),
|
||||
.peers-table:not(.mobile-details-peers-table).peers-table-hosts td:nth-child(11) {
|
||||
.peers-table-hosts th:nth-child(11),
|
||||
.peers-table-hosts td:nth-child(11) {
|
||||
width: 10%;
|
||||
}
|
||||
|
||||
@@ -4744,7 +4718,7 @@ body,
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* Note: Mobile torrent details use a stable table so progress bars always render on a 0-100% track. */
|
||||
/* Note: Mobile torrent details use a narrower fixed table so long reverse-DNS names cannot stretch the modal. */
|
||||
.mobile-details-modal .modal-body {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
@@ -4754,54 +4728,36 @@ body,
|
||||
}
|
||||
|
||||
.mobile-details-peers-table {
|
||||
margin-bottom: 0;
|
||||
min-width: 780px;
|
||||
min-width: 720px;
|
||||
}
|
||||
|
||||
.mobile-details-peers-table:not(.peers-table-hosts) th:nth-child(1),
|
||||
.mobile-details-peers-table:not(.peers-table-hosts) td:nth-child(1),
|
||||
.mobile-details-peers-table.peers-table-hosts th:nth-child(1),
|
||||
.mobile-details-peers-table.peers-table-hosts td:nth-child(1) {
|
||||
width: 5%;
|
||||
}
|
||||
|
||||
.mobile-details-peers-table:not(.peers-table-hosts) th:nth-child(2),
|
||||
.mobile-details-peers-table:not(.peers-table-hosts) td:nth-child(2),
|
||||
.mobile-details-peers-table.peers-table-hosts th:nth-child(2),
|
||||
.mobile-details-peers-table.peers-table-hosts td:nth-child(2) {
|
||||
width: 14%;
|
||||
}
|
||||
|
||||
.mobile-details-peers-table.peers-table-hosts th:nth-child(3),
|
||||
.mobile-details-peers-table.peers-table-hosts td:nth-child(3) {
|
||||
width: 16%;
|
||||
}
|
||||
|
||||
.mobile-details-peers-table:not(.peers-table-hosts) th:nth-child(3),
|
||||
.mobile-details-peers-table:not(.peers-table-hosts) td:nth-child(3),
|
||||
.mobile-details-peers-table.peers-table-hosts td:nth-child(3),
|
||||
.mobile-details-peers-table.peers-table-hosts th:nth-child(4),
|
||||
.mobile-details-peers-table.peers-table-hosts td:nth-child(4) {
|
||||
width: 16%;
|
||||
}
|
||||
|
||||
.mobile-details-peers-table:not(.peers-table-hosts) th:nth-child(4),
|
||||
.mobile-details-peers-table:not(.peers-table-hosts) td:nth-child(4),
|
||||
.mobile-details-peers-table.peers-table-hosts th:nth-child(5),
|
||||
.mobile-details-peers-table.peers-table-hosts td:nth-child(5) {
|
||||
width: 15%;
|
||||
}
|
||||
|
||||
.mobile-details-peers-table:not(.peers-table-hosts) th:nth-child(5),
|
||||
.mobile-details-peers-table:not(.peers-table-hosts) td:nth-child(5),
|
||||
.mobile-details-peers-table.peers-table-hosts th:nth-child(6),
|
||||
.mobile-details-peers-table.peers-table-hosts td:nth-child(6) {
|
||||
width: 8rem;
|
||||
.mobile-details-peers-table.peers-table-hosts th:nth-child(5),
|
||||
.mobile-details-peers-table.peers-table-hosts td:nth-child(5) {
|
||||
width: 16%;
|
||||
}
|
||||
|
||||
.mobile-details-peers-table.peers-table-hosts th:nth-child(6),
|
||||
.mobile-details-peers-table.peers-table-hosts td:nth-child(6) {
|
||||
width: 10%;
|
||||
}
|
||||
|
||||
.mobile-details-peers-table:not(.peers-table-hosts) th:nth-child(6),
|
||||
.mobile-details-peers-table:not(.peers-table-hosts) td:nth-child(6),
|
||||
.mobile-details-peers-table:not(.peers-table-hosts) th:nth-child(7),
|
||||
.mobile-details-peers-table:not(.peers-table-hosts) td:nth-child(7),
|
||||
.mobile-details-peers-table.peers-table-hosts th:nth-child(7),
|
||||
.mobile-details-peers-table.peers-table-hosts td:nth-child(7),
|
||||
.mobile-details-peers-table.peers-table-hosts th:nth-child(8),
|
||||
@@ -4809,19 +4765,13 @@ body,
|
||||
width: 7%;
|
||||
}
|
||||
|
||||
.mobile-details-peers-table:not(.peers-table-hosts) th:nth-child(8),
|
||||
.mobile-details-peers-table:not(.peers-table-hosts) td:nth-child(8),
|
||||
.mobile-details-peers-table.peers-table-hosts th:nth-child(9),
|
||||
.mobile-details-peers-table.peers-table-hosts td:nth-child(9) {
|
||||
.mobile-details-peers-table.peers-table-hosts td:nth-child(9),
|
||||
.mobile-details-peers-table.peers-table-hosts th:nth-child(10),
|
||||
.mobile-details-peers-table.peers-table-hosts td:nth-child(10) {
|
||||
width: 6%;
|
||||
}
|
||||
|
||||
.mobile-details-peers-table:not(.peers-table-hosts) th:nth-child(9),
|
||||
.mobile-details-peers-table:not(.peers-table-hosts) td:nth-child(9),
|
||||
.mobile-details-peers-table.peers-table-hosts th:nth-child(10),
|
||||
.mobile-details-peers-table.peers-table-hosts td:nth-child(10) {
|
||||
width: 8%;
|
||||
}
|
||||
|
||||
/* App modal widths stay consistent while Bootstrap still handles full-screen mobile breakpoints. */
|
||||
.app-modal-dialog,
|
||||
@@ -5287,6 +5237,7 @@ body,
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.mobile-details-peers-table,
|
||||
.mobile-details-files-table {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user