[ADF-993] toolbar improvements (#2090)

* toolbar improvements

- simple "title" property to render toolbar title
- advanced "adf-toolbar-title" element for compound toolbars

* move to SASS and improve styling

* fix divider color
This commit is contained in:
Denys Vuika
2017-07-16 22:15:11 +01:00
committed by Eugenio Romano
parent 335dd870ad
commit 025ecd5647
8 changed files with 113 additions and 17 deletions

View File

@@ -3,10 +3,6 @@
[rootFolderId]="documentList.currentFolderId"
[versioning]="versioning"
[enabled]="documentList.hasCreatePermission()">
<adf-breadcrumb
[target]="documentList"
[folderNode]="documentList.folderNode">
</adf-breadcrumb>
<div *ngIf="errorMessage" class="error-message">
<button (click)="resetError()" class="mdl-button mdl-js-button mdl-button--icon">
<i class="material-icons">highlight_off</i>
@@ -14,7 +10,13 @@
<span class="error-message--text">{{errorMessage}}</span>
</div>
<ng-container *ngIf="useCustomToolbar">
<adf-toolbar title="Toolbar">
<adf-toolbar>
<adf-toolbar-title>
<adf-breadcrumb
[target]="documentList"
[folderNode]="documentList.folderNode">
</adf-breadcrumb>
</adf-toolbar-title>
<button md-icon-button (click)="onCreateFolderClicked($event)">
<md-icon>create_new_folder</md-icon>
</button>