commit 6de4d13386b2656a0e69785033729dab730e106e Author: Johanna Dorothea Reichmann Date: Fri Nov 25 17:26:13 2022 +0100 chore: add werkraum theme diff --git a/werkraum/account/theme.properties b/werkraum/account/theme.properties new file mode 100644 index 0000000..616a049 --- /dev/null +++ b/werkraum/account/theme.properties @@ -0,0 +1,3 @@ +parent=keycloak.v3 +import=common/finallycoffee +logo=/img/logo.png diff --git a/werkraum/admin/theme.properties b/werkraum/admin/theme.properties new file mode 100644 index 0000000..998accc --- /dev/null +++ b/werkraum/admin/theme.properties @@ -0,0 +1,3 @@ +parent=keycloak.v2 +import=common/werkraum +logo=/img/logo.png diff --git a/werkraum/common/resources/img/background.jpg b/werkraum/common/resources/img/background.jpg new file mode 100644 index 0000000..e857b70 Binary files /dev/null and b/werkraum/common/resources/img/background.jpg differ diff --git a/werkraum/common/resources/img/favicon.png b/werkraum/common/resources/img/favicon.png new file mode 100644 index 0000000..6a0f035 Binary files /dev/null and b/werkraum/common/resources/img/favicon.png differ diff --git a/werkraum/common/resources/img/logo.png b/werkraum/common/resources/img/logo.png new file mode 100644 index 0000000..b1b4dac Binary files /dev/null and b/werkraum/common/resources/img/logo.png differ diff --git a/werkraum/login/resources/css/custom.css b/werkraum/login/resources/css/custom.css new file mode 100644 index 0000000..3682b41 --- /dev/null +++ b/werkraum/login/resources/css/custom.css @@ -0,0 +1,15 @@ +div.kc-logo-text { + background-image: url('../img/logo.png'); + background-size: 300px 150px; + background-repeat: no-repeat; + height: 150px; + width: 300px; + margin: 0 auto; +} +div.kc-logo-text span { + display: none; +} + +body.login-pf { + background: url('../img/background.jpg') no-repeat center center fixed !important; +} diff --git a/werkraum/login/theme.properties b/werkraum/login/theme.properties new file mode 100644 index 0000000..51ecd55 --- /dev/null +++ b/werkraum/login/theme.properties @@ -0,0 +1,5 @@ +parent=keycloak +import=common/werkraum + +styles=styles=web_modules/@fontawesome/fontawesome-free/css/icons/all.css web_modules/@patternfly/react-core/dist/styles/base.css web_modules/@patternfly/react-core/dist/styles/app.css node_modules/patternfly/dist/css/patternfly.min.css node_modules/patternfly/dist/css/patternfly-additions.min.css css/login.css css/custom.css +logo=/img/logo.png