tweaks to icon sizes

This commit is contained in:
Dave Cranwell 2014-09-16 17:06:10 +01:00
parent a6f4f5e5a5
commit d8afd1899d
3 changed files with 18 additions and 6 deletions

View file

@ -223,7 +223,7 @@
.icon-view:before,
.icon-no-view:before{
vertical-align:-3.5px;
font-size:1.3rem;
font-size:1rem;
}
.icon-view:before{
content:"4";

View file

@ -371,6 +371,9 @@ table.listing{
right:5%;
top:2em;
}
.locked-indicator{
font-size:0.8em;
}
.title{
h2{
@ -386,8 +389,9 @@ table.listing{
}
}
.privacy-indicator{
font-size:0.9em;
.privacy-indicator,
.locked-indicator{
font-size:1em;
opacity:0.7;
}

View file

@ -40,7 +40,7 @@
{% test_page_is_public parent_page as is_public %}
{% if not is_public %}
<span class="privacy-indicator icon icon-no-view" title="This page is protected from public view"></span>
<span class="privacy-indicator icon icon-no-view" title="{% trans "This page is protected from public view" %}"></span>
{% endif %}
</h2>
{% elif choosing %}
@ -61,7 +61,11 @@
{% if parent_page_perms.can_edit and 'edit' not in hide_actions|default:'' %}
<a href="{% url 'wagtailadmin_pages_edit' parent_page.id %}">{{ parent_page.title }}</a>
{% else %}
{{ parent_page.title }}
{{ parent_page.title }}
{% endif %}
{% if parent_page.locked %}
<span class="locked-indicator icon icon-locked" title="{% trans "This page is locked to further editing" %}"></span>
{% endif %}
</h2>
@ -181,7 +185,11 @@
{% test_page_is_public page as is_public %}
{% if not is_public %}
<span class="privacy-indicator icon icon-no-view" title="This page is protected from public view"></span>
<span class="privacy-indicator icon icon-no-view" title="{% trans 'This page is protected from public view' %}"></span>
{% endif %}
{% if page.locked %}
<span class="locked-indicator icon icon-locked" title="{% trans 'This page is locked to further editing' %}"></span>
{% endif %}
</h2>
{% if not moving and not choosing %}