Show close icon on active item only.
authorAlexandre Segura <mex.zktk@gmail.com>
Wed, 22 Feb 2017 11:04:40 +0100
changeset 336 157819077ee5
parent 335 86dbf2cdeeeb
child 337 db6c41f04e79
Show close icon on active item only.
src_js/iconolab-bundle/src/iconolab.scss
--- a/src_js/iconolab-bundle/src/iconolab.scss	Wed Feb 22 11:04:16 2017 +0100
+++ b/src_js/iconolab-bundle/src/iconolab.scss	Wed Feb 22 11:04:40 2017 +0100
@@ -310,6 +310,15 @@
         width: 20%;
         max-height: 600px;
         overflow: scroll;
+        .list-group-item {
+            .close {
+                display: none;
+            }
+            &.active .close {
+                display: block;
+                color: #fff;
+            }
+        }
     }
     .annotation-navigator-canvas {
         width: 60%;