diff --git a/templates/base.html b/templates/base.html index 2f96b7bf..bf56f197 100644 --- a/templates/base.html +++ b/templates/base.html @@ -110,76 +110,76 @@ } } - + /* Improve navbar tap targets and mobile dropdown behaviour */ -@media (max-width: 991.98px) { + @media (max-width: 991.98px) { /* Make navbar links larger and easier to tap */ - .navbar-nav .nav-link { - padding: .75rem 1rem; - font-size: 1.05rem; - min-height: 44px; /* recommended minimum touch target */ - display: block; - margin: .25rem 0; - border-radius: .375rem; - background-color: var(--bs-primary); - color: #fff !important; - text-align: center; - box-shadow: 0 1px 0 rgba(0,0,0,0.05) inset; - } + .navbar-nav .nav-link { + padding: .75rem 1rem; + font-size: 1.05rem; + min-height: 44px; /* recommended minimum touch target */ + display: block; + margin: .25rem 0; + border-radius: .375rem; + background-color: var(--bs-primary); + color: #fff !important; + text-align: center; + box-shadow: 0 1px 0 rgba(0,0,0,0.05) inset; + } /* Make links look like outline buttons for secondary links */ - .navbar-nav .nav-link.btn-outline { - background-color: transparent; - color: var(--bs-primary) !important; - border: 1px solid rgba(255,255,255,0.08); - } + .navbar-nav .nav-link.btn-outline { + background-color: transparent; + color: var(--bs-primary) !important; + border: 1px solid rgba(255,255,255,0.08); + } /* Make dropdown items full-width and larger */ - .navbar-nav .dropdown-menu .dropdown-item { - padding: .75rem 1rem; - font-size: 1.05rem; - background: transparent; - color: inherit; - border-radius: .25rem; - margin: .125rem 0; - } + .navbar-nav .dropdown-menu .dropdown-item { + padding: .75rem 1rem; + font-size: 1.05rem; + background: transparent; + color: inherit; + border-radius: .25rem; + margin: .125rem 0; + } /* When the navbar is collapsed, render dropdown menus as static stacked blocks so nested items are easy to tap (prevents absolute-position overlap issues). */ - .navbar-collapse .dropdown-menu { - position: static !important; - float: none !important; - display: block !important; - width: 100% !important; - margin-top: .25rem; - } + .navbar-collapse .dropdown-menu { + position: static !important; + float: none !important; + display: block !important; + width: 100% !important; + margin-top: .25rem; + } /* Ensure dropdown toggles are full-width when collapsed */ - .navbar-collapse .dropdown > .nav-link { - width: 100%; - text-align: left; - display: block; - } + .navbar-collapse .dropdown > .nav-link { + width: 100%; + text-align: left; + display: block; + } - html, body { + html, body { /* Slightly increase root font-size so rem-based components scale */ - font-size: 182%; - line-height: 1.45; - } + font-size: 182%; + line-height: 1.45; + } /* Slightly larger headings for clear hierarchy */ - h1 { font-size: 1.8rem; } - h2 { font-size: 1.4rem; } - h3 { font-size: 1.15rem; } + h1 { font-size: 1.8rem; } + h2 { font-size: 1.4rem; } + h3 { font-size: 1.15rem; } /* Improve spacing for paragraphs and lists */ - p, li { font-size: 1rem; } + p, li { font-size: 1rem; } /* Make form controls and buttons a bit larger for touch */ - .form-control, .btn { font-size: 1rem; padding: .6rem .75rem; } + .form-control, .btn { font-size: 1rem; padding: .6rem .75rem; } -} + } {% block css %} @@ -224,7 +224,10 @@ SBAs
  • - Exam Collection + + Exam Collections + Manage +
  • @@ -267,12 +270,12 @@
    - - + + {% block content %} {% endblock %}
    @@ -313,10 +316,10 @@ }); - + updateSelectedCount(); + }); + }); +