@@ -37,7 +37,7 @@ sample image usage
3737*/
3838
3939/* Turn off logo text */
40- . kc-logo-text {
40+ # kc-header {
4141 display : none;
4242}
4343
@@ -56,7 +56,7 @@ sample image usage
5656
5757.login-pf-page .card-pf {
5858 background : # 161616 ;
59- margin : auto auto;
59+ margin : 60 px auto auto auto;
6060 max-width : 500px ;
6161}
6262
@@ -66,7 +66,7 @@ sample image usage
6666 color : # c6c6c6 ;
6767}
6868
69- # username , # password {
69+ # username , # password , # password-new , # password-confirm {
7070 background-color : # 262626 ;
7171 background : # 262626 ;
7272 font-size : .875rem ;
@@ -82,31 +82,40 @@ sample image usage
8282 color : # f4f4f4 ;
8383}
8484
85+ # username [aria-invalid = true ], # password [aria-invalid = true ] {
86+ border : none;
87+ border : 2px solid # ffb3b8 ;
88+ }
89+
90+ # input-error {
91+ color : # ffb3b8 ;
92+ }
93+
8594/* input fields */
86- # username : focus , # password : focus {
95+ # username : focus , # password : focus , # password-new : focus , # password-confirm : focus {
8796 outline : 2px solid # fff ;
8897 outline-offset : -2px ;
8998}
9099
91- /* login button */
92- # kc-login {
100+ /* login button and submit button */
101+ # kc-login , . pf-c-button . pf-m-primary . pf-m-block . btn-lg {
93102 border : 1px solid transparent;
94103 background-color : # 0f62fe ;
95104 color : # fff ;
96105 min-height : 3rem ;
97106 cursor : pointer;
98- text-align : left ;
107+ text-align : center ;
99108 font-size : .875rem ;
100109 font-weight : 300 ;
101110 letter-spacing : .16px ;
102111 outline : none;
103112}
104113
105- # kc-login : hover {
114+ # kc-login : hover , . pf-c-button . pf-m-primary . pf-m-block . btn-lg : hover {
106115 background-color : # 0353e9
107116}
108117
109- # kc-login : focus {
118+ # kc-login : focus , . pf-c-button . pf-m-primary . pf-m-block . btn-lg : hover {
110119 border-color : # fff ;
111120 box-shadow : inset 0 0 0 1px # fff, inset 0 0 0 2px # 161616 ;
112121}
@@ -181,3 +190,46 @@ sample image usage
181190a : visited , : active {
182191 text-decoration : none;
183192}
193+
194+ /* Warning dialog - required for set new password */
195+ .alert-warning .pf-c-alert .pf-m-inline .pf-m-warning {
196+ background : # f4f4f4 ;
197+ border-left : 3px solid # f1c21b ;
198+ border-top : none;
199+
200+ }
201+
202+ .alert-warning .pf-c-alert .pf-m-inline .pf-m-warning .pf-c-alert__icon {
203+ color : # f1c21b ;
204+ font-size : .875rem ;
205+ font-weight : 600 ;
206+ line-height : 1.28572 ;
207+ letter-spacing : .16px ;
208+ margin : 0 .25rem 0 0 ;
209+ }
210+
211+ .pf-c-alert__title .kc-feedback-text {
212+ color : # 161616 ;
213+ font-size : .875rem ;
214+ font-weight : 600 ;
215+ line-height : 1.28572 ;
216+ letter-spacing : .16px ;
217+ margin : 0 .25rem 0 0 ;
218+ }
219+
220+ /* error dialog */
221+ .alert-error .pf-c-alert .pf-m-inline .pf-m-danger {
222+ background : # f4f4f4 ;
223+ color : # 161616 ;
224+ border-left : 3px solid # da1e28 ;
225+ border-top : none;
226+ font-size : .875rem ;
227+ font-weight : 600 ;
228+ line-height : 1.28572 ;
229+ letter-spacing : .16px ;
230+ margin : 0 .25rem 0 0 ;
231+ }
232+
233+ # kc-form-options .checkbox {
234+ margin-bottom : 20px ;
235+ }
0 commit comments