ENHANCEMENT:Trac#7166 - styled the new combined tree and edit view.

This commit is contained in:
Jeremy Bridson 2012-04-18 13:36:15 +12:00
parent 0f7dd7922f
commit 1e25637acb
2 changed files with 20 additions and 2 deletions

View File

@ -13,8 +13,11 @@
/** -------------------------------------------- Tree View (collapsed for sidebar) -------------------------------------------- */
#cms-content-treeview .cms-tree-expand-trigger { display: none; }
.cms-content-tools #cms-content-treeview .cms-content-toolbar { border-bottom: none; box-shadow: none; margin-bottom: 8px; }
.cms-content-tools #cms-content-treeview .cms-content-toolbar .cms-page-add-button { margin-top: 8px; }
.cms-content-tools #cms-content-treeview .cms-tree-view-modes, .cms-content-tools #cms-content-treeview .cms-content-batchactions { display: none; }
.cms-content-tools #cms-content-treeview .cms-tree-expand-trigger { display: inline-block; }
.cms-content-tools #cms-content-treeview .cms-tree-expand-trigger { display: inline-block; margin: 0 0 2px 0; position: absolute; top: 8px; right: 4px; }
.cms-content-tools #cms-content-treeview .cms-tree-expand-trigger span.ui-button-text { padding-right: 8px; }
.cms-content-tools #cms-content-treeview .cms-tree .badge, .cms-content-tools #cms-content-treeview .cms-tree a > .jstree-icon { display: none; }
.cms .AssetAdmin .cms-content-fields { overflow: hidden; }

View File

@ -55,12 +55,27 @@
.cms-content-tools { // Hide certain elements when shown in "sidebar mode"
#cms-content-treeview {
.cms-content-toolbar {
border-bottom:none;
box-shadow:none;
margin-bottom:8px;
.cms-page-add-button {
margin-top:8px;
}
}
.cms-tree-view-modes,
.cms-content-batchactions {
display: none;
}
.cms-tree-expand-trigger {
display: inline-block;
display: inline-block;
margin:0 0 2px 0;
position:absolute;
top:8px;
right:4px;
span.ui-button-text{
padding-right:8px;
}
}
.cms-tree {