Skip to content

Commit 8f104f4

Browse files
committed
sign in styling improvements
1 parent 3c2d61e commit 8f104f4

File tree

2 files changed

+97
-10
lines changed

2 files changed

+97
-10
lines changed

services/host-agent/web/static/authentik-branding.css

Lines changed: 96 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,32 +30,118 @@
3030
--ak-accent: #1C1917 !important;
3131
--ak-dark-foreground: #1C1917 !important;
3232

33+
/* Remove the default aerial photo background */
34+
--ak-flow-background: none !important;
35+
36+
/* Collapse the logo header area (logo is hidden) */
37+
--pf-c-login__main-header--PaddingTop: 0 !important;
38+
--pf-c-login__main-header--PaddingBottom: 0 !important;
39+
--pf-c-login__main-header--last-child--PaddingBottom: 0 !important;
40+
41+
/* PatternFly v4 variables (used by Authentik flow/login pages) */
42+
--pf-global--BackgroundColor--100: #FAF9F6 !important;
43+
--pf-global--BackgroundColor--200: #F5F4F1 !important;
44+
--pf-global--Color--100: #1C1917 !important;
45+
--pf-global--Color--200: #57534E !important;
46+
--pf-global--BorderColor--100: #E7E5E4 !important;
47+
--pf-global--BorderColor--200: #F0EFED !important;
48+
--pf-global--primary-color--100: #1C1917 !important;
49+
--pf-global--primary-color--200: #292524 !important;
50+
--pf-global--link--Color: #1C1917 !important;
51+
--pf-global--link--Color--hover: #292524 !important;
52+
--pf-global--success-color--100: #166534 !important;
53+
--pf-global--danger-color--100: #991B1B !important;
54+
--pf-global--warning-color--100: #92400E !important;
55+
--pf-global--info-color--100: #0C4A6E !important;
56+
57+
/* PatternFly v5 variables (used by Authentik admin pages) */
3358
--pf-v5-global--BackgroundColor--100: #FAF9F6 !important;
3459
--pf-v5-global--BackgroundColor--200: #F5F4F1 !important;
35-
3660
--pf-v5-global--Color--100: #1C1917 !important;
3761
--pf-v5-global--Color--200: #57534E !important;
38-
3962
--pf-v5-global--BorderColor--100: #E7E5E4 !important;
4063
--pf-v5-global--BorderColor--200: #F0EFED !important;
41-
42-
--pf-v5-global--success-color--100: #166534 !important;
43-
--pf-v5-global--danger-color--100: #991B1B !important;
44-
--pf-v5-global--warning-color--100: #92400E !important;
45-
--pf-v5-global--info-color--100: #0C4A6E !important;
46-
4764
--pf-v5-global--primary-color--100: #1C1917 !important;
4865
--pf-v5-global--primary-color--200: #292524 !important;
49-
5066
--pf-v5-global--link--Color: #1C1917 !important;
5167
--pf-v5-global--link--Color--hover: #292524 !important;
68+
--pf-v5-global--success-color--100: #166534 !important;
69+
--pf-v5-global--danger-color--100: #991B1B !important;
70+
--pf-v5-global--warning-color--100: #92400E !important;
71+
--pf-v5-global--info-color--100: #0C4A6E !important;
5272
}
5373

54-
h1, h2, h3, .pf-v5-c-title {
74+
h1, h2, h3, .pf-c-title, .pf-v5-c-title {
5575
font-family: 'Newsreader', Georgia, 'Times New Roman', serif !important;
5676
letter-spacing: -0.02em;
5777
}
5878

79+
/* Layout fixes */
80+
.ak-brand {
81+
display: none !important;
82+
}
83+
84+
.ak-login-container {
85+
height: unset !important;
86+
}
87+
88+
.pf-c-login {
89+
align-items: center !important;
90+
background: #FAF9F6 !important;
91+
}
92+
93+
.pf-c-login__main {
94+
background: #FFFFFF !important;
95+
border: 1px solid #E7E5E4 !important;
96+
border-radius: 8px !important;
97+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
98+
}
99+
100+
.pf-c-login__footer {
101+
display: none !important;
102+
}
103+
104+
.pf-c-avatar {
105+
display: none !important;
106+
}
107+
108+
.pf-c-button.pf-m-primary {
109+
background-color: #1C1917 !important;
110+
border-color: #1C1917 !important;
111+
border-radius: 6px !important;
112+
}
113+
114+
.pf-c-button.pf-m-primary:hover {
115+
background-color: #292524 !important;
116+
border-color: #292524 !important;
117+
}
118+
119+
.pf-c-form-control {
120+
border-radius: 6px !important;
121+
border-color: #E7E5E4 !important;
122+
}
123+
124+
.pf-c-card {
125+
border-radius: 8px !important;
126+
border: 1px solid #E7E5E4 !important;
127+
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
128+
}
129+
130+
.pf-c-page__sidebar {
131+
background: #FFFFFF !important;
132+
border-right: 1px solid #E7E5E4 !important;
133+
}
134+
135+
.pf-c-nav__link:hover {
136+
background: #F5F4F1 !important;
137+
}
138+
139+
.pf-c-nav__link.pf-m-current {
140+
background: #F5F4F1 !important;
141+
border-left-color: #1C1917 !important;
142+
}
143+
144+
/* PatternFly v5 (admin interface pages) */
59145
.pf-v5-c-login {
60146
background: #FAF9F6 !important;
61147
}
Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)