Commit 4b207cb8 by Semenenko Timofey

fynali before fix

1 parent 0b8bccfb
Pipeline #2831 for 4b207cb8 skipped in 0 seconds
...@@ -227,6 +227,11 @@ li.additional_list_item{margin-bottom:20px;float:left;} ...@@ -227,6 +227,11 @@ li.additional_list_item{margin-bottom:20px;float:left;}
.process-top-inverted-video{float:none;position:static;left:0;top:0;overflow:hidden;width:100%;height:auto;} .process-top-inverted-video{float:none;position:static;left:0;top:0;overflow:hidden;width:100%;height:auto;}
.process-top-inverted-video img{width:100%;} .process-top-inverted-video img{width:100%;}
.phone-value{display:block;padding-right:0;text-align:center;}
.phone-call{display:block;text-align:left;color:#f37e43;font-size:1.3rem;padding-right:0;padding-left:0px;margin:5px auto 0;width:155px;}
/*.path-current{font-size:1.8rem;line-height:2rem;letter-spacing:1px;margin-top:17px;}*/
.form-container{padding-top:0;}
._top .page-head{height:185px;}
} }
@media (max-width:1366px){.project-gallery-item-title-abs{font-size:3rem;line-height:3.3rem;} @media (max-width:1366px){.project-gallery-item-title-abs{font-size:3rem;line-height:3.3rem;}
...@@ -287,11 +292,6 @@ li.additional_list_item{margin-bottom:20px;float:left;} ...@@ -287,11 +292,6 @@ li.additional_list_item{margin-bottom:20px;float:left;}
.text-content H1, .text-content H2 , .text-content P + H3{padding:5px 0 10px;} .text-content H1, .text-content H2 , .text-content P + H3{padding:5px 0 10px;}
.text-content H1, .text-content H2{font-size:1.8rem;line-height:2.4rem;} .text-content H1, .text-content H2{font-size:1.8rem;line-height:2.4rem;}
.text-content BLOCKQUOTE{font-size:1.6rem;line-height:2.6rem;margin:14px 0;} .text-content BLOCKQUOTE{font-size:1.6rem;line-height:2.6rem;margin:14px 0;}
.phone-value{display:block;padding-right:0;text-align:center;}
.phone-call{display:block;text-align:left;color:#f37e43;font-size:1.3rem;padding-right:0;padding-left:0px;margin:5px auto 0;width:155px;}
.path-current{font-size:1.8rem;line-height:2rem;letter-spacing:1px;margin-top:17px;}
.form-container{padding-top:0;}
._top .page-head{height:185px;}
.page-head._mp .mp-head-text._bigger{font-size:4rem;} .page-head._mp .mp-head-text._bigger{font-size:4rem;}
span.phone-teaser-text{margin:0 0 3px;padding:0 10px;width:100%;font-size:16px;} span.phone-teaser-text{margin:0 0 3px;padding:0 10px;width:100%;font-size:16px;}
.phone-teaser-phone{padding:0;text-align:center;display:block;} .phone-teaser-phone{padding:0;text-align:center;display:block;}
......
...@@ -377,6 +377,63 @@ $(document).ready(function() { ...@@ -377,6 +377,63 @@ $(document).ready(function() {
}) })
$(document).ready(function() {
$("a.show-block").click(function() {
$($(this).attr('href')).toggle('slow');
return false;
});
//2. Получить элемент, к которому необходимо добавить маску
$("#phone").mask("8(999) 999-9999");
$("#phone-feed").mask("8(999) 999-9999");
$("#phone-cal").mask("8(999) 999-9999");
$("#phone-order").mask("8(999) 999-9999");
$("#phone-start").mask("8(999) 999-9999");
$("#phone-popup").mask("8(999) 999-9999");
$("#phone-proj").mask("8(999) 999-9999");
$("#phone-credit").mask("8(999) 999-9999");
$(".project-gallery-items").fancybox({
});
//Ставим Куки
function SetCookie(id, days){
var ws=new Date();
ws.setDate((days-0+ws.getDate()));
document.cookie=id+"; path=/; expires="+ws.toGMTString();
}
$(window).scroll(function() {
if ($(this).scrollTop() > 100) {
if ($('#upbutton').is(':hidden')) {
$('#upbutton').css({opacity : 1}).fadeIn('slow');
}
} else { $('#upbutton').stop(true, false).fadeOut('fast'); }
});
$('#upbutton').click(function() {
$('html, body').stop().animate({scrollTop : 0}, 300);
});
$(window).scroll(function() {
if ($(this).scrollTop() > -10) {
if ($('#call-button').is(':hidden')) {
$('#call-button').css({opacity : 1}).fadeIn('slow');
}
} else { $('#call-button').stop(true, false).fadeOut('fast'); }
});
$('#call-button').click(function() {
$('html, body').stop().animate({scrollTop : 0}, 300);
});
$(window).scroll(function(){
if ($(window).scrollTop() > 100) {
$('.header').addClass('scroll');
}
else {
$('.header').removeClass('scroll')
}
});
});
...@@ -40,5 +40,29 @@ ...@@ -40,5 +40,29 @@
<a href="/projects/map/" class="on-map">На карте</a> <a href="/projects/map/" class="on-map">На карте</a>
<? } ?> <? } ?>
</div> </div>
<? if ($_SERVER['REQUEST_URI'] == '/projects/' || '/doma-iz-kleenogo-brusa/') { ?>
<style>
.phone {
position: absolute;
right: 30px;
top: 53px;
z-index: 49;
}
.phone-call {
display: inline-block;
text-transform: uppercase;
text-decoration: none !important;
color: #f37e43;
font-size: 1rem;
line-height: 16px;
font-weight: bold;
padding-right: 22px;
padding-left: 16px;
position: relative;
vertical-align: middle;
margin-top: -6px;
}
</style>
<?}?>
<? $arResult['PAGE_HEAD_EXTRA_CONTENT'] = ob_get_clean() ?> <? $arResult['PAGE_HEAD_EXTRA_CONTENT'] = ob_get_clean() ?>
\ No newline at end of file \ No newline at end of file
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
/*padding: 100px 0 30px 0;*/ /*padding: 100px 0 30px 0;*/
} }
.projects-list { .projects-list {
margin-top: 80px; margin-top: 75px;
} }
.text-content H1 { .text-content H1 {
margin: 0; margin: 0;
......
...@@ -5,17 +5,12 @@ global $APPLICATION; ...@@ -5,17 +5,12 @@ global $APPLICATION;
if(!$APPLICATION->GetProperty('HIDE_PAGE_CONTENT')) echo '</div><!-- </div class="page-content"> -->'; if(!$APPLICATION->GetProperty('HIDE_PAGE_CONTENT')) echo '</div><!-- </div class="page-content"> -->';
//})?> //})?>
</div>> </div>
<? if(isProduction()) include INCLUDE_PATH . 'counters-before-footer.php' ?> <? if(isProduction()) include INCLUDE_PATH . 'counters-before-footer.php' ?>
<? if(!$APPLICATION->GetProperty('HIDE_FOOTER')) { ?> <? if(!$APPLICATION->GetProperty('HIDE_FOOTER')) { ?>
<footer class="footer"> <footer class="footer">
<? <? //26.04.2017 Hawks
//26.04.2017 Hawks
CModule::IncludeModule('nurgush.mobiledetect'); CModule::IncludeModule('nurgush.mobiledetect');
$detect = new Nurgush\MobileDetect\Main(); $detect = new Nurgush\MobileDetect\Main();
// Для мобыльных // Для мобыльных
if($detect->isMobile() && !$detect->isTablet()){?> if($detect->isMobile() && !$detect->isTablet()){?>
...@@ -23,12 +18,10 @@ global $APPLICATION; ...@@ -23,12 +18,10 @@ global $APPLICATION;
<div class="copy">© <?= date('Y') ?> ООО «Строй Хауз»</div> <div class="copy">© <?= date('Y') ?> ООО «Строй Хауз»</div>
<?}?> <?}?>
<div id="upbutton"></div> <div id="upbutton"></div>
<? <? //22.06.2017 Hawks
CModule::IncludeModule('nurgush.mobiledetect');
//22.06.2017 Hawks
CModule::IncludeModule('nurgush.mobiledetect');
$detect = new Nurgush\MobileDetect\Main(); $detect = new Nurgush\MobileDetect\Main();
// Для мобыльных и планшетов // Для мобыльных и планшетов
if($detect->isMobile() || $detect->isTablet()){?> if($detect->isMobile() || $detect->isTablet()){?>
<span><a class="author-left" href="/company/" >Наша компания</a> <span><a class="author-left" href="/company/" >Наша компания</a>
...@@ -84,20 +77,11 @@ if($detect->isMobile() || $detect->isTablet()){?> ...@@ -84,20 +77,11 @@ if($detect->isMobile() || $detect->isTablet()){?>
<?}?> <?}?>
<?}?> <?}?>
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,400italic,600,600italic,700,700italic,800,800italic,300italic,300&subset=latin,cyrillic-ext' rel='stylesheet' type='text/css'> <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,400italic,600,600italic,700,700italic,800,800italic,300italic,300&subset=latin,cyrillic-ext' rel='stylesheet' type='text/css'>
<script>if (screen.width<=768) {document.write('<link rel="stylesheet" href="/css/main.css?<?=filemtime(BASE_PATH . '/css/main.css')?>" id="pre_load">');document.body.style.display="block";}</script> <script>if (screen.width<=768) {document.write('<link rel="stylesheet" href="/css/main.css?<?=filemtime(BASE_PATH . '/css/main.css')?>" id="pre_load">');document.body.style.display="block";}</script>
<link rel="stylesheet" type='text/css' href="/css/flaticon.css"> <link rel="stylesheet" type='text/css' href="/css/flaticon.css">
<link rel="stylesheet" type='text/css' href="/css/media.css" > <link rel="stylesheet" type='text/css' href="/css/media.css" >
<!-- Add mousewheel plugin (this is optional) --> <!-- Add mousewheel plugin (this is optional) -->
<script>
//Ставим Куки
function SetCookie(id, days){
var ws=new Date();
ws.setDate((days-0+ws.getDate()));
document.cookie=id+"; path=/; expires="+ws.toGMTString();
}
</script> </script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="//maps.googleapis.com/maps/api/js?v=3.exp"></script> <script src="//maps.googleapis.com/maps/api/js?v=3.exp"></script>
...@@ -105,83 +89,7 @@ document.cookie=id+"; path=/; expires="+ws.toGMTString(); ...@@ -105,83 +89,7 @@ document.cookie=id+"; path=/; expires="+ws.toGMTString();
<script src="//yastatic.net/es5-shims/0.0.2/es5-shims.min.js"></script> <script src="//yastatic.net/es5-shims/0.0.2/es5-shims.min.js"></script>
<script src="//yastatic.net/share2/share.js"></script> <script src="//yastatic.net/share2/share.js"></script>
<script src="/js/jquery.maskedinput.js?<?=filemtime(BASE_PATH . '/js/jquery.maskedinput.js')?>" type="text/javascript"></script> <script src="/js/jquery.maskedinput.js?<?=filemtime(BASE_PATH . '/js/jquery.maskedinput.js')?>" type="text/javascript"></script>
<script src="/js/index.js"></script> <script src="/js/index.js"></script>
<script>
//Код jQuery, установливающий маску для ввода телефона элементу input
//1. После загрузки страницы, когда все элементы будут доступны выполнить...
$(function(){
//2. Получить элемент, к которому необходимо добавить маску
$("#phone").mask("8(999) 999-9999");
$("#phone-feed").mask("8(999) 999-9999");
$("#phone-cal").mask("8(999) 999-9999");
$("#phone-order").mask("8(999) 999-9999");
$("#phone-start").mask("8(999) 999-9999");
$("#phone-popup").mask("8(999) 999-9999");
$("#phone-proj").mask("8(999) 999-9999");
$("#phone-credit").mask("8(999) 999-9999");
});
</script>
<script>
$(document).ready(function() {
$("a.show-block").click(function() {
$($(this).attr('href')).toggle('slow');
return false;
});
});
</script>
<!-- <script>
$(document).ready(function() {
$('.block').on('click', '.extremum-click', function() {
$(this).toggleClass('red').siblings('.extremum-slide').slideToggle(0);
});
});
</script> -->
<script>
$(document).ready(function() {
$(".project-gallery-items").fancybox({
});
});
</script>
<script>
$(window).scroll(function() {
if ($(this).scrollTop() > 100) {
if ($('#upbutton').is(':hidden')) {
$('#upbutton').css({opacity : 1}).fadeIn('slow');
}
} else { $('#upbutton').stop(true, false).fadeOut('fast'); }
});
$('#upbutton').click(function() {
$('html, body').stop().animate({scrollTop : 0}, 300);
});
</script>
<script>
$(window).scroll(function() {
if ($(this).scrollTop() > -10) {
if ($('#call-button').is(':hidden')) {
$('#call-button').css({opacity : 1}).fadeIn('slow');
}
} else { $('#call-button').stop(true, false).fadeOut('fast'); }
});
$('#call-button').click(function() {
$('html, body').stop().animate({scrollTop : 0}, 300);
});
</script>
<script>
$(window).scroll(function(){
if ($(window).scrollTop() > 100) {
$('.header').addClass('scroll');
}
else {
$('.header').removeClass('scroll')
}
});
</script>
<?php if ((strpos($_SERVER["REQUEST_URI"],'/projects/')!==false)||(strpos($_SERVER["REQUEST_URI"],'/price/')!==false)||(strpos($_SERVER["REQUEST_URI"],'/contacts/')!==false)) { ?> <?php if ((strpos($_SERVER["REQUEST_URI"],'/projects/')!==false)||(strpos($_SERVER["REQUEST_URI"],'/price/')!==false)||(strpos($_SERVER["REQUEST_URI"],'/contacts/')!==false)) { ?>
<!-- BEGIN JIVOSITE CODE {literal} --> <!-- BEGIN JIVOSITE CODE {literal} -->
<script type='text/javascript'> <script type='text/javascript'>
...@@ -189,6 +97,5 @@ $(document).ready(function() { ...@@ -189,6 +97,5 @@ $(document).ready(function() {
var s = document.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = '//code.jivosite.com/script/widget/'+widget_id; var ss = document.getElementsByTagName('script')[0]; ss.parentNode.insertBefore(s, ss);}if(d.readyState=='complete'){l();}else{if(w.attachEvent){w.attachEvent('onload',l);}else{w.addEventListener('load',l,false);}}})();</script> var s = document.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = '//code.jivosite.com/script/widget/'+widget_id; var ss = document.getElementsByTagName('script')[0]; ss.parentNode.insertBefore(s, ss);}if(d.readyState=='complete'){l();}else{if(w.attachEvent){w.attachEvent('onload',l);}else{w.addEventListener('load',l,false);}}})();</script>
<!-- {/literal} END JIVOSITE CODE --> <!-- {/literal} END JIVOSITE CODE -->
<?php } ?> <?php } ?>
</body> </body>
</html> </html>
\ No newline at end of file \ No newline at end of file
...@@ -3,7 +3,9 @@ require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php"); ...@@ -3,7 +3,9 @@ require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");
$APPLICATION->SetPageProperty("description", "Типовые и индивидуальные проекты деревянных домов и бань из профилированного клееного бруса."); $APPLICATION->SetPageProperty("description", "Типовые и индивидуальные проекты деревянных домов и бань из профилированного клееного бруса.");
$APPLICATION->SetPageProperty("title", "Проекты деревянных домов и бань из профилированного клееного бруса, фото и цены | «Строй Хауз»"); $APPLICATION->SetPageProperty("title", "Проекты деревянных домов и бань из профилированного клееного бруса, фото и цены | «Строй Хауз»");
$APPLICATION->SetTitle("Проекты"); $APPLICATION->SetTitle("Проекты");
?><?$APPLICATION->IncludeComponent( ?>
<?$APPLICATION->IncludeComponent(
"cpeople:project", "cpeople:project",
"", "",
Array( Array(
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!