MINOR Removed unnecessary tree CSS styles, will be replaced by new styles based on jstree.js

This commit is contained in:
Ingo Schommer 2011-03-03 12:03:56 +13:00
parent 8419ee8b3a
commit 6d3cf213e7
3 changed files with 31 additions and 119 deletions

View File

@ -81,37 +81,6 @@ form.oneline fieldset {
font-weight: bold; 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 { #publication_key {
border-bottom: 1px solid #ccc; border-bottom: 1px solid #ccc;
background: #eee; background: #eee;
@ -124,29 +93,27 @@ ul.tree .deleted {
margin: 0 5px; margin: 0 5px;
font-weight: normal; 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 */ #publication_key span.modified {
ul.tree span.a a ins, ul.tree span.a a.notinmenu ins, color: green;
#publication_key ins { text-decoration : none;
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;
}
#left { #left {
background-color: #eee; background-color: #eee;
@ -276,38 +243,6 @@ ul.tree span.a span.modified,
background-color: #FFFFBB; 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 */ /* This applies to both the LHS context menu and the TinyMCE context menu */
.contextMenu { .contextMenu {
z-index: 1000; z-index: 1000;

View File

@ -513,15 +513,6 @@
background: none; 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 { #contentPanel h2 img {
float: right; float: right;
margin-right: 2px; margin-right: 2px;

View File

@ -420,26 +420,17 @@ body.stillLoading select {
display: none; display: none;
} }
#sitetree_ul, ul#sitetree { #left #TreeActions,
padding: 3px 0 0 3px; #left .checkboxAboveTree {
clear: left; background: #EEE;
} padding: 5px;
#sitetree_ul ul#sitetree { float: left;
padding: 0 0 5px; width: 95%;
} }
html>body #sitetree { #left .checkboxAboveTree {
width: auto; 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 { #TreeTools label {
display: block; display: block;
padding-top: 2px; padding-top: 2px;
@ -540,11 +531,6 @@ li.spacer {
margin-right: 4px; 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 */ /* Misc Styling */
iframe { iframe {
border: none; border: none;