Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Example] Overwrite styling of the administration interface #75

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

niklasnatter
Copy link
Contributor

@niklasnatter niklasnatter commented Nov 2, 2020

What's in this PR?

This PR demonstrates how to overwrite/extend the default styling of the administration interface of Sulu.

Please be aware that the styling of the administration interface might change between different Sulu versions and therefore this might break when updating the sulu/sulu dependency of the project.

Screenshot 2020-09-29 at 14 34 56

To apply the changes, the administration frontend application needs to be rebuilt by executing bin/console sulu:admin:update-build.

Related:

Comment on lines +1 to +7
/* import original stylesheet to keep original styling */
@import 'sulu-admin-bundle/containers/Login/login.scss';

/* overwrite style for specific elements */
.login-container {
background-color: lightpink;
}
Copy link
Member

@alexander-schranz alexander-schranz Oct 27, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If there is a need to overwrite the colors.scss have a look at:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Example Example implementations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants