Skip to content

Commit

Permalink
Simplify broken icon display
Browse files Browse the repository at this point in the history
  • Loading branch information
dwt committed Oct 2, 2018
1 parent 1b6cf20 commit 42296e3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
2 changes: 1 addition & 1 deletion src/OFS/zpt/main.zpt
Expand Up @@ -81,7 +81,7 @@
<td class="zmi-object-type"
onclick="$(this).prev().children('input').trigger('click')">
<i title="Broken object"
class="zmi_icon-broken"
class="fas fa-ban text-danger"
tal:attributes="class ob/zmi_icon | default; title ob/meta_type | default">
<span class="sr-only"
tal:content="ob/meta_type | default">Broken object</span>
Expand Down
12 changes: 0 additions & 12 deletions src/zmi/styles/resources/zmi_base.css
Expand Up @@ -553,18 +553,6 @@ i.fa-folder.zmi-icon-folder-ordered:after {
font-size:14px
}

i:not(.fa-ban).zmi_icon-broken:after {
content: "\f12a"; /* fa-exclamation */
font-family: "Font Awesome\ 5 Free",Fontawesome;
position: absolute;
display: inline-block;
margin: 0 0 0 0.25rem;
font-size: smaller;
color: red;
font-weight:normal;
}


/* HEADER BAR */
header.navbar {
background: black;
Expand Down

0 comments on commit 42296e3

Please sign in to comment.