Updates Tainacan Icon font with viewlist (#379) and form (#388).

This commit is contained in:
mateuswetah 2020-09-29 15:26:17 -03:00
parent 8a91530b31
commit 57991e2649
9 changed files with 10 additions and 3 deletions

View File

@ -66,6 +66,9 @@ font-weight: normal;
.tainacan-icon-attachments:before {
content: "attachments";
}
.tainacan-icon-form:before {
content: "form";
}
.tainacan-icon-wordpress:before {
content: "wordpress";
}
@ -282,6 +285,9 @@ font-weight: normal;
.tainacan-icon-viewtable:before {
content: "viewtable";
}
.tainacan-icon-viewlist:before {
content: "viewlist";
}
.tainacan-icon-facebook:before {
content: "facebook";
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -106,7 +106,7 @@ class Theme_Helper {
'label' => __('List', 'tainacan'),
'dynamic_metadata' => true,
'description' => 'A list view, similiar to the records, but full width',
'icon' => '<span class="icon"><i class="tainacan-icon tainacan-icon-viewrecords tainacan-icon-1-25em"></i></span>',
'icon' => '<span class="icon"><i class="tainacan-icon tainacan-icon-viewlist tainacan-icon-1-25em"></i></span>',
'type' => 'component',
'implements_skeleton' => true,
'requires_thumbnail' => false

View File

@ -328,7 +328,8 @@
:class="{'tainacan-icon-viewtable' : ( adminViewMode == 'table' || adminViewMode == undefined),
'tainacan-icon-viewcards' : adminViewMode == 'cards',
'tainacan-icon-viewminiature' : adminViewMode == 'grid',
'tainacan-icon-viewrecords' : adminViewMode == 'records' || adminViewMode == 'list',
'tainacan-icon-viewrecords' : adminViewMode == 'records',
'tainacan-icon-viewlist' : adminViewMode == 'list',
'tainacan-icon-viewmasonry' : adminViewMode == 'masonry' }"
class="tainacan-icon tainacan-icon-1-25em"/>
</span>
@ -402,7 +403,7 @@
:value="'list'"
aria-role="listitem">
<span class="icon gray-icon">
<i class="tainacan-icon tainacan-icon-viewrecords"/>
<i class="tainacan-icon tainacan-icon-viewlist"/>
</span>
<span>{{ $i18n.get('label_list') }}</span>
</b-dropdown-item>