Skip to content

Commit 53e329a

Browse files
committed
- Add unlock-button
- Clear code
1 parent 0ccd5e4 commit 53e329a

File tree

7 files changed

+8147
-10
lines changed

7 files changed

+8147
-10
lines changed

src/app/pages/dashboard/containers/dashboard-page/dashboard-page.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<app-layout>
22
<mat-toolbar class="page-header" role="heading">
33
<h1>Dashboard</h1>
4-
<button mat-flat-button>Latest Reports</button>
4+
<button mat-flat-button color="warn">Latest Reports</button>
55
</mat-toolbar>
66

77
<div class="charts-wrapper">

src/app/pages/ui-elements/components/icons-page/icons-page.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<app-layout>
22
<mat-toolbar class="page-header" role="heading">
33
<h1>Icons</h1>
4-
<button mat-flat-button>Actions</button>
4+
<button mat-flat-button color="warn">Actions</button>
55
</mat-toolbar>
66

77
<mat-card class="icons-wrapper">

src/app/pages/ui-elements/containers/charts-page/charts-page.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<app-layout>
22
<mat-toolbar role="heading" class="page-header">
33
<h1>Charts Page - Data Display</h1>
4-
<button mat-flat-button>Latest Reports</button>
4+
<button mat-flat-button color="warn">Latest Reports</button>
55
</mat-toolbar>
66

77
<div class="charts-content">

src/app/shared/header/containers/header/header.component.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,17 @@ <h6 class="header__title-text">Angular Material Admin</h6>
99
</div>
1010

1111
<div class="header-toolbar">
12+
<a
13+
mat-stroked-button
14+
color="error"
15+
class="unlock-button"
16+
href="https://flatlogic.com/templates/angular-material-admin-full/demo"
17+
target="_blank"
18+
>Unlock Full Version</a>
1219
<app-search></app-search>
1320
<app-notifications></app-notifications>
1421
<app-email [emails]="emails$ | async"></app-email>
1522
<app-user [user]="user$ | async" (signOut)="signOut()"></app-user>
1623
</div>
24+
1725
</mat-toolbar>

src/app/shared/header/containers/header/header.component.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,12 @@
4646
.header-toolbar {
4747
display: flex;
4848
align-items: center;
49+
50+
.unlock-button {
51+
border-color: $pink;
52+
margin-right: 16px;
53+
@media (max-width: $small) {
54+
display: none;
55+
}
56+
}
4957
}

src/custom-theme.scss

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ button.mat-menu-item:hover:not([disabled]), .mat-menu-item.cdk-program-focused:n
142142
font-size: 16px;
143143
}
144144

145-
146145
mat-select.mat-select {
147146
width: auto;
148147
display: inline;
@@ -265,8 +264,6 @@ mat-toolbar.page-header {
265264
.mat-toolbar button {
266265
height: 41.6px;
267266
width: auto;
268-
color: $toolbar-button-font-color;
269-
background-color: $toolbar-button-background-color;
270267
line-height: 1.75;
271268
font-size: 0.9375rem;
272269
font-weight: 400;
@@ -276,10 +273,6 @@ mat-toolbar.page-header {
276273
}
277274
}
278275

279-
.mat-toolbar button:hover {
280-
background-color: $toolbar-button-background-color-active;
281-
}
282-
283276
mat-tab-header .mat-tab-label, .mat-tab-link {
284277
text-transform: uppercase;
285278
color: $tabs-header-font-color;

0 commit comments

Comments
 (0)