Skip to content

Commit

Permalink
Styling Entry/Page Assets widget. bugid:106022
Browse files Browse the repository at this point in the history
  • Loading branch information
kaminogoya committed Apr 12, 2011
1 parent fa91d09 commit 378b196
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 15 deletions.
17 changes: 5 additions & 12 deletions mt-static/css/structure.css
Expand Up @@ -1854,8 +1854,8 @@ ul.tabs li a {
}
ul#asset-list li {
position: relative;
line-height: 1.2;
padding: 5px 0 0 18px;
line-height: 1.2;
background-repeat: no-repeat;
background-position: left center;
}
Expand All @@ -1870,22 +1870,15 @@ ul#asset-list li a.asset-title {
}
ul#asset-list li a.remove-asset {
position: absolute;
background: transparent url(../images/status_icons/close.gif) center no-repeat;
top: 50%;
right: 0;
width: 10px;
height: 10px;
margin-top: -5px;
}
ul#asset-list li a.remove-asset span {
display: none;
}
ul#asset-list li img.list-image {
position: absolute;
left: -120px;
z-index: 100;
left: -115px;
top: -5px;
padding: 8px;
background-color: #dcdddd;
padding: 5px;
background-color: #7b7c7d;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
Expand Down
4 changes: 1 addition & 3 deletions tmpl/cms/edit_entry.tmpl
Expand Up @@ -645,9 +645,7 @@
<a href="<mt:CGIPath><mt:AdminScript>?__mode=view&_type=asset&blog_id=<mt:var name="blog_id">&id=<mt:var name="asset_id">" class="asset-title">
<mt:var name="asset_name">
</a>
<a href="javascript:removeAssetFromList(<mt:var name="asset_id">)" title="<__trans phrase="Remove this asset.">" class="remove-asset">
<span><__trans phrase="Remove"></span>
</a>
<a href="javascript:removeAssetFromList(<mt:var name="asset_id">)" title="<__trans phrase="Remove this asset.">" class="remove-asset icon-remove icon16 action-icon"><__trans phrase="Remove"></a>
<mt:if name="asset_thumb">
<img id="list-image-<mt:var name="asset_id">" class="list-image" src="<mt:var name="asset_thumb">" style="display:none" />
</mt:if>
Expand Down

0 comments on commit 378b196

Please sign in to comment.