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 Tab(_t('AssetAdmin.UNUSEDFILESTAB', "Unused files"),
new LiteralField("UnusedAssets", 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(), $this->getAssetList(),
new LiteralField("UnusedThumbnails", new LiteralField("UnusedThumbnails",
"</div> "</div>
<div id=\"UnusedThumbnails\"> <div id=\"UnusedThumbnails\">
<p>"._t('AssetAdmin.UNUSEDTHUMBNAILSTITLE', 'Unused thumbnails')."</p> <h2>"._t('AssetAdmin.UNUSEDTHUMBNAILSTITLE', 'Unused thumbnails')."</h2>
<a href=\"#\">"._t('AssetAdmin.DELETEUNUSEDTHUMBNAILS', 'Delete unused thumbnails')."</a> <button>"._t('AssetAdmin.DELETEUNUSEDTHUMBNAILS', 'Delete unused thumbnails')."</button>
</div>" </div>"
) )
) )

View File

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

View File

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

View File

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