Commit 582ee9ba6ea605550713bc5db0b6b99a090e4e41
1 parent
fd77e918
мелкие правки вёрстки
Showing
2 changed files
with
15 additions
and
7 deletions
Show diff stats
frontend/views/product/view.php
| ... | ... | @@ -279,13 +279,8 @@ |
| 279 | 279 | ); |
| 280 | 280 | } |
| 281 | 281 | ?> |
| 282 | - <?php | |
| 283 | - /* | |
| 284 | -  <button class="btn btn-template-main"> | |
| 285 | - <i class="fa fa-tags"></i> Купить в кредит | |
| 286 | - </button> | |
| 287 | - */ | |
| 288 | - ?> | |
| 282 | + <button type="submit" class="btn btn-template-main"><i class="fa fa-tags"></i> Купить в кредит</button> | |
| 283 | + <button type="submit" class="btn btn-template-main"><i class="fa fa-tags"></i> Купить в рассрочку</button> | |
| 289 | 284 | </div> |
| 290 | 285 | <div class="box" id="details"> |
| 291 | 286 | <h2><?php echo \Yii::t('app', 'Описание товара'); ?></h2> | ... | ... |
frontend/web/css/style.css
| ... | ... | @@ -2908,6 +2908,9 @@ p.price .price-title { |
| 2908 | 2908 | |
| 2909 | 2909 | .product .text p.price del { |
| 2910 | 2910 | color: #999999; |
| 2911 | + position: absolute; | |
| 2912 | + margin-top: -25px; | |
| 2913 | + font-size:12px; | |
| 2911 | 2914 | } |
| 2912 | 2915 | |
| 2913 | 2916 | .product .buttons { |
| ... | ... | @@ -2977,6 +2980,8 @@ p.price .price-title { |
| 2977 | 2980 | line-height: 1; |
| 2978 | 2981 | margin-top: 40px; |
| 2979 | 2982 | margin-bottom: 15px; |
| 2983 | + color: #005bac; | |
| 2984 | + font-weight: bold; | |
| 2980 | 2985 | } |
| 2981 | 2986 | |
| 2982 | 2987 | #productMain .price button { |
| ... | ... | @@ -4715,4 +4720,12 @@ a i.fa, button i.fa, span.fa { |
| 4715 | 4720 | } |
| 4716 | 4721 | .socials-links a:active{ |
| 4717 | 4722 | opacity:0.8; |
| 4723 | +} | |
| 4724 | + | |
| 4725 | +.box p.no-margin{ | |
| 4726 | + font-size: 18px; | |
| 4727 | +} | |
| 4728 | + | |
| 4729 | +.box .btn.btn-template-main { | |
| 4730 | + margin-bottom: 5px; | |
| 4718 | 4731 | } |
| 4719 | 4732 | \ No newline at end of file | ... | ... |