Commit c8fd5491 authored by Яков's avatar Яков
Browse files

two

parent 48680c56
<?php <?php
require_once(dirname(__FILE__).'/../config/ProjectConfiguration.class.php'); require_once(dirname(__FILE__).'/../config/ProjectConfiguration.class.php');
$configuration = ProjectConfiguration::getApplicationConfiguration('arm', 'dev', true); $configuration = ProjectConfiguration::getApplicationConfiguration('arm', 'prod', false);
sfContext::createInstance($configuration)->dispatch(); sfContext::createInstance($configuration)->dispatch();
...@@ -399,41 +399,6 @@ ...@@ -399,41 +399,6 @@
font-family: 'robotoregular'; font-family: 'robotoregular';
} }
.product_offer table tr.discount::after {
content: '';
position: absolute;
width: 10px;
height: 10px;
left: -5px;
top: 5px;
background-repeat: no-repeat;
background-size: contain;
background-image: url(/i/percent_colored.svg);
}
.header_mobile.mobile.discount::after {
content: '';
width: 61px;
height: 137px;
position: absolute;
background-repeat: no-repeat;
background-size: contain;
right: 6px;
top: 96px;
z-index: -1;
}
.header_mobile.mobile.discount.d3::after {
background-image: url(/i/d3.svg);
}
.header_mobile.mobile.discount.d5::after {
background-image: url(/i/d5.svg);
}
.header_mobile.mobile.discount.d7::after {
background-image: url(/i/d7.svg);
}
.header_mobile.mobile.discount.d10::after {
background-image: url(/i/d10.svg);
}
.product__advantages__info__link { .product__advantages__info__link {
font-size: 20px; font-size: 20px;
} }
...@@ -478,7 +443,7 @@ ...@@ -478,7 +443,7 @@
height: auto; height: auto;
} }
.video { .video {
height: 62vw !important; height: 62vw;
} }
.article_wrap { .article_wrap {
...@@ -709,7 +674,6 @@ ...@@ -709,7 +674,6 @@
} }
.footer_table_main { .footer_table_main {
padding: 20px 0 20px; padding: 20px 0 20px;
border-top: 1px solid #ececec;
} }
.footer_table_main__policy { .footer_table_main__policy {
font-style: normal; font-style: normal;
...@@ -767,62 +731,8 @@ ...@@ -767,62 +731,8 @@
max-height: 10000px; max-height: 10000px;
} }
.overlay_discount__item {
height: 100%;
max-height: 510px;
}
.image_discount {
display: none;
}
.form_discount {
width: 100%;
max-height: 510px;
height: 100%;
}
.discount_available {
left: 13px !important;
}
.discount_available.show .discount_available_desc{
max-height: 100px;
padding: 5px 5px;
width: 100%;
}
.discount_available.show .discount_available_title {
border-radius: 0 0 4px 4px;
}
.discount_available.show:before {
background-image: url(/i/white_angle.svg);
transition: all 0s ease-in-out;
}
.basket_refresh {
position: relative;
overflow: visible;
z-index: 1;
}
.discount_form__title {
font-size: 21px;
}
} }
@media (min-width: 650px){
.catalog_category_child_item:hover .discount_available_desc{
max-height: 100px;
padding: 5px 5px;
width: 100%;
}
.catalog_category_child_item:hover .discount_available_title {
border-radius: 0 0 4px 4px;
}
.catalog_category_child_item:hover .discount_available:before {
background-image: url(/i/white_angle.svg);
transition: all 0s ease-in-out;
}
}
@media (min-width: 1100px) and (max-width: 1200px) { @media (min-width: 1100px) and (max-width: 1200px) {
.top_menu__elem{ .top_menu__elem{
......
...@@ -230,7 +230,7 @@ ...@@ -230,7 +230,7 @@
margin-bottom: 5px; margin-bottom: 5px;
margin-top: 8px; margin-top: 8px;
} }
.basket_btn::before { .basket_btn::before {
content: ''; content: '';
background-image: url(/i/basket.svg); background-image: url(/i/basket.svg);
width: 23px; width: 23px;
...@@ -243,43 +243,9 @@ ...@@ -243,43 +243,9 @@
background-size: cover; background-size: cover;
background-position: 100% 0; background-position: 100% 0;
transition: background-image 0.1s ease-in-out; transition: background-image 0.1s ease-in-out;
}
.basket_btn:not(.basket_btn_disabled):hover::before {
background-image: url(/i/basket-green.svg);
}
.top_right.discount::after {
width: 65px;
height: 148px;
background-size: contain;
background-repeat: no-repeat;
content: "";
position: absolute;
top: 75px;
right: 0;
z-index: -1;
} }
.top_right.discount.d3::after { .basket_btn:not(.basket_btn_disabled):hover::before {
background-image: url(/i/d3.svg); background-image: url(/i/basket-green.svg);
}
.top_right.discount.d5::after {
background-image: url(/i/d5.svg);
}
.top_right.discount.d7::after {
background-image: url(/i/d7.svg);
}
.top_right.discount.d10::after {
background-image: url(/i/d10.svg);
}
.top_right.discount_basket::after {
content: '';
width: 30px;
height: 30px;
background-size: contain;
background-repeat: no-repeat;
position: absolute;
top: 5px;
right: -10px;
background-image: url(/i/percent_white.svg);
} }
.swicher_lang { .swicher_lang {
background-image: url(/i/switch-lang.svg); background-image: url(/i/switch-lang.svg);
...@@ -601,18 +567,7 @@ ...@@ -601,18 +567,7 @@
color: var(--green-color-text); color: var(--green-color-text);
} }
.product_offer table td { .product_offer table td {
padding: 12px 0 11px 10px; padding: 12px 10px 11px;
}
.product_offer table tr.discount::after {
content: '';
position: absolute;
width: 16px;
height: 16px;
left: -20px;
top: 5px;
background-repeat: no-repeat;
background-size: contain;
background-image: url(/i/percent_colored.svg);
} }
.product_offer table td:first-child { .product_offer table td:first-child {
padding-left: 0; padding-left: 0;
...@@ -773,58 +728,6 @@ ...@@ -773,58 +728,6 @@
display: inline-block; display: inline-block;
margin: 0 8px 30px; margin: 0 8px 30px;
} }
.catalog_category_child_item.discount {
}
.catalog_category_child_item .discount_available {
position: absolute;
color: #FFFFFF;
width: 150px;
left: 21px;
top: -5px;
z-index: 100;
}
.discount_available .discount_available_desc {
background-color: #FFFFFF;
color: #6a6a6a;
overflow: hidden;
max-height: 0px;
font-family: 'robotolight';
font-size: 12px;
padding: 0 5px;
box-shadow: 0 0 14px rgba(0,0,0,0.2);
transition: all 0.3s ease-in-out;
}
.discount_available .discount_available_title {
background-color: #fb8100;
color: #FFFFFF;
width: 150px;
border-radius: 0 4px 4px 4px;
padding: 7px 7px 7px 10px;
z-index: 100;
text-transform: uppercase;
font-family: 'robotobold';
font-size: 11px;
}
.catalog_category_child_item .discount_available::before {
content: '';
width: 14px;
height: 6px;
position: absolute;
background-size: contain;
background-repeat: no-repeat;
background-image: url(/i/orange_angle.svg);
left: -12px;
top: 0;
transition: all 0.48s ease-in-out;
}
.lending_product_area .catalog_category_child_item:nth-child(n+9) { .lending_product_area .catalog_category_child_item:nth-child(n+9) {
display: none; display: none;
} }
...@@ -1010,7 +913,6 @@ ...@@ -1010,7 +913,6 @@
background-image: url(/i/combined-shape-minus.svg); background-image: url(/i/combined-shape-minus.svg);
outline: none; outline: none;
padding: 0; padding: 0;
border-radius: 0;
} }
.product_counter_val { .product_counter_val {
width: 45px; width: 45px;
...@@ -1031,7 +933,6 @@ ...@@ -1031,7 +933,6 @@
height: 29px; height: 29px;
vertical-align: top; vertical-align: top;
float: left; float: left;
border-radius: 0px !important;
} }
.product_counter_plus { .product_counter_plus {
width: 23px; width: 23px;
...@@ -1062,7 +963,6 @@ ...@@ -1062,7 +963,6 @@
background-image: url(/i/combined-shape-plus.svg); background-image: url(/i/combined-shape-plus.svg);
outline: none; outline: none;
padding: 0; padding: 0;
border-radius: 0;
} }
.product_price_trigger { .product_price_trigger {
padding: 0; padding: 0;
...@@ -1825,18 +1725,6 @@ label.custom_checkbox input:checked + .after_checkbox { ...@@ -1825,18 +1725,6 @@ label.custom_checkbox input:checked + .after_checkbox {
background-position: center; background-position: center;
border: 1px solid #ececec; border: 1px solid #ececec;
} }
.basket_img.discount::after {
content: '';
position: absolute;
width: 30px;
height: 30px;
top: -10px;
right: -10px;
background-image: url(/i/percent_colored.svg);
background-repeat: no-repeat;
background-size: contain;
z-index: 100;
}
.basket_img__item{ .basket_img__item{
width:100%; width:100%;
height:100%; height:100%;
...@@ -1947,8 +1835,7 @@ label.custom_checkbox input:checked + .after_checkbox { ...@@ -1947,8 +1835,7 @@ label.custom_checkbox input:checked + .after_checkbox {
.basket_get{ .basket_get{
margin-bottom: 40px; margin-bottom: 40px;
} }
.basket_buyer__item { .basket_buyer__item{
position: relative;
display: inline-block; display: inline-block;
vertical-align: top; vertical-align: top;
} }
...@@ -2273,6 +2160,7 @@ h2{ ...@@ -2273,6 +2160,7 @@ h2{
display: inline-block; display: inline-block;
text-align: center; text-align: center;
vertical-align: middle; vertical-align: middle;
width: calc(100% - 5px);
} }
.review_file_overlay__item{ .review_file_overlay__item{
padding:20px; padding:20px;
...@@ -2352,13 +2240,11 @@ h2{ ...@@ -2352,13 +2240,11 @@ h2{
.search_active .search_overlay{ .search_active .search_overlay{
display: block; display: block;
} }
.search_active .body_wrapper, .search_active .body_wrapper{
.overlay_discount_active .body_wrapper {
-webkit-filter: blur(10px); -webkit-filter: blur(10px);
-moz-filter: blur(10px); -moz-filter: blur(10px);
filter: blur(10px); filter: blur(10px);
opacity: 0.4; opacity: 0.4;
transition: all 0.3s ease-in-out;
} }
.search_overlay__line__btn{ .search_overlay__line__btn{
margin-bottom: 0; margin-bottom: 0;
...@@ -2802,159 +2688,3 @@ h2{ ...@@ -2802,159 +2688,3 @@ h2{
.fotorama__stage__frame { .fotorama__stage__frame {
border: 1px solid #ececec !important; border: 1px solid #ececec !important;
} }
\ No newline at end of file
.discount_form__checkbox {
max-width: 325px
}
.discount_form__checkbox label {
text-align: left;
}
.discount_form{
background: #fff;
margin: 0 auto;
border-radius: 0 2px 2px 0;
width: 100%;
max-width:400px;
margin: 0;
}
.discount_form input[type="text"]{
width:100%;
}
.discount_form__inp_wrap{
margin-bottom: 25px;
text-align:left;
}
.discount_form_done__title,
.discount_form_done .discount_form__process{
display:none;
}
.discount_form_done .discount_form_done__title{
display:block;
font-size: 20px;
color: var(--green-color-text);
font-family: 'robotolight';
}
.discount_form_done__title__base{
font-size:30px;
}
.discount_form__title{
font-size: 31px;
padding-bottom: 15px;
color: var(--green-color-text);
font-family: 'robotoregular';
}
.discount_form_head_text {
font-size: 18px;
font-family: 'robotoregular';
color: var(--green-color-text);
text-align: left;
padding: 25px 0 5px 0;
}
.discount_form_text {
font-size: 15px;
font-family: 'robotoregular';
text-align: left;
padding-bottom: 20px;
}
.discount_form__submit{
font-size: 15px;
font-size: 15px;
padding: 9px 23px;
cursor: pointer;
width: 100%;
}
.overlay_discount_active{
position: fixed;
background-image: url(/i/drops.png);
background-repeat: repeat;
background-size: cover;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1001;
text-align: center;
vertical-align: middle;
overflow-y: scroll;
}
.review_file_overlay{
z-index: 1001;
}
.overlay_discount{
display:none;
z-index:1002;
}
.overlay_discount_active {
display:block;
}
.video_overlay__close:hover{
opacity: 1;
}
.overlay_discount:after{
content: '';
display: inline-block;
height: 100%;
width: 0;
vertical-align: middle;
}
.overlay_discount__item{
display: inline-block;
text-align: center;
vertical-align: middle;
box-shadow: 0 0 35px rgba(0,0,0,0.3);
max-height: 400px;
}
.discount_error {
background-color: #FFFFFF;
padding: 35px 35px;
margin: 0 auto;
border-radius: 2px;
display: inline-block;
max-width: 400px;
width: 100%;
}
.image_discount {
width: 350px;
height: 400px;
background-repeat: no-repeat;
background-size: contain;
background-image: url(/i/discount-image.png);
display: inline-block;
border-radius: 2px 0 0 2px;
vertical-align: top;
}
.form_discount {
padding: 35px 40px;
width: 490px;
height: 100%;
vertical-align: top;
display: inline-block;
background-color: #FFFFFF;
border-radius: 0 2px 2px 0;
vertical-align: top;
max-height: 400px;
}
.phone_info {
position: absolute;
display: inherit;
margin-bottom: 10px;
font-size: 11px;
font-family: 'robotolight', Arial;
font-style: italic;
top: -17px;
left: 0;
}
.basket_discount {
display: block;
color: #979797;
font-size: 15px !important;
text-align: right;
position: absolute;
top: -15px;
right: 0;
}
.basket_item {
display: block;
text-align: right;
color: #074611;
}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8"?>
<svg width="11px" height="5px" viewBox="0 0 11 5" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 50.2 (55047) - http://www.bohemiancoding.com/sketch -->
<title>Orange angle</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="discount/1-copy">
<g id="Orange-angle">
<path d="M5,1.77635684e-15 L5.19999981,0 C7.96142356,-5.07265313e-16 10.1999998,2.23857625 10.1999998,5 L0,5 C-3.38176876e-16,2.23857625 2.23857625,2.28362215e-15 5,1.77635684e-15 Z" id="Rectangle-4" fill="#AD5A05"></path>
<path d="M11,-1.13686838e-13 L11,5 L10.1999998,5 C10.1999998,2.23857625 7.96142356,-1.08865033e-13 5.19999981,-1.13686838e-13 L11,-1.13686838e-13 Z" id="Combined-Shape" fill="#FE8100"></path>
</g>
</g>
</g>
</svg>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 50.2 (55047) - http://www.bohemiancoding.com/sketch -->
<title>icon/%_2 color</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="icon/%_2-color" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M10,4 L10,4 C13.3137085,4 16,6.6862915 16,10 L16,10 C16,13.3137085 13.3137085,16 10,16 L10,16 C6.6862915,16 4,13.3137085 4,10 L4,10 C4,6.6862915 6.6862915,4 10,4 Z" id="Rectangle" fill="#FFFFFF"></path>
<path d="M10,20 C15.5228475,20 20,15.5228475 20,10 C20,4.4771525 15.5228475,0 10,0 C4.4771525,0 0,4.4771525 0,10 C0,15.5228475 4.4771525,20 10,20 Z M10.5665,12.086 C10.5665,11.7999986 10.6196661,11.5341679 10.726,11.2885 C10.8323339,11.0428321 10.9789991,10.8265009 11.166,10.6395 C11.3530009,10.4524991 11.5693321,10.3058339 11.815,10.1995 C12.0606679,10.0931661 12.3264986,10.04 12.6125,10.04 C12.8985014,10.04 13.1643321,10.0931661 13.41,10.1995 C13.6556679,10.3058339 13.8719991,10.4524991 14.059,10.6395 C14.2460009,10.8265009 14.3926661,11.0428321 14.499,11.2885 C14.6053339,11.5341679 14.6585,11.7999986 14.6585,12.086 C14.6585,12.3720014 14.6053339,12.6378321 14.499,12.8835 C14.3926661,13.1291679 14.2460009,13.3454991 14.059,13.5325 C13.8719991,13.7195009 13.6556679,13.8661661 13.41,13.9725 C13.1643321,14.0788339 12.8985014,14.132 12.6125,14.132 C12.3264986,14.132 12.0606679,14.0788339 11.815,13.9725 C11.5693321,13.8661661 11.3530009,13.7195009 11.166,13.5325 C10.9789991,13.3454991 10.8323339,13.1291679 10.726,12.8835 C10.6196661,12.6378321 10.5665,12.3720014 10.5665,12.086 Z M13.6025,12.086 C13.6025,11.8073319 13.5071676,11.5726676 13.3165,11.382 C13.1258324,11.1913324 12.8911681,11.096 12.6125,11.096 C12.3338319,11.096 12.0991676,11.1913324 11.9085,11.382 C11.7178324,11.5726676 11.6225,11.8073319 11.6225,12.086 C11.6225,12.3646681 11.7178324,12.5993324 11.9085,12.79 C12.0991676,12.9806676 12.3338319,13.076 12.6125,13.076 C12.8911681,13.076 13.1258324,12.9806676 13.3165,12.79 C13.5071676,12.5993324 13.6025,12.3646681 13.6025,12.086 Z M5.3415,8.126 C5.3415,7.83999857 5.39466614,7.57416789 5.501,7.3285 C5.60733387,7.0828321 5.75399907,6.86650093 5.941,6.6795 C6.12800094,6.49249906 6.34433211,6.34583386 6.59,6.2395 C6.8356679,6.13316613 7.10149857,6.08 7.3875,6.08 C7.67350143,6.08 7.93933211,6.13316613 8.185,6.2395 C8.4306679,6.34583386 8.64699907,6.49249906 8.834,6.6795 C9.02100094,6.86650093 9.16766614,7.0828321 9.274,7.3285 C9.38033387,7.57416789 9.4335,7.83999857 9.4335,8.126 C9.4335,8.41200143 9.38033387,8.6778321 9.274,8.9235 C9.16766614,9.16916789 9.02100094,9.38549906 8.834,9.5725 C8.64699907,9.75950093 8.4306679,9.90616613 8.185,10.0125 C7.93933211,10.1188339 7.67350143,10.172 7.3875,10.172 C7.10149857,10.172 6.8356679,10.1188339 6.59,10.0125 C6.34433211,9.90616613 6.12800094,9.75950093 5.941,9.5725 C5.75399907,9.38549906 5.60733387,9.16916789 5.501,8.9235 C5.39466614,8.6778321 5.3415,8.41200143 5.3415,8.126 Z M8.3775,8.126 C8.3775,7.84733194 8.28216762,7.61266762 8.0915,7.422 C7.90083238,7.23133238 7.66616806,7.136 7.3875,7.136 C7.10883194,7.136 6.87416762,7.23133238 6.6835,7.422 C6.49283238,7.61266762 6.3975,7.84733194 6.3975,8.126 C6.3975,8.40466806 6.49283238,8.63933238 6.6835,8.83 C6.87416762,9.02066762 7.10883194,9.116 7.3875,9.116 C7.66616806,9.116 7.90083238,9.02066762 8.0915,8.83 C8.28216762,8.63933238 8.3775,8.40466806 8.3775,8.126 Z M11.8425,5.86 L12.7555,6.278 L8.1795,14.352 L7.2665,13.934 L11.8425,5.86 Z" id="Oval-2" fill="#FE6E01"></path>
</g>
</svg>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 50.2 (55047) - http://www.bohemiancoding.com/sketch -->
<title>%</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="New" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="700.1_Basket" transform="translate(-1530.000000, -57.000000)">
<g id="%" transform="translate(1530.000000, 57.000000)">
<path d="M12,24 C5.3833125,24 0,18.6166875 0,12 C0,5.3833125 5.3833125,0 12,0 C18.6166875,0 24,5.3833125 24,12 C24,18.6166875 18.6166875,24 12,24 Z" id="Shape" fill="#1B5E20" fill-rule="nonzero"></path>
<path d="M12,22 C6.48609375,22 2,17.5139062 2,12 C2,6.48609375 6.48609375,2 12,2 C17.5139062,2 22,6.48609375 22,12 C22,17.5139062 17.5139062,22 12,22 Z" id="Shape" fill="#FFFFFF" fill-rule="nonzero"></path>
<g id="icon/%_2-copy" transform="translate(2.000000, 2.000000)" fill="#FFFFFF">
<path d="M10,20 C15.5228475,20 20,15.5228475 20,10 C20,4.4771525 15.5228475,0 10,0 C4.4771525,0 0,4.4771525 0,10 C0,15.5228475 4.4771525,20 10,20 Z M10.5995,11.943 C10.5995,11.6423318 10.6563328,11.3600013 10.77,11.096 C10.8836672,10.8319987 11.0376657,10.601001 11.232,10.403 C11.4263343,10.204999 11.6554987,10.0491672 11.9195,9.9355 C12.1835013,9.82183276 12.4658318,9.765 12.7665,9.765 C13.0671682,9.765 13.3494987,9.82183276 13.6135,9.9355 C13.8775013,10.0491672 14.1066657,10.204999 14.301,10.403 C14.4953343,10.601001 14.6493328,10.8319987 14.763,11.096 C14.8766672,11.3600013 14.9335,11.6423318 14.9335,11.943 C14.9335,12.2436682 14.8766672,12.527832 14.763,12.7955 C14.6493328,13.063168 14.4953343,13.295999 14.301,13.494 C14.1066657,13.692001 13.8775013,13.8478328 13.6135,13.9615 C13.3494987,14.0751672 13.0671682,14.132 12.7665,14.132 C12.4658318,14.132 12.1835013,14.0751672 11.9195,13.9615 C11.6554987,13.8478328 11.4263343,13.692001 11.232,13.494 C11.0376657,13.295999 10.8836672,13.063168 10.77,12.7955 C10.6563328,12.527832 10.5995,12.2436682 10.5995,11.943 Z M13.8115,11.943 C13.8115,11.6496652 13.7106677,11.4003344 13.509,11.195 C13.3073323,10.9896656 13.0598348,10.887 12.7665,10.887 C12.4731652,10.887 12.2256677,10.9896656 12.024,11.195 C11.8223323,11.4003344 11.7215,11.6496652 11.7215,11.943 C11.7215,12.2436682 11.8223323,12.4966656 12.024,12.702 C12.2256677,12.9073344 12.4731652,13.01 12.7665,13.01 C13.0598348,13.01 13.3073323,12.9073344 13.509,12.702 C13.7106677,12.4966656 13.8115,12.2436682 13.8115,11.943 Z M5.0665,8.258 C5.0665,7.95733183 5.12333277,7.67500132 5.237,7.411 C5.35066724,7.14699868 5.5046657,6.91600099 5.699,6.718 C5.89333431,6.51999901 6.12249868,6.36416723 6.3865,6.2505 C6.65050132,6.13683276 6.93283183,6.08 7.2335,6.08 C7.53416817,6.08 7.81649868,6.13683276 8.0805,6.2505 C8.34450132,6.36416723 8.5736657,6.51999901 8.768,6.718 C8.96233431,6.91600099 9.11633277,7.14699868 9.23,7.411 C9.34366724,7.67500132 9.4005,7.95733183 9.4005,8.258 C9.4005,8.55866817 9.34366724,8.84099868 9.23,9.105 C9.11633277,9.36900132 8.96233431,9.59999901 8.768,9.798 C8.5736657,9.99600099 8.34450132,10.1518328 8.0805,10.2655 C7.81649868,10.3791672 7.53416817,10.436 7.2335,10.436 C6.93283183,10.436 6.65050132,10.3791672 6.3865,10.2655 C6.12249868,10.1518328 5.89333431,9.99600099 5.699,9.798 C5.5046657,9.59999901 5.35066724,9.36900132 5.237,9.105 C5.12333277,8.84099868 5.0665,8.55866817 5.0665,8.258 Z M8.2785,8.258 C8.2785,7.9646652 8.17766768,7.71533436 7.976,7.51 C7.77433233,7.30466564 7.5268348,7.202 7.2335,7.202 C6.9401652,7.202 6.69266768,7.30466564 6.491,7.51 C6.28933233,7.71533436 6.1885,7.9646652 6.1885,8.258 C6.1885,8.5513348 6.28933233,8.80066564 6.491,9.006 C6.69266768,9.21133436 6.9401652,9.314 7.2335,9.314 C7.5268348,9.314 7.77433233,9.21133436 7.976,9.006 C8.17766768,8.80066564 8.2785,8.5513348 8.2785,8.258 Z M11.7765,5.86 L12.7005,6.377 L8.1575,14.352 L7.3215,13.879 L11.7765,5.86 Z" id="Oval-2"></path>
</g>
<path d="M12.533,14.083 C12.533,13.7823318 12.5898328,13.5000013 12.7035,13.236 C12.8171672,12.9719987 12.9711657,12.741001 13.1655,12.543 C13.3598343,12.344999 13.5889987,12.1891672 13.853,12.0755 C14.1170013,11.9618328 14.3993318,11.905 14.7,11.905 C15.0006682,11.905 15.2829987,11.9618328 15.547,12.0755 C15.8110013,12.1891672 16.0401657,12.344999 16.2345,12.543 C16.4288343,12.741001 16.5828328,12.9719987 16.6965,13.236 C16.8101672,13.5000013 16.867,13.7823318 16.867,14.083 C16.867,14.3836682 16.8101672,14.667832 16.6965,14.9355 C16.5828328,15.203168 16.4288343,15.435999 16.2345,15.634 C16.0401657,15.832001 15.8110013,15.9878328 15.547,16.1015 C15.2829987,16.2151672 15.0006682,16.272 14.7,16.272 C14.3993318,16.272 14.1170013,16.2151672 13.853,16.1015 C13.5889987,15.9878328 13.3598343,15.832001 13.1655,15.634 C12.9711657,15.435999 12.8171672,15.203168 12.7035,14.9355 C12.5898328,14.667832 12.533,14.3836682 12.533,14.083 Z M15.745,14.083 C15.745,13.7896652 15.6441677,13.5403344 15.4425,13.335 C15.2408323,13.1296656 14.9933348,13.027 14.7,13.027 C14.4066652,13.027 14.1591677,13.1296656 13.9575,13.335 C13.7558323,13.5403344 13.655,13.7896652 13.655,14.083 C13.655,14.3836682 13.7558323,14.6366656 13.9575,14.842 C14.1591677,15.0473344 14.4066652,15.15 14.7,15.15 C14.9933348,15.15 15.2408323,15.0473344 15.4425,14.842 C15.6441677,14.6366656 15.745,14.3836682 15.745,14.083 Z M7,10.398 C7,10.0973318 7.05683277,9.81500132 7.1705,9.551 C7.28416723,9.28699868 7.43816569,9.05600099 7.6325,8.858 C7.82683431,8.65999901 8.05599868,8.50416723 8.32,8.3905 C8.58400132,8.27683276 8.86633183,8.22 9.167,8.22 C9.46766817,8.22 9.74999868,8.27683276 10.014,8.3905 C10.2780013,8.50416723 10.5071657,8.65999901 10.7015,8.858 C10.8958343,9.05600099 11.0498328,9.28699868 11.1635,9.551 C11.2771672,9.81500132 11.334,10.0973318 11.334,10.398 C11.334,10.6986682 11.2771672,10.9809987 11.1635,11.245 C11.0498328,11.5090013 10.8958343,11.739999 10.7015,11.938 C10.5071657,12.136001 10.2780013,12.2918328 10.014,12.4055 C9.74999868,12.5191672 9.46766817,12.576 9.167,12.576 C8.86633183,12.576 8.58400132,12.5191672 8.32,12.4055 C8.05599868,12.2918328 7.82683431,12.136001 7.6325,11.938 C7.43816569,11.739999 7.28416723,11.5090013 7.1705,11.245 C7.05683277,10.9809987 7,10.6986682 7,10.398 Z M10.212,10.398 C10.212,10.1046652 10.1111677,9.85533436 9.9095,9.65 C9.70783232,9.44466564 9.4603348,9.342 9.167,9.342 C8.8736652,9.342 8.62616767,9.44466564 8.4245,9.65 C8.22283232,9.85533436 8.122,10.1046652 8.122,10.398 C8.122,10.6913348 8.22283232,10.9406656 8.4245,11.146 C8.62616767,11.3513344 8.8736652,11.454 9.167,11.454 C9.4603348,11.454 9.70783232,11.3513344 9.9095,11.146 C10.1111677,10.9406656 10.212,10.6913348 10.212,10.398 Z M13.71,8 L14.634,8.517 L10.091,16.492 L9.255,16.019 L13.71,8 Z" id="Combined-Shape" fill="#1B5E20"></path>
</g>
</g>
</g>
</svg>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<svg width="11px" height="5px" viewBox="0 0 11 5" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 50.2 (55047) - http://www.bohemiancoding.com/sketch -->
<title>White angle</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="discount/1-copy" transform="translate(0.000000, -10.000000)">
<g id="White-angle" transform="translate(0.000000, 10.000000)">
<path d="M5,1.77635684e-15 L5.19999981,0 C7.96142356,-5.07265313e-16 10.1999998,2.23857625 10.1999998,5 L0,5 C-3.38176876e-16,2.23857625 2.23857625,2.28362215e-15 5,1.77635684e-15 Z" id="Rectangle-4" fill="#AD5A05"></path>
<path d="M11,-1.13686838e-13 L11,5 L10.1999998,5 C10.1999998,2.23857625 7.96142356,-1.08865033e-13 5.19999981,-1.13686838e-13 L11,-1.13686838e-13 Z" id="Combined-Shape" fill="#FFFFFF"></path>
</g>
</g>
</g>
</svg>
\ No newline at end of file
<?php <?php
require_once(dirname(__FILE__) . '/../config/ProjectConfiguration.class.php'); require_once(dirname(__FILE__) . '/../config/ProjectConfiguration.class.php');
$configuration = ProjectConfiguration::getApplicationConfiguration('www', 'dev', true); $configuration = ProjectConfiguration::getApplicationConfiguration('www', 'prod', true);
sfContext::createInstance($configuration)->dispatch(); sfContext::createInstance($configuration)->dispatch();
...@@ -2663,47 +2663,6 @@ var imgUpload = { ...@@ -2663,47 +2663,6 @@ var imgUpload = {
} }
}; };
var discount = {
submit: function(form){
form = $(form);
$.post(form.attr('action'), form.serialize(), function (html) {
$('.overlay_discount__item').html(html);
if ($(window).width() < 650) {
$('.header_mobile').addClass('discount');
$('.header_mobile').addClass('d3');
} else {
$($('.top_right')[1]).addClass('discount');
$($('.top_right')[1]).addClass('d3');
}
});
},
open:function (_this) {
if (_this)
{
$('#discount_offer').show();
$('#discount').hide();
offer_id = $(_this).attr('data-offer-id');
$('#discount_offer_id').val(offer_id);
}else
{
$('#discount').show();
$('#discount_offer').hide();
$('#discount_offer_id').val('');
}
var discountForm = $('.discount_form');
discountForm.removeClass('discount_form_done');
$('.overlay_discount').addClass('overlay_discount_active');
$('body').addClass('scroll_hidden');
$('body').addClass('overlay_discount_active');
discountForm.find('input[type="text"]').eq(0).focus();
},
close: function(){
$('.overlay_discount').removeClass('overlay_discount_active');
$('body').removeClass('scroll_hidden');
$('body').removeClass('overlay_discount_active');
}
};
var callback = { var callback = {
submit: function(form){ submit: function(form){
form = $(form); form = $(form);
...@@ -2849,24 +2808,9 @@ var form_validator = { ...@@ -2849,24 +2808,9 @@ var form_validator = {
function setUrlHash(hash) { function setUrlHash(hash) {
if ('replaceState' in window.history && window.location.hash !== hash) window.history.replaceState('', '', hash); if ('replaceState' in window.history && window.location.hash !== hash) window.history.replaceState('', '', hash);
} }
$(document).ready(function () { $(document).ready(function () {
$.ajax({ //slider.init();
url: '/check_discount_term/', if ($('.phone_mask').length > 0) {
dataType: 'json', $('.phone_mask').mask("+7 (999) 999-9999");
type: 'post',
success: function (data) {
if (data.status == 'success' && data.active_discount != 0) {
console.log('123');
if ($(window).width() < 650) {
$('.header_mobile').addClass('discount');
$('.header_mobile').addClass('d' + data.active_discount);
} else {
$($('.top_right')[1]).addClass('discount');
$($('.top_right')[1]).addClass('d' + data.active_discount);
}
} }
}
})
}); });
User-agent: *
Allow: /i/
Disallow: /js/
Disallow: /css/
Disallow: /a/
User-agent: Googlebot
Allow: /
User-agent: Yandex
Allow: /i/
Disallow: /js/
Disallow: /css/
Disallow: /a/
Host: idivbanu.ru
Sitemap: http://idivbanu.ru/sitemap.xml
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment