Commit a66c29a8334984370eeca1d6446b46884f7ba70d
1 parent
05b655e5
Веталь
Showing
2 changed files
with
12 additions
and
11 deletions
Show diff stats
frontend/views/site/index.php
@@ -16,17 +16,17 @@ $this->registerJsFile ( | @@ -16,17 +16,17 @@ $this->registerJsFile ( | ||
16 | 16 | ||
17 | <?php | 17 | <?php |
18 | 18 | ||
19 | -echo SliderWidget::widget(["title"=>"HOME_SLIDER"]); | 19 | +echo '<div class="home_banner_up">'; |
20 | + echo SliderWidget::widget(["title"=>"HOME_SLIDER"]); | ||
21 | + echo BannerWidget::widget(['title' => 'HOME_RIGHT']); | ||
20 | 22 | ||
21 | -echo BannerWidget::widget(['title' => 'HOME_RIGHT']); | 23 | + echo '<div id="HOME_UNDER_SLIDER">'; |
24 | + echo BannerWidget::widget(['title' => 'HOME_UNDER_SLIDER_1']); | ||
25 | + echo BannerWidget::widget(['title' => 'HOME_UNDER_SLIDER_2']); | ||
26 | + echo BannerWidget::widget(['title' => 'HOME_UNDER_SLIDER_3']); | ||
27 | + echo '</div>'; | ||
22 | 28 | ||
23 | -echo '<div id="HOME_UNDER_SLIDER">'; | ||
24 | - | ||
25 | -echo BannerWidget::widget(['title' => 'HOME_UNDER_SLIDER_1']); | ||
26 | -echo BannerWidget::widget(['title' => 'HOME_UNDER_SLIDER_2']); | ||
27 | -echo BannerWidget::widget(['title' => 'HOME_UNDER_SLIDER_3']); | ||
28 | - | ||
29 | -echo '</div>'; | 29 | +echo '</div>' |
30 | ?> | 30 | ?> |
31 | 31 | ||
32 | <?= \frontend\widgets\Rubrics::widget(['wrapper' => 'rubrics', 'includes' => [117,118,119,120,121]])?> | 32 | <?= \frontend\widgets\Rubrics::widget(['wrapper' => 'rubrics', 'includes' => [117,118,119,120,121]])?> |
frontend/web/css/style.css
@@ -69,11 +69,12 @@ nav input[type="submit"]{width:35px;height:29px;border:none;background:url('../i | @@ -69,11 +69,12 @@ nav input[type="submit"]{width:35px;height:29px;border:none;background:url('../i | ||
69 | /*border:1px solid #e8e8e8;*/ | 69 | /*border:1px solid #e8e8e8;*/ |
70 | } | 70 | } |
71 | .menu ul{margin:0px;padding:0px;list-style:none;} | 71 | .menu ul{margin:0px;padding:0px;list-style:none;} |
72 | -.menu ul li{float:left;border-left:1px solid #e8e8e8;} | 72 | +.menu ul li{float:left;border-left:1px solid #8b9094; height: 43px;} |
73 | .menu ul li:first-child{border-left:none;} | 73 | .menu ul li:first-child{border-left:none;} |
74 | -.menu ul li a{float:left;padding:15px 20px 15px 20px;text-transform: uppercase;color:#ffffff;font-size:14px;text-decoration: none;} | 74 | +.menu ul li a{width: 100%; height:100%;line-height:43px;float:left;box-sizing:border-box; padding:0 21px;text-transform: uppercase;color:#ffffff;font-size:15px;text-decoration: none;font-weight: 600;} |
75 | .menu ul li a:hover{color:#e5e4e4;} | 75 | .menu ul li a:hover{color:#e5e4e4;} |
76 | .menu ul li.active a{background:#f5f5f5;color:#596065;} | 76 | .menu ul li.active a{background:#f5f5f5;color:#596065;} |
77 | +.menu ul li.active a:hover{cursor: default;} | ||
77 | 78 | ||
78 | .menu_childs{background:#f5f5f5;border:1px solid #e8e8e8;border-bottom:2px solid #596065;} | 79 | .menu_childs{background:#f5f5f5;border:1px solid #e8e8e8;border-bottom:2px solid #596065;} |
79 | .menu_childs ul{margin:0px;padding:0px;list-style:none;} | 80 | .menu_childs ul{margin:0px;padding:0px;list-style:none;} |