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.1.0.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for djangocms_simple_admin_style-1.1.0.tar.gz
Algorithm Hash digest
SHA256 4e5ce837aba7871f15d87eb4e52cbd7e9b444fe9c6ccc4487d1b5584cac37af4
MD5 ed9ea4bdd7569ee066b35f18cb4cc1ee
BLAKE2b-256 8e092c2e88dadbd96a51454e7d7bae601bac43292c80aef72d505076cd0030a1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for djangocms_simple_admin_style-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c6b9f2c27a21cf9db03e29a2df09a36622816027f0a68258972b1e58de796511
MD5 db535492fefc6fdf7b3a34af3b285654
BLAKE2b-256 e5499f93742640fdbb92096d1d6e24447e78121ddf082a0c8e0c6dd35d9a7851

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