Commit f6f05494fe98db140984c1054f1b92e2ae212dac
1 parent
4b63a918
buttons
Showing
4 changed files
with
41 additions
and
8 deletions
Show diff stats
common/messages/ru/app.php
| ... | ... | @@ -54,6 +54,8 @@ |
| 54 | 54 | 'modal1_2' => 'консультацию', |
| 55 | 55 | 'modal2' => 'Заказать электростанцию', |
| 56 | 56 | 'modal2_2' => 'электростанцию', |
| 57 | + 'modal3' => 'Расчитать', | |
| 58 | + 'modal3_1' => 'стоимость проекта', | |
| 57 | 59 | 'sect1_1' => 'Мы первые подключили СЭС', |
| 58 | 60 | 'sect1_2' => 'по "зелёному" тарифу по Киевской области', |
| 59 | 61 | 'sect1_3' => 'Более 50 объектов', | ... | ... |
common/messages/ua/app.php
| ... | ... | @@ -51,6 +51,8 @@ |
| 51 | 51 | 'modal1_2' => 'консультацію', |
| 52 | 52 | 'modal2' => 'Замовити електростанцію', |
| 53 | 53 | 'modal2_2' => 'електростанцію', |
| 54 | + 'modal3' => 'Розрахувати', | |
| 55 | + 'modal3_1' => 'вартість проекту', | |
| 54 | 56 | 'sect1_1' => 'Ми першими підключили СЕС', |
| 55 | 57 | 'sect1_2' => 'за Зеленим тарифом по Київській області', |
| 56 | 58 | 'sect1_3' => 'Більш ніж 50 об\'єктів', | ... | ... |
frontend/views/site/index.php
| ... | ... | @@ -90,7 +90,7 @@ $this->registerJs($js, View::POS_END); |
| 90 | 90 | </div> |
| 91 | 91 | </div> |
| 92 | 92 | <div class="col-md-12 get_station_center"> |
| 93 | - <a href="#" class="btn button1 icon_stat modaled init-button-order" data-title="<?= Yii::t('app', 'modal1') ?>" data-toggle="modal" data-target="#feedback-modal"><?= Yii::t('app', 'modal1_1') ?> <span><?= Yii::t('app', 'modal1_2') ?></span></a> | |
| 93 | + <a href="#" class="btn button2 modaled init-button-сalculate mini" data-title="<?= Yii::t('app', 'modal3') ?> <?= Yii::t('app', 'modal3_1') ?>" data-toggle="modal" data-target="#feedback-modal"><?= Yii::t('app', 'modal3') ?> <span><?= Yii::t('app', 'modal3_1') ?></span></a> | |
| 94 | 94 | </div> |
| 95 | 95 | </div> |
| 96 | 96 | </div> |
| ... | ... | @@ -116,7 +116,7 @@ $this->registerJs($js, View::POS_END); |
| 116 | 116 | </div> |
| 117 | 117 | </div> |
| 118 | 118 | <div class="col-md-12 get_station_center"> |
| 119 | - <a href="#" class="btn button1 icon_stat modaled init-button-order" data-title="<?= Yii::t('app', 'modal1') ?>" data-toggle="modal" data-target="#feedback-modal"><?= Yii::t('app', 'modal1_1') ?> <span><?= Yii::t('app', 'modal1_2') ?></span></a> | |
| 119 | + <a href="#" class="btn button1 icon_phone modaled init-button-consultation" data-title="<?= Yii::t('app', 'modal1') ?>" data-toggle="modal" data-target="#feedback-modal"><?= Yii::t('app', 'modal1_1') ?> <span><?= Yii::t('app', 'modal1_2') ?></span></a> | |
| 120 | 120 | </div> |
| 121 | 121 | </div> |
| 122 | 122 | </div> |
| ... | ... | @@ -142,7 +142,7 @@ $this->registerJs($js, View::POS_END); |
| 142 | 142 | </div> |
| 143 | 143 | </div> |
| 144 | 144 | <div class="col-md-12 get_station_center"> |
| 145 | - <a href="#" class="btn button1 icon_stat modaled init-button-order" data-title="<?= Yii::t('app', 'modal1') ?>" data-toggle="modal" data-target="#feedback-modal"><?= Yii::t('app', 'modal1_1') ?> <span><?= Yii::t('app', 'modal1_2') ?></span></a> | |
| 145 | + <a href="#" class="btn button2 modaled init-button-сalculate mini" data-title="<?= Yii::t('app', 'modal3') ?> <?= Yii::t('app', 'modal3_1') ?>" data-toggle="modal" data-target="#feedback-modal"><?= Yii::t('app', 'modal3') ?> <span><?= Yii::t('app', 'modal3_1') ?></span></a> | |
| 146 | 146 | </div> |
| 147 | 147 | </div> |
| 148 | 148 | </div> |
| ... | ... | @@ -168,7 +168,7 @@ $this->registerJs($js, View::POS_END); |
| 168 | 168 | </div> |
| 169 | 169 | </div> |
| 170 | 170 | <div class="col-md-12 get_station_center"> |
| 171 | - <a href="#" class="btn button1 icon_stat modaled init-button-order" data-title="<?= Yii::t('app', 'modal1') ?>" data-toggle="modal" data-target="#feedback-modal"><?= Yii::t('app', 'modal1_1') ?> <span><?= Yii::t('app', 'modal1_2') ?></span></a> | |
| 171 | + <a href="#" class="btn button1 icon_phone modaled init-button-consultation" data-title="<?= Yii::t('app', 'modal1') ?>" data-toggle="modal" data-target="#feedback-modal"><?= Yii::t('app', 'modal1_1') ?> <span><?= Yii::t('app', 'modal1_2') ?></span></a> | |
| 172 | 172 | </div> |
| 173 | 173 | </div> |
| 174 | 174 | </div> |
| ... | ... | @@ -194,7 +194,7 @@ $this->registerJs($js, View::POS_END); |
| 194 | 194 | </div> |
| 195 | 195 | </div> |
| 196 | 196 | <div class="col-md-12 get_station_center"> |
| 197 | - <a href="#" class="btn button1 icon_stat modaled init-button-order" data-title="<?= Yii::t('app', 'modal1') ?>" data-toggle="modal" data-target="#feedback-modal"><?= Yii::t('app', 'modal1_1') ?> <span><?= Yii::t('app', 'modal1_2') ?></span></a> | |
| 197 | + <a href="#" class="btn button1 icon_phone modaled init-button-consultation" data-title="<?= Yii::t('app', 'modal1') ?>" data-toggle="modal" data-target="#feedback-modal"><?= Yii::t('app', 'modal1_1') ?> <span><?= Yii::t('app', 'modal1_2') ?></span></a> | |
| 198 | 198 | </div> |
| 199 | 199 | </div> |
| 200 | 200 | </div> |
| ... | ... | @@ -220,7 +220,7 @@ $this->registerJs($js, View::POS_END); |
| 220 | 220 | </div> |
| 221 | 221 | </div> |
| 222 | 222 | <div class="col-md-12 get_station_center"> |
| 223 | - <a href="#" class="btn button1 icon_stat modaled init-button-order" data-title="<?= Yii::t('app', 'modal1') ?>" data-toggle="modal" data-target="#feedback-modal"><?= Yii::t('app', 'modal1_1') ?> <span><?= Yii::t('app', 'modal1_2') ?></span></a> | |
| 223 | + <a href="#" class="btn button2 modaled init-button-сalculate mini" data-title="<?= Yii::t('app', 'modal3') ?> <?= Yii::t('app', 'modal3_1') ?>" data-toggle="modal" data-target="#feedback-modal"><?= Yii::t('app', 'modal3') ?> <span><?= Yii::t('app', 'modal3_1') ?></span></a> | |
| 224 | 224 | </div> |
| 225 | 225 | </div> |
| 226 | 226 | </div> |
| ... | ... | @@ -246,7 +246,7 @@ $this->registerJs($js, View::POS_END); |
| 246 | 246 | </div> |
| 247 | 247 | </div> |
| 248 | 248 | <div class="col-md-12 get_station_center"> |
| 249 | - <a href="#" class="btn button1 icon_stat modaled init-button-order" data-title="<?= Yii::t('app', 'modal1') ?>" data-toggle="modal" data-target="#feedback-modal"><?= Yii::t('app', 'modal1_1') ?> <span><?= Yii::t('app', 'modal1_2') ?></span></a> | |
| 249 | + <a href="#" class="btn button1 icon_phone modaled init-button-consultation" data-title="<?= Yii::t('app', 'modal1') ?>" data-toggle="modal" data-target="#feedback-modal"><?= Yii::t('app', 'modal1_1') ?> <span><?= Yii::t('app', 'modal1_2') ?></span></a> | |
| 250 | 250 | </div> |
| 251 | 251 | </div> |
| 252 | 252 | </div> |
| ... | ... | @@ -272,7 +272,7 @@ $this->registerJs($js, View::POS_END); |
| 272 | 272 | </div> |
| 273 | 273 | </div> |
| 274 | 274 | <div class="col-md-12 get_station_center"> |
| 275 | - <a href="#" class="btn button1 icon_stat modaled init-button-order" data-title="<?= Yii::t('app', 'modal1') ?>" data-toggle="modal" data-target="#feedback-modal"><?= Yii::t('app', 'modal1_1') ?> <span><?= Yii::t('app', 'modal1_2') ?></span></a> | |
| 275 | + <a href="#" class="btn button1 icon_phone modaled init-button-consultation" data-title="<?= Yii::t('app', 'modal1') ?>" data-toggle="modal" data-target="#feedback-modal"><?= Yii::t('app', 'modal1_1') ?> <span><?= Yii::t('app', 'modal1_2') ?></span></a> | |
| 276 | 276 | </div> |
| 277 | 277 | </div> |
| 278 | 278 | </div> | ... | ... |
frontend/web/css/style.css
| ... | ... | @@ -339,6 +339,35 @@ a.sqre_btn { |
| 339 | 339 | .bigtext { |
| 340 | 340 | display: table-caption; |
| 341 | 341 | } |
| 342 | +.btn.button2.mini{ | |
| 343 | + background-color: #0095d7; | |
| 344 | + color: #fff; | |
| 345 | + background-image: url(../img/arrows_right_w.png); | |
| 346 | + background-position: calc(100% - 14px) center; | |
| 347 | + background-repeat: no-repeat; | |
| 348 | + letter-spacing: 0; | |
| 349 | + border: none; | |
| 350 | + outline: none; | |
| 351 | + margin: 0 auto; | |
| 352 | + text-transform: uppercase; | |
| 353 | + text-decoration: none; | |
| 354 | + cursor: pointer; | |
| 355 | + transition: 0.3s; | |
| 356 | + display: inline-block; | |
| 357 | + text-align: center; | |
| 358 | + font-weight: bold; | |
| 359 | + width: 180px; | |
| 360 | + padding: 8px 0; | |
| 361 | + padding-top: 10px; | |
| 362 | + padding-right: 24px; | |
| 363 | + font-size: 13px; | |
| 364 | + line-height: 14px; | |
| 365 | + background-size: 9%; | |
| 366 | + border-radius: 2px; | |
| 367 | +} | |
| 368 | +.btn.button2.mini:hover { | |
| 369 | + background-color: #40c4ff; | |
| 370 | +} | |
| 342 | 371 | |
| 343 | 372 | @media(min-width:992px) and (max-width:1199px){ |
| 344 | 373 | .pr_cover { | ... | ... |