Added django-json-widget theming support.
parent
869d4c31ad
commit
f0a72d5e40
|
|
@ -29,6 +29,7 @@ django-admin-interface is a modern **responsive flat admin interface customizabl
|
|||
- Compatibility / Style optimizations for:
|
||||
- `django-ckeditor`
|
||||
- `django-dynamic-raw-id`
|
||||
- `django-json-widget`
|
||||
- `django-modeltranslation`
|
||||
- `django-tabbed-admin`
|
||||
- `sorl-thumbnail`
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ https://github.com/fabiocaccamo/django-admin-interface
|
|||
{% include "admin_interface/css/tabbed-admin.css" %}
|
||||
{% include "admin_interface/css/ckeditor.css" %}
|
||||
{% include "admin_interface/css/tinymce.css" %}
|
||||
{% include "admin_interface/css/json-widget.css" %}
|
||||
|
||||
{% if theme.css %}
|
||||
{{ theme.css|safe }}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,29 @@
|
|||
/*
|
||||
django-json-widget support
|
||||
https://github.com/jmrivas86/django-json-widget
|
||||
*/
|
||||
|
||||
.admin-interface div.jsoneditor {
|
||||
border: 1px solid {{ theme.css_module_background_color }};
|
||||
{% if theme.css_module_rounded_corners %}
|
||||
border-radius: 4px;
|
||||
overflow: hidden;
|
||||
{% endif %}
|
||||
}
|
||||
|
||||
.admin-interface div.jsoneditor-menu {
|
||||
background-color: {{ theme.css_module_background_color }};
|
||||
border-bottom: 1px solid {{ theme.css_module_background_color }};
|
||||
}
|
||||
|
||||
.admin-interface div.jsoneditor-menu a.jsoneditor-poweredBy {
|
||||
color: {{ theme.css_module_link_color }};
|
||||
}
|
||||
|
||||
.admin-interface div.jsoneditor-contextmenu ul li button.jsoneditor-selected,
|
||||
.admin-interface div.jsoneditor-contextmenu ul li button.jsoneditor-selected:focus,
|
||||
.admin-interface div.jsoneditor-contextmenu ul li button.jsoneditor-selected:hover {
|
||||
background-color: #FFFFCC;
|
||||
color: #000000;
|
||||
font-weight: bold;
|
||||
}
|
||||
Loading…
Reference in New Issue