diff --git a/admin/code/LeftAndMain.php b/admin/code/LeftAndMain.php index 9011780fa..4e92a92d7 100644 --- a/admin/code/LeftAndMain.php +++ b/admin/code/LeftAndMain.php @@ -660,6 +660,8 @@ class LeftAndMain extends Controller implements PermissionProvider { $titleFn = function(&$child) use(&$controller, &$recordController) { $classes = $child->CMSTreeClasses(); if($controller->isCurrentPage($child)) $classes .= " current"; + $flags = $child->getStatusFlags(); + if($flags) $classes .= ' ' . implode(' ', array_keys($flags)); return "
  • ID\" data-id=\"$child->ID\" data-pagetype=\"$child->ClassName\" class=\"" . $classes . "\">" . " " . "Link("show"), $child->ID) . "\" title=\"" . diff --git a/admin/css/screen.css b/admin/css/screen.css index 4908fff41..39426f4a5 100644 --- a/admin/css/screen.css +++ b/admin/css/screen.css @@ -709,6 +709,7 @@ form.import-form label.left { width: 250px; } .tree-holder.jstree-apple li.Root strong, .cms-tree.jstree-apple li.Root strong { font-weight: bold; padding-left: 1px; } .tree-holder.jstree-apple li.Root > a .jstree-icon, .cms-tree.jstree-apple li.Root > a .jstree-icon { background-position: -56px -36px; } .tree-holder.jstree-apple a, .tree-holder.jstree-apple a:link, .cms-tree.jstree-apple a, .cms-tree.jstree-apple a:link { color: #1556b2; padding: 3px 6px 3px 3px; border: none; display: inline-block; margin-right: 5px; } +.tree-holder.jstree-apple li.deletedonlive .text, .cms-tree.jstree-apple li.deletedonlive .text { text-decoration: line-through; } .tree-holder.jstree-apple span.badge, .cms-tree.jstree-apple span.badge { clear: both; text-transform: uppercase; display: inline-block; padding: 0px 3px; font-size: 0.75em; line-height: 1em; margin-left: 3px; margin-right: 6px; margin-top: -1px; -webkit-border-radius: 2px 2px; -moz-border-radius: 2px / 2px; -ms-border-radius: 2px / 2px; -o-border-radius: 2px / 2px; border-radius: 2px / 2px; } .tree-holder.jstree-apple span.badge.modified, .cms-tree.jstree-apple span.badge.modified { color: #7E7470; border: 1px solid #C9B800; background-color: #FFF0BC; } .tree-holder.jstree-apple span.badge.addedtodraft, .cms-tree.jstree-apple span.badge.addedtodraft { color: #7E7470; border: 1px solid #C9B800; background-color: #FFF0BC; } diff --git a/admin/scss/_tree.scss b/admin/scss/_tree.scss index 6b8c24d9f..272de76ea 100644 --- a/admin/scss/_tree.scss +++ b/admin/scss/_tree.scss @@ -464,6 +464,13 @@ display: inline-block; margin-right: 5px; } + + li.deletedonlive { + .text { + text-decoration: line-through; + } + } + span.badge { clear: both; text-transform: uppercase;