silverstripe-reports/css/cms_left.css

458 lines
7.6 KiB
CSS
Raw Normal View History

#left form.actionparams {
background: #eee;
padding: 0 5px 5px 5px;
_padding-left: 5px;
float: left;
width: 100%;
}
#left form#search_options {
padding-bottom: 8px;
}
#left form.actionparams input,
#left form.actionparams select {
padding: 1px;
}
#left form.actionparams select,
#ReportSelector_holder select {
width: 75%;
}
/* reset for a fieldtype that shouldn't have this width setting */
#left form.actionparams .dropdownpopup select {
width: auto;
}
#PageType,
#ReportSelector_holder select {
float: left;
margin-right: 4px;
padding: 1px;
}
#left form.actionparms input.action {
width: 5%;
}
#Form_DeleteItemsForm p {
margin: 4px 8px 4px 0;
font-size: 11px;
color: #666;
}
form.oneline fieldset {
width: 80%;
float: left;
margin-right: .5em;
}
/**
* Selection Groups
*/
#left .SelectionGroup {
display: block;
}
#left .SelectionGroup li {
list-style-type: none;
clear: left;
border: 1px solid #ccc;
}
#left .SelectionGroup li input {
width: 20px;
float: left;
}
#left .SelectionGroup li div.field {
display: none;
font-size: 1em;
}
#left .SelectionGroup li label {
margin: 0 0 0 2px;
display: block;
height: 1.2em;
width: auto;
float: none;
}
#left .SelectionGroup li.selected div.field {
margin-left: 23px;
display: block;
margin-bottom: 1em;
}
#left div.field select {
width: 100%;
}
#left .SelectionGroup li.selected label.selector {
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;
padding: 3px;
font-weight: bold;
}
#publication_key ins,
#publication_key del,
#publication_key span {
margin: 0 5px;
font-weight: normal;
}
/* 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;
}
#left {
background-color: #eee;
}
#treepanes .ui-accordion-content {
padding: 0;
}
.ui-layout-pane-west {
/* OVERRIDE 'default styles' */
padding: 0 !important;
overflow: hidden !important;
}
#treepanes h2 {
cursor: pointer;
}
#treepanes h2 img {
float:right;
margin-right: 2px;
}
#treepanes form .field {
margin: 0;
}
.listpane p {
display: block;
margin: 0px 4px 0px 4px;
padding: 3px 0px;
font-size: 10px;
}
.listpane ul {
margin: 0;
padding: 0;
}
.listpane ul li {
list-style-type: none;
font-size: 10px;
border-bottom: 1px #CCC dotted;
background-color: #FFF;
}
.listpane ul li.odd {
background-color: #EEE;
}
.listpane ul li .extra {
font-style: italic;
color: #666;
}
.listpane div.unitBody {
overflow: auto;
width: 100%;
clear: left;
}
.listpane li a {
display: block;
padding: 5px;
}
.listpane input.action {
padding: 0;
}
.listpane p.message {
padding: 5px;
}
#treepanes .pane_actions {
margin: 0px 4px 0px 4px;
}
#treepanes .pane_actions a {
margin: 4px;
padding: 3px;
background-color: #EEE;
border: 1px #CCC solid;
}
#treepanes .pane_actions a.current {
background-color: #CCC;
}
#treepanes table {
border-collapse: collapse;
width: 100%;
}
#treepanes table thead td {
background-color: #aaa;
color: #fff;
border-bottom: 2px #ccc solid;
padding: 0 3px;
}
#treepanes table tbody tr {
cursor: pointer;
}
#treepanes table tbody td {
font-size: 11px;
padding: 1px 3px;
}
#treepanes table tbody tr.even td {
background-color: #EEE;
}
#treepanes table tbody tr.over td {
background-color: #FFFFBB;
}
#treepanes table tbody tr.current td {
background-color: #BBBBFF;
}
#treepanes #Versions tbody tr.internal {
color: #777;
}
#treepanes #Versions tbody tr.published {
color: black;
}
.SideReport_RecentlyEdited li a:hover {
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;
background-color: white;
border: 1px #CCC solid;
}
ul.contextMenu {
padding: 0;
margin: 0;
}
ul.contextMenu li {
list-style-type: none;
margin: 0;
padding: 0;
}
ul.contextMenu li a {
display: block;
font-family: Tahoma, Verdana, Arial, Helvetica;
font-size: 11px;
padding: 5px 10px 5px 5px;
color: black;
text-decoration: none;
}
ul.contextMenu li a:hover {
background-color: #B6BDD2;
text-decoration: none;
}
Merged, debugged and enhanced Translatable patches from branches/translatable at r64523, r64523, 64523, thanks wakeless! API CHANGE Changed Translatable schema from auxilliary tables (SiteTree_lang, SiteTree_lang_Live) to automatically filtered records on the original table (SiteTree, SiteTree_Live), using $Lang and $OriginalID properties. Incompatible update to old schema, migration script is in the works. API CHANGE Removed Translatable::get_one(), Translatable::write() ENHANCEMENT Simplified Translatable tree generation by using getSiteTreeFor() in CMSMain->createtranslation() ENHANCEMENT Added AllChildrenIncludingDeleted(), augmentNumChildrenCountQuery(), augmentAllChildrenIncludingDeleted(), augmentStageChildren() to Translatable class to allow for more stable tree generation. ENHANCEMENT Moved definition of Translatable schema from augmentDatabase() to Translatable->extraStatics() ENHANCEMENT Changes to the CMS language selection refresh the whole admin interface instead of the tree only. This way we can add a URL parameter ?lang=<lang> to /admin, which makes the specific language bookmarkable and reloadable. Changes to LangSelector.js ENHANCEMENT Added fallback to ModelAsController->getNestedController() to fetch page with matching URLSegment but different language in case no page is found in the current language. ENHANCEMENT Added helper methods to Translatable: getTranslation(), hasTranslation(), isTranslation(), findOriginalIDs() ENHANCEMENT Getters and setters for Translatable->getOriginalPage() etc. ENHANCEMENT Hooking Translatable into ModelAsController and ContentController initialization in order to call choose_site_lang() ENHANCEMENT Simplified Translatable->augmentSQL(), augmentWrite() by not using auxilliary tables ENHANCEMENT Showing clickable links for Translations in Translatable->updateCMSFields() BUGFIX Modifying Hierarchy/SiteTree Children getters to accept optional "context" which can be used to set a language explicitly through the $Lang property, rather than implicitly reyling on the static Translatable::current_lang() BUGFIX Fixed TranslatableTest to work with new datamodel BUGFIX Temporarily disabled cookie/session selection in Translatable::choose_site_lang() until we have a good test suite for the side effects. MINOR Added "untranslated" CSS styles to tree nodes and marking them as inactive/grey git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@69959 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-01-10 13:15:30 +01:00
ul.tree span.untranslated a:link,
ul.tree span.untranslated a:hover,
ul.tree span.untranslated a:visited {
color: #ccc
}
#Form_SearchTreeForm .field .middleColumn {
width: 60%;
float: left;
margin: 0;
}
#Form_SearchTreeForm .field label {
margin-left: 0;
width: 28%;
}
#Form_SearchTreeForm select.options {
clear: left;
}
/* Change detection CSS */
#right ins, #right ins * {
background-color: #99EE66;
text-decoration: none;
}
#right del, #right del *{
background-color: #FF9999;
text-decoration: strikethough;
}
#sitetree a.contents {
font-style: italic;
}
#ShowDrafts {
float: none;
}
.noBottomBorder {
border-bottom: none;
}
.checkboxAboveTree {
border-top: 1px solid #cccccc;
padding: .5em;
overflow: hidden;
clear: left;
}
.checkboxAboveTree div {
clear: left;
}
.checkboxAboveTree input, #ShowChanged input, #ShowDrafts input {
float: left;
margin: 0 3px 0 0;
}
#versions_actions {
float: left;
width: 100%;
border-bottom:1px solid #CCC;
}
#versions_actions .versionChoice {
float: left;
display: block;
margin: 0 0 5px 0;
}
.versionChoice label {
display: block;
float: left;
margin-top: 3px;
_margin-top: 4px;
}
#versions_actions input, #Remember input {
float: left;
display: block;
margin: 0 3px 0 0;
}
#ReportSelector_holder {
background: #EEE;
margin: 0 !important;
padding: 3px 3px 7px;
border-bottom: 1px solid #CCC;
}
#versions_actions {
background: #EEE;
overflow: hidden;
margin: 0 !important;
padding: 4px 7px;
}
#Form_VersionsForm td.checkbox {
}
#Form_SideReportsForm select,
#Form_SideReportsForm .middlecolumn {
width: 80%;
}
/**
* i18n
*/
#LangSelector_holder {
float: none;
background-color: #EEEEEE;
border-bottom: 1px solid #CCCCCC;
border-top: 1px solid #CCCCCC;
padding: 3px 0 3px 7px;
}
#LangSelector_holder .Actions {
display: none;
}
#LangSelector_holder label.left {
margin-left: 0;
width: auto;
}