-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/bootstrap #63
base: develop
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Will need a few minor tweaks
*ngFor="let language of languages" (click)="setLanguage(language.code)"> | ||
<ul class="navbar-nav ms-auto"> | ||
<li class="nav-item"> | ||
<dh-dark-mode-toggle role="listitem" class="nav-item" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be {{cookiecutter.app_prefix}}
instead of dh
<a [href]="environment.sourceUrl" target="_blank" i18n>Source code</a> <ng-container i18n>(BSD 3-Clause License)</ng-container> | ||
</p> | ||
<p> | ||
<em><ng-container i18n>Version: </ng-container><span>{{"{{environment.version}}"}}<</span> (<span [title]="environment.buildTime">{{"{{buildTime}}"}})</span></em> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<nav class="navbar navbar-expand-lg bg-body-tertiary" aria-label="main navigation" | ||
data-bs-theme="dark"> | ||
<div class="container-fluid"> | ||
<div class="navbar-brand" i18n> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add fs-6 fw-bold
@if (loading) { | ||
<div class="spinner-border"> | ||
<span class="visually-hidden">Loading languages...</span> | ||
</div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This becomes big when toggling:
Instead of <div class="spinner-border">...</div>
use:
<span class="spinner-border spinner-border-sm" aria-hidden="true"></span>
<span class="visually-hidden" role="status">Loading...</span>
$yellow: #FFCD00, | ||
$blue: #5287C6); | ||
@use 'bulma/bulma'; | ||
@use 'bootstrap'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps something like
// University Brand Colors
$primary: #FFCD00;
$green: #24A793;
$success: $green;
$red: #C00A35;
$danger: $red;
$yellow: #FFCD00;
$warning: $yellow;
$blue: #5287C6;
$info: $blue;
$link-color: $blue;
$link-color-dark: $blue;
@import "bootstrap/scss/bootstrap.scss";
To not lose the UU colors (the yellow in the menu is quite something though)
Replaces bulma and primeNG with bootstrap / ng-bootstrap.
Also closes #52 (which was a bulma issue)