Skip to content
Snippets Groups Projects
Commit a951f148 authored by OZGCloud's avatar OZGCloud
Browse files

Merge pull request 'OZG-5833-Barrierefreiheit-Layoutanpassungen' (#709) from...

Merge pull request 'OZG-5833-Barrierefreiheit-Layoutanpassungen' (#709) from OZG-5833-Barrierefreiheit-Layoutanpassungen into master

Reviewed-on: https://git.ozg-sh.de/ozgcloud-app/alfa/pulls/709


Reviewed-by: default avatarOZGCloud <ozgcloud@mgm-tp.com>
parents e1c3f897 aa3914b0
No related branches found
No related tags found
No related merge requests found
Showing
with 28 additions and 38 deletions
...@@ -46,7 +46,7 @@ p { ...@@ -46,7 +46,7 @@ p {
white-space: nowrap; white-space: nowrap;
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
font-size: 11px; font-size: 0.6875rem;
color: #999; color: #999;
&.version { &.version {
......
...@@ -49,8 +49,7 @@ ...@@ -49,8 +49,7 @@
margin-bottom: 4px; margin-bottom: 4px;
.label { .label {
font-size: 10.5px; font-size: 0.75rem;
opacity: 0.6;
} }
.value { .value {
......
...@@ -22,6 +22,6 @@ ...@@ -22,6 +22,6 @@
* unter der Lizenz sind dem Lizenztext zu entnehmen. * unter der Lizenz sind dem Lizenztext zu entnehmen.
*/ */
.date { .date {
font-size: 13px; font-size: 0.875rem;
white-space: nowrap; white-space: nowrap;
} }
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
.subject { .subject {
display: flex; display: flex;
align-items: center; align-items: center;
font-size: 16px; font-size: 1rem;
font-weight: 400; font-weight: 400;
margin: 2px 0; margin: 2px 0;
position: relative; position: relative;
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
} }
.created-at { .created-at {
font-size: 13px; font-size: 0.875rem;
position: absolute; position: absolute;
right: 0; right: 0;
top: 0; top: 0;
......
...@@ -27,8 +27,10 @@ ...@@ -27,8 +27,10 @@
<ozgcloud-back-button linkTo="../" label="zurück zur Detailseite"></ozgcloud-back-button> <ozgcloud-back-button linkTo="../" label="zurück zur Detailseite"></ozgcloud-back-button>
</ozgcloud-subnavigation> </ozgcloud-subnavigation>
<div class="l-scroll-area--full"> <div class="l-scroll-area--full flex flex-col">
<alfa-vorgang-in-postfach-breadcrumb-container></alfa-vorgang-in-postfach-breadcrumb-container> <h1 data-test-id="postfach-mail-heading" class="pl-7 pt-4 text-lg font-medium">
Nachrichten zum Vorgang
</h1>
<alfa-postfach-page-mail-list <alfa-postfach-page-mail-list
[postfachMailListStateResource]="postfachMailListStateResource" [postfachMailListStateResource]="postfachMailListStateResource"
data-test-id="postfach-mail-list" data-test-id="postfach-mail-list"
......
...@@ -21,10 +21,9 @@ ...@@ -21,10 +21,9 @@
* Die sprachspezifischen Genehmigungen und Beschränkungen * Die sprachspezifischen Genehmigungen und Beschränkungen
* unter der Lizenz sind dem Lizenztext zu entnehmen. * unter der Lizenz sind dem Lizenztext zu entnehmen.
*/ */
import { BackButtonComponent, SubnavigationComponent } from '@alfa-client/ui';
import { ComponentFixture, TestBed } from '@angular/core/testing'; import { ComponentFixture, TestBed } from '@angular/core/testing';
import { MatIcon } from '@angular/material/icon'; import { MatIcon } from '@angular/material/icon';
import { BackButtonComponent, SubnavigationComponent } from '@alfa-client/ui';
import { VorgangInPostfachBreadcrumbContainerComponent } from '@alfa-client/vorgang-shared-ui';
import { MockComponent } from 'ng-mocks'; import { MockComponent } from 'ng-mocks';
import { PostfachPageMailListComponent } from './postfach-page-mail-list/postfach-page-mail-list.component'; import { PostfachPageMailListComponent } from './postfach-page-mail-list/postfach-page-mail-list.component';
import { PostfachPageComponent } from './postfach-page.component'; import { PostfachPageComponent } from './postfach-page.component';
...@@ -41,7 +40,6 @@ describe('PostfachPageComponent', () => { ...@@ -41,7 +40,6 @@ describe('PostfachPageComponent', () => {
MockComponent(BackButtonComponent), MockComponent(BackButtonComponent),
MockComponent(SubnavigationComponent), MockComponent(SubnavigationComponent),
MockComponent(PostfachPageMailListComponent), MockComponent(PostfachPageMailListComponent),
MockComponent(VorgangInPostfachBreadcrumbContainerComponent),
], ],
}).compileComponents(); }).compileComponents();
}); });
......
...@@ -8,5 +8,5 @@ ...@@ -8,5 +8,5 @@
[color]="'primary'" [color]="'primary'"
> >
<mat-icon>save_alt</mat-icon> <mat-icon>save_alt</mat-icon>
<span>{{ text }}</span> <span class="text-sm">{{ text }}</span>
</a> </a>
...@@ -43,7 +43,7 @@ ozgcloud-expansion-panel { ...@@ -43,7 +43,7 @@ ozgcloud-expansion-panel {
margin-bottom: 0; margin-bottom: 0;
font-weight: 500; font-weight: 500;
margin-left: 8px; margin-left: 8px;
font-size: 16px; font-size: 1rem;
} }
.mat-expansion-panel-body { .mat-expansion-panel-body {
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
margin: 0; margin: 0;
padding: 0 4px 0 16px; padding: 0 4px 0 16px;
color: #fff; color: #fff;
font-size: 16px; font-size: 1rem;
font-weight: normal; font-weight: normal;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
padding: 0; padding: 0;
} }
.mat-mdc-form-field-error { .mat-mdc-form-field-error {
font-size: 12px; font-size: 0.75rem;
} }
.mdc-dialog__content { .mdc-dialog__content {
line-height: 20px; line-height: 20px;
......
...@@ -23,13 +23,13 @@ ...@@ -23,13 +23,13 @@
*/ */
h1 { h1 {
font-weight: normal; font-weight: normal;
font-size: 24px; font-size: 1.5rem;
display: flex; display: flex;
align-items: center; align-items: center;
.mat-icon { .mat-icon {
margin-right: 8px; margin-right: 8px;
font-size: 30px; font-size: 1.875rem;
width: 30px; width: 30px;
height: 30px; height: 30px;
} }
......
...@@ -23,13 +23,13 @@ ...@@ -23,13 +23,13 @@
*/ */
h2 { h2 {
font-weight: normal; font-weight: normal;
font-size: 24px; font-size: 1.5rem;
display: flex; display: flex;
align-items: center; align-items: center;
.mat-icon { .mat-icon {
margin-right: 8px; margin-right: 8px;
font-size: 30px; font-size: 1.875rem;
width: 30px; width: 30px;
height: 30px; height: 30px;
} }
......
...@@ -4,4 +4,6 @@ export const matTooltipDefaultOptions: MatTooltipDefaultOptions = { ...@@ -4,4 +4,6 @@ export const matTooltipDefaultOptions: MatTooltipDefaultOptions = {
showDelay: 1500, showDelay: 1500,
hideDelay: 0, hideDelay: 0,
touchendHideDelay: 1500, touchendHideDelay: 1500,
positionAtOrigin: true,
disableTooltipInteractivity: true,
}; };
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
</ng-template> </ng-template>
<div> <div>
<div class="headline">{{ headline }}</div> <div class="text-base font-medium">{{ headline }}</div>
<div class="text">{{ text }}</div> <div class="mb-3 text-sm font-normal">{{ text }}</div>
<ng-content></ng-content> <ng-content></ng-content>
</div> </div>
...@@ -15,17 +15,6 @@ ozgcloud-svgicon-big { ...@@ -15,17 +15,6 @@ ozgcloud-svgicon-big {
margin-right: 1rem; margin-right: 1rem;
} }
.headline {
font-weight: 500;
font-size: 16px;
}
.text {
font-weight: 400;
font-size: 14px;
margin-bottom: 10px;
}
:host-context(.dark) { :host-context(.dark) {
color: #fff; color: #fff;
background-color: #393939; background-color: #393939;
......
...@@ -27,7 +27,7 @@ h1 { ...@@ -27,7 +27,7 @@ h1 {
.mat-icon { .mat-icon {
margin-right: 8px; margin-right: 8px;
font-size: 30px; font-size: 1.875rem;
width: 30px; width: 30px;
height: 30px; height: 30px;
} }
......
...@@ -10,5 +10,5 @@ ...@@ -10,5 +10,5 @@
class="button" class="button"
> >
<mat-icon>open_in_new</mat-icon> <mat-icon>open_in_new</mat-icon>
<span>{{ text }}</span> <span class="text-sm">{{ text }}</span>
</a> </a>
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
> >
</mat-icon> </mat-icon>
<span *ngIf="text" data-test-class="button-with-spinner-text">{{ text }}</span> <span *ngIf="text" class="text-sm" data-test-class="button-with-spinner-text">{{ text }}</span>
<ozgcloud-spinner [diameter]="22" padding="0" [stateResource]="stateResource" [show]="showSpinner"> <ozgcloud-spinner [diameter]="22" padding="0" [stateResource]="stateResource" [show]="showSpinner">
</ozgcloud-spinner> </ozgcloud-spinner>
...@@ -29,5 +29,5 @@ ...@@ -29,5 +29,5 @@
[matTooltip]="toolTip" [matTooltip]="toolTip"
[checked]="checked" [checked]="checked"
(change)="valueChanged.emit($event.checked)" (change)="valueChanged.emit($event.checked)"
>{{ label }} ><span class="text-sm">{{ label }}</span>
</mat-slide-toggle> </mat-slide-toggle>
...@@ -38,6 +38,6 @@ ...@@ -38,6 +38,6 @@
<ozgcloud-menu #accountMenu data-test-id="account-menu"> <ozgcloud-menu #accountMenu data-test-id="account-menu">
<button mat-menu-item (click)="logoutEmitter.emit()" data-test-id="logout-button"> <button mat-menu-item (click)="logoutEmitter.emit()" data-test-id="logout-button">
<mat-icon>logout</mat-icon> <mat-icon>logout</mat-icon>
<span>Abmelden</span> <span class="text-base">Abmelden</span>
</button> </button>
</ozgcloud-menu> </ozgcloud-menu>
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
.hinweis { .hinweis {
grid-area: hinweis; grid-area: hinweis;
padding-left: 16px; padding-left: 16px;
font-size: 14px; font-size: 0.875rem;
} }
ozgcloud-stroked-button-with-spinner { ozgcloud-stroked-button-with-spinner {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment