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:
parent
f9eaeaf451
commit
604ce984eb
@ -27,7 +27,7 @@ module MyHelper
|
|||||||
content = render_block_content(block, user)
|
content = render_block_content(block, user)
|
||||||
if content.present?
|
if content.present?
|
||||||
if options[:edit]
|
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')
|
content = close + content_tag('div', content, :class => 'handle')
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@ -1077,25 +1077,12 @@ div.wiki img {vertical-align:middle; max-width:100%;}
|
|||||||
color:#505050;
|
color:#505050;
|
||||||
line-height:1.5em;
|
line-height:1.5em;
|
||||||
}
|
}
|
||||||
.mypage-box .close-icon {
|
.mypage-box .icon-close {
|
||||||
float:right;
|
float:right;
|
||||||
z-index:500;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.handle {cursor: move;}
|
.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 chart *****/
|
||||||
.gantt_hdr {
|
.gantt_hdr {
|
||||||
position:absolute;
|
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-not-ok { background-image: url(../images/false.png); }
|
||||||
.icon-link-break { background-image: url(../images/link_break.png); }
|
.icon-link-break { background-image: url(../images/link_break.png); }
|
||||||
.icon-list { background-image: url(../images/text_list_bullets.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 { background-image: url(../images/files/default.png); }
|
||||||
.icon-file.text-plain { background-image: url(../images/files/text.png); }
|
.icon-file.text-plain { background-image: url(../images/files/text.png); }
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user