The Django CMS Simple Admin Style is a lightweight alternative to the comprehensive Django CMS Admin Style. Its goal is to refine the Django CMS interface with minimalistic changes:
- Standardizing color schemes with Django CMS.
- Making minimal CSS adjustments like adding button borders for interface consistency.
- Restraining from interfering with Django's admin styling.
- Removing headers from Django CMS' sidebar and modal.
All stylesheets are combined into a single CSS file under 10kB.
The Django CMS Simple Admin Style uses CSS nesting to maintain a small stylesheet size, which makes it incompatible with Internet Explorer. It does work with all current versions of modern browsers. Visit CanIUse for more information on CSS features compatibility.
For a manual installation:
- Run
pip install djangocms-simple-admin-style - Add
djangocms_simple_admin_styleto yourINSTALLED_APPSjust before'django.contrib.admin'
While the Django CMS Simple Admin Style overrides Django admin's base_site.html, you can still
customize this page using the source of templates/admin/base_site.html and override the templates
included in various blocks. For instance, you can insert your own CSS in templates/admin/inc/extrastyle.html.
The following additional settings can be set:
- CMS_ENABLE_UPDATE_CHECK = True Set to False to disable the update notification.
- CMS_UPDATE_CHECK_TYPE = 'patch' Set to 'patch' to get only patch notifications. (major = x.x.x, minor = 5.x.x, patch = 5.0.x)
The update checker does not gather or record any data - however, it does query pypi.org for the latest version number.
To contribute:
- Set up the development environment with
nvm useandnpm install. - Changes should be made in
private/djangocms-simple-admin.css. - Use
. ./minify-cssto minify the updated CSS file.
djangocms-simple-admin-style uses icons from Bootstrap Icons. These icons are licensed under MIT License.