mirror of
https://github.com/opencloud-eu/opencloud-compose.git
synced 2026-08-07 12:28:43 +08:00
Merge pull request #321 from opencloud-eu/keycloak-theme-v2
chore (keycloak): migrate login theme to keycloak.v2
This commit is contained in:
@@ -1,8 +1,9 @@
|
|||||||
:root {
|
:root {
|
||||||
--pf-global--primary-color--100: #e2baff;
|
--pf-v5-global--primary-color--100: #e2baff;
|
||||||
--pf-global--primary-color--200: #e2baff;
|
--pf-v5-global--primary-color--200: #e2baff;
|
||||||
--pf-global--primary-color--dark-100: #e2baff;
|
--pf-v5-global--primary-color--dark-100: #e2baff;
|
||||||
--pf-global--Color--light-100: #20434f;
|
--pf-v5-c-button--m-secondary--Color: #e2baff;
|
||||||
|
--pf-v5-global--Color--light-100: #20434f;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
@@ -26,13 +27,31 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.kc-logo-text {
|
.kc-logo-text {
|
||||||
background-image: url(../img/logo.svg) !important;
|
display: block;
|
||||||
|
width: 300px;
|
||||||
|
height: 63px;
|
||||||
|
background: url('../img/logo.svg') no-repeat center;
|
||||||
background-size: contain;
|
background-size: contain;
|
||||||
width: 400px;
|
|
||||||
margin: 0 !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#kc-header-wrapper{
|
.kc-logo-text span {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#kc-header-wrapper {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.pf-v5-c-login__main-header {
|
||||||
|
border-top: 4px solid var(--pf-v5-global--primary-color--100);
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 1200px) {
|
||||||
|
.pf-v5-c-login__container {
|
||||||
|
grid-template-columns: 34rem;
|
||||||
|
grid-template-areas:
|
||||||
|
"header"
|
||||||
|
"main";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -16,4 +16,4 @@ document.addEventListener("DOMContentLoaded", function () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
setLogoUrl('https://opencloud.eu')
|
setLogoUrl('https://opencloud.eu')
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
parent=keycloak
|
parent=keycloak.v2
|
||||||
import=common/keycloak
|
import=common/keycloak
|
||||||
|
|
||||||
styles=css/login.css css/theme.css
|
styles=css/login.css css/theme.css
|
||||||
scripts=js/script.js
|
scripts=js/script.js
|
||||||
|
|||||||
Reference in New Issue
Block a user