make Asset Helpers panel pretty

This commit is contained in:
Doug Bell 2010-07-15 17:32:22 -05:00
parent 2e1589121a
commit adfa7be45a
3 changed files with 19 additions and 3 deletions

View file

@ -104,3 +104,19 @@ img.icon {
a:link {
text-decoration: none;
}
#helper_asset_name {
font-size: 14pt;
margin-left: 5px;
padding-left: 20px;
background-repeat: no-repeat;
background-position: 0 50%;
}
#assetHelpers_pane h2 {
font-size: 14pt;
margin-left: 5px;
padding-left: 20px;
background-repeat: no-repeat;
background-position: 0 50%;
}

View file

@ -300,7 +300,7 @@ WebGUI.Admin.prototype.pasteAsset
WebGUI.Admin.prototype.updateAssetHelpers
= function ( assetDef ) {
var typeEl = document.getElementById( 'helper_asset_name' );
typeEl.style.backgroundImage = assetDef.icon;
typeEl.style.backgroundImage = 'url(' + assetDef.icon + ')';
typeEl.innerHTML = assetDef.type;
// Clear old helpers