2024-05-15 21:54:11 +03:00

977 lines
22 KiB
Plaintext

// Filter {
#filter {
position: relative;
.container {
position: relative;
}
&.filter_in_catalog:not(.visible) {
display: none;
}
&.filter_in_catalog {
.container {
padding-top: 0;
padding-bottom: 0;
margin-bottom: 40px;
@media all and (max-width: 1420px) {
margin-left: 0;
margin-right: 0;
width: 100%;
.filter_header .button {
bottom: 10px;
}
}
@media all and (max-width: 767px) {
bottom: 0px;
}
}
.filter_body .filter_column:last-child {
@media all and (max-width: 1279px) {
margin-bottom: 40px;
}
@media all and (max-width: 767px) {
margin-bottom: 15px;
}
}
.button_group {
display: flex;
align-items: center;
gap: 0 15px;
@media all and (max-width: 767px) {
flex-wrap: wrap;
gap: 0;
width: 100%;
.button {
width: 100% !important;
}
a {
order: 1;
}
button {
order: 2;
}
}
.button {
position: relative;
bottom: 0 !important;
width: auto;
}
}
}
.filter_header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 40px;
.button {
z-index: 10;
//width: calc(33.333% - 21px);
@media all and (max-width: 1279px) {
width: ~"calc(50% - 15px)";
position: absolute;
right: 0;
bottom: 90px;
}
@media all and (max-width: 1280px) {
bottom: 80px;
}
@media all and (max-width: 960px) {
bottom: 50px;
}
@media all and (max-width: 767px) {
width: 100%;
bottom: 60px;
}
}
}
.filter_body {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
position: relative;
.filter_column {
width: ~"calc(33.333% - 21px)";
@media all and (max-width: 1279px) {
width: ~"calc(100%)";
display: flex;
justify-content: space-between;
}
@media all and (max-width: 1279px) {
&:last-child {
margin-bottom: 70px;
}
.fieldgroup.no_space .form_field {
width: 50%;
&:first-child {
select {
border-right: 0;
}
}
&:last-child {
select {
border-left: 0;
}
}
}
}
@media all and (max-width: 767px) {
width: 100%;
margin-bottom: 0;
display: block;
height: 100px;
}
}
&:not(.static) {
.filter_column {
@media all and (max-width: 767px) {
&:nth-child(1) {
.fieldgroup {
&:nth-child(2) {
position: absolute;
top: 150px;
left: 0;
right: 0;
}
}
}
&:nth-child(2) {
>.form_field {
&:nth-child(1) {
position: absolute;
top: 50px;
left: 0;
right: 0;
}
}
.fieldgroup {
&:nth-child(2) {
position: absolute;
top: 200px;
left: 0;
right: 0;
}
}
}
&:nth-child(3) {
>.form_field {
&:nth-child(1) {
position: absolute;
top: 100px;
left: 0;
right: 0;
}
}
.fieldgroup {
&:nth-child(2) {
position: absolute;
top: 250px;
left: 0;
right: 0;
}
}
}
}
}
}
.form_field {
width: 100%;
margin-bottom: 10px;
@media all and (max-width: 1279px) {
width: calc(50% - 15px);
}
@media all and (max-width: 767px) {
width: 100%;
}
}
.fieldgroup {
width: 100%;
@media all and (max-width: 1279px) {
width: calc(50% - 15px);
}
@media all and (max-width: 767px) {
width: 100%;
}
.form_field {
width: calc(50% - 5px);
@media all and (max-width: 1279px) {
width: calc(50% - 5px);
}
}
}
}
}
// Catalog smamm filter
#catalog_small_filter {
margin-bottom: 70px;
&.hidden {
display: none;
}
.filter_body {
display: flex;
justify-content: flex-start;
gap: 0 16px;
select,
.form_field {
width: 100%;
}
button {
width: 220px;
min-width: 220px;
&#rich_filter_toggle {
width: 130px;
min-width: 130px;
@media all and (max-width: 767px) {
width: 100%;
}
svg {
margin-right: 12px;
}
}
}
@media all and (max-width: 1280px) {
justify-content: space-between;
.form_field {
width: calc(33.333% - 30px);
select {
width: 100%;
}
}
button {
width: 33.3333%;
}
}
@media all and (max-width: 767px) {
display: block;
.form_field,
button {
width: 100%;
margin-bottom: 8px;
}
}
}
}
// Order
#news+#order .container {
max-width: 1340px;
padding-left: 25px;
padding-right: 25px;
.order_form {
margin: 0 -25px;
@media all and (max-width: 960px) {
margin-top: -60px;
}
@media all and (max-width: 767px) {
margin: 0;
}
}
}
#order {
.order_form {
position: relative;
margin: 0;
@media all and (max-width: 960px) {
margin-top: -60px;
}
@media all and (max-width: 767px) {
margin: 0;
}
.order_email {
display: flex;
align-items: center;
position: absolute;
z-index: 1;
background: #EDEFF5;
height: 235px;
left: 0;
right: 0;
top: 0;
bottom: 0;
margin: auto;
p {
width: 320px;
font-size: 24px;
line-height: 45px;
padding: 0 20px;
@media all and (max-width: 1600px) and (min-width: 1280px) {
font-size: 20px;
line-height: 32px;
}
@media all and (max-width: 1280px) {
width: 220px;
font-size: 13px;
line-height: 20px;
}
}
@media all and (max-width: 767px) {
position: relative;
height: auto;
margin-bottom: 25px;
p {
padding: 0;
}
}
}
form {
width: 750px;
background: var(--blue);
box-sizing: border-box;
padding: 55px 90px;
margin: auto;
margin-left: 390px;
position: relative;
z-index: 2;
@media all and (max-width: 1420px) {
width: 550px;
margin-left: 320px;
}
@media all and (max-width: 960px) {
width: 50%;
padding: 15px 25px;
margin-left: auto;
margin-right: 0;
}
@media all and (max-width: 767px) {
width: auto;
margin-left: -16px;
margin-right: -16px;
padding: 25px 16px;
}
input {
margin-bottom: 15px;
background: rgba(255, 255, 255, 0.2);
color: #fff;
&::placeholder {
color: #fff;
}
}
input[type="radio"] {
display: none;
visibility: hidden;
&+label {
display: block;
padding-left: 28px;
cursor: pointer;
color: #fff;
margin-bottom: 5px;
position: relative;
&:last-child {
margin-bottom: 15px;
}
&:before {
content: "";
display: block;
width: 16px;
min-width: 16px;
height: 16px;
background: #fff;
box-sizing: border-box;
border-radius: 100%;
margin-right: 12px;
position: absolute;
left: 0;
top: 0;
}
}
&:checked+label {
&:before {
background: var(--blue);
border: 4px solid #fff;
}
}
&:disabled+label {
&:before {
background: var(--gray);
cursor: none;
}
}
}
.policy {
position: relative;
z-index: 2;
margin: 5px 25px 45px 25px;
@media all and (max-width: 1600px) {
margin-top: -5px;
margin-bottom: 25px;
margin-left: 0;
margin-right: 0;
}
label {
color: #fff;
font-weight: 300;
&:before {
background: #fff;
border-radius: 0;
}
}
input:checked+label:before {
border-color: #fff;
background: url("/images/icons/checkbox_blue.svg") no-repeat center #fff;
}
}
.button {
display: inherit;
margin-left: auto;
}
}
}
}
// Login
.login {
max-width: 410px;
.form_field {
margin-bottom: 15px;
}
input[name="login"] {
padding-left: 32px;
background: url("/images/icons/icon-login.svg") no-repeat 8px 50%;
}
input[name="pass"] {
padding-left: 32px;
background: url("/images/icons/icon-pass.svg") no-repeat 8px 50%;
}
.button {
width: 90px;
display: block;
margin-left: auto;
}
}
// Поиск договора в лк
.search_form {
margin-bottom: 55px;
margin-left: 20px;
margin-right: 20px;
@media all and (max-width: 767px) {
margin-bottom: 35px;
margin-left: 0;
margin-right: 0;
}
form {
display: flex;
align-items: center;
justify-content: space-between;
.form_field {
&:first-child {
width: calc(50% - 15px);
min-width: calc(50% - 15px);
margin-right: 15px;
}
&:nth-child(2),
&:nth-child(3) {
width: 100%;
margin-right: 15px;
}
&.single {
width: 100%;
margin-right: 20px;
}
}
.button {
width: 158px;
min-width: 158px;
}
@media all and (max-width: 767px) {
display: block;
.form_field.single {
margin-right: 0;
margin-bottom: 10px;
}
.button {
width: 100%;
&:disabled {
background: var(--inactive);
}
}
}
}
}
// Акты сверок
.reconciliation_form {
&.small {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
max-width: 420px;
.form_field {
width: ~"calc(50% - 8px)";
}
button {
margin-top: 35px;
width: ~"calc(45% - 8px)";
&:last-child {
width: ~"calc(55% - 8px)";
}
}
}
}
// Модаль
.fade {
position: fixed;
z-index: 999;
top: 0;
left: 0;
width: 100%;
height: 100%;
overflow: auto;
background: rgba(0, 0, 0, 0.5);
display: block;
&:not(.opened) {
display: none;
}
.modal {
max-width: 640px;
width: 100%;
background: #fff;
margin: 100px auto;
padding: 45px 80px;
.modal_footer {
text-align: right;
margin-top: 30px;
.button {
margin-left: auto;
}
}
}
}
// Cookie modal
#cookie {
position: fixed;
bottom: 20px;
left: 50%;
transform: translate(-50%, 0);
background: #fff;
z-index: 999;
display: none;
padding: 25px 15px;
z-index: 99;
border: 1px solid #EDEFF5;
@media all and (max-width: 1280px) {
bottom: 95px;
}
@media all and (max-width: 768px) {
bottom: 165px;
width: ~"calc(100% - 32px)";
p { white-space: pre-wrap !important; }
// bottom: 0;
// left: 0;
// left: 0;
// margin: auto;
// max-width: none;
}
.close {
width: 22px;
height: 22px;
border: 0;
background: url("/images/icons/close-blue.svg") no-repeat center;
outline: none;
position: absolute;
top: 4px;
right: 4px;
}
p {
white-space: nowrap;
a {
color: var(--blue);
}
}
}
.cookie_spacer {
@media all and (max-width: 768px) {
padding-bottom: 155px !important;
}
}
.page_search {
margin-bottom: 25px;
form {
display: flex;
align-items: center;
.form_field {
width: 100%;
}
button {
min-width: 90px;
}
}
}
// Предварительное одобрение
#preapproval_block {
position: fixed;
z-index: 1000;
left: 12px;
bottom: 25px;
@media all and (max-width: 1279px) {
//display: none;
bottom: 95px;
}
@media all and (max-width: 768px) {
left: 14px;
}
@media all and (max-width: 540px) {
&.active {
width: 100vw;
height: 100vh;
left: 0px;
top: 0px;
}
}
#preapproval_block_span_wrapper {
overflow: hidden;
margin-left: -20px;
padding-left: 20px;
}
.span_hidden {
z-index: 1;
transform: translate(-500px, 0px);
}
.span_animate_out {
z-index: 1;
transform: translate(0px, 0px);
animation: preapproval_span_hide 1s normal forwards ease-in-out 1s;
}
.span_animate_hide {
z-index: 1;
transform: translate(0px, 0px);
animation: preapproval_span_hide 1s normal forwards ease-in-out;
}
.span_animate_show {
z-index: 1;
transform: translate(-500px, 0px);
animation: preapproval_span_show 1s normal forwards ease-in-out;
}
i {
z-index: 2;
}
@keyframes preapproval_span_hide {
from {
transform: translate(0px, 0px);
}
to {
transform: translate(-500px, 0px);
}
}
@keyframes preapproval_span_show {
from {
transform: translate(-500px, 0px);
}
to {
transform: translate(0px, 0px);
}
}
.preapproval_form_policy {
label {
font-size: 12px;
text-align: left;
line-height: 14px;
color: rgb(12, 12, 12);
font-weight: 300;
padding-left: 28px;
user-select: none;
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
&:before {
background: #fff;
border-radius: 0;
}
}
input:checked+label:before {
background: url("/images/icons/checkbox_white.svg") no-repeat center #1c01a9;
}
}
&.active {
.block_open {
display: none;
}
.block_form {
display: block;
@media all and (max-width: 540px) {
width: 100vw;
height: 100vh;
border-radius: 0px;
}
}
}
.block_toggle {
cursor: pointer;
}
.block_open {
display: flex;
align-items: center;
justify-content: flex-start;
gap: 0 13px;
padding: 0px 0px !important;
span {
display: inline-block;
font-size: 15px;
color: #fff;
font-weight: 6000;
line-height: 20px;
padding: 11px 15px;
border-radius: 8px;
background: var(--blue);
}
i {
display: flex;
align-items: center;
justify-content: center;
width: 60px;
height: 60px;
border-radius: 100%;
box-shadow: 0px 4px 32px 0px rgba(0, 0, 0, 0.16);
background: var(--blue);
position: relative;
min-width: 60px;
@media all and (max-width: 768px) {
flex: none;
}
&:before {
content: "";
display: block;
width: 24px;
height: 24px;
background: url("/images/icons/Bell.svg") no-repeat center;
position: absolute;
top: -3px;
right: -5px;
}
}
}
.block_form {
display: none;
width: 368px;
border-radius: 15px;
background: var(--white, #FFF);
box-shadow: 0px 4px 32px 0px rgba(0, 0, 0, 0.16);
overflow: hidden;
.block_header {
height: 126px;
background: var(--blue);
display: flex;
align-items: center;
justify-content: center;
position: relative;
padding: 24px;
p {
text-align: center;
margin: 40px 0 0 0;
font-size: 15px;
line-height: 23px;
color: #fff;
font-weight: 700;
max-width: 235px;
}
.block_close {
width: 40px;
height: 40px;
background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 35C28.2843 35 35 28.2843 35 20C35 11.7157 28.2843 5 20 5C11.7157 5 5 11.7157 5 20C5 28.2843 11.7157 35 20 35Z' fill='white'/%3E%3Cpath d='M25.625 18.125L20 24.375L14.375 18.125' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
padding: 0;
border: 0;
position: absolute;
top: 16px;
right: 24px;
}
}
form {
padding: 24px;
.form_field {
margin-bottom: 16px;
}
.step {
text-align: center;
p {
padding: 0px 20px 20px 20px;
}
&:not(.active) {
display: none;
}
.error {
input {
border-color: #A8026B;
}
&:after {
color: #A8026B;
}
}
}
}
}
}
.carrotquest-messenger-button-position {
bottom: 60px!important;
}
.carrotquest-messenger-right_bottom {
display: none;
}