Commit 822dedd5fd6c0db5dcf44eac8d9a4b2b131001b4
Merge remote-tracking branch 'origin/master'
Showing
9 changed files
with
135 additions
and
50 deletions
Show diff stats
common/messages/ru/app.php
... | ... | @@ -169,7 +169,7 @@ return [ |
169 | 169 | 'index_ses_for' => 'Солнечные станции для', |
170 | 170 | 'index_ses_fiz' => 'физических лиц', |
171 | 171 | 'index_ses_leg' => 'юридических лиц', |
172 | - 'index_why_us' => 'Почему мы', | |
172 | + 'index_why_us' => 'Проектирование солнечных электростанций', | |
173 | 173 | |
174 | 174 | 'index_title1' => 'Мы первые подключили СЭС', |
175 | 175 | 'index_subtitle1' => 'по Зеленому тарифу в Киевской области', | ... | ... |
common/messages/ua/app.php
... | ... | @@ -171,7 +171,7 @@ return [ |
171 | 171 | 'index_ses_for' => 'Сонячні станції для', |
172 | 172 | 'index_ses_fiz' => 'фізичних осіб', |
173 | 173 | 'index_ses_leg' => 'юридичних осіб', |
174 | - 'index_why_us' => 'ЧОМУ САМЕ МИ?', | |
174 | + 'index_why_us' => 'Проектування сонячних електростанцій', | |
175 | 175 | |
176 | 176 | 'index_title1' => 'МИ ПЕРШІ ПІДКЛЮЧИЛИ СЕС', |
177 | 177 | 'index_subtitle1' => 'по зеленому тарифу в Київській області', | ... | ... |
frontend/views/layouts/main.php
... | ... | @@ -76,27 +76,30 @@ |
76 | 76 | <?= HreflangWidget::widget()?> |
77 | 77 | |
78 | 78 | <title><?= Html::encode($seo->title) ?></title> |
79 | + <link rel="icon" type="image/vnd.microsoft.icon" href="/img/favicon.ico"> | |
80 | + <!-- Google Tag Manager --> | |
81 | + <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': | |
82 | + new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], | |
83 | + j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= | |
84 | + 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); | |
85 | + })(window,document,'script','dataLayer','GTM-TSCLJL');</script> | |
86 | + <!-- End Google Tag Manager --> | |
79 | 87 | <?php $this->head() ?> |
80 | 88 | </head> |
81 | 89 | <body> |
90 | + <!-- Google Tag Manager (noscript) --> | |
91 | + <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-TSCLJL" | |
92 | + height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> | |
93 | + <!-- End Google Tag Manager (noscript) --> | |
82 | 94 | <?php $this->beginBody() ?> |
83 | - <!-- Google Analytics --> | |
84 | - <script> | |
85 | - (function(i, s, o, g, r, a, m) { | |
86 | - i[ 'GoogleAnalyticsObject' ] = r; | |
87 | - i[ r ] = i[ r ] || function() { | |
88 | - (i[ r ].q = i[ r ].q || []).push(arguments) | |
89 | - }, i[ r ].l = 1 * new Date(); | |
90 | - a = s.createElement(o), m = s.getElementsByTagName(o)[ 0 ]; | |
91 | - a.async = 1; | |
92 | - a.src = g; | |
93 | - m.parentNode.insertBefore(a, m) | |
94 | - })(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga'); | |
95 | - | |
96 | - ga('create', '<?=$settings->ga_code?>', 'auto'); | |
97 | - ga('send', 'pageview'); | |
98 | - | |
99 | - </script> | |
95 | + <script async src="https://www.googletagmanager.com/gtag/js?id=UA-83015473-1"></script> | |
96 | + <script> | |
97 | + window.dataLayer = window.dataLayer || []; | |
98 | + function gtag(){dataLayer.push(arguments);} | |
99 | + gtag('js', new Date()); | |
100 | + | |
101 | + gtag('config', 'UA-83015473-1'); | |
102 | + </script> | |
100 | 103 | <div id="all"> |
101 | 104 | <div id="top" class="hidden-xs"> |
102 | 105 | <div class="container"> |
... | ... | @@ -145,14 +148,15 @@ |
145 | 148 | <div class="container"> |
146 | 149 | <div class="navbar-header"> |
147 | 150 | |
148 | - <a class="navbar-brand home" href="<?= rtrim(Url::to(['site/index']), "/") ?>"> | |
151 | +<!-- <a class="navbar-brand home" href="--><?//= rtrim(Url::to(['site/index']), "/") ?><!--">--> | |
152 | + <a class="navbar-brand home" href="/<?=$this_lang?>"> | |
149 | 153 | <img |
150 | 154 | src="/img/logo_kb.png" |
151 | 155 | alt="<?= $settings->name; ?>" |
152 | 156 | class="static_logo_img" |
153 | 157 | > |
154 | 158 | </a> |
155 | - <a href="/" class="static-about-link"><div class="static_logo_about"><?= \Yii::t('app', $settings->about); ?></div></a> | |
159 | + <a href="/<?=$this_lang?>" class="static-about-link"><div class="static_logo_about"><?= \Yii::t('app', $settings->about); ?></div></a> | |
156 | 160 | <div class="navbar-buttons"> |
157 | 161 | <button type="button" class="navbar-toggle btn-template-main" data-toggle="collapse" data-target="#navigation"> |
158 | 162 | <span class="sr-only">Toggle navigation</span> |
... | ... | @@ -667,7 +671,7 @@ |
667 | 671 | <?php |
668 | 672 | } |
669 | 673 | ?> |
670 | - <a href="#" class="btn btn-template-transparent-primary" data-toggle="modal" data-target="#feedback-modal"><?php echo \Yii::t( | |
674 | + <a href="#" class="btn btn-template-transparent-primary press-callback" data-toggle="modal" data-target="#feedback-modal"><?php echo \Yii::t( | |
671 | 675 | 'app', |
672 | 676 | 'Contact us' |
673 | 677 | ); ?></a> | ... | ... |
frontend/views/site/contact.php
... | ... | @@ -39,7 +39,7 @@ JS; |
39 | 39 | <h2><?= \Yii::t('app', 'contact_title') ?></h2> |
40 | 40 | </div> |
41 | 41 | |
42 | - <p class="lead"><?= \Yii::t('app', 'contact_text1') ?></p> | |
42 | +<!-- <p class="lead">--><?//= \Yii::t('app', 'contact_text1') ?><!--</p>--> | |
43 | 43 | <!-- <div class="contacts_photo"><img src="/img/contacts_photo.jpg" alt=""></div>--> |
44 | 44 | </section> |
45 | 45 | </div> | ... | ... |
frontend/views/site/index.php
... | ... | @@ -46,7 +46,7 @@ JS; |
46 | 46 | <div class="box-simple"> |
47 | 47 | <a |
48 | 48 | href="#" |
49 | - class="btn button1 icon_phone modaled init-button-consultation" | |
49 | + class="btn button1 icon_phone modaled init-button-consultation press-consultation" | |
50 | 50 | data-title="<?= \Yii::t('app', 'green_get') ?> <?= \Yii::t('app', 'green_get2') ?>" |
51 | 51 | data-toggle="modal" |
52 | 52 | data-target="#feedback-modal" |
... | ... | @@ -64,7 +64,7 @@ JS; |
64 | 64 | <p><?=\Yii::t('app', 'index_ses_for')?> <a href="<?=Url::toRoute("site/legal")?>"><?=\Yii::t('app', 'index_ses_leg')?></a></p> |
65 | 65 | </div> |
66 | 66 | <div class="col-xs-12 col-sm-12 col-md-6 lsf-right"> |
67 | - <p><?=\Yii::t('app', 'index_ses_for')?> <a href="<?=Url::toRoute("site/individual")?>">"><?=\Yii::t('app', 'index_ses_fiz')?></a></p> | |
67 | + <p><?=\Yii::t('app', 'index_ses_for')?> <a href="<?=Url::toRoute("site/individual")?>"><?=\Yii::t('app', 'index_ses_fiz')?></a></p> | |
68 | 68 | </div> |
69 | 69 | </div> |
70 | 70 | </div> |
... | ... | @@ -128,8 +128,8 @@ JS; |
128 | 128 | <div class="col-md-12 col-xs-12"> |
129 | 129 | <div class="row"> |
130 | 130 | <div class="box-simple"> |
131 | - <a href="#" class="btn button1 icon_car modaled init-button-consultation" data-title="<?=\Yii::t('app', 'index_data1')?>" data-toggle="modal" data-target="#feedback-modal"><?=\Yii::t('app', 'index_modal1')?> <span><?=\Yii::t('app', 'index_modal2')?></span></a> | |
132 | - <a href="#" class="btn button1 icon_calc modaled init-button-consultation" data-toggle="modal" data-target="#calculate-modal"><?=\Yii::t('app', 'index_modal3')?> <span><?=\Yii::t('app', 'index_modal4')?></span></a> | |
131 | + <a href="#" class="btn button1 icon_car modaled init-button-consultation press-specialist" data-title="<?=\Yii::t('app', 'index_data1')?>" data-toggle="modal" data-target="#feedback-modal"><?=\Yii::t('app', 'index_modal1')?> <span><?=\Yii::t('app', 'index_modal2')?></span></a> | |
132 | + <a href="#" class="btn button1 icon_calc modaled init-button-consultation press-calculate" data-toggle="modal" data-target="#calculate-modal"><?=\Yii::t('app', 'index_modal3')?> <span><?=\Yii::t('app', 'index_modal4')?></span></a> | |
133 | 133 | </div> |
134 | 134 | </div> |
135 | 135 | </div> |
... | ... | @@ -288,7 +288,7 @@ JS; |
288 | 288 | 'alias' => $object->lang->alias, |
289 | 289 | ] |
290 | 290 | ) ?>" class="sqre_btn blue_arrow" alt="<?=$object->lang->object_name?>"></a> |
291 | - <a href="#" class="btn sqre_btn yellow_calc modaled init-button-сalculate" data-title="<?= \Yii::t('app', 'modal1') ?>" data-toggle="modal" data-target="#feedback-modal"> | |
291 | + <a href="#" class="btn sqre_btn yellow_calc modaled init-button-сalculate press-consultation" data-title="<?= \Yii::t('app', 'modal1') ?>" data-toggle="modal" data-target="#feedback-modal"> | |
292 | 292 | <div class="phone_hint"><?= \Yii::t('app', 'get_consult') ?></div> |
293 | 293 | </a> |
294 | 294 | </td> |
... | ... | @@ -385,7 +385,7 @@ JS; |
385 | 385 | </div> |
386 | 386 | </div> |
387 | 387 | <div class="col-md-12 col-xs-12" style="text-align:center;margin-bottom:40px;"> |
388 | - <a href="#" class="btn button1 icon_stat modaled init-button-order" data-title="<?= \Yii::t('app', 'modalstation') ?>" data-toggle="modal" data-target="#feedback-modal"><?=\Yii::t('app', 'index_economy15')?> <span><?=\Yii::t('app', 'index_economy16')?></span></a> | |
388 | + <a href="#" class="btn button1 icon_stat modaled init-button-order press-order" data-title="<?= \Yii::t('app', 'modalstation') ?>" data-toggle="modal" data-target="#feedback-modal"><?=\Yii::t('app', 'index_economy15')?> <span><?=\Yii::t('app', 'index_economy16')?></span></a> | |
389 | 389 | </div> |
390 | 390 | </div> |
391 | 391 | </div> | ... | ... |
frontend/views/site/individual.php
... | ... | @@ -61,14 +61,14 @@ |
61 | 61 | </div> |
62 | 62 | </div> |
63 | 63 | <div class="row"> |
64 | - <div style="text-align: center;margin-bottom: 35px;"><a href="#" class="btn button1 icon_phone modaled init-button-consultation" data-title="<?= Yii::t('app', 'modal1') ?>" data-toggle="modal" data-target="#feedback-modal" style="margin: 0 auto;"><?= Yii::t('app', 'modal1_1') ?> <span><?= Yii::t('app', 'modal1_2') ?></span></a></div> | |
64 | + <div style="text-align: center;margin-bottom: 35px;"><a href="#" class="btn button1 icon_phone modaled init-button-consultation press-consultation" data-title="<?= Yii::t('app', 'modal1') ?>" data-toggle="modal" data-target="#feedback-modal" style="margin: 0 auto;"><?= Yii::t('app', 'modal1_1') ?> <span><?= Yii::t('app', 'modal1_2') ?></span></a></div> | |
65 | 65 | </div> |
66 | 66 | </div> |
67 | 67 | </section> |
68 | 68 | <section class="bar background-gray steps-pre"> |
69 | 69 | <div class="container"> |
70 | 70 | <div class="row text-center"> |
71 | - <div><?= \Yii::t('app', 'nashiuslugi') ?></div> | |
71 | + <div class="h2"><?= \Yii::t('app', 'nashiuslugi') ?></div> | |
72 | 72 | </div> |
73 | 73 | </div> |
74 | 74 | </section> |
... | ... | @@ -117,7 +117,7 @@ |
117 | 117 | </div> |
118 | 118 | </div> |
119 | 119 | <div class="col-md-12 col-xs-12 get_station_center"> |
120 | - <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 | + <a href="#" class="btn button1 icon_phone modaled init-button-consultation press-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> | |
121 | 121 | </div> |
122 | 122 | </div> |
123 | 123 | </div> |
... | ... | @@ -167,7 +167,7 @@ |
167 | 167 | </div> |
168 | 168 | </div> |
169 | 169 | <div class="col-md-12 col-xs-12 get_station_center"> |
170 | - <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> | |
170 | + <a href="#" class="btn button1 icon_phone modaled init-button-consultation press-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> | |
171 | 171 | </div> |
172 | 172 | </div> |
173 | 173 | </div> |
... | ... | @@ -179,28 +179,28 @@ |
179 | 179 | <div class="row showcase"> |
180 | 180 | <div class="col-md-3 col-sm-6"> |
181 | 181 | <div class="item"> |
182 | - <div class="h3"><span class="counter">58</span><br> | |
182 | + <div class="h4"><span class="counter">58</span><br> | |
183 | 183 | |
184 | 184 | <?= Yii::t('app', 'sect22_1') ?></div> |
185 | 185 | </div> |
186 | 186 | </div> |
187 | 187 | <div class="col-md-3 col-sm-6"> |
188 | 188 | <div class="item"> |
189 | - <div class="h3"><span class="counter">117</span><br> | |
189 | + <div class="h4"><span class="counter">117</span><br> | |
190 | 190 | |
191 | 191 | <?= Yii::t('app', 'sect22_2') ?></div> |
192 | 192 | </div> |
193 | 193 | </div> |
194 | 194 | <div class="col-md-3 col-sm-6"> |
195 | 195 | <div class="item"> |
196 | - <div class="h3"><span class="counter">193</span><br> | |
196 | + <div class="h4"><span class="counter">193</span><br> | |
197 | 197 | |
198 | 198 | <?= Yii::t('app', 'sect22_3') ?></div> |
199 | 199 | </div> |
200 | 200 | </div> |
201 | 201 | <div class="col-md-3 col-sm-6"> |
202 | 202 | <div class="item"> |
203 | - <div class="h3"><span class="counter">303</span><br> | |
203 | + <div class="h4"><span class="counter">303</span><br> | |
204 | 204 | |
205 | 205 | <?= Yii::t('app', 'sect22_4') ?></div> |
206 | 206 | </div> | ... | ... |
frontend/views/site/legal.php
... | ... | @@ -62,7 +62,7 @@ $this->registerJs($js, View::POS_END); |
62 | 62 | </div> |
63 | 63 | </div> |
64 | 64 | <div class="row"> |
65 | - <div style="text-align: center;margin-bottom: 35px;"><a href="#" class="btn button1 icon_phone modaled init-button-consultation" data-title="<?= Yii::t('app', 'modal1') ?>" data-toggle="modal" data-target="#feedback-modal" style="margin: 0 auto;"><?= Yii::t('app', 'modal1_1') ?> <span><?= Yii::t('app', 'modal1_2') ?></span></a></div> | |
65 | + <div style="text-align: center;margin-bottom: 35px;"><a href="#" class="btn button1 icon_phone modaled init-button-consultation press-consultation" data-title="<?= Yii::t('app', 'modal1') ?>" data-toggle="modal" data-target="#feedback-modal" style="margin: 0 auto;"><?= Yii::t('app', 'modal1_1') ?> <span><?= Yii::t('app', 'modal1_2') ?></span></a></div> | |
66 | 66 | </div> |
67 | 67 | </div> |
68 | 68 | </section> |
... | ... | @@ -119,7 +119,7 @@ $this->registerJs($js, View::POS_END); |
119 | 119 | </div> |
120 | 120 | </div> |
121 | 121 | <div class="col-md-12 col-xs-12 get_station_center"> |
122 | - <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> | |
122 | + <a href="#" class="btn button1 icon_phone modaled init-button-consultation press-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> | |
123 | 123 | </div> |
124 | 124 | </div> |
125 | 125 | </div> |
... | ... | @@ -171,7 +171,7 @@ $this->registerJs($js, View::POS_END); |
171 | 171 | </div> |
172 | 172 | </div> |
173 | 173 | <div class="col-md-12 col-xs-12 get_station_center"> |
174 | - <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> | |
174 | + <a href="#" class="btn button1 icon_phone modaled init-button-consultation press-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> | |
175 | 175 | </div> |
176 | 176 | </div> |
177 | 177 | </div> |
... | ... | @@ -197,7 +197,7 @@ $this->registerJs($js, View::POS_END); |
197 | 197 | </div> |
198 | 198 | </div> |
199 | 199 | <div class="col-md-12 col-xs-12 get_station_center"> |
200 | - <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> | |
200 | + <a href="#" class="btn button1 icon_phone modaled init-button-consultation press-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> | |
201 | 201 | </div> |
202 | 202 | </div> |
203 | 203 | </div> |
... | ... | @@ -249,7 +249,7 @@ $this->registerJs($js, View::POS_END); |
249 | 249 | </div> |
250 | 250 | </div> |
251 | 251 | <div class="col-md-12 col-xs-12 get_station_center"> |
252 | - <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> | |
252 | + <a href="#" class="btn button1 icon_phone modaled init-button-consultation press-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> | |
253 | 253 | </div> |
254 | 254 | </div> |
255 | 255 | </div> |
... | ... | @@ -275,7 +275,7 @@ $this->registerJs($js, View::POS_END); |
275 | 275 | </div> |
276 | 276 | </div> |
277 | 277 | <div class="col-md-12 col-xs-12 get_station_center"> |
278 | - <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> | |
278 | + <a href="#" class="btn button1 icon_phone modaled init-button-consultation press-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> | |
279 | 279 | </div> |
280 | 280 | </div> |
281 | 281 | </div> | ... | ... |
frontend/web/css/main.css
... | ... | @@ -103,7 +103,9 @@ body{position:relative;} |
103 | 103 | .blue-fon .box-simple p, .background-kben .box-simple p {color: #fff;} |
104 | 104 | .why-us .line_why {position: absolute;top: 50px;right: -83px;opacity: 0.3;} |
105 | 105 | .blue-fon .heading h1, .blue-fon .heading h2, .blue-fon .heading h3, .blue-fon .heading h4, .blue-fon .heading h5, |
106 | -.background-kben .heading h1, .background-kben .heading h2, .background-kben .heading h3, .background-kben .heading h4, .background-kben .heading h5{color:#fff;border-color: #ffd800!important;} | |
106 | +.blue-fon .heading .h1, .blue-fon .heading .h2, .blue-fon .heading .h3, .blue-fon .heading .h4, .blue-fon .heading .h5, | |
107 | +.background-kben .heading h1, .background-kben .heading h2, .background-kben .heading h3, .background-kben .heading h4, .background-kben .heading h5, | |
108 | +.background-kben .heading .h1, .background-kben .heading .h2, .background-kben .heading .h3, .background-kben .heading .h4, .background-kben .heading .h5{color:#fff;border-color: #ffd800!important;} | |
107 | 109 | a.sqre_btn { |
108 | 110 | padding: 0; |
109 | 111 | margin: 0; |
... | ... | @@ -173,7 +175,8 @@ section.blue-fon {padding-top: 25px;} |
173 | 175 | } |
174 | 176 | .get_station_center {text-align: center;margin-top: 30px;margin-bottom: -15px;} |
175 | 177 | .border5 {border-radius: 5px;} |
176 | -.card1 .heading.text-left h2 {margin-top: 0px;} | |
178 | +.card1 .heading.text-left h2, | |
179 | +.card1 .heading.text-left .h2 {margin-top: 0px;} | |
177 | 180 | .bigtext {display: table-caption;} |
178 | 181 | .smi_left .video {height: 422px;} |
179 | 182 | .blue_arrow { |
... | ... | @@ -366,11 +369,13 @@ section.bar.background-gray.steps-pre:before { |
366 | 369 | background: #eeeeee; |
367 | 370 | z-index: 1; |
368 | 371 | } |
369 | -.steps-pre h2,.steps-pre div{margin: 4px 0;} | |
372 | +.steps-pre h2,.steps-pre div, | |
373 | +.steps-pre .h2{margin: 4px 0;} | |
370 | 374 | .steps-pre div{margin:4px auto;font-weight:bold;} |
371 | 375 | .individ_main{font-size: 30px;} |
372 | 376 | #get-it {padding: 30px 0 10px;background-color:#0080ca;} |
373 | -#main-page .blue-fon .heading h2{border:none;} | |
377 | +#main-page .blue-fon .heading h2, | |
378 | +#main-page .blue-fon .heading .h2{border:none;} | |
374 | 379 | #main-page .row.portfolio{display: flex;flex-wrap: wrap;} |
375 | 380 | .main-slider .carousel-inner, .main-slider .carousel-inner > .item {height:100%;width:100%;position:relative;} |
376 | 381 | .main-slider .img-responsive, .thumbnail > img, .main-slider .thumbnail a > img, .carousel-inner > .item > img, .main-slider .carousel-inner > .item > a > img { |
... | ... | @@ -494,7 +499,8 @@ section.bar.background-gray.steps-pre:before { |
494 | 499 | |
495 | 500 | /*heading breadcrumbs blue fon*/ |
496 | 501 | #heading-breadcrumbs{background-color: #0080ca;background-image: url(/img/slide_two_fon.png);} |
497 | -#heading-breadcrumbs h1{color: #fdfdfd;} | |
502 | +#heading-breadcrumbs h1, | |
503 | +#heading-breadcrumbs .h1{color: #fdfdfd;} | |
498 | 504 | #heading-breadcrumbs .breadcrumb > .active {color: #d0d0d0;font-weight: bold;} |
499 | 505 | #heading-breadcrumbs .breadcrumb > li + li:before {color: #ececec;} |
500 | 506 | #heading-breadcrumbs .breadcrumb li a {color: #efefef;} |
... | ... | @@ -1016,11 +1022,13 @@ p.error-text{ |
1016 | 1022 | .nav.navbar-nav.navbar-right{margin: 0;float: none!important;} |
1017 | 1023 | } |
1018 | 1024 | @media(max-width:520px){ |
1019 | - #heading-breadcrumbs h1 {font-size: 5.78vw;} | |
1025 | + #heading-breadcrumbs h1, | |
1026 | + #heading-breadcrumbs .h1 {font-size: 5.78vw;} | |
1020 | 1027 | #video-bg .arrow_bottom a{font-size:60px;} |
1021 | 1028 | } |
1022 | 1029 | @media(min-width:501px){ |
1023 | - .bigtext#header3 h2{width: 161%;} | |
1030 | + .bigtext#header3 h2, | |
1031 | + .bigtext#header3 .h2{width: 161%;} | |
1024 | 1032 | } |
1025 | 1033 | @media(max-width:500px){ |
1026 | 1034 | .form-comm-wr .form-group{width:100%;} | ... | ... |
frontend/web/js/script.js
... | ... | @@ -111,5 +111,78 @@ $( |
111 | 111 | return false; |
112 | 112 | } |
113 | 113 | ); |
114 | + | |
115 | + $(".close").on('click', function(){ | |
116 | + $(".send-form").removeClass("specialist"); | |
117 | + $(".send-form").removeClass("calculate"); | |
118 | + $(".send-form").removeClass("order"); | |
119 | + $(".send-form").removeClass("call"); | |
120 | + $(".send-form").removeClass("callback"); | |
121 | + $(".send-form").removeClass("consultation"); | |
122 | + $("#feedback-form")['0'].reset(); | |
123 | + }); | |
124 | + $(".modal.fade.in").on('click',function(){ | |
125 | + $("#feedback-form")['0'].reset(); | |
126 | + $(".send-form").removeClass("specialist"); | |
127 | + $(".send-form").removeClass("calculate"); | |
128 | + $(".send-form").removeClass("order"); | |
129 | + $(".send-form").removeClass("call"); | |
130 | + $(".send-form").removeClass("callback"); | |
131 | + $(".send-form").removeClass("consultation"); | |
132 | + }); | |
133 | + $(".press-consultation").on('click',function(){ | |
134 | + $("#feedback-form")['0'].reset(); | |
135 | + $(".send-form").removeClass("specialist"); | |
136 | + $(".send-form").removeClass("calculate"); | |
137 | + $(".send-form").removeClass("order"); | |
138 | + $(".send-form").removeClass("call"); | |
139 | + $(".send-form").removeClass("callback"); | |
140 | + $(".send-form").addClass("consultation"); | |
141 | + }); | |
142 | + $(".press-specialist").on('click',function(){ | |
143 | + $("#feedback-form")['0'].reset(); | |
144 | + $(".send-form").addClass("specialist"); | |
145 | + $(".send-form").removeClass("calculate"); | |
146 | + $(".send-form").removeClass("order"); | |
147 | + $(".send-form").removeClass("call"); | |
148 | + $(".send-form").removeClass("callback"); | |
149 | + $(".send-form").removeClass("consultation"); | |
150 | + }); | |
151 | + $(".press-calculate").on('click',function(){ | |
152 | + $("#feedback-form")['0'].reset(); | |
153 | + $(".send-form").removeClass("specialist"); | |
154 | + $(".send-form").addClass("calculate"); | |
155 | + $(".send-form").removeClass("order"); | |
156 | + $(".send-form").removeClass("call"); | |
157 | + $(".send-form").removeClass("callback"); | |
158 | + $(".send-form").removeClass("consultation"); | |
159 | + }); | |
160 | + $(".press-order").on('click',function(){ | |
161 | + $("#feedback-form")['0'].reset(); | |
162 | + $(".send-form").removeClass("specialist"); | |
163 | + $(".send-form").removeClass("calculate"); | |
164 | + $(".send-form").addClass("order"); | |
165 | + $(".send-form").removeClass("call"); | |
166 | + $(".send-form").removeClass("callback"); | |
167 | + $(".send-form").removeClass("consultation"); | |
168 | + }); | |
169 | + $(".press-call").on('click',function(){ | |
170 | + $("#feedback-form")['0'].reset(); | |
171 | + $(".send-form").removeClass("specialist"); | |
172 | + $(".send-form").removeClass("calculate"); | |
173 | + $(".send-form").removeClass("order"); | |
174 | + $(".send-form").addClass("call"); | |
175 | + $(".send-form").removeClass("callback"); | |
176 | + $(".send-form").removeClass("consultation"); | |
177 | + }); | |
178 | + $(".press-callback").on('click',function(){ | |
179 | + $("#feedback-form")['0'].reset(); | |
180 | + $(".send-form").removeClass("specialist"); | |
181 | + $(".send-form").removeClass("calculate"); | |
182 | + $(".send-form").removeClass("order"); | |
183 | + $(".send-form").removeClass("call"); | |
184 | + $(".send-form").addClass("callback"); | |
185 | + $(".send-form").removeClass("consultation"); | |
186 | + }); | |
114 | 187 | } |
115 | 188 | ); |
116 | 189 | \ No newline at end of file | ... | ... |