Ticket #4529: 4529-colors.diff
| File 4529-colors.diff, 4.5 KB (added by caesarsgrunt, 3 years ago) |
|---|
-
wp-includes/js/swfupload/handlers.dev.js
112 112 jQuery('#attachments-count').text(jQuery('#attachments-count').text()-0+1); 113 113 114 114 jQuery('.filename .trashnotice', item).remove(); 115 jQuery('.filename .title', item).css('font-weight','normal'); 115 116 jQuery('a.undo', item).addClass('hidden'); 116 117 jQuery('a.describe-toggle-on, .menu_order_input', item).show(); 117 item. animate( {backgroundColor: '#fff'}, { queue: false, duration: 300, complete: function(){ jQuery(this).css({backgroundColor:''}); } }).removeClass('trash-undo');118 item.css( {backgroundColor:'#3c3'} ).animate( {backgroundColor: '#fff'}, { queue: false, duration: 300, complete: function(){ jQuery(this).css({backgroundColor:''}); } }).removeClass('trash-undo'); 118 119 } 119 120 }); 120 121 return false; … … 153 154 // Vanish it. 154 155 jQuery('.toggle', item).toggle(); 155 156 jQuery('.slidetoggle', item).slideUp(200).siblings().removeClass('hidden'); 156 item.css( {backgroundColor:'#f ff'} ).animate( {backgroundColor:'#ffffe0'}, {queue:false, duration:500} ).addClass('trash-undo');157 item.css( {backgroundColor:'#f33'} ).animate( {backgroundColor:'#fff'}, {queue:false, duration:500} ).addClass('trash-undo'); 157 158 158 159 jQuery('.filename:empty', item).remove(); 160 jQuery('.filename .title', item).css('font-weight','bold'); 159 161 jQuery('.filename', item).append('<span class="trashnotice"> ' + swfuploadL10n.deleted + ' </span>').siblings('a.toggle').hide(); 160 162 jQuery('.filename', item).append( jQuery('a.undo', item).removeClass('hidden') ); 161 163 jQuery('.menu_order_input', item).hide(); -
wp-admin/includes/template.php
2174 2174 if ( 'spam' != $the_comment_status && 'trash' != $the_comment_status ) { 2175 2175 $actions['spam'] = "<a href='$spam_url' class='delete:the-comment-list:comment-$comment->comment_ID::spam=1 vim-s vim-destructive' title='" . __( 'Mark this comment as spam' ) . "'>" . /* translators: mark as spam link */ _x( 'Spam', 'verb' ) . '</a>'; 2176 2176 } elseif ( 'spam' == $the_comment_status ) { 2177 $actions['unspam'] = "<a href='$untrash_url' class='delete:the-comment-list:comment-$comment->comment_ID: ABF888:unspam=1 vim-z vim-destructive'>" . __( 'Not Spam' ) . '</a>';2177 $actions['unspam'] = "<a href='$untrash_url' class='delete:the-comment-list:comment-$comment->comment_ID:66cc66:unspam=1 vim-z vim-destructive'>" . __( 'Not Spam' ) . '</a>'; 2178 2178 } elseif ( 'trash' == $the_comment_status ) { 2179 $actions['untrash'] = "<a href='$untrash_url' class='delete:the-comment-list:comment-$comment->comment_ID: ABF888:untrash=1 vim-z vim-destructive'>" . __( 'Restore' ) . '</a>';2179 $actions['untrash'] = "<a href='$untrash_url' class='delete:the-comment-list:comment-$comment->comment_ID:66cc66:untrash=1 vim-z vim-destructive'>" . __( 'Restore' ) . '</a>'; 2180 2180 } 2181 2181 2182 2182 if ( 'spam' == $the_comment_status || 'trash' == $the_comment_status || !EMPTY_TRASH_DAYS ) { -
wp-admin/includes/media.php
1164 1164 } 1165 1165 1166 1166 $display_title = ( !empty( $title ) ) ? $title : $filename; // $title shouldn't ever be empty, but just in case 1167 $display_title = $show_title ? "<div class='filename new'> " . wp_html_excerpt($display_title, 60) . "</div>" : '';1167 $display_title = $show_title ? "<div class='filename new'><span class='title'>" . wp_html_excerpt($display_title, 60) . "</span></div>" : ''; 1168 1168 1169 1169 $gallery = ( (isset($_REQUEST['tab']) && 'gallery' == $_REQUEST['tab']) || (isset($redir_tab) && 'gallery' == $redir_tab) ) ? true : false; 1170 1170 $order = ''; -
wp-admin/js/edit-comments.dev.js
71 71 72 72 a.click(function(){ 73 73 list.wpList.del(this); 74 $('#undo-' + id). fadeOut(300, function(){74 $('#undo-' + id).css( {backgroundColor:'#6c6'} ).fadeOut(300, function(){ 75 75 $(this).remove(); 76 76 $('#comment-' + id).css('backgroundColor', '').fadeIn(300, function(){ $(this).show() }); 77 77 });
