##// END OF EJS Templates
Use regular icon-* class....
Jean-Philippe Lang -
r15546:604ce984ebd2
parent child
Show More
@@ -27,7 +27,7 module MyHelper
27 content = render_block_content(block, user)
27 content = render_block_content(block, user)
28 if content.present?
28 if content.present?
29 if options[:edit]
29 if options[:edit]
30 close = link_to("", {:action => "remove_block", :block => block}, :method => 'post', :class => "close-icon")
30 close = link_to(l(:button_delete), {:action => "remove_block", :block => block}, :method => 'post', :class => "icon-only icon-close")
31 content = close + content_tag('div', content, :class => 'handle')
31 content = close + content_tag('div', content, :class => 'handle')
32 end
32 end
33
33
@@ -1077,25 +1077,12 div.wiki img {vertical-align:middle; max-width:100%;}
1077 color:#505050;
1077 color:#505050;
1078 line-height:1.5em;
1078 line-height:1.5em;
1079 }
1079 }
1080 .mypage-box .close-icon {
1080 .mypage-box .icon-close {
1081 float:right;
1081 float:right;
1082 z-index:500;
1083 }
1082 }
1084
1083
1085 .handle {cursor: move;}
1084 .handle {cursor: move;}
1086
1085
1087 a.close-icon {
1088 display:block;
1089 margin-top:3px;
1090 overflow:hidden;
1091 width:12px;
1092 height:12px;
1093 background-repeat: no-repeat;
1094 cursor:pointer;
1095 background-image:url('../images/close.png');
1096 }
1097 a.close-icon:hover {background-image:url('../images/close_hl.png');}
1098
1099 /***** Gantt chart *****/
1086 /***** Gantt chart *****/
1100 .gantt_hdr {
1087 .gantt_hdr {
1101 position:absolute;
1088 position:absolute;
@@ -1224,6 +1211,8 a.close-icon:hover {background-image:url('../images/close_hl.png');}
1224 .icon-not-ok { background-image: url(../images/false.png); }
1211 .icon-not-ok { background-image: url(../images/false.png); }
1225 .icon-link-break { background-image: url(../images/link_break.png); }
1212 .icon-link-break { background-image: url(../images/link_break.png); }
1226 .icon-list { background-image: url(../images/text_list_bullets.png); }
1213 .icon-list { background-image: url(../images/text_list_bullets.png); }
1214 .icon-close { background-image: url(../images/close.png); }
1215 .icon-close:hover { background-image: url(../images/close_hl.png); }
1227
1216
1228 .icon-file { background-image: url(../images/files/default.png); }
1217 .icon-file { background-image: url(../images/files/default.png); }
1229 .icon-file.text-plain { background-image: url(../images/files/text.png); }
1218 .icon-file.text-plain { background-image: url(../images/files/text.png); }
General Comments 0
You need to be logged in to leave comments. Login now