mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-05-06 19:19:19 +02:00
Replace .admin-hint / .admin-field-hint with .admin-body form small
- admin.css: remove .admin-hint and .admin-field-hint class rules; add .admin-body form small with the same font-size/color/margin properties plus display:block so it stacks below sibling inputs; stub comment left where .admin-field-hint was to document the change - add.php: 5× <p class="admin-hint"> → <small> - edit.php: 3× <p class="admin-hint"> → <small> - import.php: <div class="admin-hint"> → <small> (block hint below CSV input) - pages-edit.php: class="admin-hint" removed from already-correct <small> - account.php: <p class="admin-field-hint"> → <small> Hint text is now styled purely via the semantic element selector; no class required on any hint element in admin templates.
This commit is contained in:
@@ -201,10 +201,11 @@
|
||||
border-color: var(--admin-purple);
|
||||
}
|
||||
|
||||
.admin-hint {
|
||||
.admin-body form small {
|
||||
font-size: 0.78rem;
|
||||
color: var(--admin-text-muted);
|
||||
margin-top: 0.15rem;
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Checkboxes & radios */
|
||||
@@ -821,11 +822,7 @@
|
||||
border-bottom: 1px solid var(--admin-border);
|
||||
}
|
||||
|
||||
.admin-field-hint {
|
||||
font-size: 0.8rem;
|
||||
color: var(--admin-text-muted);
|
||||
margin: 0.3rem 0 0;
|
||||
}
|
||||
/* .admin-field-hint replaced by .admin-body form small */
|
||||
|
||||
.admin-danger-zone {
|
||||
background: rgba(180, 0, 0, 0.07);
|
||||
|
||||
Reference in New Issue
Block a user