-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* updates to bootstrap 5.3 * removes a lot of custom SCSS in favor of use core Bootstrap styling * adds light/dark theme toggle * updates styling of various components to better match bootstrap styling
- Loading branch information
Showing
130 changed files
with
1,684 additions
and
17,614 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
import { Component } from '@angular/core'; | ||
import { Component, inject } from '@angular/core'; | ||
import { RouterOutlet } from '@angular/router'; | ||
|
||
import { SiteContainerComponent } from './core/site-container/site-container.component'; | ||
import { ThemingService } from './core/theming/theming.service'; | ||
|
||
@Component({ | ||
selector: 'app-root', | ||
templateUrl: './app.component.html', | ||
standalone: true, | ||
imports: [SiteContainerComponent, RouterOutlet] | ||
}) | ||
export class AppComponent {} | ||
export class AppComponent { | ||
private theming = inject(ThemingService); | ||
} |
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 |
---|---|---|
@@ -1,16 +1,15 @@ | ||
<div class="header"> | ||
@for (b of breadcrumbs; track b; let last = $last) { | ||
<ng-container class="header-breadcrumb"> | ||
<span class="header-breadcrumb"> | ||
@if (!last) { | ||
<a [routerLink]="[b.url]">{{ b?.label }}</a> | ||
} @else { | ||
{{ b?.label }} | ||
} | ||
</span> | ||
@if (!last) { | ||
<span class="header-breadcrumb-separator"> > </span> | ||
} | ||
</ng-container> | ||
} | ||
</div> | ||
<nav aria-label="breadcrumb"> | ||
<ol class="breadcrumb"> | ||
@for (b of breadcrumbs; track b; let last = $last) { | ||
<li class="breadcrumb-item"> | ||
<span> | ||
@if (!last) { | ||
<a [routerLink]="[b.url]">{{ b?.label }}</a> | ||
} @else { | ||
{{ b?.label }} | ||
} | ||
</span> | ||
</li> | ||
} | ||
</ol> | ||
</nav> |
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 |
---|---|---|
@@ -1,25 +1,16 @@ | ||
@import '../../../styles/shared'; | ||
@import '../../core/site-navbar/shared'; | ||
@import "../../../styles/bootstrap/shared"; | ||
|
||
$breadcrumb-header-height: $nav-closed-width !default; | ||
$breadcrumb-font-size: $font-size !default; | ||
$breadcrumb-line-height: $font-line-height !default; | ||
$breadcrumb-item-padding-left: 0.5rem !default; | ||
$breadcrumb-first-item-padding-left: 1rem !default; | ||
|
||
.header { | ||
:host { | ||
display: flex; | ||
align-items: center; | ||
@include font-bold($breadcrumb-font-size); | ||
line-height: $breadcrumb-line-height; | ||
background-color: $color-white; | ||
height: $breadcrumb-header-height; | ||
font-weight: bold; | ||
} | ||
|
||
.header-breadcrumb, | ||
.header-breadcrumb-separator { | ||
padding-left: $spacer * .5; | ||
|
||
.header-breadcrumb, | ||
.header-breadcrumb-separator { | ||
padding-left: $breadcrumb-item-padding-left; | ||
&:first-child { | ||
padding-left: $breadcrumb-first-item-padding-left; | ||
} | ||
&:first-child { | ||
padding-left: 0 | ||
} | ||
} |
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
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
6 changes: 2 additions & 4 deletions
6
src/app/common/loading-spinner/loading-spinner.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 |
---|---|---|
@@ -1,4 +1,2 @@ | ||
<div class="loading-container"> | ||
<div class="loading-spinner"></div> | ||
<div class="loading-message">{{ message }}</div> | ||
</div> | ||
<span class="fa-solid fa-spinner fa-spin"></span> | ||
<span class="loading-message ms-3">{{ message() }}</span> |
48 changes: 8 additions & 40 deletions
48
src/app/common/loading-spinner/loading-spinner.component.scss
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 |
---|---|---|
@@ -1,44 +1,12 @@ | ||
@use 'sass:map'; | ||
@import '../../../styles/shared'; | ||
|
||
$loading-spinner-border: 5px !default; | ||
$loading-spinner-color: map.get($color-primary, 'darker') !default; | ||
$loading-spinner-size: 42px !default; | ||
$loading-spinner-message-font-size: 24px !default; | ||
|
||
.loading-container { | ||
.loading-spinner { | ||
display: inline-block; | ||
float: left; | ||
width: $loading-spinner-size; | ||
height: $loading-spinner-size; | ||
|
||
&:after { | ||
content: ' '; | ||
display: block; | ||
width: $loading-spinner-size; | ||
height: $loading-spinner-size; | ||
margin: 1px; | ||
border-radius: 50%; | ||
border: $loading-spinner-border solid $loading-spinner-color; | ||
border-color: $loading-spinner-color transparent $loading-spinner-color transparent; | ||
animation: loading-spinner 1.2s linear infinite; | ||
} | ||
} | ||
.loading-message { | ||
@include font-normal($loading-spinner-message-font-size); | ||
@include font-color-dark($loading-spinner-color); | ||
:host { | ||
display: flex; | ||
align-items: center; | ||
} | ||
|
||
line-height: $loading-spinner-size; | ||
margin-left: $loading-spinner-size + 16px; | ||
} | ||
.fa-spinner { | ||
font-size: var(--loading-spinner-font-size, 48px); | ||
} | ||
|
||
@keyframes loading-spinner { | ||
0% { | ||
transform: rotate(0deg); | ||
} | ||
100% { | ||
transform: rotate(360deg); | ||
} | ||
.loading-message { | ||
font-size: var(--loading-spinner-message-font-size, 24px); | ||
} |
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
Oops, something went wrong.