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 . ./minify-css 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
Hashes for djangocms_simple_admin_style-0.4.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2d0f8d96f338a42791015e9f6c605f8cac62e7aa2c64e6fbaaa34168b0dc01e |
|
MD5 | 74b6e7a7a9ad2fee32460718416f4491 |
|
BLAKE2b-256 | 91807550f918340b15b308ab64e4c4eb489c6c5646b5d34137bc9b13b7e00e04 |
Hashes for djangocms_simple_admin_style-0.4.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 733fd597ee49ddb5e3ea5e998d013ef4d0bb21336ec3e5bb9402c701bfa5b117 |
|
MD5 | 4e039196e1ca18801720847944a612ac |
|
BLAKE2b-256 | 82755e45c15ce1e6dd69590df72ee1652b5c41087b75e2ac58da419d1847d957 |