overload cell's style instead of adding a new one (#7237)
This commit is contained in:
parent
8c9f4737ae
commit
b68d481eaa
|
@ -117,13 +117,15 @@ br.clear {
|
|||
clear: both;
|
||||
}
|
||||
|
||||
#error-404, #error-500, #content .block, #password-changed {
|
||||
#error-404, #error-500,
|
||||
#content .block, #content .cell,
|
||||
#password-changed {
|
||||
background: white;
|
||||
font-size: 110%;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
#content .block h2 {
|
||||
#content .block h2, #content .cell h2 {
|
||||
background: #ea5b0c;
|
||||
font-weight: normal;
|
||||
color: white;
|
||||
|
@ -134,7 +136,9 @@ br.clear {
|
|||
}
|
||||
|
||||
#content .block h3,
|
||||
#content .block p {
|
||||
#content .cell h3,
|
||||
#content .block p,
|
||||
#content .cell p {
|
||||
margin: 1ex 10px;
|
||||
padding-bottom: 1px;
|
||||
}
|
||||
|
@ -412,7 +416,7 @@ ul.errorlist + p {
|
|||
padding-left: 2em;
|
||||
}
|
||||
|
||||
div.block form {
|
||||
div.block form, div.cell form {
|
||||
padding: 0 1ex;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
{% load combo %}
|
||||
{% for cell in cells %}
|
||||
<div class="block cell {{ cell.css_class_name }} {% if cell.slug %}{{cell.slug}}{% endif %}"
|
||||
{% if cell.ajax_refresh %}
|
||||
data-ajax-cell-url="{% url 'combo-public-ajax-page-cell' page_pk=page.id cell_reference=cell.get_reference %}"
|
||||
data-ajax-cell-refresh="{{ cell.ajax_refresh }}"
|
||||
{% endif %}><div>{% render_cell cell %}</div></div>
|
||||
{% endfor %}
|
Reference in New Issue