-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update new material component styles
- Loading branch information
Showing
34 changed files
with
1,598 additions
and
809 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 0 additions & 39 deletions
39
firebird-ng/src/app/components/display-shell/display-shell.component.html
This file was deleted.
Oops, something went wrong.
61 changes: 0 additions & 61 deletions
61
firebird-ng/src/app/components/display-shell/display-shell.component.scss
This file was deleted.
Oops, something went wrong.
141 changes: 0 additions & 141 deletions
141
firebird-ng/src/app/components/display-shell/display-shell.component.ts
This file was deleted.
Oops, something went wrong.
62 changes: 62 additions & 0 deletions
62
firebird-ng/src/app/components/header/header.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
<!-- firebird-ng/src/app/components/nav-config/nav-config.component.html --> | ||
|
||
<mat-toolbar class="mat-elevation-z4 top-toolbar"> | ||
<!-- Logo --> | ||
<button mat-icon-button [routerLink]="['/']" class="logo-button" aria-label="App Logo"> | ||
<img ngSrc="assets/firebird/firebird-simplified-circle.png" width="32" height="32" alt="App Logo" /> | ||
</button> | ||
|
||
<!-- Always visible nav items on desktop --> | ||
<div class="nav-items visible-nav hide-mobile"> | ||
<ng-container *ngFor="let item of navItems"> | ||
<button | ||
mat-button | ||
*ngIf="item.alwaysVisible" | ||
(click)="onNavItemClick(item)" | ||
[attr.aria-label]="item.label" | ||
> | ||
<mat-icon *ngIf="item.icon">{{ item.icon }}</mat-icon> | ||
{{ item.label }} | ||
</button> | ||
</ng-container> | ||
</div> | ||
|
||
<!-- Middle section for page-specific controls --> | ||
<div class="middle-section"> | ||
<ng-container *ngIf="middleTemplate"> | ||
<ng-container *ngTemplateOutlet="middleTemplate"></ng-container> | ||
</ng-container> | ||
</div> | ||
|
||
<!-- Spacer to push theme toggle to the right --> | ||
<span class="flex-spacer"></span> | ||
|
||
<!-- Theme toggle button (always visible on desktop) --> | ||
<app-theme-switcher class="theme-toggle hide-mobile"></app-theme-switcher> | ||
|
||
<!-- Hamburger menu button (only visible on mobile) --> | ||
<button | ||
mat-icon-button | ||
class="hamburger-btn hide-desktop" | ||
(click)="toggleNavConfig()" | ||
aria-label="Toggle navigation menu" | ||
> | ||
<mat-icon>{{ navOpen ? 'close' : 'menu' }}</mat-icon> | ||
</button> | ||
</mat-toolbar> | ||
|
||
<!-- Mobile menu overlay --> | ||
<div class="mobile-menu" [class.open]="navOpen"> | ||
<ng-container *ngFor="let item of navItems"> | ||
<button | ||
mat-button | ||
(click)="onNavItemClick(item)" | ||
[attr.aria-label]="item.label" | ||
> | ||
<mat-icon *ngIf="item.icon">{{ item.icon }}</mat-icon> | ||
{{ item.label }} | ||
</button> | ||
</ng-container> | ||
<!-- Theme toggle inside mobile menu --> | ||
<app-theme-switcher class="theme-toggle-mobile"></app-theme-switcher> | ||
</div> |
Oops, something went wrong.