mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
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:
1 parent
45076cc603
commit
cdfbff0b6b
4 files changed
+624
No files matched your search
@@ -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%;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user