Commit 39db5ad6 by Semenenko Timofey

filter part2

1 parent 1e01f4b9
Pipeline #2856 for 39db5ad6 skipped in 0 seconds
...@@ -6,7 +6,6 @@ if(!isAjax()) { ...@@ -6,7 +6,6 @@ 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();
......
...@@ -39,11 +39,11 @@ h2.resp-accordion { ...@@ -39,11 +39,11 @@ h2.resp-accordion {
} }
.resp-tab-active { .resp-tab-active {
border: 1px solid #5AB1D0 !important; border: 1px solid #fff !important;
border-bottom: none; border-bottom: none;
margin-bottom: -1px !important; margin-bottom: -1px !important;
padding: 12px 14px 14px 14px !important; padding: 12px 14px 14px 14px !important;
border-top: 4px solid #5AB1D0 !important; border-top: 4px solid #fff !important;
border-bottom: 0px #fff solid !important; border-bottom: 0px #fff solid !important;
} }
...@@ -58,10 +58,11 @@ h2.resp-accordion { ...@@ -58,10 +58,11 @@ h2.resp-accordion {
.resp-tab-content { .resp-tab-content {
border: 1px solid #c1c1c1; border: 1px solid #c1c1c1;
border-top-color: #5AB1D0; border-top-color: #fff;
} }
h2.resp-accordion { h2.resp-accordion {
color: #fff;
font-size: 13px; font-size: 13px;
border: 1px solid #c1c1c1; border: 1px solid #c1c1c1;
border-top: 0px solid #c1c1c1; border-top: 0px solid #c1c1c1;
...@@ -116,8 +117,8 @@ z-index: 1; ...@@ -116,8 +117,8 @@ z-index: 1;
margin-right: -1px !important; margin-right: -1px !important;
padding: 14px 15px 15px 14px !important; padding: 14px 15px 15px 14px !important;
border-top: 1px solid; border-top: 1px solid;
border: 1px solid #5AB1D0 !important; border: 1px solid #fff !important;
border-left: 4px solid #5AB1D0 !important; border-left: 4px solid #fff !important;
margin-bottom: 4px !important; margin-bottom: 4px !important;
border-right: 1px #FFF solid !important; border-right: 1px #FFF solid !important;
} }
......
...@@ -206,7 +206,8 @@ li.additional_list_item{margin-bottom:20px;float:left;} ...@@ -206,7 +206,8 @@ 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: 200px 0 30px 0; */} .page-content{/* padding-top: 80px; */px; */}
/* .page-content.mobile{padding-top: 230px;} */
._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%;}
...@@ -218,7 +219,7 @@ li.additional_list_item{margin-bottom:20px;float:left;} ...@@ -218,7 +219,7 @@ li.additional_list_item{margin-bottom:20px;float:left;}
.filter._inner-page .filter-element{font-size:0;} .filter._inner-page .filter-element{font-size:0;}
.filter-element._parent{width:100%;} .filter-element._parent{width:100%;}
.filter-element._select{min-width:0;width:33%;} .filter-element._select{min-width:0;width:33%;}
.filter-select-item{padding-left:0;text-align:center;display:block;} .filter-select-item{color: #333;padding-left:0;text-align:center;display:block;}
.mp-tiles-wr{padding-top:4rem;} .mp-tiles-wr{padding-top:4rem;}
.process-top{padding:0 0 0 0;min-height:auto;} .process-top{padding:0 0 0 0;min-height:auto;}
.process-top-image{float:none;position:static;left:0;top:0;overflow:hidden;width:100%;height:auto;} .process-top-image{float:none;position:static;left:0;top:0;overflow:hidden;width:100%;height:auto;}
......
...@@ -489,6 +489,11 @@ $(document).ready(function() { ...@@ -489,6 +489,11 @@ $(document).ready(function() {
width: 'auto', //auto or any width like 600px width: 'auto', //auto or any width like 600px
fit: true, // 100% fit in a container fit: true, // 100% fit in a container
tabidentify: 'hor_1', // The tab groups identifier tabidentify: 'hor_1', // The tab groups identifier
activetab_bg: '#333', // background color for active tabs in this group
inactive_bg: '#f37e43', // background color for inactive tabs in this group
active_border_color: '#f37e43', // border color for active tabs heads in this group
inactive_color: '#fff',
activetab_color: '#fff',
activate: function(event) { // Callback function if tab is switched activate: function(event) { // Callback function if tab is switched
var $tab = $(this); var $tab = $(this);
var $info = $('#nested-tabInfo'); var $info = $('#nested-tabInfo');
...@@ -497,17 +502,41 @@ $(document).ready(function() { ...@@ -497,17 +502,41 @@ $(document).ready(function() {
$info.show(); $info.show();
} }
}); });
$('#parentHorizontalTab').easyResponsiveTabs({
// Child Tab type: 'default', //Types: default, vertical, accordion
$('#ChildVerticalTab_1').easyResponsiveTabs({ width: 'auto', //auto or any width like 600px
type: 'vertical', fit: true, // 100% fit in a container
width: 'auto', tabidentify: 'hor_2', // The tab groups identifier
fit: true, activetab_bg: '#333', // background color for active tabs in this group
tabidentify: 'ver_1', // The tab groups identifier inactive_bg: '#f37e43', // background color for inactive tabs in this group
activetab_bg: '#fff', // background color for active tabs in this group active_border_color: '#f37e43', // border color for active tabs heads in this group
inactive_bg: '#F5F5F5', // background color for inactive tabs in this group inactive_color: '#fff',
active_border_color: '#c1c1c1', // border color for active tabs heads in this group activetab_color: '#fff',
active_content_border_color: '#5AB1D0' // border color for active tabs contect in this group so that it matches the tab head border 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();
}
});
$('#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_3', // The tab groups identifier
activetab_bg: '#333', // background color for active tabs in this group
inactive_bg: '#f37e43', // background color for inactive tabs in this group
active_border_color: '#f37e43', // border color for active tabs heads in this group
inactive_color: '#fff',
activetab_color: '#fff',
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();
}
}); });
//Vertical Tab //Vertical Tab
...@@ -517,6 +546,12 @@ $(document).ready(function() { ...@@ -517,6 +546,12 @@ $(document).ready(function() {
fit: true, // 100% fit in a container fit: true, // 100% fit in a container
closed: 'accordion', // Start closed if in accordion view closed: 'accordion', // Start closed if in accordion view
tabidentify: 'hor_1', // The tab groups identifier tabidentify: 'hor_1', // The tab groups identifier
activetab_bg: '#333', // background color for active tabs in this group
inactive_bg: '#f37e43', // background color for inactive tabs in this group
active_border_color: '#fff', // border color for active tabs heads in this group
inactive_color: '#fff',
activetab_color: '#fff',
activate: function(event) { // Callback function if tab is switched activate: function(event) { // Callback function if tab is switched
var $tab = $(this); var $tab = $(this);
var $info = $('#nested-tabInfo2'); var $info = $('#nested-tabInfo2');
...@@ -525,7 +560,19 @@ $(document).ready(function() { ...@@ -525,7 +560,19 @@ $(document).ready(function() {
$info.show(); $info.show();
} }
}); });
}); });
$(".resp-accordion hor_1 resp-tab-active").on ('click' , function () {
alert('1');
// $('.page-content mobile').removeClass('mobile');
});
//отключение режима просмотра в карточке проекта
$(".hor_1").on('click' , function(){
$('.page-content').addClass('mobile');
});
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!