Commit 15b77676994762895b9ed5d4c214edfeaec29b4a
1 parent
95b99090
-collection
Showing
2 changed files
with
30 additions
and
4 deletions
Show diff stats
common/modules/product/widgets/views/products_block_similar.php
@@ -12,8 +12,8 @@ | @@ -12,8 +12,8 @@ | ||
12 | 12 | ||
13 | <?php if (!empty($products)) { ?> | 13 | <?php if (!empty($products)) { ?> |
14 | 14 | ||
15 | - <div class="collection"> | ||
16 | - <br/> | 15 | + <div class="collection" style="padding: 0;"> |
16 | + | ||
17 | <h2 id="collection"> | 17 | <h2 id="collection"> |
18 | Похожие товары | 18 | Похожие товары |
19 | </h2> | 19 | </h2> |
frontend/web/css/css_header.css
@@ -27008,6 +27008,7 @@ ul.product-special li.promo div { | @@ -27008,6 +27008,7 @@ ul.product-special li.promo div { | ||
27008 | bottom:auto !important; | 27008 | bottom:auto !important; |
27009 | right: auto !important; | 27009 | right: auto !important; |
27010 | box-shadow: 0 !important; | 27010 | box-shadow: 0 !important; |
27011 | + text-align: center; | ||
27011 | } | 27012 | } |
27012 | .new_collection .wrapper { | 27013 | .new_collection .wrapper { |
27013 | overflow: visible !important; | 27014 | overflow: visible !important; |
@@ -27026,11 +27027,12 @@ ul.product-special li.promo div { | @@ -27026,11 +27027,12 @@ ul.product-special li.promo div { | ||
27026 | .new_collection .catalog_item .wrapper:hover { | 27027 | .new_collection .catalog_item .wrapper:hover { |
27027 | height: 100% !important; | 27028 | height: 100% !important; |
27028 | min-height: auto !important; | 27029 | min-height: auto !important; |
27029 | - | 27030 | + box-shadow: 0 0 12px 0 rgba(0,0,0,0.35) !important; |
27030 | 27031 | ||
27031 | } | 27032 | } |
27032 | .new_collection .catalog_item { | 27033 | .new_collection .catalog_item { |
27033 | - height: 400px !important; | 27034 | + height: 420px !important; |
27035 | + margin-bottom: 30px !important; | ||
27034 | } | 27036 | } |
27035 | .new_collection .price { | 27037 | .new_collection .price { |
27036 | text-align: center !important; | 27038 | text-align: center !important; |
@@ -27058,4 +27060,28 @@ ul.product-special li.promo div { | @@ -27058,4 +27060,28 @@ ul.product-special li.promo div { | ||
27058 | text-transform: lowercase; | 27060 | text-transform: lowercase; |
27059 | font-weight: normal; | 27061 | font-weight: normal; |
27060 | 27062 | ||
27063 | +} | ||
27064 | +.new_collection .img {margin-bottom:18px !important;} | ||
27065 | +.new_collection .buy_button { | ||
27066 | + background: #0f6fc7 !important; | ||
27067 | + cursor: pointer !important; | ||
27068 | + float: none !important; | ||
27069 | + border-top: none !important; | ||
27070 | + border-bottom:3px solid #0f62ae !important; | ||
27071 | + line-height: 35px !important; | ||
27072 | + padding: 0!important; | ||
27073 | + width: 120px; | ||
27074 | + text-align: center !important; | ||
27075 | +} | ||
27076 | +.new_collection .in_stock_wr {margin-top: 7px;} | ||
27077 | +.new_collection .item_container { | ||
27078 | + float: left; | ||
27079 | + padding-bottom: 0 !important; | ||
27080 | +} | ||
27081 | +#collection {font-size: 24px; color: #4b4b4b;} | ||
27082 | +@media(max-width: 1200px){ | ||
27083 | + .collection .catalog_product_list.view_table.new_collection .catalog_item { | ||
27084 | + width: 50%; | ||
27085 | + height: 432px !important; | ||
27086 | + } | ||
27061 | } | 27087 | } |
27062 | \ No newline at end of file | 27088 | \ No newline at end of file |