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

Refactor admin CSS and LSB files #1294

Merged
merged 3 commits into from
Mar 19, 2023
Merged

Refactor admin CSS and LSB files #1294

merged 3 commits into from
Mar 19, 2023

Conversation

herrvigg
Copy link
Collaborator

@herrvigg herrvigg commented Mar 19, 2023

The CSS files for LSB should not be processed and embedded every time. This complicates the code and it's not efficient for the cache.
Load the LSB CSS as files as it's not dependent on embedded code (for user color).
Enable localization of LSB options.
Rename the CSS files in lower case separated by hyphens.
Rename the main qtranslate_configuration.css as admin.css.
Tidy up highlight CSS code.

The CSS files for LSB should not be processed and embedded every time.
This complicates the code and it's not efficient for the cache.

Take the LSB CSS out of the embedded CSS and load them as CSS files.

Rename the CSS files in lower case separated by hyphens.

Rename the main `qtranslate_configuration.css` as `admin.css`.
@herrvigg herrvigg added the core Core functionalities, including the admin section label Mar 19, 2023
@herrvigg herrvigg merged commit c14c2db into master Mar 19, 2023
@herrvigg herrvigg deleted the lsb-css branch March 19, 2023 22:57
herrvigg added a commit that referenced this pull request Mar 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Core functionalities, including the admin section
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant