h-usersite/angular/src/styles.scss

285 lines
6.1 KiB
SCSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@use '@angular/material' as mat;
@include mat.core();
$primary: (
50 : #e0ebea,
100 : #b3cecb,
200 : #80aea8,
300 : #4d8d85,
400 : #26746a,
500 : #005c50,
600 : #005449,
700 : #004a40,
800 : #004137,
900 : #003027,
A100 : #69ffdb,
A200 : #36ffce,
A400 : #03ffc2,
A700 : #00e8b0,
contrast: (
50 : #000000,
100 : #000000,
200 : #000000,
300 : #ffffff,
400 : #ffffff,
500 : #ffffff,
600 : #ffffff,
700 : #ffffff,
800 : #ffffff,
900 : #ffffff,
A100 : #000000,
A200 : #000000,
A400 : #000000,
A700 : #000000,
)
);
$accent: (
50 : #ffffff,
100 : #ffffff,
200 : #ffffff,
300 : #ffffff,
400 : #ffffff,
500 : #ffffff,
600 : #ffffff,
700 : #ffffff,
800 : #ffffff,
900 : #ffffff,
A100 : #ffffff,
A200 : #ffffff,
A400 : #ffffff,
A700 : #ffffff,
contrast: (
50 : #000000,
100 : #000000,
200 : #000000,
300 : #000000,
400 : #000000,
500 : #000000,
600 : #000000,
700 : #000000,
800 : #000000,
900 : #000000,
A100 : #000000,
A200 : #000000,
A400 : #000000,
A700 : #000000,
)
);
$primary-palette: mat.define-palette($primary);
$accent-palette: mat.define-palette($accent);
$theme: mat.define-light-theme((
color: (
primary: $primary-palette,
accent: $accent-palette,
),
typography: mat.define-typography-config(),
density: 0,
));
@include mat.all-component-themes($theme);
// Сброс стилей
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}
html{height:100%;}
body{line-height:1}
ol,ul{list-style:none}
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}
table{border-collapse:collapse;border-spacing:0}
// @import url('./app/styles/_fonts.scss');
// @import url('https://fonts.cdnfonts.com/css/gotham-pro');
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
* {
font-family: 'Montserrat', sans-serif;
}
.center {
display: flex;
justify-content: center;
}
body {
background-color: var(--background-color);
}
:root {
--main-color: #28AF49;
--main-color_2: #005C50;
--main-border-radius: 35px;
--background-color: #ffffff;
--background-color_1: #ffffff;
--text-color: #000000;
--text-color_1: #8d8d8d;
--button-color: #005C50;
--button-color_disabled: rgb(0, 92, 80, 0.9);
--button-text-color: #ffffff;
--button-text-color_disabled: #cccccc;
--main-color_hover: rgba(0, 92, 80, 0.3);
}
.mdc-text-field--outlined:not(.mdc-text-field--disabled, .mdc-text-field--invalid, .mat-focused) .mdc-notched-outline__leading,
.mdc-text-field--outlined:not(.mdc-text-field--disabled, .mdc-text-field--invalid, .mat-focused) .mdc-notched-outline__notch,
.mdc-text-field--outlined:not(.mdc-text-field--disabled, .mdc-text-field--invalid, .mat-focused) .mdc-notched-outline__trailing {
border-color: var(--main-color_2) !important;
}
.mat-mdc-outlined-button:not(:disabled) {
border-color: var(--text-color) !important;
.mdc-button__label {
color: var(--text-color);
}
}
.mdc-text-field:not(.mdc-text-field--disabled, .mdc-text-field--invalid) .mdc-floating-label {
color: var(--main-color_2);
}
.mdc-text-field span {
color: inherit !important;
}
.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input {
color: var(--text-color);
}
.mdc-button__label span {
color: var(--text-color) !important;
}
.mat-mdc-outlined-button:not(:disabled) {
border-color: var(--button-text-color) !important;
}
.mat-h1,
.mat-headline-5,
.mat-typography .mat-h1,
.mat-typography .mat-headline-5,
.mat-typography h1 {
font-family: Montserrat;
}
p, span, h1, h2, h3, h4, h5, h6 {
color: var(--text-color);
}
.mat-h2,
.mat-headline-6,
.mat-typography .mat-h2,
.mat-typography .mat-headline-6,
.mat-typography h2 {
font-family: Montserrat, sans-serif;
}
.mat-bottom-sheet-container {
background: var(--background-color_1);
color: var(--text-color);
}
hr {
width: 100%;
border-top: 1px solid #BDBDBD;
}
.country-selector {
opacity: 1 !important;
display: none !important;
}
.ngx-floating .country-selector {
display: block !important;
}
.country-selector-code {
color: var(--text-color);
}
qr-code canvas {
transition: all 0.3s ease 0s;
}
.p-inputtext {
width: 100%;
border: 1px solid #B8DEFF;
border-radius: 15px;
height: 45px;
}
.p-inputtext.invalid {
border-color: red;
}
mark {
padding: 4px;
background: var(--background-color);
color: bar(--text-color);
}
::-webkit-scrollbar {
width: 0;
}
button {
cursor: pointer;
}
.p-toast-message-custom {
background-color: var(--background-color);
border: solid var(--main-color);
border-width: 0 0 0 6px;
color: var(--text-color);
.p-toast-icon-close {
color: var(--main-color);
}
}
.p-toast.p-component.p-toast-top-center {
max-width: 96vw;
}
.qrcode {
display: flex;
justify-content: center;
}
.sb-group {
width: 100%;
justify-content: space-between;
max-width: 400px;
}
input::-webkit-date-and-time-value {
text-align: left;
}
.p-toast-message-custom {
background-color: var(--background-color);
border: solid var(--main-color);
border-width: 0 0 0 6px;
color: var(--text-color);
.p-toast-icon-close {
color: var(--main-color);
}
}
.p-toast.p-component.p-toast-top-center {
max-width: 96vw;
}
html, body { height: 100%; }
body { margin: 0; }