forked from pathwar/pathwar
-
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.
feat: add pathwar theme for keycloak (pathwar#98)
feat: add pathwar theme for keycloak
- Loading branch information
Showing
140 changed files
with
72,174 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Pathwar Theme |
277 changes: 277 additions & 0 deletions
277
.prod/keycloak/themes/pathwar/account/resources/css/account.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,277 @@ | ||
html { | ||
height: 100%; | ||
} | ||
|
||
body { | ||
background-color: #F9F9F9; | ||
margin: 0; | ||
padding: 0; | ||
height: 100%; | ||
} | ||
|
||
header .navbar { | ||
margin-bottom: 0; | ||
min-height: inherit; | ||
} | ||
|
||
.header .container { | ||
position: relative; | ||
} | ||
|
||
.navbar-title { | ||
background-image: url('../img/logo.png'); | ||
height: 25px; | ||
background-repeat: no-repeat; | ||
width: 123px; | ||
margin: 3px 10px 5px; | ||
text-indent: -99999px; | ||
} | ||
|
||
.navbar-pf .navbar-utility { | ||
right: 20px; | ||
top: -34px; | ||
font-size: 12px; | ||
} | ||
|
||
.navbar-pf .navbar-utility > li > a { | ||
color: #fff !important; | ||
padding-bottom: 12px; | ||
padding-top: 11px; | ||
border-left: medium none; | ||
} | ||
|
||
.container { | ||
height: 100%; | ||
} | ||
|
||
.content-area { | ||
background-color: #fff; | ||
border-color: #CECECE; | ||
border-style: solid; | ||
border-width: 0 1px; | ||
height: 100%; | ||
padding: 0 30px; | ||
} | ||
|
||
.margin-bottom { | ||
margin-bottom: 10px; | ||
} | ||
|
||
/* Sidebar */ | ||
|
||
.bs-sidebar { | ||
background-color: #f9f9f9; | ||
padding-top: 44px; | ||
padding-right: 0; | ||
padding-left: 0; | ||
z-index: 20; | ||
} | ||
.bs-sidebar ul { | ||
list-style: none; | ||
padding-left: 12px; | ||
} | ||
|
||
.bs-sidebar ul li { | ||
margin-bottom: 0.5em; | ||
margin-left: -1em; | ||
} | ||
.bs-sidebar ul li a { | ||
font-size: 14px; | ||
padding-left: 25px; | ||
color: #4d5258; | ||
line-height: 28px; | ||
display: block; | ||
border-width: 1px 0 1px 1px; | ||
border-style: solid; | ||
border-color: #f9f9f9; | ||
} | ||
.bs-sidebar ul li a:hover, | ||
.bs-sidebar ul li a:focus { | ||
text-decoration: none; | ||
color: #777777; | ||
border-right: 2px solid #aaa; | ||
} | ||
.bs-sidebar ul li.active a { | ||
background-color: #c7e5f0; | ||
border-color: #56bae0; | ||
font-weight: bold; | ||
background-image: url(../img/icon-sidebar-active.png); | ||
background-repeat: no-repeat; | ||
background-position: right center; | ||
} | ||
|
||
.bs-sidebar ul li.active a:hover { | ||
border-right: none; | ||
} | ||
|
||
|
||
.content-area h2 { | ||
font-family: "Open Sans", sans-serif; | ||
font-weight: 100; | ||
font-size: 24px; | ||
margin-bottom: 25px; | ||
margin-top: 25px; | ||
} | ||
|
||
.subtitle { | ||
text-align: right; | ||
margin-top: 30px; | ||
color: #909090; | ||
} | ||
|
||
.required { | ||
color: #CB2915; | ||
} | ||
|
||
|
||
.alert { | ||
margin-top: 30px; | ||
margin-bottom: 0; | ||
} | ||
|
||
.feedback-aligner .alert { | ||
background-position: 1.27273em center; | ||
background-repeat: no-repeat; | ||
border-radius: 2px; | ||
border-width: 1px; | ||
color: #4D5258; | ||
display: inline-block; | ||
font-size: 1.1em; | ||
line-height: 1.4em; | ||
margin: 0; | ||
padding: 0.909091em 3.63636em; | ||
position: relative; | ||
text-align: left; | ||
} | ||
.alert.alert-success { | ||
background-color: #E4F1E1; | ||
border-color: #4B9E39; | ||
} | ||
.alert.alert-error { | ||
background-color: #F8E7E7; | ||
border-color: #B91415; | ||
} | ||
.alert.alert-warning { | ||
background-color: #FEF1E9; | ||
border-color: #F17528; | ||
} | ||
.alert.alert-info { | ||
background-color: #E4F3FA; | ||
border-color: #5994B2; | ||
} | ||
|
||
.form-horizontal { | ||
border-top: 1px solid #E9E8E8; | ||
padding-top: 23px; | ||
} | ||
|
||
.form-horizontal .control-label { | ||
color: #909090; | ||
line-height: 1.4em; | ||
padding-top: 5px; | ||
position: relative; | ||
text-align: right; | ||
width: 100%; | ||
} | ||
|
||
.form-group { | ||
position: relative; | ||
} | ||
|
||
.control-label + .required { | ||
position: absolute; | ||
right: -2px; | ||
top: 0; | ||
} | ||
|
||
#kc-form-buttons { | ||
text-align: right; | ||
margin-top: 10px; | ||
} | ||
|
||
#kc-form-buttons .btn-primary { | ||
float: right; | ||
margin-left: 8px; | ||
} | ||
|
||
/* Authenticator page */ | ||
|
||
ol { | ||
padding-left: 40px; | ||
} | ||
|
||
ol li { | ||
font-size: 13px; | ||
margin-bottom: 10px; | ||
position: relative; | ||
} | ||
|
||
ol li img { | ||
margin-top: 15px; | ||
margin-bottom: 5px; | ||
border: 1px solid #eee; | ||
} | ||
|
||
hr + .form-horizontal { | ||
border: none; | ||
padding-top: 0; | ||
} | ||
|
||
.kc-dropdown{ | ||
position: relative; | ||
} | ||
.kc-dropdown > a{ | ||
display:block; | ||
padding: 11px 10px 12px; | ||
line-height: 12px; | ||
font-size: 12px; | ||
color: #fff !important; | ||
text-decoration: none; | ||
} | ||
.kc-dropdown > a::after{ | ||
content: "\2c5"; | ||
margin-left: 4px; | ||
} | ||
.kc-dropdown:hover > a{ | ||
background-color: rgba(0,0,0,0.2); | ||
} | ||
.kc-dropdown ul li a{ | ||
padding: 1px 11px; | ||
font-size: 12px; | ||
color: #000 !important; | ||
border: 1px solid #fff; | ||
text-decoration: none; | ||
display:block; | ||
line-height: 20px; | ||
} | ||
.kc-dropdown ul li a:hover{ | ||
color: #4d5258; | ||
background-color: #d4edfa; | ||
border-color: #b3d3e7; | ||
} | ||
.kc-dropdown ul{ | ||
position: absolute; | ||
z-index: 2000; | ||
list-style:none; | ||
display:none; | ||
padding: 5px 0px; | ||
margin: 0px; | ||
background-color: #fff !important; | ||
border: 1px solid #b6b6b6; | ||
border-radius: 1px; | ||
-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); | ||
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); | ||
background-clip: padding-box; | ||
min-width: 100px; | ||
} | ||
.kc-dropdown:hover ul{ | ||
display:block; | ||
} | ||
|
||
|
||
#kc-totp-secret-key { | ||
border: 1px solid #eee; | ||
font-size: 16px; | ||
padding: 10px; | ||
margin: 50px 0; | ||
} |
Binary file not shown.
Binary file added
BIN
+202 Bytes
.prod/keycloak/themes/pathwar/account/resources/img/icon-sidebar-active.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.09 KB
.prod/keycloak/themes/pathwar/account/resources/img/keycloak-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,13 @@ | ||
parent=base | ||
import=common/keycloak | ||
|
||
styles=lib/patternfly/css/patternfly.css css/account.css | ||
|
||
##### css classes for form buttons | ||
# main class used for all buttons | ||
kcButtonClass=btn | ||
# classes defining priority of the button - primary or default (there is typically only one priority button for the form) | ||
kcButtonPrimaryClass=btn-primary | ||
kcButtonDefaultClass=btn-default | ||
# classes defining size of the button | ||
kcButtonLargeClass=btn-lg |
Oops, something went wrong.