update design & translation

This commit is contained in:
Chneemann 2024-05-18 20:15:16 +02:00
parent 6b6d6e553f
commit 264039a306
6 changed files with 22 additions and 2 deletions

View file

@ -1,7 +1,11 @@
@if (this.isLoggedIn === undefined) { @if (this.isLoggedIn === undefined) {
<router-outlet></router-outlet> <router-outlet></router-outlet>
} @else { } @else {
<div [ngClass]="{ 'blur-background': sharedService.isAnyDialogOpen }"> <div
[ngClass]="{
'blur-background': sharedService.isAnyDialogOpen
}"
>
<div class="container"> <div class="container">
<app-sidebar></app-sidebar> <app-sidebar></app-sidebar>
<app-header></app-header> <app-header></app-header>

View file

@ -4,7 +4,9 @@
app-header { app-header {
position: fixed; position: fixed;
top: 0;
left: 232px; left: 232px;
right: 0;
height: 96px; height: 96px;
width: 100%; width: 100%;
background-color: var(--white); background-color: var(--white);
@ -38,6 +40,7 @@ app-sidebar-mobile {
.blur-background { .blur-background {
filter: blur(5px); filter: blur(5px);
overflow: hidden;
} }
.d-none { .d-none {

View file

@ -31,6 +31,7 @@ firebaseService.getUserDataFromId(currentUserId); track user) {
></app-contact-form> ></app-contact-form>
</div> </div>
</div> </div>
<div class="notice">{{ "contacts.notice" | translate }}</div>
</div> </div>
</section> </section>
} } @else { } } @else {
@ -60,6 +61,7 @@ firebaseService.getUserDataFromId(currentUserId); track user) {
></app-contact-form> ></app-contact-form>
</div> </div>
</div> </div>
<div class="notice">{{ "contacts.notice" | translate }}</div>
</div> </div>
</section> </section>
} }

View file

@ -55,6 +55,7 @@ section {
align-items: center; align-items: center;
position: relative; position: relative;
width: 30%; width: 30%;
margin-bottom: 115px;
} }
.picker { .picker {
@ -84,6 +85,13 @@ section {
z-index: 2; z-index: 2;
} }
.notice {
font-size: 14px;
font-weight: 400;
text-align: center;
padding: 0 12px 12px 12px;
}
.form { .form {
display: flex; display: flex;
justify-content: center; justify-content: center;
@ -99,8 +107,9 @@ section {
.badge { .badge {
position: absolute; position: absolute;
top: 105px; top: 115px;
right: 40px; right: 40px;
padding-bottom: 0;
} }
.content { .content {

View file

@ -132,6 +132,7 @@
"contacts": { "contacts": {
"headline": "Kontakte", "headline": "Kontakte",
"headlineDescription": "Besser mit einem Team", "headlineDescription": "Besser mit einem Team",
"notice": "Hinweis: Klicken Sie in den Kreis, um die Farbe zu ändern.",
"btnNew": "Neuer Kontakt", "btnNew": "Neuer Kontakt",
"btnEdit0": "bearbeiten", "btnEdit0": "bearbeiten",
"btnEdit1": "Bearbeiten", "btnEdit1": "Bearbeiten",

View file

@ -132,6 +132,7 @@
"contacts": { "contacts": {
"headline": "Contacts", "headline": "Contacts",
"headlineDescription": "Better with a team", "headlineDescription": "Better with a team",
"notice": "Notice: Click in the circle to change the colour.",
"btnNew": "Add new contact", "btnNew": "Add new contact",
"btnEdit0": "edit", "btnEdit0": "edit",
"btnEdit1": "Edit", "btnEdit1": "Edit",