edge: restyle the oCIS idp sign-in wall into the Hub palette
The sign-in page is served by oCIS's idp service, which the web theme.json cannot touch. Inject hub-signin.css via sub_filter on /signin/ until oCIS sits behind the Hub OIDC issuer (see docs/design/2026-10-13-files-oidc-sso.md).
This commit is contained in:
parent
5bc81c16f2
commit
9d42d61f6b
2 changed files with 63 additions and 0 deletions
41
infra/occupymedia/edge/hub-signin.css
Normal file
41
infra/occupymedia/edge/hub-signin.css
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
/* Hub restyle of the oCIS idp sign-in page, injected by the edge (see
|
||||
* nginx.conf location /signin/). The page ships with ownCloud's default
|
||||
* light theme; this brings it into the Hub palette until oCIS sits behind
|
||||
* the Hub OIDC issuer (docs/design/2026-10-13-files-oidc-sso.md), after
|
||||
* which the wall is never shown to Hub users at all. */
|
||||
html, body {
|
||||
background: #0f0a09 !important;
|
||||
color: #f5f5f5 !important;
|
||||
font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
|
||||
}
|
||||
h1, h2, label, p, span, small {
|
||||
color: #f5f5f5 !important;
|
||||
}
|
||||
form {
|
||||
background: #161211 !important;
|
||||
border: 1px solid #2a2320 !important;
|
||||
border-radius: 12px !important;
|
||||
}
|
||||
input[type="text"], input[type="password"], input[type="email"] {
|
||||
background: #0a0706 !important;
|
||||
border: 1px solid #3a322d !important;
|
||||
color: #f5f5f5 !important;
|
||||
border-radius: 6px !important;
|
||||
}
|
||||
input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus {
|
||||
border-color: #ff1610 !important;
|
||||
outline: none !important;
|
||||
}
|
||||
button[type="submit"], .btn-primary, input[type="submit"] {
|
||||
background: #ff1610 !important;
|
||||
border: none !important;
|
||||
color: #fff !important;
|
||||
font-weight: 600 !important;
|
||||
border-radius: 8px !important;
|
||||
}
|
||||
button[type="submit"]:hover, .btn-primary:hover, input[type="submit"]:hover {
|
||||
background: #e3130e !important;
|
||||
}
|
||||
a {
|
||||
color: #ff6b66 !important;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue