Commit f03c71f1fbdd9ed466970a77f66f251655c98846
1 parent
55e6fa66
Веталь
Showing
2 changed files
with
60 additions
and
16 deletions
Show diff stats
common/modules/product/widgets/views/products_block.php
1 | -<div class="special-products products<?= (!empty($class) ? ' '. $class : '')?>"> | ||
2 | - <h3><?= $title?></h3> | ||
3 | - <ul> | ||
4 | - <?php foreach($products as $product) :?> | ||
5 | - <?= $this->render('product_smart', ['product' => $product]);?> | ||
6 | - <?php endforeach?> | ||
7 | - </ul> | ||
8 | - <div class="both"></div> | 1 | +<div class="_prd_spec-wr"> |
2 | + <div class="special-products products<?= (!empty($class) ? ' '. $class : '')?>"> | ||
3 | + <h3><?= $title?></h3> | ||
4 | + <ul> | ||
5 | + <?php foreach($products as $product) :?> | ||
6 | + <?= $this->render('product_smart', ['product' => $product]);?> | ||
7 | + <?php endforeach?> | ||
8 | + </ul> | ||
9 | + <div class="both"></div> | ||
10 | + </div> | ||
9 | </div> | 11 | </div> |
10 | \ No newline at end of file | 12 | \ No newline at end of file |
frontend/web/css/style.css
@@ -164,15 +164,15 @@ ul.why_list li.item6{background:url('../img/why_item6.png') left no-repeat;} | @@ -164,15 +164,15 @@ ul.why_list li.item6{background:url('../img/why_item6.png') left no-repeat;} | ||
164 | .map{padding:5px 0px 5px 25px;background:url('../img/map.png') left no-repeat; margin-bottom: 7px;} | 164 | .map{padding:5px 0px 5px 25px;background:url('../img/map.png') left no-repeat; margin-bottom: 7px;} |
165 | a.more_map{color:#99a5ad;border-bottom:1px dotted #99a5ad;text-decoration:none;font-size:11px;text-align:center;} | 165 | a.more_map{color:#99a5ad;border-bottom:1px dotted #99a5ad;text-decoration:none;font-size:11px;text-align:center;} |
166 | 166 | ||
167 | -.bread-crumbs{padding:10px 0px 10px 20px;border-bottom:1px solid #d2d2d2;} | ||
168 | -.bread-crumbs ul{list-style:none;margin:0px 0px 0px 0px;padding:0px;} | ||
169 | -.bread-crumbs ul li{float:left;padding-right:5px;} | 167 | +.bread-crumbs{padding:0 0 0 20px;border-bottom:1px solid #d2d2d2; height: 29px;} |
168 | +.bread-crumbs ul{list-style:none;margin:0 0 0 0;padding:0; height: 29px;} | ||
169 | +.bread-crumbs ul li{float:left;padding-right:5px;height: 100%; line-height: 29px; color: #7d7d7d} | ||
170 | +.bread-crumbs ul li a {font-size: 12px; display: block; color: #7d7d7d} | ||
170 | .bread-crumbs ul li a:visited,.bread-crumbs ul li a:link{font-size:14px;color:#7d7d7d;text-decoration:underline;} | 171 | .bread-crumbs ul li a:visited,.bread-crumbs ul li a:link{font-size:14px;color:#7d7d7d;text-decoration:underline;} |
171 | .bread-crumbs ul li a:hover{color:#464646;text-decoration: none;} | 172 | .bread-crumbs ul li a:hover{color:#464646;text-decoration: none;} |
172 | .breadcrumb > li + li:before { | 173 | .breadcrumb > li + li:before { |
173 | color: #ccc; | 174 | color: #ccc; |
174 | - content: "/ "; | ||
175 | - padding: 0 5px; | 175 | + content: "/"; |
176 | } | 176 | } |
177 | 177 | ||
178 | 178 | ||
@@ -188,7 +188,21 @@ a.more_map{color:#99a5ad;border-bottom:1px dotted #99a5ad;text-decoration:none;f | @@ -188,7 +188,21 @@ a.more_map{color:#99a5ad;border-bottom:1px dotted #99a5ad;text-decoration:none;f | ||
188 | .filters{border-top:1px solid #d2d2d2;padding:20px 0px 0px;margin-top:20px;} | 188 | .filters{border-top:1px solid #d2d2d2;padding:20px 0px 0px;margin-top:20px;} |
189 | .filters .begin{text-transform: uppercase;font-weight:bold; font-size: 12px;} | 189 | .filters .begin{text-transform: uppercase;font-weight:bold; font-size: 12px;} |
190 | .filters ul{list-style:none;margin:0px;padding:0px;line-height:22px; margin-top: 6px;} | 190 | .filters ul{list-style:none;margin:0px;padding:0px;line-height:22px; margin-top: 6px;} |
191 | -.filters ul li a{color:#8fa951;text-decoration:none; font-size: 13px;} | 191 | +.filters ul li { |
192 | + position: relative; | ||
193 | + box-sizing: border-box; | ||
194 | + padding-left: 24px; | ||
195 | + line-height: 16px; | ||
196 | + margin-top: 7px; | ||
197 | +} | ||
198 | +.filters ul li:first-child {margin-top: 0} | ||
199 | +.filters ul li>input { | ||
200 | + position: absolute; | ||
201 | + left: 4px; | ||
202 | + margin: -6px 0 0 ; | ||
203 | + top: 50%; | ||
204 | +} | ||
205 | +.filters ul li a{color:#8fa951;text-decoration:none; font-size: 13px; line-height: 16px;} | ||
192 | .filters ul li a:hover{text-decoration:underline;} | 206 | .filters ul li a:hover{text-decoration:underline;} |
193 | 207 | ||
194 | .productLeftBar{float:left;width:230px;padding-left:20px;margin-right:20px;} | 208 | .productLeftBar{float:left;width:230px;padding-left:20px;margin-right:20px;} |
@@ -338,7 +352,7 @@ ul.brends_list li{float:left;text-align:center;margin:0px 15px 20px 15px;} | @@ -338,7 +352,7 @@ ul.brends_list li{float:left;text-align:center;margin:0px 15px 20px 15px;} | ||
338 | 352 | ||
339 | .txts{color:#9da9b1;font-size:18px;margin-bottom:20px;} | 353 | .txts{color:#9da9b1;font-size:18px;margin-bottom:20px;} |
340 | 354 | ||
341 | -.content ul.pagination{list-style:none;text-align:center; margin: 0 0 16px 0;padding: 0;} | 355 | +.content ul.pagination{list-style:none;text-align:center; margin: 0 0 16px 0;padding: 0 0 20px 0; border-bottom: 1px solid #d2d2d2;} |
342 | .content ul.pagination li{display:inline;} | 356 | .content ul.pagination li{display:inline;} |
343 | .content ul.pagination li a{padding:3px;color:#82a02f;font-size: 15px;margin:0; text-decoration: none; } | 357 | .content ul.pagination li a{padding:3px;color:#82a02f;font-size: 15px;margin:0; text-decoration: none; } |
344 | .content ul.pagination li a:hover {text-decoration: underline} | 358 | .content ul.pagination li a:hover {text-decoration: underline} |
@@ -1013,6 +1027,28 @@ ul.product-special li.promo:after { | @@ -1013,6 +1027,28 @@ ul.product-special li.promo:after { | ||
1013 | ._form_checkbox_reset, .sort_block ul li a, .sort_block { | 1027 | ._form_checkbox_reset, .sort_block ul li a, .sort_block { |
1014 | font-size: 12px; | 1028 | font-size: 12px; |
1015 | } | 1029 | } |
1030 | +.filter_accept_bloc {margin-top: 13px; margin-bottom: 27px;} | ||
1031 | +._form_checkbox_reset { | ||
1032 | + color: #6a6a6a; | ||
1033 | + display: block; | ||
1034 | + width: 128px; | ||
1035 | + height: 28px; | ||
1036 | + border: 1px solid #d2d2d2; | ||
1037 | + line-height: 28px; | ||
1038 | + text-align: center; | ||
1039 | + border-radius: 4px; | ||
1040 | + text-decoration: none; | ||
1041 | + margin: 0 auto; | ||
1042 | +} | ||
1043 | +._form_checkbox_reset:hover { | ||
1044 | + border: 1px solid #95ba2f; | ||
1045 | + color: #6a6a6a; | ||
1046 | +} | ||
1047 | +._form_checkbox_reset:active { | ||
1048 | + border: 1px solid #95ba2f; | ||
1049 | + background: #95ba2f; | ||
1050 | + color: #fff; | ||
1051 | +} | ||
1016 | .sort_block ul li a { | 1052 | .sort_block ul li a { |
1017 | color: #8fa951; | 1053 | color: #8fa951; |
1018 | } | 1054 | } |
@@ -1033,4 +1069,10 @@ ul.product-special li.promo:after { | @@ -1033,4 +1069,10 @@ ul.product-special li.promo:after { | ||
1033 | background-position: -36px 50%; | 1069 | background-position: -36px 50%; |
1034 | right: 0; | 1070 | right: 0; |
1035 | top: 0; | 1071 | top: 0; |
1036 | -} | ||
1037 | \ No newline at end of file | 1072 | \ No newline at end of file |
1073 | +} | ||
1074 | +.loyout ._prd_spec-wr {margin-top: 10px;} | ||
1075 | +.loyout .special-products:first-child { | ||
1076 | + border-top: 0; | ||
1077 | + padding-top: 0; | ||
1078 | + | ||
1079 | +} |