Skip to content

Latest commit

 

History

History
48 lines (37 loc) · 2.31 KB

README.rst

File metadata and controls

48 lines (37 loc) · 2.31 KB

Django CMS Simple Admin Style

pypi django djangocms djangocms4

Overview

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.

Browser Support

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.

Installation

For a manual installation:

  • Run pip install djangocms-simple-admin-style
  • Add djangocms_simple_admin_style to your INSTALLED_APPS just before 'django.contrib.admin'

Customization

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.

Contributing

To contribute:

  • Set up the development environment with nvm use and npm install.
  • Changes should be made in private/djangocms-simple-admin.css.
  • Use . ./minify-css to minify the updated CSS file.