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,6 +54,8 @@ | ||
| 54 | 'modal1_2' => 'консультацию', | 54 | 'modal1_2' => 'консультацию', |
| 55 | 'modal2' => 'Заказать электростанцию', | 55 | 'modal2' => 'Заказать электростанцию', |
| 56 | 'modal2_2' => 'электростанцию', | 56 | 'modal2_2' => 'электростанцию', |
| 57 | + 'modal3' => 'Расчитать', | ||
| 58 | + 'modal3_1' => 'стоимость проекта', | ||
| 57 | 'sect1_1' => 'Мы первые подключили СЭС', | 59 | 'sect1_1' => 'Мы первые подключили СЭС', |
| 58 | 'sect1_2' => 'по "зелёному" тарифу по Киевской области', | 60 | 'sect1_2' => 'по "зелёному" тарифу по Киевской области', |
| 59 | 'sect1_3' => 'Более 50 объектов', | 61 | 'sect1_3' => 'Более 50 объектов', |
common/messages/ua/app.php
| @@ -51,6 +51,8 @@ | @@ -51,6 +51,8 @@ | ||
| 51 | 'modal1_2' => 'консультацію', | 51 | 'modal1_2' => 'консультацію', |
| 52 | 'modal2' => 'Замовити електростанцію', | 52 | 'modal2' => 'Замовити електростанцію', |
| 53 | 'modal2_2' => 'електростанцію', | 53 | 'modal2_2' => 'електростанцію', |
| 54 | + 'modal3' => 'Розрахувати', | ||
| 55 | + 'modal3_1' => 'вартість проекту', | ||
| 54 | 'sect1_1' => 'Ми першими підключили СЕС', | 56 | 'sect1_1' => 'Ми першими підключили СЕС', |
| 55 | 'sect1_2' => 'за Зеленим тарифом по Київській області', | 57 | 'sect1_2' => 'за Зеленим тарифом по Київській області', |
| 56 | 'sect1_3' => 'Більш ніж 50 об\'єктів', | 58 | 'sect1_3' => 'Більш ніж 50 об\'єктів', |
frontend/views/site/index.php
| @@ -90,7 +90,7 @@ $this->registerJs($js, View::POS_END); | @@ -90,7 +90,7 @@ $this->registerJs($js, View::POS_END); | ||
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | <div class="col-md-12 get_station_center"> | 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 | </div> | 94 | </div> |
| 95 | </div> | 95 | </div> |
| 96 | </div> | 96 | </div> |
| @@ -116,7 +116,7 @@ $this->registerJs($js, View::POS_END); | @@ -116,7 +116,7 @@ $this->registerJs($js, View::POS_END); | ||
| 116 | </div> | 116 | </div> |
| 117 | </div> | 117 | </div> |
| 118 | <div class="col-md-12 get_station_center"> | 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 | </div> | 120 | </div> |
| 121 | </div> | 121 | </div> |
| 122 | </div> | 122 | </div> |
| @@ -142,7 +142,7 @@ $this->registerJs($js, View::POS_END); | @@ -142,7 +142,7 @@ $this->registerJs($js, View::POS_END); | ||
| 142 | </div> | 142 | </div> |
| 143 | </div> | 143 | </div> |
| 144 | <div class="col-md-12 get_station_center"> | 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 | </div> | 146 | </div> |
| 147 | </div> | 147 | </div> |
| 148 | </div> | 148 | </div> |
| @@ -168,7 +168,7 @@ $this->registerJs($js, View::POS_END); | @@ -168,7 +168,7 @@ $this->registerJs($js, View::POS_END); | ||
| 168 | </div> | 168 | </div> |
| 169 | </div> | 169 | </div> |
| 170 | <div class="col-md-12 get_station_center"> | 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 | </div> | 172 | </div> |
| 173 | </div> | 173 | </div> |
| 174 | </div> | 174 | </div> |
| @@ -194,7 +194,7 @@ $this->registerJs($js, View::POS_END); | @@ -194,7 +194,7 @@ $this->registerJs($js, View::POS_END); | ||
| 194 | </div> | 194 | </div> |
| 195 | </div> | 195 | </div> |
| 196 | <div class="col-md-12 get_station_center"> | 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 | </div> | 198 | </div> |
| 199 | </div> | 199 | </div> |
| 200 | </div> | 200 | </div> |
| @@ -220,7 +220,7 @@ $this->registerJs($js, View::POS_END); | @@ -220,7 +220,7 @@ $this->registerJs($js, View::POS_END); | ||
| 220 | </div> | 220 | </div> |
| 221 | </div> | 221 | </div> |
| 222 | <div class="col-md-12 get_station_center"> | 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 | </div> | 224 | </div> |
| 225 | </div> | 225 | </div> |
| 226 | </div> | 226 | </div> |
| @@ -246,7 +246,7 @@ $this->registerJs($js, View::POS_END); | @@ -246,7 +246,7 @@ $this->registerJs($js, View::POS_END); | ||
| 246 | </div> | 246 | </div> |
| 247 | </div> | 247 | </div> |
| 248 | <div class="col-md-12 get_station_center"> | 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 | </div> | 250 | </div> |
| 251 | </div> | 251 | </div> |
| 252 | </div> | 252 | </div> |
| @@ -272,7 +272,7 @@ $this->registerJs($js, View::POS_END); | @@ -272,7 +272,7 @@ $this->registerJs($js, View::POS_END); | ||
| 272 | </div> | 272 | </div> |
| 273 | </div> | 273 | </div> |
| 274 | <div class="col-md-12 get_station_center"> | 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 | </div> | 276 | </div> |
| 277 | </div> | 277 | </div> |
| 278 | </div> | 278 | </div> |
frontend/web/css/style.css
| @@ -339,6 +339,35 @@ a.sqre_btn { | @@ -339,6 +339,35 @@ a.sqre_btn { | ||
| 339 | .bigtext { | 339 | .bigtext { |
| 340 | display: table-caption; | 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 | @media(min-width:992px) and (max-width:1199px){ | 372 | @media(min-width:992px) and (max-width:1199px){ |
| 344 | .pr_cover { | 373 | .pr_cover { |