w/raw pre-uploader
This commit is contained in:
755
static/css/ZayavkaStyle.css
Normal file
755
static/css/ZayavkaStyle.css
Normal file
@@ -0,0 +1,755 @@
|
||||
*{
|
||||
/* margin: 0; */
|
||||
padding: 0;
|
||||
background-color: var(--baseBlue);
|
||||
}
|
||||
|
||||
body{
|
||||
z-index: -10;
|
||||
}
|
||||
|
||||
/* */
|
||||
/* */
|
||||
|
||||
/* */
|
||||
input{
|
||||
padding: 1% 1%;
|
||||
}
|
||||
|
||||
a, h1, h2, h3, h4, h5, h6, label{
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
margin: 0 !important;
|
||||
padding: 0;
|
||||
}
|
||||
/*
|
||||
label{
|
||||
padding: 0 0 1% 2%;
|
||||
}
|
||||
*/
|
||||
li{
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.flex{
|
||||
display: flex;
|
||||
}
|
||||
|
||||
:root{
|
||||
--baseBlue: #242430;
|
||||
--blue: #4D54BA;
|
||||
--lightBlue: #54AAFF;
|
||||
--white: #fff;
|
||||
}
|
||||
|
||||
.baseBlue{
|
||||
color: var(--baseBlue);
|
||||
}
|
||||
|
||||
.blue{
|
||||
color: var(--blue);
|
||||
}
|
||||
|
||||
.white{
|
||||
color: var(--white);
|
||||
}
|
||||
|
||||
.lightBlue{
|
||||
color: var(--lightBlue);
|
||||
}
|
||||
|
||||
.container{
|
||||
padding: 0 10%;
|
||||
}
|
||||
|
||||
.arial-regular{
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.arial-bald{
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.f14{
|
||||
/* font-size: 14px; */
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.colms{
|
||||
flex-direction: column;
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
.between{
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.w100{
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* ---------- */
|
||||
|
||||
|
||||
.header-inner{
|
||||
margin: 1.5% 0 0;
|
||||
padding: 0 14%;
|
||||
}
|
||||
|
||||
.headerLi{
|
||||
margin: 0% 1% 1%;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* ----------- main ----------- */
|
||||
.main{
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.inputText{
|
||||
display: none;
|
||||
}
|
||||
|
||||
.inputLink{
|
||||
display: none;
|
||||
margin-bottom: 3%;
|
||||
}
|
||||
|
||||
.form1{
|
||||
flex-direction: column;
|
||||
text-align: center;
|
||||
align-items: center;
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
.radio1Div{
|
||||
flex-direction: row;
|
||||
margin: 0 !important;
|
||||
text-align: center;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#tel, #tg{
|
||||
overflow-wrap: break-word;
|
||||
box-sizing: border-box;
|
||||
padding-left: 3%;
|
||||
}
|
||||
|
||||
|
||||
.inputZ{
|
||||
border-style: solid;
|
||||
border-color: var(--blue);
|
||||
}
|
||||
|
||||
.zayavkaH1{
|
||||
font-size: 34px;
|
||||
padding: 2% 0 4%;
|
||||
}
|
||||
|
||||
.input1Width{
|
||||
width: 100%;
|
||||
min-height: 25px;
|
||||
box-sizing: border-box;
|
||||
padding: 2.5% 2.5% 2.5% 3%;
|
||||
color: var(--white);
|
||||
border-radius: 15px;
|
||||
}
|
||||
|
||||
.w1{
|
||||
/* align-content: flex-start;
|
||||
*/ display: flex;
|
||||
}
|
||||
|
||||
.input1Width:focus, .inpt2:focus{
|
||||
border-color: var(--lightBlue);
|
||||
outline: var(--lightBlue);
|
||||
color: var(--white);
|
||||
padding-left: 2%;
|
||||
}
|
||||
|
||||
.inpt2{
|
||||
color: var(--white);
|
||||
}
|
||||
|
||||
.e1{
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
width: 70%;
|
||||
text-align: start;
|
||||
margin: 0 !important;
|
||||
padding: 0 0 2%;
|
||||
align-items: center;
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
#email{
|
||||
margin-top: 5%;
|
||||
}
|
||||
|
||||
#hide2{
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#tgHover, #bt {
|
||||
min-height: 70px;
|
||||
border: var(--lightBlue) solid 2px;
|
||||
text-align: center;
|
||||
box-sizing: border-box;
|
||||
color: var(--white);
|
||||
width: 23vw;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
overflow: hidden;
|
||||
transition: all 0.3s ease;
|
||||
border-radius: 17px;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
#tgHover:after, #bt:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
width: 0; /* Начинаем с нулевой ширины */
|
||||
background-color: var(--lightBlue);
|
||||
transition: width 0.3s ease; /* Анимируем именно ширину */
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
#tgHover:hover:after, #bt:hover:after {
|
||||
width: 100%; /* Расширяем до конца */
|
||||
}
|
||||
|
||||
|
||||
|
||||
.e2{
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
width: 70%;
|
||||
margin: 0 !important;
|
||||
text-align: start;
|
||||
float: left;
|
||||
}
|
||||
|
||||
#or{
|
||||
padding: 0;
|
||||
margin: 0 0 1.5%;
|
||||
}
|
||||
|
||||
.ent{
|
||||
width: 23vw;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.e3{
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
width: 70%;
|
||||
margin: 0 !important;
|
||||
text-align: start;
|
||||
float: left;
|
||||
padding: 0 0 1%;
|
||||
|
||||
}
|
||||
|
||||
input[type="radio"] {
|
||||
accent-color: var(--blue);
|
||||
margin: 0 2% 0 0;
|
||||
}
|
||||
|
||||
#tel{
|
||||
width: 20vw;
|
||||
}
|
||||
|
||||
select option{
|
||||
padding: 0 !important;
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
select{
|
||||
padding: 0 !important;
|
||||
margin: 0 !important;
|
||||
/* border: #4D54BA; */
|
||||
border-top: 2px solid #4D54BA;
|
||||
border-bottom: 2px solid #4D54BA;
|
||||
border-left: 2px solid #4D54BA;
|
||||
border-right: none;
|
||||
color: var(--white);
|
||||
min-height: 26px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
#telind{
|
||||
width: 3vw;
|
||||
min-height: 25px;
|
||||
|
||||
}
|
||||
|
||||
|
||||
#l1{
|
||||
padding-left: 1%;
|
||||
}
|
||||
|
||||
#linkTao{
|
||||
width: 100%;
|
||||
min-height: 25px;
|
||||
box-sizing: border-box;
|
||||
padding-left: 1.2%;
|
||||
border-radius: 13px;
|
||||
|
||||
/* margin: 0 0 3%; */
|
||||
}
|
||||
|
||||
#linkItem{
|
||||
width: 100%;
|
||||
overflow-wrap: break-word;
|
||||
box-sizing: border-box;
|
||||
min-height: 185px;
|
||||
padding: 2% 1.3%;
|
||||
margin-top: 1%;
|
||||
|
||||
border-radius: 15px;
|
||||
|
||||
/* display: none; */
|
||||
|
||||
}
|
||||
|
||||
/* .btn{
|
||||
padding: 0.8% 2%;
|
||||
border-radius: 5px;
|
||||
border-color: var(--lightBlue);
|
||||
color: var(--white);
|
||||
margin: 2% 0 0 0;
|
||||
}
|
||||
|
||||
.btn:hover{
|
||||
background-color: var(--lightBlue);
|
||||
color: var(--baseBlue);
|
||||
transition: .7s;
|
||||
} */
|
||||
|
||||
.ptg{
|
||||
margin: 0 0 2px 2%;
|
||||
margin-bottom: 2px;
|
||||
|
||||
}
|
||||
|
||||
#linkUnderneath, #linkUnderneath1{
|
||||
padding: 0;
|
||||
margin: 7px 0 0 0;
|
||||
}
|
||||
|
||||
.under{
|
||||
margin: 0;
|
||||
padding: 2% 0 0 0;
|
||||
color: var(--lightBlue);
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
/* ----------- footer ------------- */
|
||||
.notiInnner{
|
||||
display: flex;
|
||||
background-color: var(--blue);
|
||||
text-align: center;
|
||||
justify-content: center;
|
||||
border: var(--white) solid 1px;
|
||||
border-radius: 15px;
|
||||
}
|
||||
|
||||
.footerP, .footerA{
|
||||
background-color: var(--blue);
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.footerP{
|
||||
padding: 0 2%;
|
||||
color: var(--white);
|
||||
}
|
||||
|
||||
.footerA{
|
||||
color: #a9d4ff !important;
|
||||
}
|
||||
|
||||
footer{
|
||||
text-align: center;
|
||||
margin: 3% 0 0;
|
||||
}
|
||||
|
||||
/* ---------------------------------- @media ---------------------------------- */
|
||||
|
||||
/* Small Mobile: 320px - 425px (for older or compact smartphones)*/
|
||||
/* Modern Mobile: 375px - 575px (for modern smartphones)*/
|
||||
/* Landscape Phones / Small Tablets: 576px - 767px*/
|
||||
/* Tablets (Portrait): 768px - 991px*/
|
||||
/* Laptops / Small Desktops: 992px - 1199px*/
|
||||
/* Desktops: 1200px - 1400px (or higher)*/
|
||||
/* Large Desktops / High-Resolution Screens: 1401px and above */
|
||||
|
||||
@media (min-width: 1921px) {
|
||||
.container{
|
||||
padding: 0 calc(100%/4);
|
||||
}
|
||||
|
||||
.input1Width, #tel {
|
||||
width: 15vw;
|
||||
}
|
||||
|
||||
#tgHover, #bt{
|
||||
width: 16vw;
|
||||
}
|
||||
|
||||
.ent p{
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
.ent{
|
||||
width: 43%;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 1400px) and (min-width: 1200px) {
|
||||
.container{
|
||||
padding: 0 6%;
|
||||
}
|
||||
|
||||
/* .input1Width {
|
||||
width: 15vw;
|
||||
} */
|
||||
}
|
||||
|
||||
@media (max-width: 1199px) and (min-width: 992px) {
|
||||
.container{
|
||||
padding: 0 7%;
|
||||
}
|
||||
|
||||
/* .input1Width {
|
||||
width: 15vw;
|
||||
} */
|
||||
|
||||
.f14{
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 991px) and (min-width: 768px) {
|
||||
|
||||
input::placeholder, textarea::placeholder {
|
||||
font-size:10px;
|
||||
}
|
||||
|
||||
.container{
|
||||
padding: 0 7%;
|
||||
}
|
||||
|
||||
.input1Width, #inputLink {
|
||||
min-height: 20px;
|
||||
}
|
||||
|
||||
.zayavkaH1{
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
#tgHover, #bt{
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.inputZ, .f14, .footerP, .footerA {
|
||||
font-size: 10.5px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@media (max-width: 767px) and (min-width: 576px) {
|
||||
|
||||
input::placeholder, textarea::placeholder {
|
||||
font-size: 9px;
|
||||
}
|
||||
|
||||
.container{
|
||||
padding: 0 7%;
|
||||
}
|
||||
|
||||
.input1Width, #inputLink {
|
||||
min-height: 20px;
|
||||
}
|
||||
|
||||
#tgHover, #bt{
|
||||
font-size: 10px;
|
||||
min-height: 55px;
|
||||
}
|
||||
|
||||
.zayavkaH1{
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.inputZ, .f14, .footerP, .footerA {
|
||||
font-size: 9.5px;
|
||||
}
|
||||
|
||||
.logoIMG{
|
||||
max-width: 75%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
#linkItem{
|
||||
min-height: 200px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 575px) and (min-width: 426px) {
|
||||
*{
|
||||
padding: 0;
|
||||
background-color: var(--baseBlue);
|
||||
margin: inherit;
|
||||
}
|
||||
|
||||
input::placeholder, textarea::placeholder {
|
||||
font-size: 7px;
|
||||
}
|
||||
|
||||
.container, .cont{
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.e1 {
|
||||
flex-direction: column;
|
||||
text-align: start;
|
||||
margin: 5% 0 0 0;
|
||||
padding: 0 0 4%;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.input1Width, #inputLink {
|
||||
min-height: 20px;
|
||||
}
|
||||
|
||||
#tgHover, #bt{
|
||||
font-size: 14px;
|
||||
width: 100%;
|
||||
min-height: 50px;
|
||||
}
|
||||
|
||||
.input1Width {
|
||||
box-sizing: border-box;
|
||||
padding-left: 3%;
|
||||
color: var(--white);
|
||||
}
|
||||
|
||||
.colms, .input1Width{
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.zayavkaH1{
|
||||
font-size: 1.3em;
|
||||
padding: 4% 0;
|
||||
}
|
||||
|
||||
.inputZ, .f14, .footerP, .footerA {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.inputZ{
|
||||
margin: 0 0 1%;
|
||||
padding: 1% 0 0.5% 2%;
|
||||
}
|
||||
|
||||
.logoIMG{
|
||||
max-width: 70%;
|
||||
height: auto;
|
||||
margin: 6% 0 4% -21%;
|
||||
}
|
||||
|
||||
#linkItem{
|
||||
min-height: 200px;
|
||||
}
|
||||
|
||||
#linkTao{
|
||||
min-height: 20px;
|
||||
}
|
||||
|
||||
#tel {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.e3 {
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
margin: 0 !important;
|
||||
padding: 0 0 3%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.v{
|
||||
margin-bottom: 2% !important;
|
||||
}
|
||||
|
||||
.forDown{
|
||||
margin-bottom: 3%;
|
||||
}
|
||||
|
||||
#email{
|
||||
margin-top: 3%;
|
||||
}
|
||||
|
||||
input[type="radio"] {
|
||||
margin: 0 2% 2% 0;
|
||||
}
|
||||
|
||||
.btn{
|
||||
padding: 2%;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.e1, .e2 {
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
footer{
|
||||
margin: 5% 1%;
|
||||
}
|
||||
|
||||
.footerP{
|
||||
padding: 0.5%;
|
||||
}
|
||||
|
||||
#bt{
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.cont{
|
||||
width: 80%;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 426px) and (min-width: 350px) {
|
||||
.container{
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#tgHover, #bt{
|
||||
font-size: 12px;
|
||||
width: 100%;
|
||||
min-height: 42px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.zayavkaH1 {
|
||||
font-size: 19px;
|
||||
padding: 7% 0 8%;
|
||||
}
|
||||
|
||||
.e1 {
|
||||
flex-direction: column;
|
||||
width: 70%;
|
||||
text-align: start;
|
||||
margin: 0 !important;
|
||||
padding: 0 0 4%;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.input1Width, #inputLink {
|
||||
min-height: 20px;
|
||||
}
|
||||
|
||||
.input1Width {
|
||||
box-sizing: border-box;
|
||||
padding-left: 3%;
|
||||
color: var(--white);
|
||||
}
|
||||
|
||||
.colms, .input1Width{
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.inputZ, .f14, .footerP, .footerA {
|
||||
font-size: 14px;
|
||||
/* padding: 0 0 3%; */
|
||||
}
|
||||
|
||||
.inputZ{
|
||||
margin: 0 0 5%;
|
||||
padding: 1% 0 0.5% 2%;
|
||||
margin-bottom: 3%;
|
||||
}
|
||||
|
||||
#tel{
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.logoIMG{
|
||||
max-width: 75%;
|
||||
height: auto;
|
||||
margin: 6% 0 0 -21%;
|
||||
}
|
||||
|
||||
#linkItem{
|
||||
min-height: 200px;
|
||||
}
|
||||
|
||||
#linkTao{
|
||||
min-height: 20px;
|
||||
}
|
||||
|
||||
.e3 {
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
margin: 0 !important;
|
||||
padding: 0 0 3%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.v{
|
||||
margin-bottom: 2% !important;
|
||||
}
|
||||
|
||||
input[type="radio"] {
|
||||
margin: 0 2% 2% 0;
|
||||
}
|
||||
|
||||
.btn{
|
||||
padding: 2%;
|
||||
}
|
||||
|
||||
.e1, .e2 {
|
||||
width: 85%;
|
||||
}
|
||||
|
||||
footer{
|
||||
margin: 8% 1%;
|
||||
}
|
||||
|
||||
.footerP{
|
||||
padding: 1% 2%;
|
||||
}
|
||||
|
||||
#bt{
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#tgHover a{
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.cont{
|
||||
width: 86%;
|
||||
}
|
||||
|
||||
.forDown{
|
||||
margin: 0 0 3%;
|
||||
}
|
||||
#email{
|
||||
margin-top: 3%;
|
||||
}
|
||||
}
|
||||
182
static/css/baseCSS.css
Normal file
182
static/css/baseCSS.css
Normal file
@@ -0,0 +1,182 @@
|
||||
*{
|
||||
/* margin: 0; */
|
||||
padding: 0;
|
||||
background-color: var(--baseBlue);
|
||||
}
|
||||
|
||||
a, h1, h2, h3, h4, h5, h6, label, p{
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
margin: 0 !important;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
label{
|
||||
padding: 0 0 1% 2%;
|
||||
}
|
||||
|
||||
li{
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.flex{
|
||||
display: flex;
|
||||
}
|
||||
|
||||
:root{
|
||||
--baseBlue: #242430;
|
||||
--blue: #4D54BA;
|
||||
--lightBlue: #54AAFF;
|
||||
--white: #fff;
|
||||
}
|
||||
|
||||
.baseBlue{
|
||||
color: var(--baseBlue);
|
||||
}
|
||||
|
||||
.blue{
|
||||
color: var(--blue);
|
||||
}
|
||||
|
||||
.white{
|
||||
color: var(--white);
|
||||
}
|
||||
|
||||
.lightBlue{
|
||||
color: var(--lightBlue);
|
||||
}
|
||||
|
||||
.container{
|
||||
padding: 0 7%;
|
||||
}
|
||||
|
||||
.arial-regular{
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.arial-bald{
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.f14{
|
||||
/* font-size: 14px; */
|
||||
font-size: 0.9rem;
|
||||
|
||||
}
|
||||
|
||||
.f16{
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.colms{
|
||||
flex-direction: column;
|
||||
margin: 0 !important
|
||||
}
|
||||
|
||||
.between{
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.w100{
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.w1-5
|
||||
{
|
||||
width: 20%;
|
||||
}
|
||||
/* ---------------------- footer ----------------------- */
|
||||
.footer-inner{
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.right{
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
.footerLI{
|
||||
padding: 9% 2% 0;
|
||||
}
|
||||
|
||||
|
||||
/* -------------------- header ----------------------*/
|
||||
.pokazateli{
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.header-inner{
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.select{
|
||||
max-width: 8vw;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.header-1{
|
||||
width: 9%;
|
||||
text-align: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.header-2{
|
||||
width: 35%;
|
||||
justify-content: space-between !important;
|
||||
text-align: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.headerUL{
|
||||
justify-content: space-between !important;
|
||||
text-align: center;
|
||||
align-items: center;
|
||||
border: none;
|
||||
width: 35%;
|
||||
|
||||
}
|
||||
|
||||
.header-3{
|
||||
width: 30%;
|
||||
text-align: center;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#search-inpt{
|
||||
border-radius: 30px;
|
||||
border-color: var(--blue);
|
||||
min-width: 22vw;
|
||||
min-height: 2vw;
|
||||
box-sizing: border-box;
|
||||
padding-left: 3%;
|
||||
border-style: solid;
|
||||
background-color: var(--backBlue);
|
||||
color: var(--white);
|
||||
}
|
||||
|
||||
.header-4{
|
||||
width: 7%;
|
||||
justify-content: space-around;
|
||||
text-align: center;
|
||||
align-items: center;
|
||||
color: var(--lightBlue);
|
||||
}
|
||||
|
||||
.header-5{
|
||||
width: 10%;
|
||||
}
|
||||
|
||||
.login{
|
||||
background-color: var(--blue);
|
||||
border: var(--blue) solid 1px;
|
||||
padding: 6% 20%;
|
||||
}
|
||||
|
||||
option{
|
||||
font-size: 14px !important;
|
||||
}
|
||||
120
static/css/errorPages.css
Normal file
120
static/css/errorPages.css
Normal file
@@ -0,0 +1,120 @@
|
||||
*{
|
||||
padding: 0;
|
||||
background-color: var(--baseBlue);
|
||||
}
|
||||
|
||||
a, h1, h2, h3, h4, h5, h6, label{
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
margin: 0 !important;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.flex{
|
||||
display: flex;
|
||||
}
|
||||
|
||||
:root{
|
||||
--baseBlue: #242430;
|
||||
--blue: #4D54BA;
|
||||
--lightBlue: #54AAFF;
|
||||
--white: #fff;
|
||||
}
|
||||
|
||||
.wrapper{
|
||||
min-height: 80vh;
|
||||
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
align-items: center;
|
||||
justify-self: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.baseBlue{
|
||||
color: var(--baseBlue);
|
||||
}
|
||||
|
||||
.blue{
|
||||
color: var(--blue);
|
||||
}
|
||||
|
||||
.white{
|
||||
color: var(--white);
|
||||
}
|
||||
|
||||
.lightBlue{
|
||||
color: var(--lightBlue);
|
||||
}
|
||||
|
||||
.container{
|
||||
padding: 0 7%;
|
||||
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
align-items: center;
|
||||
justify-self: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.arial-regular{
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.arial-bald{
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.f14{
|
||||
/* font-size: 14px; */
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.column{
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
/* ------------------------ ---------------------- ------------------------------ */
|
||||
.fontCenter{
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
align-items: center;
|
||||
justify-self: center;
|
||||
align-items: center;
|
||||
font-size: 160px;
|
||||
}
|
||||
|
||||
.fontCenter1{
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
align-items: center;
|
||||
justify-self: center;
|
||||
align-items: center;
|
||||
font-size: 39px;
|
||||
padding: 0 0 4%;
|
||||
}
|
||||
|
||||
.text{
|
||||
width: 50%;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
align-items: center;
|
||||
justify-self: center;
|
||||
align-items: center;
|
||||
/* margin-top: 12vw; */
|
||||
padding: 5%;
|
||||
/* border: var(--blue) solid 3px;
|
||||
border-radius: 20px; */
|
||||
}
|
||||
|
||||
.lilText{
|
||||
font-size: 20px;
|
||||
text-align: center;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.a1{
|
||||
min-height: 100vh;
|
||||
}
|
||||
30
static/css/fonts.css
Normal file
30
static/css/fonts.css
Normal file
@@ -0,0 +1,30 @@
|
||||
.unbounded {
|
||||
font-family: "Unbounded", sans-serif;
|
||||
font-optical-sizing: auto;
|
||||
font-weight: 600;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
|
||||
.onest{
|
||||
font-family: "Onest", sans-serif;
|
||||
font-optical-sizing: auto;
|
||||
font-weight: 200;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
|
||||
.jetbrains-mono {
|
||||
font-family: "JetBrains Mono", monospace;
|
||||
font-optical-sizing: auto;
|
||||
font-weight: 200;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
input::placeholder, textarea::placeholder, input, textarea {
|
||||
font-family: "Onest", sans-serif;
|
||||
font-optical-sizing: auto;
|
||||
font-weight: 200;
|
||||
font-style: normal;
|
||||
font-size: 12px;
|
||||
}
|
||||
355
static/css/normalize.css
vendored
Normal file
355
static/css/normalize.css
vendored
Normal file
@@ -0,0 +1,355 @@
|
||||
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
|
||||
|
||||
/* Document
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* 1. Correct the line height in all browsers.
|
||||
* 2. Prevent adjustments of font size after orientation changes in iOS.
|
||||
*/
|
||||
|
||||
html {
|
||||
line-height: 1.15; /* 1 */
|
||||
-webkit-text-size-adjust: 100%; /* 2 */
|
||||
}
|
||||
|
||||
/* Sections
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove the margin in all browsers.
|
||||
*/
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Render the `main` element consistently in IE.
|
||||
*/
|
||||
|
||||
main {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/**
|
||||
* Correct the font size and margin on `h1` elements within `section` and
|
||||
* `article` contexts in Chrome, Firefox, and Safari.
|
||||
*/
|
||||
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
margin: 0.67em 0;
|
||||
}
|
||||
|
||||
/* Grouping content
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* 1. Add the correct box sizing in Firefox.
|
||||
* 2. Show the overflow in Edge and IE.
|
||||
*/
|
||||
|
||||
hr {
|
||||
box-sizing: content-box; /* 1 */
|
||||
height: 0; /* 1 */
|
||||
overflow: visible; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct the inheritance and scaling of font size in all browsers.
|
||||
* 2. Correct the odd `em` font sizing in all browsers.
|
||||
*/
|
||||
|
||||
pre {
|
||||
font-family: monospace, monospace; /* 1 */
|
||||
font-size: 1em; /* 2 */
|
||||
}
|
||||
|
||||
/* Text-level semantics
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove the gray background on active links in IE 10.
|
||||
*/
|
||||
|
||||
a {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Remove the bottom border in Chrome 57-
|
||||
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
||||
*/
|
||||
|
||||
abbr[title] {
|
||||
border-bottom: none; /* 1 */
|
||||
text-decoration: underline; /* 2 */
|
||||
text-decoration: underline dotted; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Add the correct font weight in Chrome, Edge, and Safari.
|
||||
*/
|
||||
|
||||
b,
|
||||
strong {
|
||||
font-weight: bolder;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct the inheritance and scaling of font size in all browsers.
|
||||
* 2. Correct the odd `em` font sizing in all browsers.
|
||||
*/
|
||||
|
||||
code,
|
||||
kbd,
|
||||
samp {
|
||||
font-family: monospace, monospace; /* 1 */
|
||||
font-size: 1em; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Add the correct font size in all browsers.
|
||||
*/
|
||||
|
||||
small {
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
/**
|
||||
* Prevent `sub` and `sup` elements from affecting the line height in
|
||||
* all browsers.
|
||||
*/
|
||||
|
||||
sub,
|
||||
sup {
|
||||
font-size: 75%;
|
||||
line-height: 0;
|
||||
position: relative;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
sub {
|
||||
bottom: -0.25em;
|
||||
}
|
||||
|
||||
sup {
|
||||
top: -0.5em;
|
||||
}
|
||||
|
||||
/* Embedded content
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove the border on images inside links in IE 10.
|
||||
*/
|
||||
|
||||
img {
|
||||
border-style: none;
|
||||
}
|
||||
|
||||
/* Forms
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* 1. Change the font styles in all browsers.
|
||||
* 2. Remove the margin in Firefox and Safari.
|
||||
*/
|
||||
|
||||
button,
|
||||
input,
|
||||
optgroup,
|
||||
select,
|
||||
textarea {
|
||||
font-family: inherit; /* 1 */
|
||||
font-size: 100%; /* 1 */
|
||||
line-height: 1.15; /* 1 */
|
||||
margin: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the overflow in IE.
|
||||
* 1. Show the overflow in Edge.
|
||||
*/
|
||||
|
||||
button,
|
||||
input {
|
||||
/* 1 */
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the inheritance of text transform in Edge, Firefox, and IE.
|
||||
* 1. Remove the inheritance of text transform in Firefox.
|
||||
*/
|
||||
|
||||
button,
|
||||
select {
|
||||
/* 1 */
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Correct the inability to style clickable types in iOS and Safari.
|
||||
*/
|
||||
|
||||
button,
|
||||
[type="button"],
|
||||
[type="reset"],
|
||||
[type="submit"] {
|
||||
-webkit-appearance: button;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the inner border and padding in Firefox.
|
||||
*/
|
||||
|
||||
button::-moz-focus-inner,
|
||||
[type="button"]::-moz-focus-inner,
|
||||
[type="reset"]::-moz-focus-inner,
|
||||
[type="submit"]::-moz-focus-inner {
|
||||
border-style: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Restore the focus styles unset by the previous rule.
|
||||
*/
|
||||
|
||||
button:-moz-focusring,
|
||||
[type="button"]:-moz-focusring,
|
||||
[type="reset"]:-moz-focusring,
|
||||
[type="submit"]:-moz-focusring {
|
||||
outline: 1px dotted ButtonText;
|
||||
}
|
||||
|
||||
/**
|
||||
* Correct the padding in Firefox.
|
||||
*/
|
||||
|
||||
fieldset {
|
||||
padding: 0.35em 0.75em 0.625em;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct the text wrapping in Edge and IE.
|
||||
* 2. Correct the color inheritance from `fieldset` elements in IE.
|
||||
* 3. Remove the padding so developers are not caught out when they zero out
|
||||
* `fieldset` elements in all browsers.
|
||||
*/
|
||||
|
||||
legend {
|
||||
box-sizing: border-box; /* 1 */
|
||||
color: inherit; /* 2 */
|
||||
display: table; /* 1 */
|
||||
max-width: 100%; /* 1 */
|
||||
padding: 0; /* 3 */
|
||||
white-space: normal; /* 1 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
||||
*/
|
||||
|
||||
progress {
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the default vertical scrollbar in IE 10+.
|
||||
*/
|
||||
|
||||
textarea {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Add the correct box sizing in IE 10.
|
||||
* 2. Remove the padding in IE 10.
|
||||
*/
|
||||
|
||||
[type="checkbox"],
|
||||
[type="radio"] {
|
||||
box-sizing: border-box; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Correct the cursor style of increment and decrement buttons in Chrome.
|
||||
*/
|
||||
|
||||
[type="number"]::-webkit-inner-spin-button,
|
||||
[type="number"]::-webkit-outer-spin-button {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct the odd appearance in Chrome and Safari.
|
||||
* 2. Correct the outline style in Safari.
|
||||
*/
|
||||
|
||||
[type="search"] {
|
||||
-webkit-appearance: textfield; /* 1 */
|
||||
outline-offset: -2px; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the inner padding in Chrome and Safari on macOS.
|
||||
*/
|
||||
|
||||
[type="search"]::-webkit-search-decoration {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct the inability to style clickable types in iOS and Safari.
|
||||
* 2. Change font properties to `inherit` in Safari.
|
||||
*/
|
||||
|
||||
::-webkit-file-upload-button {
|
||||
-webkit-appearance: button; /* 1 */
|
||||
font: inherit; /* 2 */
|
||||
}
|
||||
|
||||
/* Interactive
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
* Add the correct display in Edge, IE 10+, and Firefox.
|
||||
*/
|
||||
|
||||
details {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/*
|
||||
* Add the correct display in all browsers.
|
||||
*/
|
||||
|
||||
summary {
|
||||
display: list-item;
|
||||
}
|
||||
|
||||
/* Misc
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Add the correct display in IE 10+.
|
||||
*/
|
||||
|
||||
template {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add the correct display in IE 10.
|
||||
*/
|
||||
|
||||
[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
ul,li{
|
||||
list-style: none;
|
||||
}
|
||||
17
static/css/spin.css
Normal file
17
static/css/spin.css
Normal file
@@ -0,0 +1,17 @@
|
||||
#uploader{
|
||||
display: none;
|
||||
}
|
||||
|
||||
.spin{
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
color: #4D54BA;
|
||||
border: #54AAFF solid 5px;
|
||||
border-radius: 10px;
|
||||
animation: spin 4s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
0% { transform: rotate(0deg); }
|
||||
100% { transform: rotate(360deg); }
|
||||
}
|
||||
3
static/imgs/cart.svg
Normal file
3
static/imgs/cart.svg
Normal file
@@ -0,0 +1,3 @@
|
||||
<svg width="23" height="22" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M3.97462 3.98196H21.8223L19.5914 13.6733H6.20558M19.5914 16.6553H6.94923L3.23096 1H1M19.5913 19.6373C19.5913 20.4607 18.9255 21.1282 18.104 21.1282C17.2826 21.1282 16.6167 20.4607 16.6167 19.6373C16.6167 18.8138 17.2826 18.1463 18.104 18.1463C18.9255 18.1463 19.5913 18.8138 19.5913 19.6373ZM9.92387 19.6373C9.92387 20.4607 9.25798 21.1282 8.43656 21.1282C7.61514 21.1282 6.94925 20.4607 6.94925 19.6373C6.94925 18.8138 7.61514 18.1463 8.43656 18.1463C9.25798 18.1463 9.92387 18.8138 9.92387 19.6373Z" stroke="#4D54BA" stroke-width="1.38815" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 703 B |
3
static/imgs/heart.svg
Normal file
3
static/imgs/heart.svg
Normal file
@@ -0,0 +1,3 @@
|
||||
<svg width="26" height="26" viewBox="0 0 26 26" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M7.58317 3.25C4.59209 3.25 2.1665 5.65067 2.1665 8.6125C2.1665 11.0034 3.11442 16.6779 12.4452 22.4142C12.6123 22.5159 12.8042 22.5697 12.9998 22.5697C13.1955 22.5697 13.3874 22.5159 13.5545 22.4142C22.8853 16.6779 23.8332 11.0034 23.8332 8.6125C23.8332 5.65067 21.4076 3.25 18.4165 3.25C15.4254 3.25 12.9998 6.5 12.9998 6.5C12.9998 6.5 10.5743 3.25 7.58317 3.25Z" stroke="#4D54BA" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 560 B |
@@ -1,48 +1,87 @@
|
||||
const textTaoL = document.getElementById('linkItem');
|
||||
const bttn = document.getElementById('bt');
|
||||
const linkTaoL = document.getElementById('linkTao');
|
||||
const emal = document.getElementById('email');
|
||||
const uploader = document.getElementById('uploader');
|
||||
|
||||
var inUnder = document.getElementById('inUnderline')
|
||||
var emailUnderline = document.getElementById('emailUnderline')
|
||||
|
||||
|
||||
// function change(){
|
||||
// if (document.getElementById('radio1').checked && document.getElementById('radio2').checked == false){
|
||||
// linkTao.style.display = 'block';
|
||||
// textTao.style.display = 'none';
|
||||
// console.log(1)
|
||||
// }
|
||||
// else if (document.getElementById('radio1').checked == false && document.getElementById('radio2').checked){
|
||||
// textTao.style.display = 'block';
|
||||
// linkTao.style.display = 'none';
|
||||
// console.log(2)
|
||||
// }
|
||||
// else{
|
||||
// textTao.style.display = 'none';
|
||||
// linkTao.style.display = 'none';
|
||||
// console.log(3)
|
||||
// }
|
||||
// }
|
||||
window.onload = function () {
|
||||
textTaoL.value = "";
|
||||
linkTaoL.value = "";
|
||||
emal.value = "";
|
||||
}
|
||||
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
const radio1 = document.getElementById('radio1');
|
||||
const radio2 = document.getElementById('radio2');
|
||||
const linkTao = document.getElementById('inputLink');
|
||||
const textTao = document.getElementById('inputText');
|
||||
|
||||
function toggleInputs() {
|
||||
if (radio1.checked) {
|
||||
linkTao.style.display = 'flex';
|
||||
textTao.style.display = 'none';
|
||||
console.log(1);
|
||||
} else if (radio2.checked && radio1.checked == false) {
|
||||
linkTao.style.display = 'none';
|
||||
textTao.style.display = 'flex';
|
||||
console.log(2);
|
||||
} else {
|
||||
linkTao.style.display = 'none';
|
||||
textTao.style.display = 'none';
|
||||
console.log(3);
|
||||
emal.addEventListener("change", function () {
|
||||
bttn.disabled = false;
|
||||
emailUnderline.textContent = '';
|
||||
|
||||
var emailRe = /\S+@\S+\.\S+/;
|
||||
var isValid = emailRe.test(emal.value);
|
||||
|
||||
if (!isValid) {
|
||||
emailUnderline.textContent = '*Введите корректный адрес электронной почты.';
|
||||
bttn.disabled = true;
|
||||
}
|
||||
else {
|
||||
bttn.disabled = false;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
const inputs = document.querySelectorAll('.inpt2');
|
||||
inputs.forEach(input => {
|
||||
input.addEventListener("change", function () {
|
||||
inUnder.textContent = '';
|
||||
if (linkTaoL.value === "" && textTaoL.value === "") {
|
||||
inUnder.textContent = '*Введите ссылку или текстовое описание желаемого товара.';
|
||||
bttn.disabled = true;
|
||||
}
|
||||
else {
|
||||
bttn.disabled = false;
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
document.getElementById('form').addEventListener("submit", function (event) {
|
||||
bttn.disabled = false;
|
||||
|
||||
|
||||
if (emal.value != '' && (textTaoL.value == '' || linkTaoL.value == '')) {
|
||||
event.preventDefault();
|
||||
uploader.style.display = "block";
|
||||
|
||||
const ToSend = { 'email': emal.value.toString(), 'link': linkTaoL.value, 'text': textTaoL.value };
|
||||
event.preventDefault();
|
||||
try {
|
||||
const xhr = new XMLHttpRequest();
|
||||
xhr.open('POST', '/sendedData', true);
|
||||
xhr.setRequestHeader('Content-Type', 'application/json');
|
||||
|
||||
xhr.onload = function () {
|
||||
if (xhr.status === 200) {
|
||||
const response = JSON.parse(xhr.responseText);
|
||||
console.log("Получено спустя 5 секунд:", response.status);
|
||||
event.preventDefault();
|
||||
|
||||
const timeoutId = setTimeout(() => {
|
||||
window.location.href = "OK";
|
||||
window.location.replace = "OK";
|
||||
}, 5000);
|
||||
}
|
||||
};
|
||||
|
||||
console.log("Данные отправлены. Ждем ответа сервера...");
|
||||
xhr.send(JSON.stringify(ToSend));
|
||||
}
|
||||
catch (Error) {
|
||||
console.log(Error)
|
||||
}
|
||||
}
|
||||
|
||||
linkTao.style.display = 'none';
|
||||
textTao.style.display = 'none';
|
||||
|
||||
radio1.addEventListener('click', toggleInputs);
|
||||
radio2.addEventListener('click', toggleInputs);
|
||||
});
|
||||
Reference in New Issue
Block a user