[style](trx-frontend-http): align scheduler buttons with site-wide button styles
Remove custom padding, border-radius, color, cursor, and hover rules from .sch-save-btn, .sch-reset-btn, and .sch-remove-btn — the global button rule already handles all of that consistently across every theme. .sch-save-btn retains only the accent-green background/border-color to mark it as the primary action; the global hover/active/disabled transitions still apply. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Stan Grams <sjg@haxx.space>
This commit is contained in:
@@ -3401,18 +3401,6 @@ button:focus-visible, input:focus-visible, select:focus-visible {
|
||||
color: var(--text-muted);
|
||||
font-weight: 600;
|
||||
}
|
||||
.sch-remove-btn {
|
||||
padding: 0.2rem 0.6rem;
|
||||
background: var(--btn-bg);
|
||||
color: var(--text);
|
||||
border: 1px solid var(--border-light);
|
||||
border-radius: 0.3rem;
|
||||
cursor: pointer;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
.sch-remove-btn:hover {
|
||||
background: var(--btn-bg-hover, var(--btn-bg));
|
||||
}
|
||||
.sch-add-row {
|
||||
align-items: flex-end;
|
||||
}
|
||||
@@ -3421,29 +3409,12 @@ button:focus-visible, input:focus-visible, select:focus-visible {
|
||||
gap: 0.75rem;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
/* Save is a primary action — accent background, inherits all other button rules. */
|
||||
.sch-save-btn {
|
||||
background: var(--accent-green);
|
||||
color: #fff;
|
||||
border: none;
|
||||
border-radius: 0.4rem;
|
||||
padding: 0.5rem 1.25rem;
|
||||
border-color: var(--accent-green);
|
||||
font-weight: 700;
|
||||
cursor: pointer;
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
.sch-save-btn:disabled {
|
||||
opacity: 0.5;
|
||||
cursor: default;
|
||||
}
|
||||
.sch-reset-btn {
|
||||
background: var(--btn-bg);
|
||||
color: var(--text);
|
||||
border: 1px solid var(--border-light);
|
||||
border-radius: 0.4rem;
|
||||
padding: 0.5rem 1.25rem;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
.sch-status-card {
|
||||
font-size: 0.9rem;
|
||||
|
||||
Reference in New Issue
Block a user