Commit ac43600bbffa1b6db6263eba632318a923e2a45c

Authored by Виталий
1 parent ce4bee08

Веталь

frontend/views/catalog/product.php
... ... @@ -18,7 +18,9 @@ $this->registerJs ('
18 18  
19 19 var checkData = function($index)
20 20 {
21   - var $source = $(".productLeftBar .product_mod > li").eq($index).find("a");
  21 + var sourceNew = $(".productLeftBar .product_mod > li").eq($index);
  22 + sourceNew.addClass("active")
  23 + var $source = sourceNew.find("a");
22 24 var $target = $(".productLeftBar .cost_box");
23 25  
24 26 $("#cost").text($source.data("cost"));
... ...
frontend/web/css/style.css
... ... @@ -229,6 +229,9 @@ ul.product_mod li a{
229 229 display: table-cell;
230 230 vertical-align: middle;
231 231 }
  232 +ul.product_mod li a:focus {
  233 + outline: none;
  234 +}
232 235 ul.product_mod li img{
233 236 vertical-align: middle;
234 237 max-width: 46px;
... ... @@ -384,7 +387,19 @@ ul.brends_list li{float:left;text-align:center;margin:0px 15px 20px 15px;}
384 387 .news_item a{font-size:16px;}
385 388  
386 389 .pic{
387   -
  390 + width: 392px;
  391 + height: 365px;
  392 +}
  393 +.pic a {
  394 + width: 392px;
  395 + height: 365px;
  396 + display: table-cell;
  397 + vertical-align: middle;
  398 +}
  399 +.pic a img {
  400 + max-width: 392px;
  401 + max-height: 365px;
  402 + vertical-align: middle;
388 403 }
389 404  
390 405 #subscribe-sale{width:100px;float:left;margin-right:20px;}
... ...