diff --git a/cwchristerw/login/resources/css/cwchristerw.css b/cwchristerw/login/resources/css/cwchristerw.css new file mode 100644 index 0000000..2272260 --- /dev/null +++ b/cwchristerw/login/resources/css/cwchristerw.css @@ -0,0 +1,56 @@ +body { + background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/galaxy-2643089-low.jpg") !important; + background-color: #111111; + background-repeat: no-repeat; + background-position: center; + background-size: cover !important; +} + +@font-face { + font-family: "Akashi"; + src: url('../fonts/Akashi.ttf'); +} + +#kc-header-wrapper { + font-family: "Akashi", sans-serif; +} + +@media (max-width: 767px){ + #kc-header { + text-align: center; + } + + #kc-header-wrapper { + color: inherit; + font-size: 29px; + padding: 62px 10px 20px; + } + + div.kc-logo-text { + height: 63px; + width: 300px; + margin: auto; + } + + .login-pf body { + background: url("../img/keycloak-bg.png") no-repeat center center fixed; + } + + .login-pf-page { + margin: 20px; + } + + .login-pf-page .card-pf { + max-width: 500px; + margin-left: auto; + margin-right: auto; + padding-top: 10px; + border-top: 4px solid; + border-color: var(--pf-global--primary-color--100); + } +} + +#social-warengroup .kc-social-provider-name, #social-cwchristerw .kc-social-provider-name { + font-family: "Akashi", sans-serif; + color: #000000; +} diff --git a/cwchristerw/login/resources/fonts/Akashi.ttf b/cwchristerw/login/resources/fonts/Akashi.ttf new file mode 100755 index 0000000..fd2d3ca Binary files /dev/null and b/cwchristerw/login/resources/fonts/Akashi.ttf differ diff --git a/cwchristerw/login/resources/img/favicon.ico b/cwchristerw/login/resources/img/favicon.ico new file mode 100644 index 0000000..3a2a8df Binary files /dev/null and b/cwchristerw/login/resources/img/favicon.ico differ diff --git a/cwchristerw/login/resources/img/galaxy-2643089-low.jpg b/cwchristerw/login/resources/img/galaxy-2643089-low.jpg new file mode 100644 index 0000000..8aa2a4d Binary files /dev/null and b/cwchristerw/login/resources/img/galaxy-2643089-low.jpg differ diff --git a/cwchristerw/login/resources/img/galaxy-2643089.jpg b/cwchristerw/login/resources/img/galaxy-2643089.jpg new file mode 100644 index 0000000..16236d7 Binary files /dev/null and b/cwchristerw/login/resources/img/galaxy-2643089.jpg differ diff --git a/cwchristerw/login/theme.properties b/cwchristerw/login/theme.properties new file mode 100644 index 0000000..653941b --- /dev/null +++ b/cwchristerw/login/theme.properties @@ -0,0 +1,2 @@ +parent=keycloak +styles=css/login.css css/tile.css css/cwchristerw.css diff --git a/cwchristerw/welcome/index.ftl b/cwchristerw/welcome/index.ftl new file mode 100755 index 0000000..8e31029 --- /dev/null +++ b/cwchristerw/welcome/index.ftl @@ -0,0 +1,33 @@ + + + + Christer Warén - SSO + + + + + + + + <#if properties.styles?has_content> + <#list properties.styles?split(' ') as style> + + + + + + +
+

Christer Warén

+

Single Sign-On

+
+
+ Administration Console +
+ Website +
+ + + diff --git a/cwchristerw/welcome/resources/css/cwchristerw.css b/cwchristerw/welcome/resources/css/cwchristerw.css new file mode 100644 index 0000000..71526c5 --- /dev/null +++ b/cwchristerw/welcome/resources/css/cwchristerw.css @@ -0,0 +1,60 @@ +body { + background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/galaxy-2643089-low.jpg") !important; + background-repeat: no-repeat; + background-position: center; + background-size: cover !important; + background-color: #111111; + align-items: center; + justify-content: center; + width: 100vw; + height: 100vh; + text-align: center; +} + +*, *:active, *:focus, *:hover, *:visited, *:link { + color: #ffffff; + text-decoration: none; + font-family: "Akashi", sans-serif; +} + +@font-face { + font-family: "Akashi"; + src: url('../fonts/Akashi.ttf'); +} + +body, main { + display: flex; + flex-direction: column; +} + +p, main a { + font-weight: bold; + font-size: 1.5em; +} + +h1 { + font-size: 3em; + margin-bottom: 0; +} + +p { + margin: 0; +} + +hr { + width: 100%; + margin: 0; +} + +main { + margin-top: 50px; + margin-bottom: 50px; +} + +main a { + padding: 10px 20px; +} + +main a:hover { + background-color: #ffffff14; +} diff --git a/cwchristerw/welcome/resources/fonts/Akashi.ttf b/cwchristerw/welcome/resources/fonts/Akashi.ttf new file mode 100755 index 0000000..fd2d3ca Binary files /dev/null and b/cwchristerw/welcome/resources/fonts/Akashi.ttf differ diff --git a/cwchristerw/welcome/resources/img/favicon.ico b/cwchristerw/welcome/resources/img/favicon.ico new file mode 100644 index 0000000..3a2a8df Binary files /dev/null and b/cwchristerw/welcome/resources/img/favicon.ico differ diff --git a/cwchristerw/welcome/resources/img/galaxy-2643089-low.jpg b/cwchristerw/welcome/resources/img/galaxy-2643089-low.jpg new file mode 100644 index 0000000..8aa2a4d Binary files /dev/null and b/cwchristerw/welcome/resources/img/galaxy-2643089-low.jpg differ diff --git a/cwchristerw/welcome/resources/img/galaxy-2643089.jpg b/cwchristerw/welcome/resources/img/galaxy-2643089.jpg new file mode 100644 index 0000000..16236d7 Binary files /dev/null and b/cwchristerw/welcome/resources/img/galaxy-2643089.jpg differ diff --git a/cwchristerw/welcome/theme.properties b/cwchristerw/welcome/theme.properties new file mode 100755 index 0000000..09798d0 --- /dev/null +++ b/cwchristerw/welcome/theme.properties @@ -0,0 +1,2 @@ +parent=keycloak +styles=css/cwchristerw.css