Mr. Worldwide #93

Merged
quoije merged 10 commits from 2026-localization into prod 2026-03-18 20:44:34 -04:00
2 changed files with 45 additions and 1 deletions
Showing only changes of commit a524650b5e - Show all commits
+44
View File
@@ -833,23 +833,67 @@ body.i18n-ready .navbar .btn {
color: #fff; color: #fff;
} }
/* Override btn-warning for active state */
.navbar-custom .navbar-nav #admin-control-link.is-current {
background: rgba(255, 255, 255, 0.16) !important;
border-color: rgba(255, 255, 255, 0.55) !important;
}
.navbar-custom .navbar-nav .nav-link.btn.is-current:hover { .navbar-custom .navbar-nav .nav-link.btn.is-current:hover {
background: rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.22);
border-color: rgba(255, 255, 255, 0.65); border-color: rgba(255, 255, 255, 0.65);
color: #fff; color: #fff;
} }
/* Override btn-warning hover state */
.navbar-custom .navbar-nav #admin-control-link.is-current:hover {
background: rgba(255, 255, 255, 0.22) !important;
border-color: rgba(255, 255, 255, 0.65) !important;
}
/* Admin button current state in light mode - override btn-warning */
.navbar-custom .navbar-nav #admin-control-link.btn-warning.is-current,
.navbar-custom .navbar-nav #admin-control-link.btn-warning.is-current:focus {
background: rgba(255, 255, 255, 0.16) !important;
border-color: rgba(255, 255, 255, 0.55) !important;
}
.navbar-custom .navbar-nav #admin-control-link.btn-warning.is-current:hover,
.navbar-custom .navbar-nav #admin-control-link.btn-warning.is-current:active {
background: rgba(255, 255, 255, 0.22) !important;
border-color: rgba(255, 255, 255, 0.65) !important;
}
html[data-theme="dark"] .navbar-custom .navbar-nav .nav-link.btn.is-current { html[data-theme="dark"] .navbar-custom .navbar-nav .nav-link.btn.is-current {
background: rgba(79, 124, 255, 0.22); background: rgba(79, 124, 255, 0.22);
border-color: rgba(79, 124, 255, 0.58); border-color: rgba(79, 124, 255, 0.58);
color: #fff; color: #fff;
} }
/* Dark mode: Admin button active state */
html[data-theme="dark"] .navbar-custom .navbar-nav #admin-control-link.is-current {
background: rgba(79, 124, 255, 0.22) !important;
border-color: rgba(79, 124, 255, 0.58) !important;
}
html[data-theme="dark"] .navbar-custom .navbar-nav .nav-link.btn.is-current:hover { html[data-theme="dark"] .navbar-custom .navbar-nav .nav-link.btn.is-current:hover {
background: rgba(79, 124, 255, 0.28); background: rgba(79, 124, 255, 0.28);
border-color: rgba(79, 124, 255, 0.7); border-color: rgba(79, 124, 255, 0.7);
} }
/* Admin button current state in dark mode */
html[data-theme="dark"] .navbar-custom .navbar-nav #admin-control-link.is-current {
background-color: #0d6efd;
border-color: #0d6efd;
color: #fff;
}
html[data-theme="dark"] .navbar-custom .navbar-nav #admin-control-link.is-current:hover {
background-color: #0b5ed7;
border-color: #0b5ed7;
color: #fff;
}
/* The logo image has a bit of built-in left whitespace; nudge it back to align with page titles. */ /* The logo image has a bit of built-in left whitespace; nudge it back to align with page titles. */
.navbar-custom .navbar-brand img { .navbar-custom .navbar-brand img {
margin-left: -9px; margin-left: -9px;
+1 -1
View File
@@ -379,7 +379,7 @@ window.addEventListener('DOMContentLoaded', async function () {
} }
const activeYear = await fetchActiveYear(); const activeYear = await fetchActiveYear();
document.title = `Pool Oscars (${activeYear}) - Films`; document.title = `Pool Oscars (${activeYear}) - Movies`;
const oscarYearEl = document.getElementById('oscar-year'); const oscarYearEl = document.getElementById('oscar-year');
if (oscarYearEl) oscarYearEl.textContent = String(activeYear); if (oscarYearEl) oscarYearEl.textContent = String(activeYear);