Commit 7a844efc by Semenenko Timofey

filter part5

1 parent 1dc46cea
...@@ -2522,7 +2522,7 @@ A.people-item:hover .people-item-name { ...@@ -2522,7 +2522,7 @@ A.people-item:hover .people-item-name {
} }
.partners-filter-item A { .partners-filter-item A {
color: #000000; color: #000000;
font-size: 1.1rem; font-size: 1rem;
line-height: 1.1rem; line-height: 1.1rem;
-webkit-transition: all 0.4s; -webkit-transition: all 0.4s;
transition: all 0.4s; transition: all 0.4s;
......
// Easy Responsive Tabs Plugin // Easy Responsive Tabs Plugin
// Author: Samson.Onna <Email : samson3d@gmail.com> // Author: Samson.Onna <Email : samson3d@gmail.com>
(function ($) { (function ($) {
$.fn.extend({ $.fn.extend({
easyResponsiveTabs: function (options) { easyResponsiveTabs: function (options) {
...@@ -79,6 +79,10 @@ ...@@ -79,6 +79,10 @@
$accItem.data($tabItem.data()); $accItem.data($tabItem.data());
$tabItemh2.attr('aria-controls', options.tabidentify + '_tab_item-' + (itemCount)); $tabItemh2.attr('aria-controls', options.tabidentify + '_tab_item-' + (itemCount));
itemCount++; itemCount++;
//дописываем событие для фильтра.
if( $(".resp-accordion").on('click' , function(){
$('.page-content').removeClass('mobile');
}));
}); });
//Assigning the 'aria-controls' to Tab items //Assigning the 'aria-controls' to Tab items
...@@ -213,7 +217,7 @@ ...@@ -213,7 +217,7 @@
}); });
//Window resize function //Window resize function
$(window).resize(function () { $(window).resize(function () {
$respTabs.find('.resp-accordion-closed').removeAttr('style'); $respTabs.find('.resp-accordion-closed').removeAttr('style');
}); });
......
...@@ -432,8 +432,8 @@ $(document).ready(function() { ...@@ -432,8 +432,8 @@ $(document).ready(function() {
$(".project-gallery-items").fancybox({ $(".project-gallery-items").fancybox({
'transitionIn' : 'elastic', 'transitionIn' : 'elastic',
'transitionOut' : 'elastic', 'transitionOut' : 'elastic',
'speedIn' : 600, 'speedIn' : 600,
'speedOut' : 200, 'speedOut' : 200,
'overlayShow' : false 'overlayShow' : false
}); });
...@@ -453,8 +453,7 @@ $(document).ready(function() { ...@@ -453,8 +453,7 @@ $(document).ready(function() {
printNumbersTimeout(); printNumbersTimeout();
}); });
$(".project-gallery-items").click(function() {
$(".project-gallery-items").click(function() {
function printNumbersTimeout() { function printNumbersTimeout() {
var i = 1; var i = 1;
...@@ -471,8 +470,7 @@ $(document).ready(function() { ...@@ -471,8 +470,7 @@ $(document).ready(function() {
}); });
$(".project-gallery-items").swipe({
$(".project-gallery-items").swipe({
swipe: function (event, direction, distance, duration, fingerCount, fingerData) { swipe: function (event, direction, distance, duration, fingerCount, fingerData) {
// alert(); // alert();
...@@ -615,11 +613,9 @@ $(document).ready(function() { ...@@ -615,11 +613,9 @@ $(document).ready(function() {
}); });
//отключение режима просмотра в карточке проекта $(".filter-element").on('click' , function(){
$(".hor_1").on('click' , function(){
$('.page-content').addClass('mobile'); $('.page-content').addClass('mobile');
// $('.page-content').toggleClass('mobile');
}); });
$(document).on('click', ".mobile_menu_phones",function() { $(document).on('click', ".mobile_menu_phones",function() {
...@@ -655,3 +651,6 @@ $(document).on('click', "#close",function() { ...@@ -655,3 +651,6 @@ $(document).on('click', "#close",function() {
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!