misc: add support for action links with icons (#18807)

This commit is contained in:
Serghei Mihai 2017-09-20 10:53:57 +02:00 committed by Frédéric Péters
parent 09074455b9
commit d1d6ad4694
1 changed files with 5 additions and 3 deletions

View File

@ -579,19 +579,21 @@ ul.objects-list.single-links li a {
display: block; display: block;
border: none; border: none;
padding: 0 0.5ex 0 2ex; padding: 0 0.5ex 0 2ex;
&.delete { &.link-action-icon, &.delete {
position: absolute; position: absolute;
right: 0; right: 0;
padding-right: 2ex; padding-right: 2ex;
top: 0; top: 0;
width: 1em; width: 1em;
overflow: hidden; overflow: hidden;
&:before { &::before {
font-family: FontAwesome; font-family: FontAwesome;
content: "\f057"; /* remove-sign */
padding-right: 3em; padding-right: 3em;
} }
} }
&.delete::before {
content: "\f057"; /* remove-sign */
}
} }
ul.objects-list li span.badge { ul.objects-list li span.badge {