oidc: Style the page for authorizing an OIDC app

Tests:

- Appearance is acceptable: top margin, width of the readable text, heading
centering, list top/bottom margins, SVG icon for application, md mode icon size,
submit button width, margins.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa authored and James Valleroy committed 2026-03-02 20:51:00 -05:00
1 parent 45076cc603
commit cdfbff0b6b
4 files changed
+624

No files matched your search

+39
View File
@@ -278,6 +278,11 @@ html {
margin-bottom: 1.25rem;
}
.narrow-container {
max-width: 496px;
margin-top: 4rem;
}
/* When an exception's text is shown in message as alert component, don't
overflow the alert's width. */
.alert.d-flex div {
@@ -1028,3 +1033,37 @@ textarea.log {
width: 100%;
text-wrap: nowrap;
}
/*
* OpenID Connect Authorization page.
*/
.authorize-container img {
display: block;
width: 100%;
}
.authorize-container h3:first-of-type {
text-align: center;
}
.authorize-container ul {
margin-top: 3rem;
margin-bottom: 3rem;
}
.authorize-container .submit-container {
width: 100%;
margin: 4rem 0 1.5rem;
}
.authorize-container .submit-container input {
width: 100%;
white-space: normal;
}
@media (min-width: 576px) {
.authorize-diagram {
margin: 0 auto;
width: 80%;
}
}