make Asset Helpers panel pretty
This commit is contained in:
parent
2e1589121a
commit
adfa7be45a
3 changed files with 19 additions and 3 deletions
|
|
@ -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%;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue