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.1.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.1-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for djangocms_simple_admin_style-2.0.1.tar.gz
Algorithm Hash digest
SHA256 039febe6ab67bcd422f3f9750c9b2896fa9f8ef8178bb2fc6bba6788aa807aff
MD5 b57c2e4c2501309588e3397234d619db
BLAKE2b-256 d865e92bfee319fa2367e2654ebf211e67b0f4332137b5ee91161df22121a61f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for djangocms_simple_admin_style-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4fd271a8acd64088c61f23843530507ec5eda76190480e729e55b8221c42091e
MD5 60b11ae57d93cd87a150c78ef9f7c970
BLAKE2b-256 0b6393d79006f7d29ea8cea27fad632483f79436df74aa06f7940091488993be

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