Skip to main content

Adds pretty CSS styles for the django CMS admin interface.

Project description

Latest PyPI version Django versions django CMS versions

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'

Configuration

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.

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.

Icons

djangocms-simple-admin-style uses icons from Bootstrap Icons. These icons are licensed under MIT License.

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

djangocms_simple_admin_style-2.0.2-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for djangocms_simple_admin_style-2.0.2.tar.gz
Algorithm Hash digest
SHA256 cc3c2bebb53d37bf1926fa42ddf94e8de7a0f2f11a84ccdf0ef212b8d20056aa
MD5 49d1bd18be740ffd86f127fdb778b19f
BLAKE2b-256 ee52da2592b989feaf751845f8fd6b1c97bee4657a5d774145a90b5f715df166

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for djangocms_simple_admin_style-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2198e18723780311d1c84e37472d3d676400cdbda550aafa92ff072e4fddde57
MD5 60da8cde9183a0aaa22985e99e262cdc
BLAKE2b-256 8fed5053243d4c8955258f46935f11fc16ad8425b7060c5d0ed044ff2122fd70

See more details on using hashes here.

Supported by

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