-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
119 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
FROM busybox | ||
COPY fairspace_theme /fairspace_theme |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
TODO: document custom themes here... |
62 changes: 62 additions & 0 deletions
62
themes/fairspace_theme/login/resources/css/fairspace/login.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
/*# Overwrites login page style of keycloak theme. | ||
See: https://github.com/keycloak/keycloak/blob/main/themes/src/main/resources/theme/keycloak/login/resources/css/login.css */ | ||
|
||
:root { | ||
--kc-blue-light: rgba(106,134,232,1); | ||
--kc-blue-light-transp-25: rgba(106,134,232,0.25); | ||
--kc-blue-medium: rgba(52,95,157,1); | ||
--kc-blue-dark: rgba(8,65,92,1); | ||
} | ||
|
||
.login-pf body { | ||
background: radial-gradient(circle, var(--kc-blue-light) 5%, var(--kc-blue-medium) 25%, var(--kc-blue-dark) 75%); | ||
background-size: cover; | ||
height: 100%; | ||
} | ||
|
||
#kc-header-wrapper { | ||
padding: 30px 10px 0; | ||
} | ||
|
||
div.kc-logo-text { | ||
background-image: url(../../img/fairspace_logo_white.png); | ||
background-size: contain; | ||
background-position: center; | ||
background-repeat: no-repeat; | ||
height: 100px; | ||
margin: 0 auto; | ||
} | ||
|
||
.card-pf { | ||
color: white; | ||
margin: 0 auto; | ||
box-shadow: none; | ||
max-width: 500px; | ||
border: 1px solid; | ||
border-radius: 25px; | ||
border-color: var(--kc-blue-light-transp-25); | ||
background-color: var(--kc-blue-light-transp-25); | ||
} | ||
|
||
.login-pf-page .card-pf { | ||
padding: 60px 30px 70px; | ||
} | ||
|
||
.login-pf-page .login-pf-header h1 { | ||
text-align: left; | ||
font-weight: bold; | ||
} | ||
|
||
.pf-c-button.pf-m-primary { | ||
background-color: var(--kc-blue-dark); | ||
border-radius: 5px; | ||
} | ||
|
||
#kc-form-buttons { | ||
padding-top: 20px; | ||
padding-bottom: 20px; | ||
} | ||
|
||
.pf-c-form-control:not(textarea) { | ||
border-radius: 5px; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Copy of Keycloak theme with customisations for Fairspace. | ||
parent=keycloak | ||
import=common/keycloak | ||
|
||
styles=css/login.css css/fairspace/login.css | ||
kcLogoLink=https://thehyve.nl/services/fairspace |