🎁 Sync 2026-10-28 19:35:15

This commit is contained in:
github-actions[bot] committed 2026-10-28 19:35:15 +08:00
1 parent 85209f310d
commit 390801c844
90 files changed
+5821 -1967

No files matched your search

+1
View File
@@ -57,6 +57,7 @@
@import "pages/openclash.less";
// VPN
@import "pages/tailscale.less";
@import "pages/passwall.less";
@import "pages/passwall2.less";
@import "pages/openvpn.less";
@@ -0,0 +1,75 @@
// out: false
[data-page="admin-services-tailscale"],
[data-page="admin-vpn-tailscale"] {
// The community app renders its status outside the normal CBI section card.
#service_status_display {
display: block;
padding: var(--field-gap) var(--section-inset);
border-radius: var(--radius-card);
background-color: var(--surface-color);
box-shadow: var(--section-shadow);
overflow-x: auto;
}
#tailscale_devices_display {
display: block;
// Older app versions render the table without a scrolling wrapper.
&:has(> table) {
overflow-x: auto;
}
}
// Both renderers use native rows and cells rather than LuCI's .tr/.td pair.
#service_status_display,
#tailscale_devices_display {
table {
display: table;
line-height: normal;
> thead {
display: table-header-group;
}
> tbody {
display: table-row-group;
}
tr {
display: table-row;
}
th,
td {
display: table-cell;
padding: 1.1em 1.25rem;
border-top: var(--table-border);
line-height: normal;
text-align: center;
white-space: nowrap;
}
// The app sets header alignment inline.
th {
text-align: center !important;
}
}
}
#service_status_display tr + tr,
#tailscale_devices_display tr:has(> td) {
background-color: var(--row-color);
}
#tailscale_devices_display tr:nth-child(2n of :has(> td)) {
background-color: var(--row-alt);
}
#service_status_display tr:first-child > td,
#tailscale_devices_display :is(.cbi-table-header, .cbi-section-table-titles) > th {
border-top: 0;
background-color: var(--surface-muted);
line-height: 1.3rem;
}
}
+22 -1
View File
@@ -56,12 +56,33 @@
}
@media screen and (min-width: 1153px) {
// A table action column shrinks to its controls' minimum content width.
// Preserve the ComboButton label when MAC filtering adds its menu.
.td > .cbi-dropdown:is(.btn, .cbi-button):not([multiple]) {
min-width: max-content;
> ul:not(.dropdown) > li {
white-space: nowrap;
overflow-wrap: normal;
}
}
> .tr > :is(.th, .td) {
padding-inline: var(--action-gap);
overflow-wrap: break-word;
}
> .tr > :is(.th, .td):first-child {
width: 22%;
min-width: 14rem;
min-width: 10rem;
}
}
// Keep host names separate from the optional address details.
> .tr > .td > span.hide-xs {
display: block;
}
@media screen and (max-width: 600px) {
.td:has(> .ifacebadge[data-ssid]) {
flex-basis: 100%;