dev #14607 Море. Правки по сайту: some fixes

This commit is contained in:
nikolay 2023-06-29 14:22:29 +04:00
parent e12eb7a542
commit 7808270bb4
6 changed files with 47 additions and 32 deletions

View File

@ -13,8 +13,8 @@
box-sizing: border-box; box-sizing: border-box;
padding: 12px 16px; padding: 12px 16px;
width: 100%; width: 100%;
background: var(--button-color); background: var(--header-color);
color: var(--button-text-color); color: var(--text-color);
display: grid; display: grid;
justify-content: space-between; justify-content: space-between;
grid-template-columns: auto auto auto; grid-template-columns: auto auto auto;

View File

@ -211,6 +211,10 @@
height: 100%; height: 100%;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
p {
color: var(--text-color);
}
} }
.guest-card { .guest-card {
max-width: 600px; max-width: 600px;

View File

@ -8,6 +8,9 @@
}" }"
></app-navbar> ></app-navbar>
<div class="wrapper" *ngIf="isShowNumber; else smsCode"> <div class="wrapper" *ngIf="isShowNumber; else smsCode">
<div class="logo">
<img src="./assets/LOGO3.svg" alt="" width="50%" />
</div>
<form <form
(ngSubmit)="submitNumber()" (ngSubmit)="submitNumber()"
[formGroup]="phoneForm" [formGroup]="phoneForm"

View File

@ -14,6 +14,13 @@
left: 50%; left: 50%;
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
} }
.logo {
text-align: center;
margin-bottom: 40px;
img {
width: 50%;
}
}
h1 { h1 {
margin-top: 20px; margin-top: 20px;
width: 302px; width: 302px;
@ -161,8 +168,8 @@
will-change: transform; will-change: transform;
} }
.box:focus-within { .box:focus-within {
box-shadow: 0 0 6px 1px rgba(rgb(127, 32, 97), 0.2), box-shadow: 0 0 6px 1px var(--text-color_2),
0 0 0 2px rgba(rgb(127, 32, 97), 0.6); 0 0 0 2px var(--main-color_hover);
} }
.box::before, .box::before,
.box::after { .box::after {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 32 KiB

View File

@ -36,20 +36,20 @@ $accent: (
); );
$primary: ( $primary: (
50 : #ffffff, 50 : #f9f6f0,
100 : #ffffff, 100 : #f1e9da,
200 : #ffffff, 200 : #e8dac2,
300 : #ffffff, 300 : #decbaa,
400 : #ffffff, 400 : #d7bf97,
500 : #ffffff, 500 : #d0b485,
600 : #ffffff, 600 : #cbad7d,
700 : #ffffff, 700 : #c4a472,
800 : #ffffff, 800 : #be9c68,
900 : #ffffff, 900 : #b38c55,
A100 : #ffffff, A100 : #ffffff,
A200 : #ffffff, A200 : #fff4e4,
A400 : #ffffff, A400 : #ffdeb1,
A700 : #ffffff, A700 : #ffd397,
contrast: ( contrast: (
50 : #000000, 50 : #000000,
100 : #000000, 100 : #000000,
@ -111,38 +111,34 @@ body {
} }
:root { :root {
--main-color: #000000; --main-color: #d0b485;
--main-border-radius: 35px; --main-border-radius: 35px;
--background-color: #000000; --background-color: #000000;
--header-color: #303030;
--text-color: #ffffff; --text-color: #ffffff;
--text-color_1: #aaaaaa; --text-color_1: #303030;
--text-color_2: rgba(208, 180, 133, 0.6);
--button-color: #ffffff; --button-color: #d0b485;
--button-color_disabled: #aaaaaa;
--button-text-color: #000000; --button-text-color: #303030;
--button-text-color_disabled: #cccccc;
--main-color_hover: rgba(0, 0, 0, 0.2); --main-color_hover: rgba(208, 180, 133, 0.2);
} }
.mdc-button__label { .mdc-button__label {
color: var(--background-color) !important; color: var(--text-color) !important;
} }
.mdc-text-field--outlined:not(.mdc-text-field--disabled, .mdc-text-field--invalid) .mdc-notched-outline__leading, .mdc-text-field--outlined:not(.mdc-text-field--disabled, .mdc-text-field--invalid) .mdc-notched-outline__leading,
.mdc-text-field--outlined:not(.mdc-text-field--disabled, .mdc-text-field--invalid) .mdc-notched-outline__notch, .mdc-text-field--outlined:not(.mdc-text-field--disabled, .mdc-text-field--invalid) .mdc-notched-outline__notch,
.mdc-text-field--outlined:not(.mdc-text-field--disabled, .mdc-text-field--invalid) .mdc-notched-outline__trailing { .mdc-text-field--outlined:not(.mdc-text-field--disabled, .mdc-text-field--invalid) .mdc-notched-outline__trailing {
border-color: var(--text-color_1); border-color: var(--text-color_2);
}
.mdc-text-field--outlined:not(.mdc-text-field--disabled, .mdc-text-field--invalid) .mdc-notched-outline__leading {
} }
.mat-mdc-outlined-button:not(:disabled) { .mat-mdc-outlined-button:not(:disabled) {
border-color: var(--button-text-color) !important; border-color: var(--text-color) !important;
} }
.mat-h1, .mat-h1,
@ -162,13 +158,18 @@ body {
} }
.mdc-text-field:not(.mdc-text-field--disabled, .mdc-text-field--invalid) .mdc-floating-label { .mdc-text-field:not(.mdc-text-field--disabled, .mdc-text-field--invalid) .mdc-floating-label {
color: var(--text-color_1); color: var(--text-color_2);
} }
.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input { .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input {
color: var(--text-color); color: var(--text-color);
} }
.mat-bottom-sheet-container {
background: var(--header-color);
color: var(--text-color);
}
hr { hr {
width: 100%; width: 100%;
border-top: 1px solid #BDBDBD; border-top: 1px solid #BDBDBD;