mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
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:
parent
990ae9f145
commit
683dfa9426
@ -660,7 +660,7 @@ JS;
|
|||||||
}
|
}
|
||||||
$selectorField = new GroupedDropdownField(
|
$selectorField = new GroupedDropdownField(
|
||||||
"ReportClass",
|
"ReportClass",
|
||||||
_t('CMSMain.REPORT', 'Report'),
|
false,
|
||||||
$finalOptions
|
$finalOptions
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -677,6 +677,7 @@ JS;
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
$form->unsetValidator();
|
$form->unsetValidator();
|
||||||
|
$form->addExtraClass('oneline');
|
||||||
|
|
||||||
return $form;
|
return $form;
|
||||||
}
|
}
|
||||||
@ -1029,8 +1030,8 @@ JS;
|
|||||||
);
|
);
|
||||||
|
|
||||||
$form = new Form($this, "AddForm", $fields, $actions);
|
$form = new Form($this, "AddForm", $fields, $actions);
|
||||||
|
|
||||||
$form->addExtraClass('actionparams');
|
$form->addExtraClass('actionparams');
|
||||||
|
$form->addExtraClass('oneline');
|
||||||
|
|
||||||
return $form;
|
return $form;
|
||||||
}
|
}
|
||||||
|
@ -32,6 +32,12 @@
|
|||||||
color: #666;
|
color: #666;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
form.oneline fieldset {
|
||||||
|
width: 80%;
|
||||||
|
float: left;
|
||||||
|
margin-right: .5em;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Selection Groups
|
* Selection Groups
|
||||||
*/
|
*/
|
||||||
@ -423,7 +429,7 @@ ul.tree span.untranslated a:visited {
|
|||||||
|
|
||||||
.checkboxAboveTree {
|
.checkboxAboveTree {
|
||||||
border-top: 1px solid #cccccc;
|
border-top: 1px solid #cccccc;
|
||||||
padding: 5px 0 0 0;
|
padding: .5em;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
clear: left;
|
clear: left;
|
||||||
}
|
}
|
||||||
@ -475,12 +481,10 @@ ul.tree span.untranslated a:visited {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
form#SideReportForm label.left {
|
#Form_SideReportsForm select,
|
||||||
margin-left: 0em;
|
#Form_SideReportsForm .middlecolumn {
|
||||||
width: auto;
|
width: 80%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* i18n
|
* i18n
|
||||||
*/
|
*/
|
||||||
|
@ -196,6 +196,8 @@
|
|||||||
.right form .Actions {
|
.right form .Actions {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
padding: 0.5em;
|
padding: 0.5em;
|
||||||
|
background: white;
|
||||||
|
border-top: 1px solid #aaa;
|
||||||
}
|
}
|
||||||
|
|
||||||
.right form .Actions input {
|
.right form .Actions input {
|
||||||
|
@ -404,6 +404,11 @@ body.stillLoading select {
|
|||||||
_padding-top: 4px;
|
_padding-top: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#TreeTools .ui-tabs .ui-tabs-nav li a {
|
||||||
|
padding-left: .5em;
|
||||||
|
padding-right: .5em;
|
||||||
|
}
|
||||||
|
|
||||||
#TreeTools #batchactionsforms {
|
#TreeTools #batchactionsforms {
|
||||||
padding: 0 5px 7px 5px;
|
padding: 0 5px 7px 5px;
|
||||||
}
|
}
|
||||||
|
@ -67,13 +67,6 @@
|
|||||||
#treepanes .ui-widget input {
|
#treepanes .ui-widget input {
|
||||||
font-size: 1.1em;
|
font-size: 1.1em;
|
||||||
}
|
}
|
||||||
#treepanes select {
|
|
||||||
font-size: 1.1em;
|
|
||||||
}
|
|
||||||
#treepanes option {
|
|
||||||
padding: 3px;
|
|
||||||
font-size: 1.1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
#treepanes .ui-tabs-panel {
|
#treepanes .ui-tabs-panel {
|
||||||
padding: 0.5em;
|
padding: 0.5em;
|
||||||
@ -100,7 +93,6 @@
|
|||||||
|
|
||||||
#treepanes .ui-accordion-header a {
|
#treepanes .ui-accordion-header a {
|
||||||
font-size: 120%;
|
font-size: 120%;
|
||||||
padding: 0.5em 2.2em 0.5em 0.5em;
|
|
||||||
}
|
}
|
||||||
#treepanes.ui-accordion .ui-accordion-header .ui-icon {
|
#treepanes.ui-accordion .ui-accordion-header .ui-icon {
|
||||||
right: 0.5em !important;
|
right: 0.5em !important;
|
||||||
@ -140,8 +132,3 @@ p#WelcomeMessage {
|
|||||||
.ui-layout-resizer-dragging {
|
.ui-layout-resizer-dragging {
|
||||||
background: #ccdef3 none repeat scroll 0 0;
|
background: #ccdef3 none repeat scroll 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.CMSMain .ui-tabs .ui-tabs-nav li {
|
|
||||||
margin-right: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
@ -169,7 +169,7 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
// move submit button to the top
|
// move submit button to the top
|
||||||
this.find('#ReportClass').after(this.find('.Actions'));
|
//this.find('#ReportClass').after(this.find('.Actions'));
|
||||||
|
|
||||||
this._super();
|
this._super();
|
||||||
},
|
},
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="checkboxAboveTree">
|
<div class="checkboxAboveTree">
|
||||||
<img id="checkboxActionIndicator" src="cms/images/network-save.gif">
|
<img id="checkboxActionIndicator" src="cms/images/network-save.gif" />
|
||||||
<div>
|
<div>
|
||||||
<input type="checkbox" id="sortitems" />
|
<input type="checkbox" id="sortitems" />
|
||||||
<label for="sortitems"><% _t('ENABLEDRAGGING','Allow drag & drop reordering', PR_HIGH) %></label>
|
<label for="sortitems"><% _t('ENABLEDRAGGING','Allow drag & drop reordering', PR_HIGH) %></label>
|
||||||
|
Loading…
Reference in New Issue
Block a user