Skip to main content

Adds pretty CSS styles for the django CMS admin interface.

Project description

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

djangocms_simple_admin_style-1.0.5.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file djangocms_simple_admin_style-1.0.5.tar.gz.

File metadata

File hashes

Hashes for djangocms_simple_admin_style-1.0.5.tar.gz
Algorithm Hash digest
SHA256 4b75101a32d45ba5e451e8262eb754737813659cf6e6cb1bebbed64c711b4995
MD5 5a9919e43954925955ddf4d22a324724
BLAKE2b-256 c1fd5c0dfab73183b79d1cfd0fc0ab1223f104f63eb3bf248f5ceae59502942d

See more details on using hashes here.

File details

Details for the file djangocms_simple_admin_style-1.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for djangocms_simple_admin_style-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 89d5e0d72608c770e1d5203dc9f5ccebb8bbfd8056c037dd6c6b2d41133a288a
MD5 72a020aaba84bed09b0aff69b551adc2
BLAKE2b-256 b925d5e8cb8d60a5a6a8cf32abe3c17347d6f87a4fa3cf4cfc4341b1582544cb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page