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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for djangocms_simple_admin_style-1.1.1.tar.gz
Algorithm Hash digest
SHA256 7105cff30a3df2d198dff301b33777555edb46fcac7492a6e587de9134dbe624
MD5 870cb6627cdb472832159f9fec500b65
BLAKE2b-256 3db73beaa6064e0cbfe4af9b680dfb5d7104b1f4dad42863a9a9579f2e2d49b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for djangocms_simple_admin_style-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1d8cf3733d6a62d6c33868b48a015b8ed641c227eaf4263aa1e0f0f08930bf40
MD5 5436ff959bf2d3ff58ec49f02739c4b2
BLAKE2b-256 f90d698cc85f7ab0e659d2135eb514e2b9bdbee46c470c80b84ddfe80ccfbf04

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