MINOR Styling of side reports and tree area in CMS

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92850 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2009-11-21 03:21:08 +00:00
parent 990ae9f145
commit 683dfa9426
7 changed files with 22 additions and 23 deletions

View File

@ -660,7 +660,7 @@ JS;
}
$selectorField = new GroupedDropdownField(
"ReportClass",
_t('CMSMain.REPORT', 'Report'),
false,
$finalOptions
);
@ -677,6 +677,7 @@ JS;
)
);
$form->unsetValidator();
$form->addExtraClass('oneline');
return $form;
}
@ -1029,8 +1030,8 @@ JS;
);
$form = new Form($this, "AddForm", $fields, $actions);
$form->addExtraClass('actionparams');
$form->addExtraClass('oneline');
return $form;
}

View File

@ -32,6 +32,12 @@
color: #666;
}
form.oneline fieldset {
width: 80%;
float: left;
margin-right: .5em;
}
/**
* Selection Groups
*/
@ -423,7 +429,7 @@ ul.tree span.untranslated a:visited {
.checkboxAboveTree {
border-top: 1px solid #cccccc;
padding: 5px 0 0 0;
padding: .5em;
overflow: hidden;
clear: left;
}
@ -475,12 +481,10 @@ ul.tree span.untranslated a:visited {
}
form#SideReportForm label.left {
margin-left: 0em;
width: auto;
#Form_SideReportsForm select,
#Form_SideReportsForm .middlecolumn {
width: 80%;
}
/**
* i18n
*/

View File

@ -196,6 +196,8 @@
.right form .Actions {
text-align: right;
padding: 0.5em;
background: white;
border-top: 1px solid #aaa;
}
.right form .Actions input {

View File

@ -404,6 +404,11 @@ body.stillLoading select {
_padding-top: 4px;
}
#TreeTools .ui-tabs .ui-tabs-nav li a {
padding-left: .5em;
padding-right: .5em;
}
#TreeTools #batchactionsforms {
padding: 0 5px 7px 5px;
}

View File

@ -67,13 +67,6 @@
#treepanes .ui-widget input {
font-size: 1.1em;
}
#treepanes select {
font-size: 1.1em;
}
#treepanes option {
padding: 3px;
font-size: 1.1em;
}
#treepanes .ui-tabs-panel {
padding: 0.5em;
@ -100,7 +93,6 @@
#treepanes .ui-accordion-header a {
font-size: 120%;
padding: 0.5em 2.2em 0.5em 0.5em;
}
#treepanes.ui-accordion .ui-accordion-header .ui-icon {
right: 0.5em !important;
@ -140,8 +132,3 @@ p#WelcomeMessage {
.ui-layout-resizer-dragging {
background: #ccdef3 none repeat scroll 0 0;
}
.CMSMain .ui-tabs .ui-tabs-nav li {
margin-right: 5px;
}

View File

@ -169,7 +169,7 @@
});
// move submit button to the top
this.find('#ReportClass').after(this.find('.Actions'));
//this.find('#ReportClass').after(this.find('.Actions'));
this._super();
},

View File

@ -33,7 +33,7 @@
</div>
<div class="checkboxAboveTree">
<img id="checkboxActionIndicator" src="cms/images/network-save.gif">
<img id="checkboxActionIndicator" src="cms/images/network-save.gif" />
<div>
<input type="checkbox" id="sortitems" />
<label for="sortitems"><% _t('ENABLEDRAGGING','Allow drag &amp; drop reordering', PR_HIGH) %></label>