filter new part1

1 parent 34c2261a
<? <?
require_once $_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/main/include/urlrewrite.php'; require_once $_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/main/include/urlrewrite.php';
require_once $_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php"; require_once $_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php";
if(!isAjax()) { if(!isAjax()) {
CHTTP::SetStatus("404 Not Found"); CHTTP::SetStatus("404 Not Found");
} }
@define('ERROR_404','Y'); @define('ERROR_404','Y');
global $APPLICATION; global $APPLICATION;
global $USER; global $USER;
$APPLICATION->RestartBuffer(); $APPLICATION->RestartBuffer();
//while(ob_get_clean()); //while(ob_get_clean());
$APPLICATION->SetPageProperty('BODY_CLASS', ''); $APPLICATION->SetPageProperty('BODY_CLASS', '');
$APPLICATION->SetPageProperty('CONTAINER_EXTRA_CLASS', ''); $APPLICATION->SetPageProperty('CONTAINER_EXTRA_CLASS', '');
$APPLICATION->SetPageProperty('HIDE_PAGE_HEAD', ''); $APPLICATION->SetPageProperty('HIDE_PAGE_HEAD', '');
$APPLICATION->SetPageProperty('PAGE_HEAD_EXTRA_CLASS', ''); $APPLICATION->SetPageProperty('PAGE_HEAD_EXTRA_CLASS', '');
$APPLICATION->SetPageProperty('PAGE_HEAD_PIC_STYLE', ''); $APPLICATION->SetPageProperty('PAGE_HEAD_PIC_STYLE', '');
$APPLICATION->SetPageProperty('HIDE_CENTRING_WRAP', ''); $APPLICATION->SetPageProperty('HIDE_CENTRING_WRAP', '');
$APPLICATION->SetPageProperty('HIDE_FOOTER', ''); $APPLICATION->SetPageProperty('HIDE_FOOTER', '');
require BASE_PATH.'/local/templates/main/header.php'; require BASE_PATH.'/local/templates/main/header.php';
require INCLUDE_PATH . 'sitemap.php'; require INCLUDE_PATH . 'sitemap.php';
require BASE_PATH.'/local/templates/main/footer.php'; require BASE_PATH.'/local/templates/main/footer.php';
require $_SERVER["DOCUMENT_ROOT"]."/bitrix/footer.php"; require $_SERVER["DOCUMENT_ROOT"]."/bitrix/footer.php";
//require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/epilog_after.php"); //require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/epilog_after.php");
$APPLICATION->SetTitle("Страница не найдена"); $APPLICATION->SetTitle("Страница не найдена");
\ No newline at end of file \ No newline at end of file
This diff could not be displayed because it is too large.
...@@ -150,7 +150,7 @@ li.additional_list_item{margin-bottom:20px;float:left;} ...@@ -150,7 +150,7 @@ li.additional_list_item{margin-bottom:20px;float:left;}
.header._fixed .fav-link{top:8px;} .header._fixed .fav-link{top:8px;}
.header .fav-link-icon:after{margin:-12px 0 0 -11px;} .header .fav-link-icon:after{margin:-12px 0 0 -11px;}
.header .fav-link-count, .header .fav-link-clear{left: 5px;} .header .fav-link-count, .header .fav-link-clear{left: 5px;}
.out_sub_menu{/*top:193px*/;z-index:10;} .out_sub_menu{top: 220px;z-index:10;}
.page-head._bigger + .page-content{/* padding-top:180px; */} .page-head._bigger + .page-content{/* padding-top:180px; */}
.projects-list{margin-top:0;position:relative;z-index:20;} .projects-list{margin-top:0;position:relative;z-index:20;}
.filter._inner-page{margin:0;bottom:auto;left:0;width:100%;top:100%;} .filter._inner-page{margin:0;bottom:auto;left:0;width:100%;top:100%;}
...@@ -195,7 +195,7 @@ li.additional_list_item{margin-bottom:20px;float:left;} ...@@ -195,7 +195,7 @@ li.additional_list_item{margin-bottom:20px;float:left;}
.main-menu-item-link , ._fixed .main-menu-item-link{line-height:45px;} .main-menu-item-link , ._fixed .main-menu-item-link{line-height:45px;}
span.mobile_menu_wrap{width:37px;height:37px;background-image:url(/img/png/logo_y.png);background-size:cover;position:absolute;right:54px;top:18px;-webkit-transition:all 0.4s;transition:all 0.4s;cursor:pointer;} span.mobile_menu_wrap{width:37px;height:37px;background-image:url(/img/png/logo_y.png);background-size:cover;position:absolute;right:54px;top:18px;-webkit-transition:all 0.4s;transition:all 0.4s;cursor:pointer;}
span.mobile_menu_wrap.mobile{width:37px;height:37px;background-image:url(/img/png/logo_y.png);background-size:cover;position:absolute;right:11px;top:18px;-webkit-transition:all 0.4s;transition:all 0.4s;cursor:pointer;} span.mobile_menu_wrap.mobile{width:37px;height:37px;background-image:url(/img/png/logo_y.png);background-size:cover;position:absolute;right:11px;top:18px;-webkit-transition:all 0.4s;transition:all 0.4s;cursor:pointer;}
span.mobile_menu_wrap_phone{width:37px;height:37px;background-image:url(/img/svg/Vector.svg);background-size:cover;position:absolute;right:104px;top:18px;-webkit-transition:all 0.4s;transition:all 0.4s;cursor:pointer;} span.mobile_menu_wrap_phone{width:37px;height:37px;background-image:url(/img/svg/Vector.svg);background-size:cover;position:absolute;right:104px;top:18px;-webkit-transition:all 0.4s;transition:all 0.4s;cursor:pointer;}
span.mobile_menu_wrap_phone.mobile{width:37px;height:37px;background-image:url(/img/svg/Vector.svg);background-size:cover;position:absolute;right:51px;top:18px;-webkit-transition:all 0.4s;transition:all 0.4s;cursor:pointer;} span.mobile_menu_wrap_phone.mobile{width:37px;height:37px;background-image:url(/img/svg/Vector.svg);background-size:cover;position:absolute;right:51px;top:18px;-webkit-transition:all 0.4s;transition:all 0.4s;cursor:pointer;}
._fixed .secret-button{top:18px;} ._fixed .secret-button{top:18px;}
.logo{left:11px;} .logo{left:11px;}
...@@ -206,7 +206,7 @@ li.additional_list_item{margin-bottom:20px;float:left;} ...@@ -206,7 +206,7 @@ li.additional_list_item{margin-bottom:20px;float:left;}
.path-current{padding:0 5px;} .path-current{padding:0 5px;}
.page-head._bigger .path-current{margin-bottom:6px;} .page-head._bigger .path-current{margin-bottom:6px;}
.page-head._mp{overflow:hidden;} .page-head._mp{overflow:hidden;}
.page-content{padding: 63px 0 30px 0;} .page-content{/* padding: 200px 0 30px 0; */}
._top .path{padding-top:70px;text-align:center;margin:0;} ._top .path{padding-top:70px;text-align:center;margin:0;}
.page-head._bigger .path{padding-top:3px;margin:0;text-align:center;} .page-head._bigger .path{padding-top:3px;margin:0;text-align:center;}
.page-head._bigger .phone{/* bottom:7px; */top:auto;left:0;width:100%;} .page-head._bigger .phone{/* bottom:7px; */top:auto;left:0;width:100%;}
...@@ -442,16 +442,16 @@ li.additional_list_item{margin-bottom:20px;float:left;} ...@@ -442,16 +442,16 @@ li.additional_list_item{margin-bottom:20px;float:left;}
height: 250px; height: 250px;
} }
.header .fav-link-icon { .header .fav-link-icon {
position: absolute; position: absolute;
width: 37px; width: 37px;
height: 37px; height: 37px;
left: 38%; left: 38%;
top: 8px; top: 8px;
} }
.page-head._bigger { .page-head._bigger {
height: 100px; height: 100px;
} }
.footer > * { .footer > * {
display: block; display: block;
......
...@@ -435,7 +435,7 @@ $(document).ready(function() { ...@@ -435,7 +435,7 @@ $(document).ready(function() {
}, 4000); }, 4000);
} }
// вызов // вызов
printNumbersTimeout(); printNumbersTimeout();
}); });
...@@ -481,5 +481,51 @@ $(document).ready(function() { ...@@ -481,5 +481,51 @@ $(document).ready(function() {
}); });
// фильтры для мобильной версии
$(document).ready(function() {
//Horizontal Tab
$('#parentHorizontalTab').easyResponsiveTabs({
type: 'default', //Types: default, vertical, accordion
width: 'auto', //auto or any width like 600px
fit: true, // 100% fit in a container
tabidentify: 'hor_1', // The tab groups identifier
activate: function(event) { // Callback function if tab is switched
var $tab = $(this);
var $info = $('#nested-tabInfo');
var $name = $('span', $info);
$name.text($tab.text());
$info.show();
}
});
// Child Tab
$('#ChildVerticalTab_1').easyResponsiveTabs({
type: 'vertical',
width: 'auto',
fit: true,
tabidentify: 'ver_1', // The tab groups identifier
activetab_bg: '#fff', // background color for active tabs in this group
inactive_bg: '#F5F5F5', // background color for inactive tabs in this group
active_border_color: '#c1c1c1', // border color for active tabs heads in this group
active_content_border_color: '#5AB1D0' // border color for active tabs contect in this group so that it matches the tab head border
});
//Vertical Tab
$('#parentVerticalTab').easyResponsiveTabs({
type: 'vertical', //Types: default, vertical, accordion
width: 'auto', //auto or any width like 600px
fit: true, // 100% fit in a container
closed: 'accordion', // Start closed if in accordion view
tabidentify: 'hor_1', // The tab groups identifier
activate: function(event) { // Callback function if tab is switched
var $tab = $(this);
var $info = $('#nested-tabInfo2');
var $name = $('span', $info);
$name.text($tab.text());
$info.show();
}
});
});
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!