Commit 8611233549520a6d4415e9b337b9f4baebfb3b4f
1 parent
0ac5c50c
Веталь
Showing
3 changed files
with
14 additions
and
11 deletions
Show diff stats
common/modules/product/widgets/views/product_smart.php
... | ... | @@ -28,7 +28,7 @@ use yii\helpers\Url; |
28 | 28 | echo '<strike><span id=\'old_cost\'>'.$product->variant->price_old.'</span> грн.</strike>'; |
29 | 29 | } |
30 | 30 | |
31 | - echo '<p class="cost">'.$product->variant->price.' грн.</p>'; | |
31 | + echo '<p class="cost">'.$product->variant->price.' <span>грн.</span></p>'; | |
32 | 32 | |
33 | 33 | echo '</div>'; |
34 | 34 | ... | ... |
frontend/views/catalog/product_item.php
... | ... | @@ -38,7 +38,7 @@ use yii\helpers\Url; |
38 | 38 | echo '<strike><span id=\'old_cost\'>'.$product->variant->price_old.'</span> грн.</strike>'; |
39 | 39 | } |
40 | 40 | |
41 | - echo '<p class="cost">'.$product->variant->price.' грн.</p>'; | |
41 | + echo '<p class="cost">'.$product->variant->price.' <span>грн.</span></p>'; | |
42 | 42 | |
43 | 43 | echo '</div>'; |
44 | 44 | ... | ... |
frontend/web/css/style.css
... | ... | @@ -107,15 +107,16 @@ a.myorders{color:#f75d50} |
107 | 107 | border-top: 1px solid #d2d2d2; |
108 | 108 | } |
109 | 109 | .products ul{list-style:none;margin:0px;padding:0px;} |
110 | -.products ul li.item{float:left;width:160px;margin:0px 35px 15px;text-align:center;position:relative;} | |
111 | -.products ul li a.name{display:block;color:#494949;text-decoration:none;margin:15px 0px;height:30px;text-transform: uppercase;overflow: hidden;} | |
110 | +.products ul li.item{float:left;width:192px;margin:0px 0 15px 0;text-align:center;position:relative;} | |
111 | +.products ul li a.name{display:block;color:#333;font-size: 15px;text-decoration:none;margin:15px 0px;height:35px;overflow: hidden; box-sizing: border-box;padding: 0 10px;} | |
112 | 112 | .products ul li .info{text-align: left;} |
113 | 113 | .pn{border:none;} |
114 | 114 | |
115 | -.cost{color:#f75d50;font-size:20px;margin:0px;padding:0px;} | |
116 | -.cost span.valute{font-size:16px;} | |
117 | -strike{font-size:18px;} | |
118 | - | |
115 | +.cost{color:#f75d50;font-size:20px;margin:0;padding:0;} | |
116 | +.cost span {font-size: 15px;} | |
117 | +.cost span.valute{font-size:15px;} | |
118 | +strike{font-size:20px;} | |
119 | +strike span#old_cost {font-size: 15px;} | |
119 | 120 | a.link_buy{font-size: 15px; display:block;margin:10px auto;width:122px;height:38px;line-height:38px;text-transform: uppercase;color:#ffffff;text-decoration:none;font-weight:600;text-align:center; |
120 | 121 | background: #95ba2f; |
121 | 122 | border-radius: 4px; |
... | ... | @@ -177,7 +178,7 @@ a.more_map{color:#99a5ad;border-bottom:1px dotted #99a5ad;text-decoration:none;f |
177 | 178 | |
178 | 179 | |
179 | 180 | .loyout{padding:20px 0px;} |
180 | -.leftbar{float:left;width:200px; } | |
181 | +.leftbar{float:left;width:172px;margin-right: 20px; } | |
181 | 182 | .rightbar{float:right;width:380px;margin-left:35px;} |
182 | 183 | .rightbar2{float:right;width:320px;} |
183 | 184 | .content {overflow:hidden;min-height:500px;} |
... | ... | @@ -397,7 +398,7 @@ ul.social {margin-top: 20px;} |
397 | 398 | .view_products2 li{margin:10px 0px;} |
398 | 399 | |
399 | 400 | |
400 | -.pixbox{width:100%;height:200px;overflow: hidden;text-align: center;} | |
401 | +.pixbox{width:160px;margin:0 auto;height:200px;overflow: hidden;text-align: center;} | |
401 | 402 | |
402 | 403 | |
403 | 404 | .form-order{background:#f5f5f5;padding:10px;border:1px solid #d2d2d2;} |
... | ... | @@ -935,7 +936,7 @@ a.active{font-weight:bold;text-decoration: underline;} |
935 | 936 | ul.product-special { |
936 | 937 | position: absolute; |
937 | 938 | top: 0; |
938 | - left: 0; | |
939 | + left: 16px; | |
939 | 940 | } |
940 | 941 | ul.product-special li { |
941 | 942 | color: #333; |
... | ... | @@ -948,7 +949,9 @@ ul.product-special li { |
948 | 949 | position: relative; |
949 | 950 | border-top-left-radius: 4px; |
950 | 951 | border-bottom-left-radius: 4px; |
952 | + margin-top: 8px; | |
951 | 953 | } |
954 | +ul.product-special li:first-child {margin-top: 0} | |
952 | 955 | ul.product-special li.top { |
953 | 956 | background: #fbc665; |
954 | 957 | } | ... | ... |