Ticket #1498 - fixed styling of input for unused thumbnails in files and images, styled submit inputs in batch actions

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44288 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2007-11-05 22:08:12 +00:00
parent 3913c747cd
commit 19919ce881
4 changed files with 14 additions and 16 deletions

View File

@ -272,14 +272,14 @@ HTML;
),
new Tab(_t('AssetAdmin.UNUSEDFILESTAB', "Unused files"),
new LiteralField("UnusedAssets",
"<div id=\"UnusedAssets\"><p>"._t('AssetAdmin.UNUSEDFILESTITLE', 'Unused files')."</p>"
"<div id=\"UnusedAssets\"><h2>"._t('AssetAdmin.UNUSEDFILESTITLE', 'Unused files')."</h2>"
),
$this->getAssetList(),
new LiteralField("UnusedThumbnails",
"</div>
<div id=\"UnusedThumbnails\">
<p>"._t('AssetAdmin.UNUSEDTHUMBNAILSTITLE', 'Unused thumbnails')."</p>
<a href=\"#\">"._t('AssetAdmin.DELETEUNUSEDTHUMBNAILS', 'Delete unused thumbnails')."</a>
<h2>"._t('AssetAdmin.UNUSEDTHUMBNAILSTITLE', 'Unused thumbnails')."</h2>
<button>"._t('AssetAdmin.DELETEUNUSEDTHUMBNAILS', 'Delete unused thumbnails')."</button>
</div>"
)
)

View File

@ -343,7 +343,7 @@ ul#sitetree.tree ul ul {
ul.tree li.untranslated a:link,
ul.tree li.untranslated a:hover,
ul.tree li.untranslated a:visited {
color: #CCCCCC
color: #ccc
}
#left form.actionparams .SearchCriteria {
@ -358,10 +358,6 @@ ul.tree li.untranslated a:visited {
width: 70%;
}
#left #batchactionsforms label {
padding-bottom: 2px;
}
#right ins * {
background-color: green;
}

View File

@ -144,8 +144,9 @@
#CommentFilterButton,
.actions input,
#deletemarked input.action,
#UnusedThumbnails a,
div.Actions input {
#UnusedThumbnails button,
div.Actions input,
.actionparams input[type="submit"] {
cursor: pointer;
float: left;
height: 25px;
@ -164,12 +165,11 @@ div.Actions input {
#MemberFilterButton,
#CommentFilterButton,
#deletemarked input.action,
.actions input {
.actions input,
.actionparams input[type="submit"] {
float: none;
}
#UnusedThumbnails {
display: block;
}
#deletemarked {
text-align: right;
}
@ -188,7 +188,9 @@ div.Actions input:hover {
}
input.delete:hover,
#deletemarked input.delete:hover {
#deletemarked input.delete:hover,
#UnusedThumbnails button:hover,
.actionparams input:hover {
background: #ce0000;
color: #fff;
}

View File

@ -473,7 +473,7 @@ appendLoader(function () {
});
Behaviour.register({
'#UnusedThumbnails': {
'#UnusedThumbnails button': {
onclick : function(event) {
Event.stop(event);
var options = {