fix(keycloak): Migrate theme to gitea

This commit is contained in:
2026-03-14 18:20:51 +01:00
parent 14fa2447ec
commit bfc2bfdf9d
14 changed files with 65 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
FROM busybox
COPY keycloak-themes/oceanbox /theme
@@ -0,0 +1,59 @@
:root {
--keycloak-logo-url: url('../img/keycloak-logo-text.png');
--keycloak-logo-height: 63px;
--keycloak-logo-width: 300px;
}
.pf-v5-c-login__container {
grid-template-columns: 34rem;
grid-template-areas: "header"
"main"
}
.login-pf body {
background: url("../img/oceanbox-bg.png") no-repeat center center fixed;
background-size: cover;
height: 100%;
}
div.kc-logo-text {
background-image: var(--keycloak-logo-url);
height: var(--keycloak-logo-height);
width: var(--keycloak-logo-width);
background-repeat: no-repeat;
background-size: contain;
margin: 0 auto;
}
div.kc-logo-text span {
display: none;
}
#kc-recovery-codes-list {
columns: 2;
}
#certificate_subjectDN {
overflow-wrap: break-word
}
#kc-header-wrapper {
font-size: 29px;
text-transform: uppercase;
letter-spacing: 3px;
line-height: 1.2em;
white-space: normal;
color: var(--pf-v5-global--Color--light-100) !important;
text-align: center;
}
hr {
margin-top: var(--pf-v5-global--spacer--sm);
margin-bottom: var(--pf-v5-global--spacer--md);
}
@media (min-width: 768px) {
div.pf-v5-c-login__main-header {
grid-template-columns: 70% 30%;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 513 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 343 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 678 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 410 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 513 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 646 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

@@ -0,0 +1,3 @@
parent=keycloak.v2
styles=css/login.css