h-usersite/angular/src/styles.scss

148 lines
3.0 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.

// Сброс стилей
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;vertical-align:middle}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}
html{height:100%;color:#fff;}
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: 'Gotham Pro';
font-family: 'Montserrat', sans-serif;
}
.center {
display: flex;
justify-content: center;
}
body {
background-color: #231F20;
}
:root {
--main-color: #00b26b;
--main-border-radius: 35px;
}
hr {
width: 100%;
border-top: 1px solid#BDBDBD;
}
.mat-form-field-wrapper {
padding: 0;
}
.mat-form-field-outline-start, .mat-form-field-outline-end {
border-radius: 0 !important;
}
.mat-form-field-outline-start {
border-left: none !important;
}
.mat-form-field-outline-end {
border-right: none !important;
}
.mat-focused .mat-form-field-outline > div {
border-color: #28af49;
}
.mat-focused .mat-form-field-label {
color: #fff !important;
}
.mat-form-field-invalid .mat-form-field-outline > div {
border-color: red;
}
.country-list-button {
color: #fff !important;
}
.mat-menu-panel {
background: #231f20;
border-radius: 0;
}
.country-selector {
opacity: 1 !important;
display: none !important;
}
.ngx-floating .country-selector {
display: block !important;
}
.country-selector-code {
color: #fff;
}
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: #009688;
color: #fff;
}
::-webkit-scrollbar {
width: 0;
}
button {
cursor: pointer;
}
.p-toast-message-custom {
background-color: #fff;
border: solid var(--main-color);
border-width: 0 0 0 6px;
color: #000;
.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;
}
html, body { height: 100%; }
body { margin: 0; }