Skip to main content

Adds pretty CSS styles for the django CMS admin interface.

Project description

pypi django djangocms djangocms4

This is a simple alternative for the django CMS Admin Style. While django CMS admin style reorganizes Django’s admin to offer a unified user experience, this package has a much simpler objective:

  • Adjust colors to be consistent with django CMS.

  • Minimally adapt the css (e.g., add button borders) to keep the user interface consistent.

  • Except this, avoid interfering with Django’s admin styling: no !important statements, for example.

  • Remove headers in django CMS’ sidebar

  • Remove headers, navigation and breadcrumbs in django CMS’ modal

Also, no javascript is needed and all CSS is contained in a simple CSS file with less than 10kB in size.

Documentation

See REQUIREMENTS in the setup.py file for additional dependencies:

Installation

For a manual install:

  • run pip install djangocms-simple-admin-style

  • add djangocms_simple_admin_style to your INSTALLED_APPS just before 'django.contrib.admin'

Configuration

The django CMS Admin Style overrides django admin’s base_site.html, but you can still partially customize this page. Look at the source of templates/admin/base_site.html and override the templates that are included in various blocks. For example, you can add your own CSS in templates/admin/inc/extrastyle.html.

Contributing

Contributions are highly welcome! Install the development environment by typing

nvm use
npm install

Changes are made in the private/djangocms-simple-admin.css file. Minify the file using . ./minify-css command.

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

Uploaded Source

Built Distribution

File details

Details for the file djangocms-simple-admin-style-0.4.2.tar.gz.

File metadata

File hashes

Hashes for djangocms-simple-admin-style-0.4.2.tar.gz
Algorithm Hash digest
SHA256 19bd9044bdc0c938677be9f14c517ce845d0df2fad7f0be8d0b0309252a55c77
MD5 9234470939e7d443e7df48e17607ceff
BLAKE2b-256 8a86cfc70a00f219a99cdee6d4393343d57c9f74124de94af2f1ef867cb604ae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for djangocms_simple_admin_style-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 40e7c8e16aeddb2a8a16c92ac287686bf5a3c9cbd86bcd713aa71bc404d94d22
MD5 7f8134adb6d6a31c6356f244f128c13e
BLAKE2b-256 bf1e5c076a5c94cd6dba49d9a7fb0ede277b7caaf6eff191f21a46f363df5e76

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