mirror of
https://gitlab.com/walljm/dynamicbible.git
synced 2025-07-23 07:19:50 -04:00
Merge branch 'bug-fixes-from-upgrades' into 'main'
Bug fixes from upgrades See merge request walljm/dynamicbible!22
This commit is contained in:
commit
86f0374cf6
@ -1,8 +1,8 @@
|
|||||||
ext {
|
ext {
|
||||||
minSdkVersion = 22
|
minSdkVersion = 22
|
||||||
firebaseMessagingVersion = '23.0.5'
|
firebaseMessagingVersion = '23.0.5'
|
||||||
compileSdkVersion = 34
|
compileSdkVersion = 33
|
||||||
targetSdkVersion = 34
|
targetSdkVersion = 33
|
||||||
androidxActivityVersion = '1.7.0'
|
androidxActivityVersion = '1.7.0'
|
||||||
androidxAppCompatVersion = '1.6.1'
|
androidxAppCompatVersion = '1.6.1'
|
||||||
androidxCoordinatorLayoutVersion = '1.2.0'
|
androidxCoordinatorLayoutVersion = '1.2.0'
|
||||||
|
@ -83,7 +83,9 @@
|
|||||||
},
|
},
|
||||||
"serve": {
|
"serve": {
|
||||||
"builder": "@angular-devkit/build-angular:dev-server",
|
"builder": "@angular-devkit/build-angular:dev-server",
|
||||||
"options": {},
|
"options": {
|
||||||
|
"buildTarget": "dynamicbible:build"
|
||||||
|
},
|
||||||
"configurations": {
|
"configurations": {
|
||||||
"production": {}
|
"production": {}
|
||||||
}
|
}
|
||||||
|
@ -3,11 +3,12 @@
|
|||||||
min-width: 20rem;
|
min-width: 20rem;
|
||||||
|
|
||||||
mat-icon {
|
mat-icon {
|
||||||
padding-right: 1rem;
|
|
||||||
color: var(--primary-color);
|
color: var(--primary-color);
|
||||||
|
height: auto !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
mat-sidenav-content {
|
mat-sidenav-content {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,9 +1,5 @@
|
|||||||
.close-button {
|
.close-button {
|
||||||
float: right;
|
float: right;
|
||||||
|
|
||||||
mat-icon {
|
|
||||||
transform: scale(1.5);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
|
@ -1,9 +1,5 @@
|
|||||||
.close-button {
|
.close-button {
|
||||||
float: right;
|
float: right;
|
||||||
|
|
||||||
mat-icon {
|
|
||||||
transform: scale(1.5);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
@ -18,6 +14,7 @@
|
|||||||
font-size: var(--card-font-size);
|
font-size: var(--card-font-size);
|
||||||
font-family: var(--card-font-family);
|
font-family: var(--card-font-family);
|
||||||
line-height: calc(var(--card-font-size) + 0.68rem);
|
line-height: calc(var(--card-font-size) + 0.68rem);
|
||||||
|
color: var(--card-color)
|
||||||
}
|
}
|
||||||
|
|
||||||
.paragraph-heading {
|
.paragraph-heading {
|
||||||
|
@ -1,8 +1,5 @@
|
|||||||
.close-button {
|
.close-button {
|
||||||
float: right;
|
float: right;
|
||||||
mat-icon {
|
|
||||||
font-size: 2rem;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
|
@ -1,9 +1,5 @@
|
|||||||
.close-button {
|
.close-button {
|
||||||
float: right;
|
float: right;
|
||||||
|
|
||||||
mat-icon {
|
|
||||||
transform: scale(1.5);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
|
@ -1,9 +1,5 @@
|
|||||||
.close-button {
|
.close-button {
|
||||||
float: right;
|
float: right;
|
||||||
|
|
||||||
mat-icon {
|
|
||||||
transform: scale(1.5);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
|
@ -114,8 +114,19 @@
|
|||||||
min="12"
|
min="12"
|
||||||
step="2"
|
step="2"
|
||||||
thumbLabel="true"
|
thumbLabel="true"
|
||||||
[(ngModel)]="cardFontSize"
|
#ngSlider
|
||||||
#ngSlider><input matSliderThumb (change)="cardFontSizeChanged({source: ngSliderThumb, parent: ngSlider, value: ngSliderThumb.value})" #ngSliderThumb="matSliderThumb" />
|
><input
|
||||||
|
matSliderThumb
|
||||||
|
[(ngModel)]="cardFontSize"
|
||||||
|
(change)="
|
||||||
|
cardFontSizeChanged({
|
||||||
|
source: ngSliderThumb,
|
||||||
|
parent: ngSlider,
|
||||||
|
value: ngSliderThumb.value
|
||||||
|
})
|
||||||
|
"
|
||||||
|
#ngSliderThumb="matSliderThumb"
|
||||||
|
/>
|
||||||
</mat-slider>
|
</mat-slider>
|
||||||
</div>
|
</div>
|
||||||
</mat-nav-list>
|
</mat-nav-list>
|
||||||
|
@ -11,3 +11,9 @@
|
|||||||
.auth-button {
|
.auth-button {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
button>.mat-icon, .mat-mdc-outlined-button>.mat-icon {
|
||||||
|
font-size: 1.125rem !important;
|
||||||
|
height: 1.125rem !important;
|
||||||
|
width: 1.125rem !important;
|
||||||
|
}
|
||||||
|
@ -16,8 +16,8 @@
|
|||||||
<app-strongs
|
<app-strongs
|
||||||
[data]="cardItem.data"
|
[data]="cardItem.data"
|
||||||
[isCard]="true"
|
[isCard]="true"
|
||||||
(openPassage)="triggerOpenPassage($event)"
|
(openPassage)="openPassage($event)"
|
||||||
(openStrongs)="triggerOpenStrongs($event)"
|
(openStrongs)="openStrongs($event)"
|
||||||
></app-strongs>
|
></app-strongs>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-actions">
|
<div class="card-actions">
|
||||||
|
@ -33,8 +33,8 @@ export class StrongsCardComponent extends CardComponent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async openStrongs(q: string) {
|
async openStrongs(q: string) {
|
||||||
const dict = q.substr(0, 1) === 'H' ? 'heb' : 'grk';
|
const dict = q.substring(0, 1) === 'H' ? 'heb' : 'grk';
|
||||||
const sn = q.substr(1);
|
const sn = q.substring(1);
|
||||||
if (this.asModal) {
|
if (this.asModal) {
|
||||||
const card = await this.appService.getStrongsCard(sn, dict);
|
const card = await this.appService.getStrongsCard(sn, dict);
|
||||||
this.dialog.open(StrongsModalComponent, {
|
this.dialog.open(StrongsModalComponent, {
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
<div mat-dialog-title>
|
|
||||||
<mat-toolbar>
|
<mat-toolbar>
|
||||||
<mat-icon aria-hidden="false" aria-label="Strongs Entry Icon">{{
|
<mat-icon aria-hidden="false" aria-label="Strongs Entry Icon">{{
|
||||||
icon$ | async
|
icon$ | async
|
||||||
@ -14,7 +13,6 @@
|
|||||||
</button>
|
</button>
|
||||||
</span>
|
</span>
|
||||||
</mat-toolbar>
|
</mat-toolbar>
|
||||||
</div>
|
|
||||||
<mat-dialog-content class="content">
|
<mat-dialog-content class="content">
|
||||||
<br />
|
<br />
|
||||||
<app-strongs
|
<app-strongs
|
||||||
|
@ -1,14 +1,10 @@
|
|||||||
.close-button {
|
.close-button {
|
||||||
float: right;
|
float: right;
|
||||||
|
|
||||||
mat-icon {
|
|
||||||
transform: scale(1.5);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding-left: 1rem;
|
padding-left: 1.2rem;
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -17,6 +13,7 @@
|
|||||||
font-size: var(--card-font-size);
|
font-size: var(--card-font-size);
|
||||||
font-family: var(--card-font-family);
|
font-family: var(--card-font-family);
|
||||||
line-height: calc(var(--card-font-size) + 0.5rem);
|
line-height: calc(var(--card-font-size) + 0.5rem);
|
||||||
|
color: var(--card-color)
|
||||||
}
|
}
|
||||||
|
|
||||||
mat-toolbar {
|
mat-toolbar {
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
- {{ data.def.p }} - {{ data.def.lemma }} -
|
- {{ data.def.p }} - {{ data.def.lemma }} -
|
||||||
<span *ngFor="let part of data.def.de"
|
<span *ngFor="let part of data.def.de"
|
||||||
><ng-template [ngIf]="part.sn"
|
><ng-template [ngIf]="part.sn"
|
||||||
><a (click)="openStrongs(part.sn)">{{ part.sn }}</a></ng-template
|
><a (click)="triggerOpenStrongs(part.sn)">{{ part.sn }}</a></ng-template
|
||||||
><ng-template [ngIf]="part.w"
|
><ng-template [ngIf]="part.w"
|
||||||
><span [innerHTML]="part.w"></span></ng-template></span
|
><span [innerHTML]="part.w"></span></ng-template></span
|
||||||
><br />
|
><br />
|
||||||
@ -32,7 +32,7 @@
|
|||||||
<strong>{{ wrd.w }}, {{ wrd.rs.length }}</strong
|
<strong>{{ wrd.w }}, {{ wrd.rs.length }}</strong
|
||||||
>:
|
>:
|
||||||
<span *ngFor="let p of wrd.rs"
|
<span *ngFor="let p of wrd.rs"
|
||||||
><a (click)="openPassage(p.r)">{{ makePassage(p.r) }}</a
|
><a (click)="triggerOpenPassage(p.r)">{{ makePassage(p.r) }}</a
|
||||||
>,
|
>,
|
||||||
</span>
|
</span>
|
||||||
</dd>
|
</dd>
|
||||||
|
@ -37,10 +37,6 @@
|
|||||||
line-height: 1.5rem;
|
line-height: 1.5rem;
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
margin: 1rem 0 1rem 0;
|
margin: 1rem 0 1rem 0;
|
||||||
|
|
||||||
mat-icon {
|
|
||||||
line-height: 1.3rem;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.backbutton:hover:not(.disable-hover) {
|
.backbutton:hover:not(.disable-hover) {
|
||||||
@ -55,10 +51,6 @@ h2 {
|
|||||||
|
|
||||||
.close-button {
|
.close-button {
|
||||||
float: right;
|
float: right;
|
||||||
|
|
||||||
mat-icon {
|
|
||||||
transform: scale(1.5);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
|
@ -40,22 +40,22 @@
|
|||||||
<app-passage-card
|
<app-passage-card
|
||||||
*ngIf="isPassage(item)"
|
*ngIf="isPassage(item)"
|
||||||
[cardItem]="item"
|
[cardItem]="item"
|
||||||
(onClose)="removeCard(item)"
|
(closeCard)="removeCard(item)"
|
||||||
></app-passage-card>
|
></app-passage-card>
|
||||||
<app-strongs-card
|
<app-strongs-card
|
||||||
*ngIf="isStrongs(item)"
|
*ngIf="isStrongs(item)"
|
||||||
[cardItem]="item"
|
[cardItem]="item"
|
||||||
(onClose)="removeCard(item)"
|
(closeCard)="removeCard(item)"
|
||||||
></app-strongs-card>
|
></app-strongs-card>
|
||||||
<app-words-card
|
<app-words-card
|
||||||
*ngIf="isWords(item)"
|
*ngIf="isWords(item)"
|
||||||
[cardItem]="item"
|
[cardItem]="item"
|
||||||
(onClose)="removeCard(item)"
|
(closeCard)="removeCard(item)"
|
||||||
></app-words-card>
|
></app-words-card>
|
||||||
<app-note-card
|
<app-note-card
|
||||||
*ngIf="isNote(item)"
|
*ngIf="isNote(item)"
|
||||||
[cardItem]="item"
|
[cardItem]="item"
|
||||||
(onClose)="removeCard(item)"
|
(closeCard)="removeCard(item)"
|
||||||
></app-note-card>
|
></app-note-card>
|
||||||
</mat-card>
|
</mat-card>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
@ -10,7 +10,7 @@ mat-card {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-left: 6px;
|
margin-left: 6px;
|
||||||
margin-right: 60px;
|
margin-right: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.search-bar-input {
|
.search-bar-input {
|
||||||
|
@ -14,28 +14,28 @@ export class NavService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public openNav() {
|
public openNav() {
|
||||||
return this.sidenav.open();
|
return this.sidenav?.open();
|
||||||
}
|
}
|
||||||
|
|
||||||
public async closeNav() {
|
public async closeNav() {
|
||||||
const r = await this.sidenav.close();
|
const r = await this.sidenav?.close();
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
||||||
public toggleNav(): void {
|
public toggleNav(): void {
|
||||||
this.sidenav.toggle();
|
this.sidenav?.toggle();
|
||||||
}
|
}
|
||||||
|
|
||||||
public openSettings() {
|
public openSettings() {
|
||||||
return this.settings.open();
|
return this.settings?.open();
|
||||||
}
|
}
|
||||||
|
|
||||||
public async closeSettings() {
|
public async closeSettings() {
|
||||||
const r = await this.settings.close();
|
const r = await this.settings?.close();
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
||||||
public toggleSettings(): void {
|
public toggleSettings(): void {
|
||||||
this.settings.toggle();
|
this.settings?.toggle();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<title>Dynamic Bible</title>
|
<title>Dynamic Bible</title>
|
||||||
<meta
|
<meta
|
||||||
name="viewport"
|
name="viewport"
|
||||||
content="viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"
|
content="viewport-fit=cover, width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no"
|
||||||
/>
|
/>
|
||||||
<meta name="format-detection" content="telephone=no" />
|
<meta name="format-detection" content="telephone=no" />
|
||||||
<meta name="msapplication-tap-highlight" content="no" />
|
<meta name="msapplication-tap-highlight" content="no" />
|
||||||
|
@ -24,6 +24,9 @@ html {
|
|||||||
|
|
||||||
--page-color-primary: rgb(46, 42, 54);
|
--page-color-primary: rgb(46, 42, 54);
|
||||||
--page-color-accent: rgb(111, 109, 116);
|
--page-color-accent: rgb(111, 109, 116);
|
||||||
|
|
||||||
|
--mat-toolbar-title-text-size: 16pt;
|
||||||
|
--mdc-list-list-item-label-text-size: 14pt;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
@ -41,6 +44,13 @@ body {
|
|||||||
color: #777;
|
color: #777;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mat-icon {
|
||||||
|
font-size: 1.2em !important;
|
||||||
|
height: 30px !important;
|
||||||
|
width: 30px !important;
|
||||||
|
vertical-align: text-top;
|
||||||
|
}
|
||||||
|
|
||||||
.card-title {
|
.card-title {
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
font-family: "Roboto Condensed";
|
font-family: "Roboto Condensed";
|
||||||
@ -50,8 +60,8 @@ body {
|
|||||||
border-top-right-radius: var(--card-border-radius);
|
border-top-right-radius: var(--card-border-radius);
|
||||||
padding-right: 3.2rem;
|
padding-right: 3.2rem;
|
||||||
|
|
||||||
mat-icon {
|
> mat-icon {
|
||||||
transform: scale(1.5);
|
vertical-align: text-top;
|
||||||
}
|
}
|
||||||
|
|
||||||
span {
|
span {
|
||||||
@ -71,8 +81,8 @@ body {
|
|||||||
|
|
||||||
.card-close-button {
|
.card-close-button {
|
||||||
position: absolute !important;
|
position: absolute !important;
|
||||||
right: 1.5rem;
|
right: 0.5rem;
|
||||||
top: 0.5rem;
|
top: 0.3rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-actions {
|
.card-actions {
|
||||||
@ -84,11 +94,6 @@ body {
|
|||||||
border-bottom-left-radius: var(--card-border-radius);
|
border-bottom-left-radius: var(--card-border-radius);
|
||||||
border-bottom-right-radius: var(--card-border-radius);
|
border-bottom-right-radius: var(--card-border-radius);
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
|
|
||||||
mat-icon {
|
|
||||||
transform: scale(1.2);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-actions-right {
|
.card-actions-right {
|
||||||
@ -204,7 +209,6 @@ p {
|
|||||||
max-width: 95vw !important;
|
max-width: 95vw !important;
|
||||||
max-height: 95vh !important;
|
max-height: 95vh !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mat-mdc-dialog-content {
|
.mat-mdc-dialog-content {
|
||||||
max-height: 95vh !important;
|
max-height: 95vh !important;
|
||||||
}
|
}
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
word-wrap: normal;
|
word-wrap: normal;
|
||||||
direction: ltr;
|
direction: ltr;
|
||||||
|
font-feature-settings: "liga";
|
||||||
-webkit-font-feature-settings: "liga";
|
-webkit-font-feature-settings: "liga";
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user