Commit e9771e6cfa792ad1489f4c0ece956d70201ddc5b
Merge remote-tracking branch 'origin/master'
Showing
9 changed files
with
226 additions
and
24 deletions
Show diff stats
common/messages/ru/app.php
common/messages/ua/app.php
frontend/views/blog/view.php
@@ -56,13 +56,22 @@ | @@ -56,13 +56,22 @@ | ||
56 | 56 | ||
57 | </div> | 57 | </div> |
58 | <!-- /#post-content --> | 58 | <!-- /#post-content --> |
59 | - | ||
60 | - <?= CommentWidget::widget( | ||
61 | - [ | ||
62 | - 'model' => $article, | ||
63 | - 'reply' => true, | ||
64 | - ] | ||
65 | - ) ?> | 59 | + |
60 | + <div class="article_comms-wr"> | ||
61 | + <div class="row"> | ||
62 | + <div class="col-md-12"> | ||
63 | + <div class="panel-heading"> | ||
64 | + <h3 class="panel-title">Оставить комментарий</h3> | ||
65 | + </div> | ||
66 | + <?= CommentWidget::widget( | ||
67 | + [ | ||
68 | + 'model' => $article, | ||
69 | + 'reply' => true, | ||
70 | + ] | ||
71 | + ) ?> | ||
72 | + </div> | ||
73 | + </div> | ||
74 | + </div> | ||
66 | 75 | ||
67 | 76 | ||
68 | <!-- <div id="disqus_thread"></div>--> | 77 | <!-- <div id="disqus_thread"></div>--> |
frontend/views/layouts/main.php
@@ -94,6 +94,29 @@ | @@ -94,6 +94,29 @@ | ||
94 | 94 | ||
95 | </script> | 95 | </script> |
96 | <div id="all"> | 96 | <div id="all"> |
97 | + <div id="top"> | ||
98 | + <div class="container"> | ||
99 | + <div class="col-md-10 phones_head" style="height:100%;"> | ||
100 | + <div class="top_phones"><i class="fa fa-phone" aria-hidden="true"></i> <span><a href="tel:<?=$settings->phone?>"><?=$settings->phone?></a></span> | ||
101 | + <span><a href="tel:<?=$settings->phone2?>"><?=$settings->phone2?></a></span></div> | ||
102 | + <div class="top_mail"><i class="fa fa-envelope-o" aria-hidden="true"></i> <span><a href="tel:<?=$settings->email?>"><?=$settings->email?></a></span></div> | ||
103 | + </div> | ||
104 | + <div class="col-md-2 text-right" style="height:100%;"> | ||
105 | + <div class="header-lang"> | ||
106 | + <?php | ||
107 | + $langs = \Yii::$app->language; | ||
108 | + $langs_a = explode("-",$langs); | ||
109 | + $this_lang = $langs_a['0']; | ||
110 | + | ||
111 | + $langs_head = artbox\core\widgets\LangLink::widget(); | ||
112 | + $langs_head = str_replace(" / ","",$langs_head); | ||
113 | + $langs_head = str_replace($this_lang,"",$langs_head); | ||
114 | + echo "<span class='active_lang'>$this_lang</span>".$langs_head; | ||
115 | + ?> | ||
116 | + </div> | ||
117 | + </div> | ||
118 | + </div> | ||
119 | + </div> | ||
97 | <header> | 120 | <header> |
98 | <!-- *** TOP *** | 121 | <!-- *** TOP *** |
99 | _________________________________________________________ --> | 122 | _________________________________________________________ --> |
@@ -305,7 +328,7 @@ | @@ -305,7 +328,7 @@ | ||
305 | ]; | 328 | ]; |
306 | $items[] = [ | 329 | $items[] = [ |
307 | 'label' => \Yii::t('app', 'menu-mediaabout'), | 330 | 'label' => \Yii::t('app', 'menu-mediaabout'), |
308 | - 'url' => [ 'site/media-about' ], | 331 | + 'url' => [ "site/media-about" ], |
309 | ]; | 332 | ]; |
310 | $items[] = [ | 333 | $items[] = [ |
311 | 'label' => \Yii::t('app', 'menu-blog'), | 334 | 'label' => \Yii::t('app', 'menu-blog'), |
frontend/views/site/contact.php
@@ -38,7 +38,7 @@ JS; | @@ -38,7 +38,7 @@ JS; | ||
38 | <h2>Как нас найти</h2> | 38 | <h2>Как нас найти</h2> |
39 | </div> | 39 | </div> |
40 | 40 | ||
41 | - <p class="lead">Наш офис находится в Дарницком районе, по ул. Н. Бажана 1-М. По всем возникшим вопросам обращайтесь по телефону, даже в таком режиме наш разговор будет намного продуктивнее чем просто письма.</p> | 41 | + <p class="lead">Наш офис находится в Дарницком районе, по ул. Н. Бажана 1-М. По всем возникшим вопросам обращайтесь по телефону, в таком режиме наш разговор будет намного продуктивнее чем просто письма.</p> |
42 | </section> | 42 | </section> |
43 | </div> | 43 | </div> |
44 | </div> | 44 | </div> |
frontend/views/site/green.php
@@ -42,7 +42,7 @@ use yii\web\View; | @@ -42,7 +42,7 @@ use yii\web\View; | ||
42 | </div> | 42 | </div> |
43 | </div> | 43 | </div> |
44 | </section> | 44 | </section> |
45 | - <section> | 45 | + <section class="green-carousel"> |
46 | <div class="project owl-carousel"> | 46 | <div class="project owl-carousel"> |
47 | <div class="item"> | 47 | <div class="item"> |
48 | <img src="/img/slt01.jpg" alt="" class="img-responsive text-center"> | 48 | <img src="/img/slt01.jpg" alt="" class="img-responsive text-center"> |
@@ -57,6 +57,11 @@ use yii\web\View; | @@ -57,6 +57,11 @@ use yii\web\View; | ||
57 | <img class="img-responsive text-center" src="/img/slt04.jpg" alt=""> | 57 | <img class="img-responsive text-center" src="/img/slt04.jpg" alt=""> |
58 | </div> | 58 | </div> |
59 | </div> | 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 | <!-- /.project owl-slider --> | 65 | <!-- /.project owl-slider --> |
61 | </section> | 66 | </section> |
62 | 67 |
frontend/views/site/index.php
@@ -61,10 +61,10 @@ JS; | @@ -61,10 +61,10 @@ JS; | ||
61 | <div class="container"> | 61 | <div class="container"> |
62 | <div class="row"> | 62 | <div class="row"> |
63 | <div class="col-xs-12 col-sm-12 col-md-6 lsf-left"> | 63 | <div class="col-xs-12 col-sm-12 col-md-6 lsf-left"> |
64 | - <p><?=\Yii::t('app', 'index_ses_for')?> <a href="site/individual"><?=\Yii::t('app', 'index_ses_fiz')?></a></p> | 64 | + <p><?=\Yii::t('app', 'index_ses_for')?> <a href="site/legal"><?=\Yii::t('app', 'index_ses_leg')?></a></p> |
65 | </div> | 65 | </div> |
66 | <div class="col-xs-12 col-sm-12 col-md-6 lsf-right"> | 66 | <div class="col-xs-12 col-sm-12 col-md-6 lsf-right"> |
67 | - <p><?=\Yii::t('app', 'index_ses_for')?> <a href="site/legal"><?=\Yii::t('app', 'index_ses_leg')?></a></p> | 67 | + <p><?=\Yii::t('app', 'index_ses_for')?> <a href="site/individual"><?=\Yii::t('app', 'index_ses_fiz')?></a></p> |
68 | </div> | 68 | </div> |
69 | </div> | 69 | </div> |
70 | </div> | 70 | </div> |
frontend/views/site/media-about.php
@@ -24,7 +24,7 @@ use yii\web\View; | @@ -24,7 +24,7 @@ use yii\web\View; | ||
24 | <section> | 24 | <section> |
25 | <div class="row"> | 25 | <div class="row"> |
26 | <div class="col-md-12"> | 26 | <div class="col-md-12"> |
27 | - <p class="lead">На данной странице вы можете ознакомиться с материалами, которые были опубликованы в СМИ. Там вы можете найти подробные сведения, рекомендации, интервью специалистов. Ознакомьте с тем, что о нас говорят известные источники. </p> | 27 | + <p class="lead">На данной странице вы можете ознакомиться с материалами, которые были опубликованы в СМИ. Здесь вы можете найти подробные сведения, рекомендации, интервью специалистов. Ознакомьте с тем, что о нас говорят известные источники. </p> |
28 | </div> | 28 | </div> |
29 | </div> | 29 | </div> |
30 | <div class="row portfolio"> | 30 | <div class="row portfolio"> |
frontend/web/css/main.css
@@ -73,7 +73,13 @@ body{position:relative;} | @@ -73,7 +73,13 @@ body{position:relative;} | ||
73 | line-height: 13px; | 73 | line-height: 13px; |
74 | cursor: default; | 74 | cursor: default; |
75 | } | 75 | } |
76 | -#top {background: #555555;color: #eeeeee;padding: 7px 0 6px;} | 76 | +#top { |
77 | + background: #f6f6f6; | ||
78 | + color: #000; | ||
79 | + padding: 0; | ||
80 | + height:30px; | ||
81 | +} | ||
82 | +#top>.container{height:100%;} | ||
77 | #top .social a { | 83 | #top .social a { |
78 | color: #999999; | 84 | color: #999999; |
79 | display: inline-block; | 85 | display: inline-block; |
@@ -252,7 +258,7 @@ section.blue-fon {padding-top: 25px;} | @@ -252,7 +258,7 @@ section.blue-fon {padding-top: 25px;} | ||
252 | z-index: -1000; | 258 | z-index: -1000; |
253 | width: 100%; | 259 | width: 100%; |
254 | height: 100%; | 260 | height: 100%; |
255 | - max-height: calc(100vh - 101px); | 261 | + max-height: calc(100vh - 22px); |
256 | overflow: hidden; | 262 | overflow: hidden; |
257 | display: flex; | 263 | display: flex; |
258 | align-items: center; | 264 | align-items: center; |
@@ -367,7 +373,7 @@ section.bar.background-gray.steps-pre:before { | @@ -367,7 +373,7 @@ section.bar.background-gray.steps-pre:before { | ||
367 | .portfolio .box-image .image img{ | 373 | .portfolio .box-image .image img{ |
368 | width: 100%; | 374 | width: 100%; |
369 | height: 100%; | 375 | height: 100%; |
370 | - object-fit: cover; | 376 | + /*object-fit: cover;*/ |
371 | position: absolute; | 377 | position: absolute; |
372 | top: 0; | 378 | top: 0; |
373 | left: 0; | 379 | left: 0; |
@@ -383,7 +389,7 @@ section.bar.background-gray.steps-pre:before { | @@ -383,7 +389,7 @@ section.bar.background-gray.steps-pre:before { | ||
383 | .post-blog .content{margin-bottom: 50px;} | 389 | .post-blog .content{margin-bottom: 50px;} |
384 | .tag-cloud li.active a {background-color: #467fbf;color: #eeeeee!important;} | 390 | .tag-cloud li.active a {background-color: #467fbf;color: #eeeeee!important;} |
385 | .object-slider .carousel-inner{border-radius: 5px;overflow: hidden;} | 391 | .object-slider .carousel-inner{border-radius: 5px;overflow: hidden;} |
386 | -.object-slider{padding-bottom: 50px;} | 392 | +.object-slider{padding-bottom: 50px;position: relative;} |
387 | .object-slider .carousel{ | 393 | .object-slider .carousel{ |
388 | width:100%; | 394 | width:100%; |
389 | height:550px; | 395 | height:550px; |
@@ -520,6 +526,169 @@ section.bar.background-gray.steps-pre:before { | @@ -520,6 +526,169 @@ section.bar.background-gray.steps-pre:before { | ||
520 | text-align: center; | 526 | text-align: center; |
521 | margin-bottom: 20px; | 527 | margin-bottom: 20px; |
522 | } | 528 | } |
529 | + | ||
530 | + | ||
531 | +.article_comms-wr {position: relative;padding-top: 25px;padding-bottom: 15px;} | ||
532 | +.article_comms-wr:before { | ||
533 | + content: ''; | ||
534 | + width: calc(100% - 30px); | ||
535 | + height: 1px; | ||
536 | + background-color: #d2d2d2; | ||
537 | + top: 0; | ||
538 | + left: 0; | ||
539 | + position: absolute; | ||
540 | + margin-left: 15px; | ||
541 | +} | ||
542 | +.article-comms_wr .has-error .form-control:focus{-webkit-box-shadow:none!important;box-shadow: none!important;} | ||
543 | +.article_comms-wr textarea{resize:vertical!important;} | ||
544 | +.article-comms_wr .rateit button.rateit-reset{margin-right:5px;} | ||
545 | +.input_bl.stars-wr_{margin-top: -5px;} | ||
546 | +.input_bl.stars-wr_ .rateit button.rateit-reset{margin-right: 2px;} | ||
547 | +.article_comms-wr .comments-start{width: 100%;} | ||
548 | +.article_comms-wr .comments-border{display:none;} | ||
549 | +.form-comm-wr { padding: 0px;} | ||
550 | +.form-comm-wr .rateit{padding: 0px 15px;} | ||
551 | +.comments-start .required label:before{display:none;content:'';} | ||
552 | +.comments-start .required label:after { | ||
553 | + display: inline-block; | ||
554 | + content: "*"; | ||
555 | + color: #d40000; | ||
556 | + margin-left: 4px; | ||
557 | +} | ||
558 | +.user-ico{ | ||
559 | + padding: 10px; | ||
560 | + text-align: center; | ||
561 | + background: #0080ca; | ||
562 | + color: #fff; | ||
563 | + font-size: 44px; | ||
564 | + text-transform: uppercase; | ||
565 | +} | ||
566 | +#blog-post{padding-bottom: 50px;} | ||
567 | +#artbox-comment .submit_btn button{ | ||
568 | + color: #0080ca; | ||
569 | + background-color: initial; | ||
570 | + border: 1px solid; | ||
571 | + border-color: #0080ca; | ||
572 | + font-weight: 700; | ||
573 | + font-family: "Roboto",Helvetica,Arial,sans-serif; | ||
574 | + text-transform: uppercase; | ||
575 | + letter-spacing: .08em; | ||
576 | + padding: 6px 12px; | ||
577 | + font-size: 13px; | ||
578 | + line-height: 1.42857143; | ||
579 | + border-radius: 0; | ||
580 | + margin: 0 auto; | ||
581 | + display: block; | ||
582 | +} | ||
583 | +#artbox-comment .submit_btn button:hover, #artbox-comment .submit_btn button:active{ | ||
584 | + color:#fff; | ||
585 | + background-color:#0080ca; | ||
586 | +} | ||
587 | +#artbox-comment .submit_btn button:active{ | ||
588 | + background-image: none; | ||
589 | + outline: 0; | ||
590 | + -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.125); | ||
591 | + box-shadow: inset 0 3px 5px rgba(0,0,0,.125); | ||
592 | +} | ||
593 | +#artbox-comment .submit_btn button:before{ | ||
594 | + content: "\f0e5"; | ||
595 | + display: inline-block; | ||
596 | + font: normal normal normal 14px/1 FontAwesome; | ||
597 | + font-size: inherit; | ||
598 | + text-rendering: auto; | ||
599 | + -webkit-font-smoothing: antialiased; | ||
600 | + -moz-osx-font-smoothing: grayscale; | ||
601 | + margin-right: 5px; | ||
602 | +} | ||
603 | +#artbox-comment .form-comm-wr{background:none;} | ||
604 | +#artbox-comment .input_bl label { | ||
605 | + position: relative; | ||
606 | + width: 100%; | ||
607 | + text-align: left; | ||
608 | + padding-right: 10px; | ||
609 | + margin: 9px 0 0 0; | ||
610 | + display: inline-block; | ||
611 | + max-width: 100%; | ||
612 | + margin-bottom: 5px; | ||
613 | + font-weight: normal; | ||
614 | + text-transform: none; | ||
615 | + font-family: "Roboto",Helvetica,Arial,sans-serif; | ||
616 | + font-size: 14px; | ||
617 | + line-height: 1.42857143; | ||
618 | + color: #555; | ||
619 | +} | ||
620 | +#artbox-comment .submit_btn{width: 100%;} | ||
621 | +.input_bl input, .input_bl textarea, .answer-form textarea{width:100%;border-radius: 0!important;} | ||
622 | +.form-comm-wr .form-group { | ||
623 | + margin-bottom: 0; | ||
624 | + width: 50%; | ||
625 | + padding: 0px 15px; | ||
626 | +} | ||
627 | +.form-comm-wr .form-group.field-commentmodel-text{width:100%;} | ||
628 | +.has-error .help-block{display:block;} | ||
629 | +.header-lang{ | ||
630 | + height: 100%; | ||
631 | + display: flex; | ||
632 | + justify-content: flex-end; | ||
633 | + align-items: center; | ||
634 | + font-size: 13px; | ||
635 | + text-transform: uppercase; | ||
636 | +} | ||
637 | +.header-lang .active_lang{ | ||
638 | + background-color: #e9e7e7; | ||
639 | + height: 30px; | ||
640 | + line-height: 29px; | ||
641 | + padding: 0px 10px; | ||
642 | +} | ||
643 | +.header-lang a{ | ||
644 | + background-color: #f6f6f6; | ||
645 | + height: 30px; | ||
646 | + line-height: 29px; | ||
647 | + padding: 0px 10px; | ||
648 | + border: 1px solid #e9e7e7; | ||
649 | + border-top: 0; | ||
650 | + border-bottom: 0; | ||
651 | + margin-left: -1px; | ||
652 | +} | ||
653 | +.header-lang a:hover{ | ||
654 | + background-color: #e9e7e7; | ||
655 | + border: 1px solid #cacaca; | ||
656 | + border-top: 0; | ||
657 | + border-bottom: 0; | ||
658 | +} | ||
659 | +.phones_head{height:100%;margin:0 -15px;} | ||
660 | +.phones_head>div{ | ||
661 | + display: inline-block; | ||
662 | + height: 100%; | ||
663 | + line-height: 30px; | ||
664 | + font-size: 13px; | ||
665 | + margin: 0 15px; | ||
666 | + margin-right:5px; | ||
667 | +} | ||
668 | +.top_phones span, .top_mail span { | ||
669 | + margin: 0 5px; | ||
670 | +} | ||
671 | +.top_mail, .top_phones{color:#949292;} | ||
672 | +.top_phones a{font-weight:bold;color:#333333;} | ||
673 | +.top_mail a{color:#0095d7;} | ||
674 | +.carousel_green_btn{ | ||
675 | + position: absolute; | ||
676 | + width: 100%; | ||
677 | + bottom: 50px; | ||
678 | + left: 15px; | ||
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 | +} | ||
691 | + | ||
523 | @media(min-width:1201px){ | 692 | @media(min-width:1201px){ |
524 | .links-ses-for-wr .container .row p {margin: 7px 20px;} | 693 | .links-ses-for-wr .container .row p {margin: 7px 20px;} |
525 | .main-slider {min-height: 620px;} | 694 | .main-slider {min-height: 620px;} |
@@ -686,6 +855,7 @@ section.bar.background-gray.steps-pre:before { | @@ -686,6 +855,7 @@ section.bar.background-gray.steps-pre:before { | ||
686 | .bigtext#header3 h2{width: 161%;} | 855 | .bigtext#header3 h2{width: 161%;} |
687 | } | 856 | } |
688 | @media(max-width:500px){ | 857 | @media(max-width:500px){ |
858 | + .form-comm-wr .form-group{width:100%;} | ||
689 | .head_video_buttons .button1{margin-bottom: 7px;} | 859 | .head_video_buttons .button1{margin-bottom: 7px;} |
690 | .head_video_buttons .button1, .head_video_buttons .button2{float:none!important;display:block!important;} | 860 | .head_video_buttons .button1, .head_video_buttons .button2{float:none!important;display:block!important;} |
691 | /*.button1{width:100%;}*/ | 861 | /*.button1{width:100%;}*/ |
@@ -730,11 +900,4 @@ section.bar.background-gray.steps-pre:before { | @@ -730,11 +900,4 @@ section.bar.background-gray.steps-pre:before { | ||
730 | } | 900 | } |
731 | @media(max-width:275px){ | 901 | @media(max-width:275px){ |
732 | .head_video_buttons .button1, .head_video_buttons .button2{width: 100%!important;} | 902 | .head_video_buttons .button1, .head_video_buttons .button2{width: 100%!important;} |
733 | -} | ||
734 | - | ||
735 | - | ||
736 | -.user-ico{ | ||
737 | - padding: 10px; | ||
738 | - text-align: center; | ||
739 | - font-size: 30px; | ||
740 | } | 903 | } |
741 | \ No newline at end of file | 904 | \ No newline at end of file |