1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-19 15:01:14 +00:00

Use regular icon-* class.

git-svn-id: http://svn.redmine.org/redmine/trunk@15928 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2016-10-29 08:22:37 +00:00
parent f9eaeaf451
commit 604ce984eb
2 changed files with 4 additions and 15 deletions

View File

@ -27,7 +27,7 @@ module MyHelper
content = render_block_content(block, user)
if content.present?
if options[:edit]
close = link_to("", {:action => "remove_block", :block => block}, :method => 'post', :class => "close-icon")
close = link_to(l(:button_delete), {:action => "remove_block", :block => block}, :method => 'post', :class => "icon-only icon-close")
content = close + content_tag('div', content, :class => 'handle')
end

View File

@ -1077,25 +1077,12 @@ div.wiki img {vertical-align:middle; max-width:100%;}
color:#505050;
line-height:1.5em;
}
.mypage-box .close-icon {
.mypage-box .icon-close {
float:right;
z-index:500;
}
.handle {cursor: move;}
a.close-icon {
display:block;
margin-top:3px;
overflow:hidden;
width:12px;
height:12px;
background-repeat: no-repeat;
cursor:pointer;
background-image:url('../images/close.png');
}
a.close-icon:hover {background-image:url('../images/close_hl.png');}
/***** Gantt chart *****/
.gantt_hdr {
position:absolute;
@ -1224,6 +1211,8 @@ a.close-icon:hover {background-image:url('../images/close_hl.png');}
.icon-not-ok { background-image: url(../images/false.png); }
.icon-link-break { background-image: url(../images/link_break.png); }
.icon-list { background-image: url(../images/text_list_bullets.png); }
.icon-close { background-image: url(../images/close.png); }
.icon-close:hover { background-image: url(../images/close_hl.png); }
.icon-file { background-image: url(../images/files/default.png); }
.icon-file.text-plain { background-image: url(../images/files/text.png); }