mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACA-1244] Toolbar theme (#257)
This commit is contained in:
committed by
Denys Vuika
parent
d69a18127b
commit
107c44665b
@@ -8,6 +8,7 @@
|
||||
|
||||
<adf-toolbar class="inline">
|
||||
<button
|
||||
color="primary"
|
||||
mat-icon-button
|
||||
*ngIf="canPreviewFile(documentList.selection)"
|
||||
title="{{ 'APP.ACTIONS.VIEW' | translate }}"
|
||||
@@ -16,6 +17,7 @@
|
||||
</button>
|
||||
|
||||
<button
|
||||
color="primary"
|
||||
mat-icon-button
|
||||
*ngIf="hasSelection(documentList.selection)"
|
||||
title="{{ 'APP.ACTIONS.DOWNLOAD' | translate }}"
|
||||
@@ -24,6 +26,7 @@
|
||||
</button>
|
||||
|
||||
<button
|
||||
color="primary"
|
||||
mat-icon-button
|
||||
*ngIf="canEditFolder(documentList.selection)"
|
||||
title="{{ 'APP.ACTIONS.EDIT' | translate }}"
|
||||
@@ -32,7 +35,7 @@
|
||||
</button>
|
||||
|
||||
<button mat-icon-button
|
||||
[color]="infoDrawerOpened ? 'primary' : 'accent'"
|
||||
[color]="infoDrawerOpened ? 'accent' : 'primary'"
|
||||
*ngIf="documentList.selection.length"
|
||||
title="{{ 'APP.ACTIONS.DETAILS' | translate }}"
|
||||
(click)="toggleSidebar()">
|
||||
@@ -40,6 +43,7 @@
|
||||
</button>
|
||||
|
||||
<button
|
||||
color="primary"
|
||||
mat-icon-button
|
||||
*ngIf="hasSelection(documentList.selection)"
|
||||
title="{{ 'APP.ACTIONS.MORE' | translate }}"
|
||||
@@ -54,7 +58,10 @@
|
||||
mat-menu-item
|
||||
#selection="adfFavorite"
|
||||
[adf-node-favorite]="documentList.selection">
|
||||
<mat-icon [ngClass]="{ 'icon-highlight': selection.hasFavorites() }">
|
||||
<mat-icon [ngClass]="{
|
||||
'toolbar__option--active': selection.hasFavorites(),
|
||||
'toolbar__option--default': !selection.hasFavorites()
|
||||
}">
|
||||
{{ selection.hasFavorites() ? 'star' :'star_border' }}
|
||||
</mat-icon>
|
||||
<span>{{ 'APP.ACTIONS.FAVORITE' | translate }}</span>
|
||||
@@ -63,7 +70,7 @@
|
||||
<button
|
||||
mat-menu-item
|
||||
[app-copy-node]="documentList.selection">
|
||||
<mat-icon>content_copy</mat-icon>
|
||||
<mat-icon color="primary">content_copy</mat-icon>
|
||||
<span>{{ 'APP.ACTIONS.COPY' | translate }}</span>
|
||||
</button>
|
||||
|
||||
@@ -71,7 +78,7 @@
|
||||
mat-menu-item
|
||||
*ngIf="canMove(documentList.selection)"
|
||||
[app-move-node]="documentList.selection">
|
||||
<mat-icon>library_books</mat-icon>
|
||||
<mat-icon color="primary">library_books</mat-icon>
|
||||
<span>{{ 'APP.ACTIONS.MOVE' | translate }}</span>
|
||||
</button>
|
||||
|
||||
@@ -79,7 +86,7 @@
|
||||
mat-menu-item
|
||||
*ngIf="canDelete(documentList.selection)"
|
||||
[app-delete-node]="documentList.selection">
|
||||
<mat-icon>delete</mat-icon>
|
||||
<mat-icon color="primary">delete</mat-icon>
|
||||
<span>{{ 'APP.ACTIONS.DELETE' | translate }}</span>
|
||||
</button>
|
||||
|
||||
@@ -87,7 +94,7 @@
|
||||
mat-menu-item
|
||||
*ngIf="canManageVersions(documentList.selection)"
|
||||
[app-node-versions]="documentList.selection">
|
||||
<mat-icon>storage</mat-icon>
|
||||
<mat-icon color="primary">storage</mat-icon>
|
||||
<span>{{ 'APP.ACTIONS.VERSIONS' | translate }}</span>
|
||||
</button>
|
||||
</mat-menu>
|
||||
|
Reference in New Issue
Block a user