From 6d3cf213e7436a21df43483e20a092f7cfab6a36 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Thu, 3 Mar 2011 12:03:56 +1300 Subject: [PATCH] MINOR Removed unnecessary tree CSS styles, will be replaced by new styles based on jstree.js --- css/cms_left.css | 105 +++++++++------------------------------------- css/cms_right.css | 9 ---- css/layout.css | 36 +++++----------- 3 files changed, 31 insertions(+), 119 deletions(-) diff --git a/css/cms_left.css b/css/cms_left.css index dbebe7d1..4359ee9b 100644 --- a/css/cms_left.css +++ b/css/cms_left.css @@ -81,37 +81,6 @@ form.oneline fieldset { font-weight: bold; } -.filefolderhover span.a, -ul.tree span.a.over, -ul.tree .over > span.a { - background-color: #FFFFBB !important; - /* these push the highlight out to the left of the window */ - margin-left: -100px; - padding-left: 100px; - background-position: 100px 50%; -} - -ul.tree span.a a.notinmenu, ul.tree span.a a.notinmenu *, -#publication_key span.notinmenu { - color: #77A; -} - -ul.tree span.a a.disabled { - color: #999; - cursor: pointer; -} - ul.tree span.a a.disabled *, ul.tree span.a a.disabled.notinmenu *, ul.tree span.a a.disabled span.modified { - padding: 0; - background: none; - color: #999; - cursor: pointer; - } - -ul.tree .deleted { - color: red; - text-decoration: line-through; -} - #publication_key { border-bottom: 1px solid #ccc; background: #eee; @@ -124,29 +93,27 @@ ul.tree .deleted { margin: 0 5px; font-weight: normal; } + #publication_key span.notinmenu { + color: #77A; + } + /* Created on stage, never published */ + #publication_key ins { + color: orange; + text-decoration : none; + } + /* Deleted on stage */ + #publication_key del { + color: red; + } + /* Deleted on stage & live (when show deleted pages is active) */ + #publication_key del.deletedOnLive { + color: #700; + } -/* Created on stage, never published */ -ul.tree span.a a ins, ul.tree span.a a.notinmenu ins, -#publication_key ins { - color: orange; - text-decoration : none; -} -/* Deleted on stage */ -ul.tree span.a a del, ul.tree span.a a.notinmenu del, -#publication_key del { - color: red; -} -/* Deleted on stage & live (when show deleted pages is active) */ -ul.tree span.a a del, ul.tree span.a a.notinmenu del.deletedOnLive, -#publication_key del.deletedOnLive { - color: #700; -} - -ul.tree span.a span.modified, -#publication_key span.modified { - color: green; - text-decoration : none; -} + #publication_key span.modified { + color: green; + text-decoration : none; + } #left { background-color: #eee; @@ -276,38 +243,6 @@ ul.tree span.a span.modified, background-color: #FFFFBB; } -/** - * Change the styling of the root tree node - */ -ul.tree span.a.Root, -ul.tree span.a.last.Root, -ul.tree span.a.children.Root { - background-image: none; -} -ul.tree span.a.Root span.c, -ul.tree span.a.last.Root span.c, -ul.tree span.a.children.Root span.c { - margin: 0; -} - -ul.tree span.a.Root span.c { - background: url(../../sapphire/javascript/tree/images/i-bottom.gif) no-repeat scroll 0 50%; -} - -#sitetree_ul { - overflow: auto; - overflow-x: hidden; -} - -ul#sitetree.tree ul { - margin-left: 0; -} -ul#sitetree.tree ul ul { - padding-left: 16px; - background: url(../../sapphire/javascript/tree/images/i-repeater.gif) repeat-y scroll 0 50%; -} - - /* This applies to both the LHS context menu and the TinyMCE context menu */ .contextMenu { z-index: 1000; diff --git a/css/cms_right.css b/css/cms_right.css index 0c990dee..e6e6b902 100644 --- a/css/cms_right.css +++ b/css/cms_right.css @@ -513,15 +513,6 @@ background: none; } -#contentPanel div.tree_holder { - width: 184px; - height: 260px; - /* Keep a scrollbar in the RHS tree dropdowns, in case the content is too wide for the column */ - overflow-x: scroll; -} -#contentPanel ul.tree a { - padding-left: 20px; -} #contentPanel h2 img { float: right; margin-right: 2px; diff --git a/css/layout.css b/css/layout.css index 4335ff27..08b353e7 100644 --- a/css/layout.css +++ b/css/layout.css @@ -420,26 +420,17 @@ body.stillLoading select { display: none; } - #sitetree_ul, ul#sitetree { - padding: 3px 0 0 3px; - clear: left; - } - #sitetree_ul ul#sitetree { - padding: 0 0 5px; - } - html>body #sitetree { - width: auto; - } - #left #TreeActions, - #left .checkboxAboveTree { - background: #EEE; - padding: 5px; - float: left; - width: 95%; - } - #left .checkboxAboveTree { - border-bottom: 1px solid #CCC; - } +#left #TreeActions, +#left .checkboxAboveTree { + background: #EEE; + padding: 5px; + float: left; + width: 95%; +} +#left .checkboxAboveTree { + border-bottom: 1px solid #CCC; +} + #TreeTools label { display: block; padding-top: 2px; @@ -540,11 +531,6 @@ li.spacer { margin-right: 4px; } -/* CMS specific icons for the tree */ -ul.tree li.Root span.Root span.c a { - background: url(../../cms/images/treeicons/root.png) no-repeat !important; -} - /* Misc Styling */ iframe { border: none;