-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: update lock-file version * feat: apollusia theme keycloak * feat: bootstrap 5 * feat: use nx-sass * fix(keycloak): Use correct paths * refactor: use build in keycloak package.json * style: basic card design * style: remove header-wrapper and add kc-page-title * style: background and use primary * refactor: remove bootstrap 5 * feat: add favicon * style: social provider buttons * style: flex start * feat: copy fonts * style: facebook, google, github, twitter * style(refactor): use extend bi in fa * style(refactor): remove .scss suffix * fix: remove cpx * fix: use assets instead of copy * fix: broken pnpm-lock.yaml --------- Co-authored-by: Adrian Kunz <clashsoft@hotmail.com>
- Loading branch information
Showing
12 changed files
with
642 additions
and
30 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,4 +41,4 @@ Thumbs.db | |
.angular | ||
.env | ||
|
||
.nx/cache | ||
.nx/cache |
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,17 @@ | ||
{ | ||
"ignoreFiles": [ | ||
"**/*" | ||
], | ||
"overrides": [ | ||
{ | ||
"files": [ | ||
"**/*.scss" | ||
], | ||
"extends": [ | ||
"stylelint-config-standard-scss" | ||
], | ||
"rules": {} | ||
} | ||
], | ||
"rules": {} | ||
} |
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 @@ | ||
common/resources/css | ||
common/resources/fonts |
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,16 @@ | ||
{ | ||
"extends": [ | ||
"../../.stylelintrc.json" | ||
], | ||
"ignoreFiles": [ | ||
"!**/*" | ||
], | ||
"overrides": [ | ||
{ | ||
"files": [ | ||
"**/*.scss" | ||
], | ||
"rules": {} | ||
} | ||
] | ||
} |
Binary file not shown.
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,4 @@ | ||
parent=keycloak | ||
import=common/apollusia | ||
styles=css/styles.css | ||
stylesCommon= |
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,59 @@ | ||
{ | ||
"name": "keycloak", | ||
"$schema": "../../node_modules/nx/schemas/project-schema.json", | ||
"projectType": "library", | ||
"sourceRoot": "libs/keycloak", | ||
"targets": { | ||
"build": { | ||
"executor": "@gitopslovers/nx-sass:compiler", | ||
"outputs": [ | ||
"{options.outputPath}" | ||
], | ||
"options": { | ||
"outputPath": "libs/keycloak/common/resources/css/", | ||
"main": "libs/keycloak/src/theme.scss", | ||
"sourceMap": true, | ||
"assets": [ | ||
{ | ||
"glob": "**/*.{woff,woff2}", | ||
"input": "../../node_modules/bootstrap-icons/font/fonts", | ||
"output": "libs/keycloak/common/resources/css/fonts" | ||
} | ||
] | ||
}, | ||
"configurations": { | ||
"production": {}, | ||
"development": {} | ||
}, | ||
"defaultConfiguration": "production" | ||
}, | ||
"serve": { | ||
"executor": "@gitopslovers/nx-sass:compiler", | ||
"options": { | ||
"watch": true, | ||
"outputPath": "libs/keycloak/common/resources/css/", | ||
"main": "libs/keycloak/src/theme.scss", | ||
"sourceMap": true, | ||
"assets": [ | ||
{ | ||
"glob": "**/*.{woff,woff2}", | ||
"input": "../../node_modules/bootstrap-icons/font/fonts", | ||
"output": "libs/keycloak/common/resources/css/fonts" | ||
} | ||
] | ||
} | ||
}, | ||
"lint": { | ||
"executor": "nx-stylelint:lint", | ||
"outputs": [ | ||
"{options.outputFile}" | ||
], | ||
"options": { | ||
"lintFilePatterns": [ | ||
"libs/keycloak/src/**/*.scss" | ||
], | ||
"formatter": "compact" | ||
} | ||
} | ||
} | ||
} |
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,146 @@ | ||
/* Color palette */ | ||
$french-violet: #7b2cbfff; | ||
$amethyst: #9d4eddff; | ||
$white: #ffffff; | ||
$facebook: #1877f2; | ||
$google: #ea4335; | ||
$github: #333333; | ||
$twitter: #1da1f2; | ||
|
||
/* overrides */ | ||
$primary: $french-violet; | ||
|
||
@font-face { | ||
font-family: 'bootstrap-icons'; | ||
src: url('fonts/bootstrap-icons.woff') format('woff'), | ||
url('fonts/bootstrap-icons.woff2') format('woff2'); | ||
font-weight: normal; | ||
font-style: normal; | ||
} | ||
|
||
/* imports */ | ||
@import "../../../node_modules/bootstrap/scss/bootstrap"; | ||
@import "../../../node_modules/bootstrap-icons/font/bootstrap-icons"; | ||
|
||
html, body { | ||
height: 100%; | ||
} | ||
|
||
body { | ||
display: flex; | ||
background: url('../img/keycloak-bg.png') no-repeat center center fixed, rgba($amethyst, 0.5); | ||
background-blend-mode: multiply; | ||
background-size: cover; | ||
} | ||
|
||
#kc-header-wrapper { | ||
display: none; | ||
} | ||
|
||
.login-pf-page-header { | ||
@extend .text-center; | ||
@extend .h1; | ||
@extend .text-light; | ||
} | ||
|
||
.login-pf-page { | ||
@extend .container; | ||
@extend .align-self-center; | ||
} | ||
|
||
.card-pf { | ||
@extend .card; | ||
border: none; | ||
width: 50%; | ||
height: auto; | ||
margin: auto; | ||
} | ||
|
||
.login-pf-header { | ||
@extend .card-header; | ||
background-color: $primary; | ||
color: $white; | ||
} | ||
|
||
#kc-page-title { | ||
@extend .card-title; | ||
@extend .h3; | ||
} | ||
|
||
#kc-content { | ||
@extend .card-body; | ||
} | ||
|
||
.pf-c-form-control { | ||
@extend .form-control; | ||
} | ||
|
||
.pf-c-button { | ||
@extend .btn; | ||
} | ||
|
||
.pf-c-button.pf-m-primary { | ||
@extend .btn-primary; | ||
} | ||
|
||
#kc-social-providers { | ||
h2 { | ||
@extend .h4; | ||
} | ||
|
||
ul { | ||
list-style-type: none; | ||
padding: 0; | ||
} | ||
} | ||
|
||
.kc-social-item { | ||
@extend .btn; | ||
@extend .btn-primary; | ||
@extend .mb-3; | ||
@extend .w-100; | ||
@extend .border-0; | ||
display: flex; | ||
justify-content: flex-start; | ||
|
||
.fa { | ||
@extend .bi; | ||
@extend .me-2; | ||
} | ||
} | ||
|
||
#social-facebook { | ||
@extend .kc-social-item; | ||
background-color: $facebook; | ||
|
||
.fa-facebook { | ||
@extend .bi-facebook; | ||
} | ||
} | ||
|
||
#social-github { | ||
@extend .kc-social-item; | ||
background-color: $github; | ||
|
||
.fa-github { | ||
@extend .bi-github; | ||
} | ||
} | ||
|
||
#social-google { | ||
@extend .kc-social-item; | ||
background-color: $google; | ||
|
||
.fa-google { | ||
@extend .bi-google; | ||
} | ||
} | ||
|
||
#social-twitter { | ||
@extend .kc-social-item; | ||
background-color: $twitter; | ||
|
||
.fa-twitter { | ||
@extend .bi-twitter; | ||
} | ||
} |
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
Oops, something went wrong.