Commit 118c6c59e07d00b702e05b31955c4ee1714e881b
1 parent
8a0548e3
test commit
Showing
2 changed files
with
8 additions
and
7 deletions
Show diff stats
frontend/web/css/css_header.css
| @@ -14518,8 +14518,9 @@ ul.product-special li.promo div{ | @@ -14518,8 +14518,9 @@ ul.product-special li.promo div{ | ||
| 14518 | width: 100%; | 14518 | width: 100%; |
| 14519 | float: left; | 14519 | float: left; |
| 14520 | margin-bottom: 20px; | 14520 | margin-bottom: 20px; |
| 14521 | + color:#0f6fc7; | ||
| 14521 | } | 14522 | } |
| 14522 | - | 14523 | +.news_item a.name:hover {color:#0f6fc7;} |
| 14523 | .news_item a { | 14524 | .news_item a { |
| 14524 | font-size: 16px | 14525 | font-size: 16px |
| 14525 | } | 14526 | } |
frontend/web/js/script.js
| @@ -110,14 +110,14 @@ $(document).on('click', '#buyForm .cart_remove', function() { | @@ -110,14 +110,14 @@ $(document).on('click', '#buyForm .cart_remove', function() { | ||
| 110 | }); | 110 | }); |
| 111 | 111 | ||
| 112 | /* Category filter open submenu */ | 112 | /* Category filter open submenu */ |
| 113 | -$(document).on('click', '.properties_block', function(e) { | ||
| 114 | - var active = $(this).hasClass('opened'); | 113 | +$(document).on('click', '.block_title', function(e) { |
| 114 | + var active = $(this).parent().hasClass('opened'); | ||
| 115 | if(active) { | 115 | if(active) { |
| 116 | - $(this).removeClass('opened').addClass('closed'); | ||
| 117 | - $(this).find('.chechboxes').hide(); | 116 | + $(this).parent().removeClass('opened').addClass('closed'); |
| 117 | + $(this).parent().find('.chechboxes').hide(); | ||
| 118 | } else { | 118 | } else { |
| 119 | - $(this).removeClass('closed').addClass('opened'); | ||
| 120 | - $(this).find('.chechboxes').show(); | 119 | + $(this).parent().removeClass('closed').addClass('opened'); |
| 120 | + $(this).parent().find('.chechboxes').show(); | ||
| 121 | } | 121 | } |
| 122 | }); | 122 | }); |
| 123 | /* End Category filter open submenu */ | 123 | /* End Category filter open submenu */ |