Add active class to appmenu
This commit is contained in:
@@ -40,16 +40,6 @@
|
|||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
#app-navigation .active,
|
|
||||||
#app-navigation .active a,
|
|
||||||
#app-navigation li:hover > a,
|
|
||||||
#app-navigation li:focus > a,
|
|
||||||
#app-navigation a:focus,
|
|
||||||
#app-navigation .selected,
|
|
||||||
#app-navigation .selected a {
|
|
||||||
background-color: #fafafa;
|
|
||||||
}
|
|
||||||
|
|
||||||
#app-navigation .board-bullet {
|
#app-navigation .board-bullet {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
margin-left: 17px;
|
margin-left: 17px;
|
||||||
@@ -65,7 +55,7 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: none;
|
overflow: hidden;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -648,7 +638,6 @@ input.input-inline {
|
|||||||
margin-top: -4px;
|
margin-top: -4px;
|
||||||
line-height: 100%;
|
line-height: 100%;
|
||||||
margin-bottom: -4px;
|
margin-bottom: -4px;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<li><a href="#" class=""><?php p($l->t('All Boards')); ?></a></li>
|
<li><a href="#" class=""><?php p($l->t('All Boards')); ?></a></li>
|
||||||
|
|
||||||
<li class="with-icon with-menu" data-ng-repeat="b in boardservice.sorted">
|
<li class="with-icon with-menu" ng-class="{active: b.id === boardservice.getCurrent().id}" data-ng-repeat="b in boardservice.sorted">
|
||||||
<span class="board-bullet" style="background-color:#{{b.color}};" ng-if="!b.status.edit"> </span>
|
<span class="board-bullet" style="background-color:#{{b.color}};" ng-if="!b.status.edit"> </span>
|
||||||
<a href="#!/board/{{b.id}}/" ng-if="!b.status.edit">{{ b.title }}</a>
|
<a href="#!/board/{{b.id}}/" ng-if="!b.status.edit">{{ b.title }}</a>
|
||||||
<div class="app-navigation-entry-utils" ng-show="!b.status.edit" style="position:absolute;">
|
<div class="app-navigation-entry-utils" ng-show="!b.status.edit" style="position:absolute;">
|
||||||
|
|||||||
Reference in New Issue
Block a user