Skip to content
This repository
Browse code

Always show badge on current page in side tree

  • Loading branch information...
commit 1717e400f61495b6b5cbeea3b1f53939b48d03b7 1 parent ace2dfe
Hamish Friedlander authored July 23, 2012
2  css/screen.css
@@ -18,7 +18,7 @@
18 18
 .cms-content-tools #cms-content-treeview .cms-tree-expand-trigger { display: inline-block; margin: 0 0 2px 0; position: absolute; top: 8px; right: 4px; }
19 19
 .cms-content-tools #cms-content-treeview .cms-tree-expand-trigger span.ui-button-text { padding-right: 8px; }
20 20
 .cms-content-tools #cms-content-treeview .cms-tree .badge, .cms-content-tools #cms-content-treeview .cms-tree a > .jstree-icon { display: none; }
21  
-.cms-content-tools #cms-content-treeview .cms-tree a:hover > .text > .badge { display: inline-block; }
  21
+.cms-content-tools #cms-content-treeview .cms-tree a:hover > .text > .badge, .cms-content-tools #cms-content-treeview .cms-tree .jstree-clicked > .text > .badge { display: inline-block; }
22 22
 
23 23
 /** ------------------------------------------------------------------ URLSegment field ----------------------------------------------------------------- */
24 24
 .field.urlsegment.disabled { color: #444; padding-left: 0px; margin-left: 0px; background: none; border-color: transparent; }
2  scss/_CMSMain.scss
@@ -84,7 +84,7 @@
84 84
 			}
85 85
 
86 86
 			// Show badge on hovered node
87  
-			a:hover > .text > .badge {
  87
+			a:hover > .text > .badge, .jstree-clicked > .text > .badge {
88 88
 				display: inline-block;
89 89
 			}
90 90
 		}

0 notes on commit 1717e40

Please sign in to comment.
Something went wrong with that request. Please try again.