fix(theme): readable active tab + mobile footer realign (#822 #719) #864

Merged
jmiller merged 1 commits from feat/mobile-retheme into dev 2026-07-21 22:25:17 +00:00
2 changed files with 30 additions and 0 deletions
+14
View File
@@ -252,3 +252,17 @@ nav#navbar {
border-color: var(--color-primary);
box-shadow: 0 0 0 2px var(--color-primary-alpha-40);
}
/* ── MokoOnyx (Bootstrap template.css) × Fomantic collision fixes ──────────────
template.css loads after the Fomantic bundle to drive the look, but Bootstrap's
generic classes clobber some Fomantic components. Restore the readable ones here. */
/* Bootstrap `.active` turned Fomantic's active menu item white-on-white (e.g. the
dashboard Repository/Organization switcher). Restore a readable selected state. */
.ui.menu .item.active,
.ui.two.item.menu .item.active,
.ui.tabular.menu .item.active,
.ui.secondary.pointing.menu .item.active {
background: var(--color-box-header) !important;
color: var(--color-text) !important;
}
+16
View File
@@ -413,3 +413,19 @@
min-height: var(--mg-touch-target);
}
}
/* Footer: stack + center the two link groups on mobile so they don't misalign/overflow. */
@media (max-width: 767.98px) {
.page-footer {
flex-direction: column;
align-items: center;
gap: 0.4rem;
text-align: center;
}
.page-footer .left-links,
.page-footer .right-links {
justify-content: center;
flex-wrap: wrap;
gap: 0.25rem 0.75rem;
}
}