Commit f2d30f9f31b0ac647872d83359f4a734cbab161e
Merge remote-tracking branch 'origin/master'
Showing
7 changed files
with
374 additions
and
195 deletions
Show diff stats
common/messages/ru/app.php
@@ -122,4 +122,6 @@ return [ | @@ -122,4 +122,6 @@ return [ | ||
122 | 'Office {office}' => 'Офис {office}', | 122 | 'Office {office}' => 'Офис {office}', |
123 | 'Contact us' => 'Связаться с нами', | 123 | 'Contact us' => 'Связаться с нами', |
124 | "Show on home page" => "Показать на главной странице", | 124 | "Show on home page" => "Показать на главной странице", |
125 | + 'Go to contact page' => 'На страницу контактов', | ||
126 | + 'Share' => 'Поделиться', | ||
125 | ]; | 127 | ]; |
126 | \ No newline at end of file | 128 | \ No newline at end of file |
frontend/views/layouts/main.php
@@ -97,148 +97,148 @@ | @@ -97,148 +97,148 @@ | ||
97 | <header> | 97 | <header> |
98 | <!-- *** TOP *** | 98 | <!-- *** TOP *** |
99 | _________________________________________________________ --> | 99 | _________________________________________________________ --> |
100 | - <div id="top"> | ||
101 | - <div class="container"> | ||
102 | - <div class="row"> | ||
103 | - <div class="col-xs-5 contact"> | ||
104 | - <p class="hidden-sm hidden-xs"> | ||
105 | - <?php | ||
106 | - if (!empty($settings->phone)) { | ||
107 | - echo \Yii::t('app', 'Contact us on '); | ||
108 | - echo Html::a($settings->phone, \Yii::t('app', 'tel:')." {$settings->phone}"); | ||
109 | - if (!empty($settings->email)) { | ||
110 | - echo \Yii::t('app', ' or '); | ||
111 | - echo Html::a($settings->email, "mailto:$settings->email"); | ||
112 | - } | ||
113 | - } | ||
114 | - ?> | ||
115 | - </p> | ||
116 | - <p class="hidden-md hidden-lg"> | ||
117 | - <a href="#" data-animate-hover="pulse"><i class="fa fa-phone"></i></a> | ||
118 | - <a href="#" data-animate-hover="pulse"><i class="fa fa-envelope"></i></a> | ||
119 | - </p> | ||
120 | - </div> | ||
121 | - <div class="col-xs-7"> | ||
122 | - <div class="social"> | ||
123 | - <?php | ||
124 | - if (!empty($settings->facebook)) { | ||
125 | - echo Html::a( | ||
126 | - Html::icon( | ||
127 | - 'facebook', | ||
128 | - [ | ||
129 | - 'prefix' => 'fa fa-', | ||
130 | - ] | ||
131 | - ), | ||
132 | - $settings->facebook, | ||
133 | - [ | ||
134 | - 'class' => 'external facebook', | ||
135 | - 'data' => [ | ||
136 | - 'animate-hover' => 'pulse', | ||
137 | - ], | ||
138 | - ] | ||
139 | - ); | ||
140 | - } | ||
141 | - ?> | ||
142 | - <?php | ||
143 | - if (!empty($settings->vk)) { | ||
144 | - echo Html::a( | ||
145 | - Html::icon( | ||
146 | - 'vk', | ||
147 | - [ | ||
148 | - 'prefix' => 'fa fa-', | ||
149 | - ] | ||
150 | - ), | ||
151 | - $settings->vk, | ||
152 | - [ | ||
153 | - 'class' => 'external vk', | ||
154 | - 'data' => [ | ||
155 | - 'animate-hover' => 'pulse', | ||
156 | - ], | ||
157 | - ] | ||
158 | - ); | ||
159 | - } | ||
160 | - ?> | ||
161 | - <?php | ||
162 | - if (!empty($settings->google)) { | ||
163 | - echo Html::a( | ||
164 | - Html::icon( | ||
165 | - 'google-plus', | ||
166 | - [ | ||
167 | - 'prefix' => 'fa fa-', | ||
168 | - ] | ||
169 | - ), | ||
170 | - $settings->google, | ||
171 | - [ | ||
172 | - 'class' => 'external gplus', | ||
173 | - 'data' => [ | ||
174 | - 'animate-hover' => 'pulse', | ||
175 | - ], | ||
176 | - ] | ||
177 | - ); | ||
178 | - } | ||
179 | - ?> | ||
180 | - <?php | ||
181 | - if (!empty($settings->twitter)) { | ||
182 | - echo Html::a( | ||
183 | - Html::icon( | ||
184 | - 'twitter', | ||
185 | - [ | ||
186 | - 'prefix' => 'fa fa-', | ||
187 | - ] | ||
188 | - ), | ||
189 | - $settings->twitter, | ||
190 | - [ | ||
191 | - 'class' => 'external twitter', | ||
192 | - 'data' => [ | ||
193 | - 'animate-hover' => 'pulse', | ||
194 | - ], | ||
195 | - ] | ||
196 | - ); | ||
197 | - } | ||
198 | - ?> | ||
199 | - <?php | ||
200 | - if (!empty($settings->ok)) { | ||
201 | - echo Html::a( | ||
202 | - Html::icon( | ||
203 | - 'odnoklassniki', | ||
204 | - [ | ||
205 | - 'prefix' => 'fa fa-', | ||
206 | - ] | ||
207 | - ), | ||
208 | - $settings->ok, | ||
209 | - [ | ||
210 | - 'class' => 'external odnoklassniki', | ||
211 | - 'data' => [ | ||
212 | - 'animate-hover' => 'pulse', | ||
213 | - ], | ||
214 | - ] | ||
215 | - ); | ||
216 | - } | ||
217 | - ?> | ||
218 | - <?php | ||
219 | - if (!empty($settings->email)) { | ||
220 | - echo Html::a( | ||
221 | - Html::icon( | ||
222 | - 'envelope', | ||
223 | - [ | ||
224 | - 'prefix' => 'fa fa-', | ||
225 | - ] | ||
226 | - ), | ||
227 | - "mailto:$settings->email", | ||
228 | - [ | ||
229 | - 'class' => 'email', | ||
230 | - 'data' => [ | ||
231 | - 'animate-hover' => 'pulse', | ||
232 | - ], | ||
233 | - ] | ||
234 | - ); | ||
235 | - } | ||
236 | - ?> | ||
237 | - </div> | ||
238 | - </div> | ||
239 | - </div> | ||
240 | - </div> | ||
241 | - </div> | 100 | +<!-- <div id="top">--> |
101 | +<!-- <div class="container">--> | ||
102 | +<!-- <div class="row">--> | ||
103 | +<!-- <div class="col-xs-5 contact">--> | ||
104 | +<!-- <p class="hidden-sm hidden-xs">--> | ||
105 | +<!-- --><?php | ||
106 | +// if (!empty($settings->phone)) { | ||
107 | +// echo \Yii::t('app', 'Contact us on '); | ||
108 | +// echo Html::a($settings->phone, \Yii::t('app', 'tel:')." {$settings->phone}"); | ||
109 | +// if (!empty($settings->email)) { | ||
110 | +// echo \Yii::t('app', ' or '); | ||
111 | +// echo Html::a($settings->email, "mailto:$settings->email"); | ||
112 | +// } | ||
113 | +// } | ||
114 | +// ?> | ||
115 | +<!-- </p>--> | ||
116 | +<!-- <p class="hidden-md hidden-lg">--> | ||
117 | +<!-- <a href="#" data-animate-hover="pulse"><i class="fa fa-phone"></i></a>--> | ||
118 | +<!-- <a href="#" data-animate-hover="pulse"><i class="fa fa-envelope"></i></a>--> | ||
119 | +<!-- </p>--> | ||
120 | +<!-- </div>--> | ||
121 | +<!-- <div class="col-xs-7">--> | ||
122 | +<!-- <div class="social">--> | ||
123 | +<!-- --><?php | ||
124 | +// if (!empty($settings->facebook)) { | ||
125 | +// echo Html::a( | ||
126 | +// Html::icon( | ||
127 | +// 'facebook', | ||
128 | +// [ | ||
129 | +// 'prefix' => 'fa fa-', | ||
130 | +// ] | ||
131 | +// ), | ||
132 | +// $settings->facebook, | ||
133 | +// [ | ||
134 | +// 'class' => 'external facebook', | ||
135 | +// 'data' => [ | ||
136 | +// 'animate-hover' => 'pulse', | ||
137 | +// ], | ||
138 | +// ] | ||
139 | +// ); | ||
140 | +// } | ||
141 | +// ?> | ||
142 | +<!-- --><?php | ||
143 | +// if (!empty($settings->vk)) { | ||
144 | +// echo Html::a( | ||
145 | +// Html::icon( | ||
146 | +// 'vk', | ||
147 | +// [ | ||
148 | +// 'prefix' => 'fa fa-', | ||
149 | +// ] | ||
150 | +// ), | ||
151 | +// $settings->vk, | ||
152 | +// [ | ||
153 | +// 'class' => 'external vk', | ||
154 | +// 'data' => [ | ||
155 | +// 'animate-hover' => 'pulse', | ||
156 | +// ], | ||
157 | +// ] | ||
158 | +// ); | ||
159 | +// } | ||
160 | +// ?> | ||
161 | +<!-- --><?php | ||
162 | +// if (!empty($settings->google)) { | ||
163 | +// echo Html::a( | ||
164 | +// Html::icon( | ||
165 | +// 'google-plus', | ||
166 | +// [ | ||
167 | +// 'prefix' => 'fa fa-', | ||
168 | +// ] | ||
169 | +// ), | ||
170 | +// $settings->google, | ||
171 | +// [ | ||
172 | +// 'class' => 'external gplus', | ||
173 | +// 'data' => [ | ||
174 | +// 'animate-hover' => 'pulse', | ||
175 | +// ], | ||
176 | +// ] | ||
177 | +// ); | ||
178 | +// } | ||
179 | +// ?> | ||
180 | +<!-- --><?php | ||
181 | +// if (!empty($settings->twitter)) { | ||
182 | +// echo Html::a( | ||
183 | +// Html::icon( | ||
184 | +// 'twitter', | ||
185 | +// [ | ||
186 | +// 'prefix' => 'fa fa-', | ||
187 | +// ] | ||
188 | +// ), | ||
189 | +// $settings->twitter, | ||
190 | +// [ | ||
191 | +// 'class' => 'external twitter', | ||
192 | +// 'data' => [ | ||
193 | +// 'animate-hover' => 'pulse', | ||
194 | +// ], | ||
195 | +// ] | ||
196 | +// ); | ||
197 | +// } | ||
198 | +// ?> | ||
199 | +<!-- --><?php | ||
200 | +// if (!empty($settings->ok)) { | ||
201 | +// echo Html::a( | ||
202 | +// Html::icon( | ||
203 | +// 'odnoklassniki', | ||
204 | +// [ | ||
205 | +// 'prefix' => 'fa fa-', | ||
206 | +// ] | ||
207 | +// ), | ||
208 | +// $settings->ok, | ||
209 | +// [ | ||
210 | +// 'class' => 'external odnoklassniki', | ||
211 | +// 'data' => [ | ||
212 | +// 'animate-hover' => 'pulse', | ||
213 | +// ], | ||
214 | +// ] | ||
215 | +// ); | ||
216 | +// } | ||
217 | +// ?> | ||
218 | +<!-- --><?php | ||
219 | +// if (!empty($settings->email)) { | ||
220 | +// echo Html::a( | ||
221 | +// Html::icon( | ||
222 | +// 'envelope', | ||
223 | +// [ | ||
224 | +// 'prefix' => 'fa fa-', | ||
225 | +// ] | ||
226 | +// ), | ||
227 | +// "mailto:$settings->email", | ||
228 | +// [ | ||
229 | +// 'class' => 'email', | ||
230 | +// 'data' => [ | ||
231 | +// 'animate-hover' => 'pulse', | ||
232 | +// ], | ||
233 | +// ] | ||
234 | +// ); | ||
235 | +// } | ||
236 | +// ?> | ||
237 | +<!-- </div>--> | ||
238 | +<!-- </div>--> | ||
239 | +<!-- </div>--> | ||
240 | +<!-- </div>--> | ||
241 | +<!-- </div>--> | ||
242 | <!-- *** TOP END *** --> | 242 | <!-- *** TOP END *** --> |
243 | 243 | ||
244 | <div class="small-logo-center text-center hidden-xs hidden-md hidden-lg"> | 244 | <div class="small-logo-center text-center hidden-xs hidden-md hidden-lg"> |
@@ -445,29 +445,29 @@ _________________________________________________________ --> | @@ -445,29 +445,29 @@ _________________________________________________________ --> | ||
445 | <!-- *** FeedBack MODAL END *** --> | 445 | <!-- *** FeedBack MODAL END *** --> |
446 | 446 | ||
447 | <!-- *** Breadcrumbs *** --> | 447 | <!-- *** Breadcrumbs *** --> |
448 | - <?php | ||
449 | - if (!$isHome) { | ||
450 | - ?> | ||
451 | - <div id="heading-breadcrumbs"> | ||
452 | - <div class="container"> | ||
453 | - <div class="row"> | ||
454 | - <div class="col-md-7"> | ||
455 | - <h1><?= $this->title ?></h1> | ||
456 | - </div> | ||
457 | - <div class="col-md-5"> | ||
458 | - <?= Breadcrumbs::widget( | ||
459 | - [ | ||
460 | - 'links' => isset($this->params[ 'breadcrumbs' ]) ? $this->params[ 'breadcrumbs' ] : [], | ||
461 | - ] | ||
462 | - ) ?> | ||
463 | - | ||
464 | - </div> | ||
465 | - </div> | ||
466 | - </div> | ||
467 | - </div> | ||
468 | - <?php | ||
469 | - } | ||
470 | - ?> | 448 | +<!-- --><?php |
449 | +// if (!$isHome) { | ||
450 | +// ?> | ||
451 | +<!-- <div id="heading-breadcrumbs">--> | ||
452 | +<!-- <div class="container">--> | ||
453 | +<!-- <div class="row">--> | ||
454 | +<!-- <div class="col-md-7">--> | ||
455 | +<!-- <h1>--><?//= $this->title ?><!--</h1>--> | ||
456 | +<!-- </div>--> | ||
457 | +<!-- <div class="col-md-5">--> | ||
458 | +<!-- --><?//= Breadcrumbs::widget( | ||
459 | +// [ | ||
460 | +// 'links' => isset($this->params[ 'breadcrumbs' ]) ? $this->params[ 'breadcrumbs' ] : [], | ||
461 | +// ] | ||
462 | +// ) ?> | ||
463 | +<!-- --> | ||
464 | +<!-- </div>--> | ||
465 | +<!-- </div>--> | ||
466 | +<!-- </div>--> | ||
467 | +<!-- </div>--> | ||
468 | +<!-- --><?php | ||
469 | +// } | ||
470 | +// ?> | ||
471 | <!-- *** Breadcrumbs END *** --> | 471 | <!-- *** Breadcrumbs END *** --> |
472 | 472 | ||
473 | <?= $content ?> | 473 | <?= $content ?> |
@@ -477,7 +477,7 @@ _________________________________________________________ --> | @@ -477,7 +477,7 @@ _________________________________________________________ --> | ||
477 | 477 | ||
478 | <footer id="footer"> | 478 | <footer id="footer"> |
479 | <div class="container"> | 479 | <div class="container"> |
480 | - <div class="col-md-5 col-sm-12"> | 480 | + <div class="col-md-4 col-sm-12"> |
481 | <?php | 481 | <?php |
482 | if (!empty($settings->about)) { | 482 | if (!empty($settings->about)) { |
483 | ?> | 483 | ?> |
@@ -489,40 +489,43 @@ _________________________________________________________ --> | @@ -489,40 +489,43 @@ _________________________________________________________ --> | ||
489 | <a href="#" class="btn btn-template-transparent-primary" data-toggle="modal" data-target="#feedback-modal"><?php echo \Yii::t('app', 'Contact us'); ?></a> | 489 | <a href="#" class="btn btn-template-transparent-primary" data-toggle="modal" data-target="#feedback-modal"><?php echo \Yii::t('app', 'Contact us'); ?></a> |
490 | </div> | 490 | </div> |
491 | 491 | ||
492 | - <div class="col-md-3 col-sm-12 col-md-offset-1"> | 492 | + <div class="col-md-5 col-sm-12"> |
493 | 493 | ||
494 | <h4><?php echo \Yii::t('app', 'Contact'); ?></h4> | 494 | <h4><?php echo \Yii::t('app', 'Contact'); ?></h4> |
495 | 495 | ||
496 | <p> | 496 | <p> |
497 | - <?php | ||
498 | - if (!empty($settings->office)) { | ||
499 | - echo \Yii::t( | ||
500 | - 'app', | ||
501 | - 'Office {office}', | ||
502 | - [ | ||
503 | - 'office' => $settings->office, | ||
504 | - ] | ||
505 | - ) . Html::tag('br'); | ||
506 | - } | ||
507 | - if (!empty($settings->street)) { | ||
508 | - echo $settings->street; | ||
509 | - if (!empty($settings->house)) { | ||
510 | - echo " " . $settings->house; | ||
511 | - } | ||
512 | - echo Html::tag('br'); | ||
513 | - } | ||
514 | - if (!empty($settings->city)) { | ||
515 | - echo $settings->city; | ||
516 | - echo Html::tag('br'); | ||
517 | - } | ||
518 | - if (!empty($settings->country)) { | ||
519 | - echo Html::tag('strong', $settings->country); | ||
520 | - } | ||
521 | - ?> | 497 | + <b>Адрес:</b> 02095, Украина, г. Киев <br />пр-т. Николая Бажана, 1М, офис 25<br /> |
498 | + <b>Тел.:</b> <a href="tel:+380676198730">+38 (067) 619-87-30</a><br /><a href="tel:+380444655420">+38 (044) 465-54-20</a><br /> | ||
499 | + <b>Почта:</b> <a href="mailto:kbenergy.kiev@gmail.com">kbenergy.kiev@gmail.com</a> | ||
500 | +<!-- --><?php | ||
501 | +// if (!empty($settings->office)) { | ||
502 | +// echo \Yii::t( | ||
503 | +// 'app', | ||
504 | +// 'Office {office}', | ||
505 | +// [ | ||
506 | +// 'office' => $settings->office, | ||
507 | +// ] | ||
508 | +// ) . Html::tag('br'); | ||
509 | +// } | ||
510 | +// if (!empty($settings->street)) { | ||
511 | +// echo $settings->street; | ||
512 | +// if (!empty($settings->house)) { | ||
513 | +// echo " " . $settings->house; | ||
514 | +// } | ||
515 | +// echo Html::tag('br'); | ||
516 | +// } | ||
517 | +// if (!empty($settings->city)) { | ||
518 | +// echo $settings->city; | ||
519 | +// echo Html::tag('br'); | ||
520 | +// } | ||
521 | +// if (!empty($settings->country)) { | ||
522 | +// echo Html::tag('strong', $settings->country); | ||
523 | +// } | ||
524 | +// ?> | ||
522 | </p> | 525 | </p> |
523 | 526 | ||
524 | <?= Html::a( | 527 | <?= Html::a( |
525 | - 'Go to contact page', | 528 | + \Yii::t('app', 'Go to contact page'), |
526 | [ 'site/contact' ], | 529 | [ 'site/contact' ], |
527 | [ | 530 | [ |
528 | 'class' => 'btn btn-small btn-template-transparent-primary', | 531 | 'class' => 'btn btn-small btn-template-transparent-primary', |
@@ -534,10 +537,19 @@ _________________________________________________________ --> | @@ -534,10 +537,19 @@ _________________________________________________________ --> | ||
534 | </div> | 537 | </div> |
535 | <div class="col-md-3 col-sm-12"> | 538 | <div class="col-md-3 col-sm-12"> |
536 | <h4><?php echo \Yii::t('app', 'Share'); ?></h4> | 539 | <h4><?php echo \Yii::t('app', 'Share'); ?></h4> |
540 | + <div class="social-logos"> | ||
541 | + <span> | ||
542 | + <a href="http://vk.com/share.php?url=<?php echo 'http://'.$_SERVER['SERVER_NAME'].'/'; ?>" class="logoscnet"><i class="fa fa-vk" aria-hidden="true"></i></a> | ||
543 | + <a href="http://www.facebook.com/sharer/sharer.php?u=<?php echo 'http://'.$_SERVER['SERVER_NAME'].'/'; ?>" class="logoscnet"><i class="fa fa-facebook" aria-hidden="true"></i></a> | ||
544 | + <a href="https://plus.google.com/share?url=<?php echo 'http://'.$_SERVER['SERVER_NAME'].'/'; ?>" class="logoscnet"><i class="fa fa-google-plus" aria-hidden="true"></i></a> | ||
545 | + </span> | ||
546 | + </div> | ||
537 | </div> | 547 | </div> |
548 | + | ||
538 | 549 | ||
539 | - <div class="col-md-12"> | ||
540 | - <p class="pull-left">© <?= date('Y') ?>. <?= $settings->name; ?></p> | 550 | + <div class="col-md-12 bottom-text"> |
551 | + <p class="pull-left">© <?= date('Y') ?>. <?= $settings->name; ?>. Все права защищены.<br /> | ||
552 | + Использование материалов сайта возможно только со ссылкой на источник.</p> | ||
541 | </div> | 553 | </div> |
542 | </div> | 554 | </div> |
543 | <!-- /.container --> | 555 | <!-- /.container --> |
frontend/views/site/index.php
@@ -275,6 +275,9 @@ $this->registerJs($js, View::POS_END); | @@ -275,6 +275,9 @@ $this->registerJs($js, View::POS_END); | ||
275 | <p>Экспертная консультация, как подключить ЗТ и продавать избыточную энергию государству</p> | 275 | <p>Экспертная консультация, как подключить ЗТ и продавать избыточную энергию государству</p> |
276 | </div> | 276 | </div> |
277 | </div> | 277 | </div> |
278 | + <div class="col-md-12" style="text-align:center;margin-bottom:40px;"> | ||
279 | + <a href="#" class="btn button1 icon_stat modaled init-button-order" data-title="Заказать электростанцию" data-toggle="modal" data-target="#feedback-modal">Заказать <span>электростанцию</span></a> | ||
280 | + </div> | ||
278 | </div> | 281 | </div> |
279 | </div> | 282 | </div> |
280 | </section> | 283 | </section> |
frontend/views/site/legal.php
@@ -28,6 +28,16 @@ $this->registerJs($js, View::POS_END); | @@ -28,6 +28,16 @@ $this->registerJs($js, View::POS_END); | ||
28 | 28 | ||
29 | <div id="legal-wr"> | 29 | <div id="legal-wr"> |
30 | <div id="content"> | 30 | <div id="content"> |
31 | + | ||
32 | + <section class="video_main"> | ||
33 | + <div id="video-bg"> | ||
34 | + <video width="100%" height="auto" muted="" autoplay="autoplay" loop="loop" preload="auto"> | ||
35 | + <source src="/video/kbvid1.mp4" type="video/mp4"> | ||
36 | + <source src="/video/kbvid1.ogg" type="video/ogg"> | ||
37 | + </video> | ||
38 | + </div> | ||
39 | + | ||
40 | + </section> | ||
31 | <section class="no-mb mtop-25"> | 41 | <section class="no-mb mtop-25"> |
32 | <div class="container"> | 42 | <div class="container"> |
33 | <div class="row"> | 43 | <div class="row"> |
@@ -266,6 +276,43 @@ $this->registerJs($js, View::POS_END); | @@ -266,6 +276,43 @@ $this->registerJs($js, View::POS_END); | ||
266 | </div> | 276 | </div> |
267 | </section> | 277 | </section> |
268 | 278 | ||
279 | + <section class="bar background-kben no-mb"> | ||
280 | + <div class="container"> | ||
281 | + <div class="row showcase"> | ||
282 | + <div class="col-md-3 col-sm-6"> | ||
283 | + <div class="item"> | ||
284 | + <h4><span class="counter">58</span><br> | ||
285 | + | ||
286 | + <?= Yii::t('app', 'sect22_1') ?></h4> | ||
287 | + </div> | ||
288 | + </div> | ||
289 | + <div class="col-md-3 col-sm-6"> | ||
290 | + <div class="item"> | ||
291 | + <h4><span class="counter">117</span><br> | ||
292 | + | ||
293 | + <?= Yii::t('app', 'sect22_2') ?></h4> | ||
294 | + </div> | ||
295 | + </div> | ||
296 | + <div class="col-md-3 col-sm-6"> | ||
297 | + <div class="item"> | ||
298 | + <h4><span class="counter">193</span><br> | ||
299 | + | ||
300 | + <?= Yii::t('app', 'sect22_3') ?></h4> | ||
301 | + </div> | ||
302 | + </div> | ||
303 | + <div class="col-md-3 col-sm-6"> | ||
304 | + <div class="item"> | ||
305 | + <h4><span class="counter">303</span><br> | ||
306 | + | ||
307 | + <?= Yii::t('app', 'sect22_4') ?></h4> | ||
308 | + </div> | ||
309 | + </div> | ||
310 | + </div> | ||
311 | + <!-- /.row --> | ||
312 | + </div> | ||
313 | + <!-- /.container --> | ||
314 | + </section> | ||
315 | + | ||
269 | <section class="bar background-white no-mg"> | 316 | <section class="bar background-white no-mg"> |
270 | <div class="container"> | 317 | <div class="container"> |
271 | <div class="col-md-12"> | 318 | <div class="col-md-12"> |
frontend/web/css/main.css
@@ -297,7 +297,104 @@ section.blue-fon {padding-top: 25px;} | @@ -297,7 +297,104 @@ section.blue-fon {padding-top: 25px;} | ||
297 | .small-logo-center{ | 297 | .small-logo-center{ |
298 | margin: 10px 0 -10px; | 298 | margin: 10px 0 -10px; |
299 | } | 299 | } |
300 | +.showcase .item h4 { | ||
301 | + color: #ffffff; | ||
302 | +} | ||
300 | 303 | ||
304 | +#video-bg{ | ||
305 | + position: relative; | ||
306 | + top: 0; | ||
307 | + left: 0; | ||
308 | + z-index: -1000; | ||
309 | + width: 100%; | ||
310 | + height: 100%; | ||
311 | + max-height: calc(100vh - 101px); | ||
312 | + overflow: hidden; | ||
313 | + display: flex; | ||
314 | + align-items: center; | ||
315 | + justify-content: center; | ||
316 | +} | ||
317 | +#video-bg:after { | ||
318 | + content: ''; | ||
319 | + position: absolute; | ||
320 | + top: 0; | ||
321 | + left: 0; | ||
322 | + width: 100%; | ||
323 | + height: 100%; | ||
324 | + background: rgba(0, 0, 0, 0.1); | ||
325 | + box-shadow: inset 0px 250px 250px -250px black, inset 0px -250px 250px -250px black; | ||
326 | +} | ||
327 | +#legal-wr .video_main{margin-top:-40px;} | ||
328 | +.share_social{width:48px;height:48px;background-image:url('../img/socnets.png');display:inline-block;margin:0;padding:0;border-radius:50%;overflow:hidden;margin-top:5px;margin-right:3px;} | ||
329 | +.share_social.vk{background-position:0px 0px;} | ||
330 | +.share_social.fb{background-position:-56px 0px;} | ||
331 | +.share_social.gpl{background-position:48px 0px;} | ||
332 | +footer a{ | ||
333 | + color: #fff; | ||
334 | + font-weight: 500; | ||
335 | +} | ||
336 | +footer a:hover{color:#fff;} | ||
337 | +footer .social-logos a i.fa, button i.fa { | ||
338 | + margin:0; | ||
339 | +} | ||
340 | +footer .social-logos a{ | ||
341 | + display: inline-block; | ||
342 | + text-align: center; | ||
343 | + background-color: #ffd800; | ||
344 | + color: #1c4761; | ||
345 | + font-size: 24px; | ||
346 | + width: 34px; | ||
347 | + height: 34px; | ||
348 | + padding: 7px; | ||
349 | + box-sizing: content-box; | ||
350 | + border-radius: 50%; | ||
351 | + margin-right: 7px; | ||
352 | + margin-top: 5px; | ||
353 | + margin-bottom: 5px; | ||
354 | +} | ||
355 | +footer .social-logos a:hover { | ||
356 | + background-color: #d6b500; | ||
357 | + color: #0a2d42; | ||
358 | +} | ||
359 | +.main-slider{ | ||
360 | + height: 90vh; | ||
361 | + background-color: #cecece; | ||
362 | + width: 100%; | ||
363 | + position: relative; | ||
364 | + min-height:350px; | ||
365 | + max-height:854px; | ||
366 | +} | ||
367 | +.main-slider .carousel { | ||
368 | + position: relative; | ||
369 | + height: 100%; | ||
370 | +} | ||
371 | +.carousel-control{ | ||
372 | + display: flex; | ||
373 | + justify-content: center; | ||
374 | + align-items: center; | ||
375 | + font-size: 11.5vw; | ||
376 | +} | ||
377 | +.economy-wr h2.big-text{ | ||
378 | + text-align: center; | ||
379 | + width: 100%; | ||
380 | + border: none; | ||
381 | +} | ||
382 | +.main-slider .carousel-inner, .main-slider .carousel-inner > .item {height:100%;width:100%;position:relative;} | ||
383 | +.main-slider .img-responsive, .thumbnail > img, .main-slider .thumbnail a > img, .carousel-inner > .item > img, .main-slider .carousel-inner > .item > a > img { | ||
384 | + width: 100%; | ||
385 | + height: 100%; | ||
386 | + position: absolute; | ||
387 | + object-fit:cover; | ||
388 | +} | ||
389 | +.bottom-text{ | ||
390 | + padding: 20px 15px; | ||
391 | + font-size: 12px; | ||
392 | + padding-bottom: 0; | ||
393 | +} | ||
394 | +#map { | ||
395 | + height: 560px; | ||
396 | + background-image: url(../img/map.jpg); | ||
397 | +} | ||
301 | 398 | ||
302 | @media(min-width:992px) and (max-width:1199px){ | 399 | @media(min-width:992px) and (max-width:1199px){ |
303 | .pr_cover { | 400 | .pr_cover { |
@@ -325,6 +422,9 @@ section.blue-fon {padding-top: 25px;} | @@ -325,6 +422,9 @@ section.blue-fon {padding-top: 25px;} | ||
325 | } | 422 | } |
326 | } | 423 | } |
327 | @media(max-width:991px){ | 424 | @media(max-width:991px){ |
425 | + #footer .container > div { | ||
426 | + margin-bottom: 20px; | ||
427 | + } | ||
328 | .background-kben.block-why, .head_video_buttons{margin-top: 30px;} | 428 | .background-kben.block-why, .head_video_buttons{margin-top: 30px;} |
329 | .pr_cover { | 429 | .pr_cover { |
330 | max-width: 320px; | 430 | max-width: 320px; |
@@ -360,11 +460,22 @@ section.blue-fon {padding-top: 25px;} | @@ -360,11 +460,22 @@ section.blue-fon {padding-top: 25px;} | ||
360 | top: 0; | 460 | top: 0; |
361 | left: 0; | 461 | left: 0; |
362 | } | 462 | } |
463 | + .main-slider { | ||
464 | + height:0%; | ||
465 | + min-height:0%; | ||
466 | + padding-top: 75%; | ||
467 | + } | ||
468 | + .main-slider .carousel { | ||
469 | + height: 100%;width: 100%; | ||
470 | + position: absolute; | ||
471 | + top: 0; | ||
472 | + } | ||
363 | } | 473 | } |
364 | @media(max-width:768px){ | 474 | @media(max-width:768px){ |
365 | .main_video_fb{ | 475 | .main_video_fb{ |
366 | padding-top: 56.1%; | 476 | padding-top: 56.1%; |
367 | } | 477 | } |
478 | + .main-slider{max-height:550px;} | ||
368 | } | 479 | } |
369 | @media(min-width:768px){ | 480 | @media(min-width:768px){ |
370 | .navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus{ | 481 | .navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus{ |
@@ -429,6 +540,10 @@ section.blue-fon {padding-top: 25px;} | @@ -429,6 +540,10 @@ section.blue-fon {padding-top: 25px;} | ||
429 | width: calc(100% - 12px); | 540 | width: calc(100% - 12px); |
430 | left: 6px; | 541 | left: 6px; |
431 | } | 542 | } |
543 | + .nav.navbar-nav.navbar-right{ | ||
544 | + margin: 0; | ||
545 | + float: none!important; | ||
546 | + } | ||
432 | } | 547 | } |
433 | @media(min-width:501px){ | 548 | @media(min-width:501px){ |
434 | .bigtext#header3 h2{ | 549 | .bigtext#header3 h2{ |
468 KB
2.37 KB