Skip to content

Commit ae0b77a

Browse files
committed
change nav color
1 parent 6965e1a commit ae0b77a

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

views/user/admin.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
<div class="wrap">
66
<div class="container">
7-
<ul class="nav nav-pills black">
8-
<li role="presentation" class="active"><?= Html::a('Новости', ['user/index']) ?></li>
9-
<li role="presentation" class="active"><?= Html::a('Добавление новости', ['user/index']) ?></li>
10-
<li role="presentation" class="active"><?= Html::a('Удаление новости', ['user/index']) ?></li>
7+
<ul class="nav nav-pills">
8+
<li role="presentation" class="active" ><?= Html::a('Новости', ['user/index']) ?></li>
9+
<li role="presentation" class="active" ><?= Html::a('Добавление новостей', ['user/index']) ?></li>
10+
<li role="presentation" class="active" ><?= Html::a('Удаление новостей', ['user/index']) ?></li>
1111
</ul>
1212
</div>
1313
</div>

web/css/site.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,3 +113,15 @@ a.desc:after {
113113
.nav > li > form > button.logout:focus {
114114
outline: none;
115115
}
116+
117+
.black {
118+
background-color: black;
119+
}
120+
121+
.nav-pills > li > a {
122+
background-color: #333333 !important;
123+
}
124+
125+
.nav-pills > li > a:hover, .nav-pills > li > a:active{
126+
background-color: black !important;
127+
}

0 commit comments

Comments
 (0)