🎉 Sync 2026-11-13 23:37:37

This commit is contained in:
github-actions[bot] committed 2026-11-13 23:37:37 +08:00
1 parent 3d6b9219c2
commit f42f484f1b
71 files changed
+3836 -467

No files matched your search

@@ -12,6 +12,25 @@
border: 0;
}
.skip-link {
position: fixed;
z-index: 1200;
inset-block-start: var(--control-gap);
inset-inline-start: var(--page-gutter);
padding: .5rem .75rem;
color: var(--text-strong);
background: var(--surface-panel);
border: 1px solid var(--border-color);
border-radius: var(--radius-control);
transform: translateY(calc(-100% - var(--control-gap)));
&:focus {
transform: none;
outline: 2px solid var(--focus-ring);
outline-offset: 2px;
}
}
@media (prefers-reduced-motion: reduce) {
.main-left,
.main-right,
@@ -162,21 +162,12 @@ header .header-actions {
overflow-wrap: anywhere;
}
&:has(input:checked) {
color: var(--dropdown-selected-text);
background: var(--dropdown-selected-bg);
&::after {
visibility: visible;
}
}
&:has(input:focus-visible) {
&:focus-within {
outline: 2px solid var(--focus-ring);
outline-offset: -2px;
}
&:has(input:disabled) {
&[aria-disabled="true"] {
cursor: default;
opacity: .6;
}
@@ -201,7 +192,7 @@ header .header-actions {
background-color: var(--surface-active);
}
.argon-appearance-option:has(input:not(:disabled)):not(:has(input:checked)):hover {
.argon-appearance-option:not([aria-disabled="true"]):hover {
background: var(--dropdown-hover-bg);
}
}
@@ -226,6 +217,19 @@ header .header-actions {
}
}
// The existing mode attribute tracks the checked radio, including save rollback.
// Explicit selectors also preserve selection and its checkmark on Firefox ESR 115.
#argon-appearance[data-mode="light"] .argon-appearance-option[data-mode="light"],
#argon-appearance[data-mode="dark"] .argon-appearance-option[data-mode="dark"],
#argon-appearance[data-mode="normal"] .argon-appearance-option[data-mode="normal"] {
color: var(--dropdown-selected-text);
background: var(--dropdown-selected-bg);
&::after {
visibility: visible;
}
}
// Explicit selectors keep these rules scoped when compiled with Less 4.
// Native hidden semantics still remove the closed menu from focus and hit testing.
@starting-style {
@@ -152,6 +152,9 @@
.alert-message {
transform: none;
position: static;
// Inline banners can be flex items, where z-index applies even without positioning.
// Keep them below dropdowns instead of inheriting the fixed alert's overlay layer.
z-index: auto;
transition: opacity .4s ease;
&.fade-out {
+3 -1
View File
@@ -212,7 +212,9 @@
}
}
.control-group:has(> input:first-child + .cbi-button) {
// Interpolation preserves the forgiving selector list with the pinned Less 4 parser.
@joined-control-selector: ~":is(:has(> input:first-child + .cbi-button), .argon-joined-control)";
.control-group@{joined-control-selector} {
flex-wrap: nowrap;
gap: 0;
@@ -122,6 +122,15 @@
.cbi-tblsection {
overflow-x: auto;
// A horizontal scroller also computes overflow-y:auto. LuCI then sizes
// dropdowns against this short section instead of the page or modal.
// Native responsive tables wrap their fields when the viewport narrows.
@dropdown-section-selector: ~":is(:has(.cbi-dropdown), .argon-dropdown-section)";
&@{dropdown-section-selector},
.table@{dropdown-section-selector} {
overflow: visible;
}
}
table {