Merge "Yangman - Highlight Expanded Collection"
authorMaxime Millette-Coulombe <mmcoulombe@inocybe.com>
Thu, 11 Aug 2016 22:32:44 +0000 (22:32 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Thu, 11 Aug 2016 22:32:44 +0000 (22:32 +0000)
modules/yangman-resources/src/main/resources/yangman/views/leftpanel/collections-tab.tpl.html
modules/yangman-resources/src/main/resources/yangman/yangman.less

index ab1780fe12018591d8516b5a3007810db16a1fbe..05b618c7421f94c0e4e56c1ca8298b3b0aba1fa3 100644 (file)
 
                 <md-list-item class="yangmanModule__requests-list__collection"
                               flex
-                              ng-class="{'selected': collection.expanded}"
+                              ng-class="{'expanded' : collection.expanded, 'selected': collection.expanded}"
                               ng-click="collection.toggleExpanded()">
 
                     <div layout="row">
     </md-content>
 
 </md-list>
-
index 1853a70d7b3d05e43f54e68e66cfe4a279928b13..d17c4e20f49bbc4bfa758294512e430c8c1f45d9 100644 (file)
@@ -1121,6 +1121,10 @@ md-input-container{
                 margin: 15px 25px;
             }
 
+            &.expanded{
+                background: @listActiveColor;
+            }
+
             p{
                 line-height: 18px;
                 padding: 12px 0;