refactor: layout detail adjustments

refactor: increase contrast of toolbar fav button
refactor: remove non working localization for news
refactor: equalize tab bar in top toolbar
refactor: padding on map buttons and rename them
refactor: repair profile card alignments for safari
refactor: fix dashboard resize behavior on safari
refactor: make title card button reachable again
refactor: put card hover in media query
refactor: realign schedule view toolbar
refactor: adjust toolbar heights
refactor: introduce proper header logo
This commit is contained in:
Rainer Killinger
2022-08-18 17:19:58 +00:00
committed by Thea Schöbl
parent ebdc14d3c3
commit f3cf3b30e3
26 changed files with 462 additions and 66 deletions

View File

@@ -2,6 +2,11 @@
ion-card-header {
font-weight: bold;
}
stapps-favorite-button {
ion-icon {
color: var(--ion-color-light);
}
}
}
::ng-deep {

View File

@@ -35,13 +35,14 @@
{{ 'description' | thingTranslate: item }}
</div>
</div>
<ion-button
expand="full"
fill="clear"
color="light"
*ngIf="item.description && buttonShown"
(click)="toggleDescriptionAccordion()"
>
<ion-icon [name]="buttonState" size="large"></ion-icon>
</ion-button>
</ion-card-content>
</ion-card>
<ion-button
expand="full"
fill="clear"
*ngIf="item.description && buttonShown"
(click)="toggleDescriptionAccordion()"
>
<ion-icon [name]="buttonState" size="large"></ion-icon>
</ion-button>

View File

@@ -57,7 +57,7 @@ export class TitleCardComponent implements OnInit, OnChanges {
ngOnInit(): void {
if (this.item.description) {
this.descriptionLinesToDisplay = this.descriptionPreviewLines;
setTimeout(() => this.checkTextElipsis(), 0);
setTimeout(() => this.checkTextElipsis(), 100);
}
}

View File

@@ -36,9 +36,7 @@
<stapps-simple-card
*ngIf="item.datePublished"
class="date-published"
content="{{ 'news.publishedOn' | translate | titlecase }} {{
item.datePublished | amCalendar | sentencecase
}}"
content="{{ item.datePublished | amCalendar | sentencecase }}"
></stapps-simple-card>
<stapps-simple-card content="{{ item.messageBody }}"></stapps-simple-card>
<ion-card *ngIf="item.sameAs">

View File

@@ -5,6 +5,7 @@ ion-segment-button {
ion-segment {
justify-content: space-between;
overflow: auto;
height: 50px;
&::-webkit-scrollbar {
width: 0;