65ba1b16e3
- Add SSO-style error page (views/error.ejs) and render it for browser navigation in the error handler (API still returns JSON). - Navbar: username not underlined; only the active nav link is bold+underlined. Co-Authored-By: Claude <noreply@anthropic.com>
37 lines
764 B
CSS
Executable File
37 lines
764 B
CSS
Executable File
nav.navbar{
|
|
padding-left: 1em;
|
|
padding-right: 1em;
|
|
}
|
|
|
|
/* Only the active top-nav link is bold + underlined; the username is plain. */
|
|
.top-nav a.active{
|
|
font-weight: bold;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh;
|
|
/* Height of the fixed navbar (plus the update banner, while shown --
|
|
see top.ejs's showUpdateBanner/dismissUpdateBanner). Lets an in-page
|
|
sticky element offset itself below both fixed elements via
|
|
`top: var(--sw-content-offset)` instead of colliding with them at the
|
|
viewport's true top:0. */
|
|
--sw-content-offset: 4.5rem;
|
|
}
|
|
|
|
#spa-shell {
|
|
margin-top: 4.5rem;
|
|
padding-bottom: 1em;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.card-title{
|
|
font-weight: bold;
|
|
}
|
|
|
|
.group-required{
|
|
display: none;
|
|
}
|