New custom CSS support is great #4831
Replies: 8 comments 21 replies
-
As I am unable to stop any changed URL for the background image, would you like to reveal a little more, how you change it? |
Beta Was this translation helpful? Give feedback.
-
@sevmonster line one imports from your website is this required as I like the rounded corners but hesitate to import external code dynamically to my authentication system? If required can you confirm what parts so one could include them in this and not import them? |
Beta Was this translation helpful? Give feedback.
-
If using docker images, is there something special I need to do to mount the custom.css? Do I have to build it again? I have mounted it into both server and worker... If I exec into each, it shows the file mounted correctly, but it is not applied. Any help would be greatly appreciated.
|
Beta Was this translation helpful? Give feedback.
-
Looks great! Thanks for sharing! I also extended the concept a bit by customising the "User Library" view in a similar way: E.g.: .pf-c-card,
.pf-c-expandable-section {
backdrop-filter: blur(25px);
border-radius: 7px 7px 7px 7px !important;
}
.pf-c-card {
background-color: #35353535 !important;
}
ak-expand,
.pf-c-expandable-section {
background-color: transparent !important;
}
.pf-c-expandable-section.pf-m-display-lg::after {
top: 5px;
bottom: 5px;
border-radius: 7px 7px 7px 7px !important;
transition: all 0.3s;
}
.pf-c-expandable-section.pf-m-expanded::after {
box-shadow: 1px 0px 4px #06c;
}
.pf-c-expandable-section button {
width: 100%;
}
.pf-c-sidebar__panel .pf-c-card {
background-color: #1c1e21 !important; /** Fix for /if/admin/#/core/applications Sidebar **/
} |
Beta Was this translation helpful? Give feedback.
-
@sevmonster |
Beta Was this translation helpful? Give feedback.
-
With latest authentik, not working properly: the exchanged background image for the login screen is shown briefly, but then authentik's own background is loaded. Anyone else seeing this behavior? |
Beta Was this translation helpful? Give feedback.
-
How do I override the link colour for the "Sign up" and "Forgot username or password?" links at the bottom of the log in dialog? I've attached a screenshot, where I have been able to change the button colour and I basically want the links at the bottom to match it. I have tried defining the variables --pf-global--link-color and --pf-global--link-hover in root within the CSS file where the other colours are defined based on the F12 tools in Firefox and Edge but the colour never changes. |
Beta Was this translation helpful? Give feedback.
-
Anyone has a style to increase icon sizes? SSO logos are tiny, I don't know if it's something with my installation or Firefox, logos are 24x24 |
Beta Was this translation helpful? Give feedback.
-
Thanks to #4804, we now have custom CSS that can touch every part of the DOM. With that, I started making my authentik look more like the new default look for Nextcloud, which is centered around a 25px frosted glass blur. Sadly, I had to do some hacky workarounds since authentik uses hex color values instead of RGB, but the end result is visual parity with Nextcloud.
Background is by David Groves on Unsplash. I have a cronjob to rotate the background for all my services every hour.
Screenshots
authentik
Nextcloud inspiration
CSS
I hereby release the below stylesheet into the public domain.
Beta Was this translation helpful? Give feedback.
All reactions