Commit 6cdcdf79901cfb0948d0f9ec90a668b0c733beb0
1 parent
f9b3cd95
lang widget
Showing
3 changed files
with
17 additions
and
6 deletions
Show diff stats
frontend/views/object/view.php
| ... | ... | @@ -47,11 +47,6 @@ |
| 47 | 47 | ] |
| 48 | 48 | ); |
| 49 | 49 | ?> |
| 50 | - <div class="row carousel_green_btn"> | |
| 51 | - <div class="col-md-12 col-xs-12" style="text-align:center;"> | |
| 52 | - <a href="site/green" class="button1 more-projects">Зелёный тариф</a> | |
| 53 | - </div> | |
| 54 | - </div> | |
| 55 | 50 | </section> |
| 56 | 51 | |
| 57 | 52 | <section class="margin-top: 30px;"> | ... | ... |
frontend/views/site/green.php
| ... | ... | @@ -42,7 +42,7 @@ use yii\web\View; |
| 42 | 42 | </div> |
| 43 | 43 | </div> |
| 44 | 44 | </section> |
| 45 | - <section> | |
| 45 | + <section class="green-carousel"> | |
| 46 | 46 | <div class="project owl-carousel"> |
| 47 | 47 | <div class="item"> |
| 48 | 48 | <img src="/img/slt01.jpg" alt="" class="img-responsive text-center"> |
| ... | ... | @@ -57,6 +57,11 @@ use yii\web\View; |
| 57 | 57 | <img class="img-responsive text-center" src="/img/slt04.jpg" alt=""> |
| 58 | 58 | </div> |
| 59 | 59 | </div> |
| 60 | + <div class="box-simple"> | |
| 61 | + <a href="#" class="btn button1 icon_phone modaled init-button-consultation" data-title="Заказать консультацию" data-toggle="modal" data-target="#feedback-modal"> | |
| 62 | + Получить <span>консультацию специалиста</span> | |
| 63 | + </a> | |
| 64 | + </div> | |
| 60 | 65 | <!-- /.project owl-slider --> |
| 61 | 66 | </section> |
| 62 | 67 | ... | ... |
frontend/web/css/main.css
| ... | ... | @@ -677,6 +677,17 @@ section.bar.background-gray.steps-pre:before { |
| 677 | 677 | bottom: 50px; |
| 678 | 678 | left: 15px; |
| 679 | 679 | } |
| 680 | +.green-carousel{position:relative;} | |
| 681 | +#green-wr .button1.btn{ | |
| 682 | + width: 250px; | |
| 683 | +} | |
| 684 | +#green-wr .box-simple{ | |
| 685 | + text-align: center; | |
| 686 | + margin-bottom: 0; | |
| 687 | + position: absolute; | |
| 688 | + width: 100%; | |
| 689 | + bottom: 50px; | |
| 690 | +} | |
| 680 | 691 | |
| 681 | 692 | @media(min-width:1201px){ |
| 682 | 693 | .links-ses-for-wr .container .row p {margin: 7px 20px;} | ... | ... |