Facelift for Wagtail streamfields.
Project description
Wagtail Facelift
================
Provides some visual enhancements to Streamfield components.
Pure CSS overrides, there's no extra configuration.
Installation.
-------------
::
pip install wagtailfacelift
Add the application to your installed apps:
::
INSTALLED_APPS = [
'wagtail',
'wagtailfacelift'
]
---
Extra theming
-------------
`.multi-field-dark`
Apply this class to your widget for a subtle background shift, eg:
::
MultiFieldPanel([
StreamFieldPanel('heroes'),
],
heading="Homepage Heroes",
classname="collapsible collapsed multi-field-dark"
)
Enjoy!
================
Provides some visual enhancements to Streamfield components.
Pure CSS overrides, there's no extra configuration.
Installation.
-------------
::
pip install wagtailfacelift
Add the application to your installed apps:
::
INSTALLED_APPS = [
'wagtail',
'wagtailfacelift'
]
---
Extra theming
-------------
`.multi-field-dark`
Apply this class to your widget for a subtle background shift, eg:
::
MultiFieldPanel([
StreamFieldPanel('heroes'),
],
heading="Homepage Heroes",
classname="collapsible collapsed multi-field-dark"
)
Enjoy!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wagtailfacelift-0.1.0.tar.gz
(4.1 kB
view details)
File details
Details for the file wagtailfacelift-0.1.0.tar.gz
.
File metadata
- Download URL: wagtailfacelift-0.1.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
1b186073b5996230877dc9a31164330bc0f093d959b8d0af7de66b9399a1bbf3
|
|
MD5 |
d9a5f0fd483e556887c5afbdcb35109a
|
|
BLAKE2b-256 |
49f6f6585506d77682e395bde9dc09cbe22efc6bc3e6bbbb5d75df8b009db867
|