Adds pretty CSS styles for the django CMS admin interface.
Project description
This is a simple alternative for the django CMS Admin Style. While django CMS admin style reorganizes Django’s admin to offer a unified user experience, this package has a much simpler objective:
Adjust colors to be consistent with django CMS.
Minimally adapt the css (e.g., add button borders) to keep the user interface consistent.
Except this, avoid interfering with Django’s admin styling: no !important statements, for example.
Remove headers in django CMS’ sidebar
Remove headers, navigation and breadcrumbs in django CMS’ modal
Also, no javascript is needed and all CSS is contained in a simple CSS file with less than 10kB in size.
Documentation
See REQUIREMENTS in the setup.py file for additional dependencies:
Installation
For a manual install:
run pip install djangocms-simple-admin-style
add djangocms_simple_admin_style to your INSTALLED_APPS just before 'django.contrib.admin'
Configuration
The django CMS Admin Style overrides django admin’s base_site.html, but you can still partially customize this page. Look at the source of templates/admin/base_site.html and override the templates that are included in various blocks. For example, you can add your own CSS in templates/admin/inc/extrastyle.html.
Contributing
Contributions are highly welcome! Install the development environment by typing
nvm use
npm install
Changes are made in the private/djangocms-simple-admin.css file. Minify the file using . ./build command.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file djangocms-simple-admin-style-0.3.1.tar.gz
.
File metadata
- Download URL: djangocms-simple-admin-style-0.3.1.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bb1b5d9347f319dfb5c7e2b956a5474f990e4ac913d28e815148e923ab46e87 |
|
MD5 | 909086901a6804f08b48e5348d82621f |
|
BLAKE2b-256 | a471f161fa5d96316ebed9e732f0dce6d58bfed1a3c62531c5544ec683d8b22c |
File details
Details for the file djangocms_simple_admin_style-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: djangocms_simple_admin_style-0.3.1-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1365bb4505204e4629603222f8ca7836abd090b55c0911bd9ea9cfd1df103016 |
|
MD5 | 44aaf6c1bd0cde7df85e6e49b1447e0a |
|
BLAKE2b-256 | e40e0b8353fbf66b41e226627fbc0265aec34b0c55c33122df3dbdc524dac532 |