Changeset 7988
- Timestamp:
- 05/24/2008 05:03:51 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/css/colors-classic.css
r7974 r7988 205 205 } 206 206 207 .submit input:hover, .button:hover, .button-secondary:hover, #wphead #viewsite a:hover, #submenu a.current, #submenu a:hover, .submitbox #previewview a:hover, #the-comment-list .comment a:hover, #rightnow a:hover, a:hover, .subsubsub a:hover, .subsubsub a.current:hover, #login form .submit input:hover, div.dashboard-widget-submit input:hover, #edit-slug-buttons a.save:hover {207 .submit input:hover, .button:hover, .button-secondary:hover, #wphead #viewsite a:hover, #submenu a.current, #submenu a:hover, .submitbox #previewview a:hover, #the-comment-list .comment a:hover, #rightnow a:hover, a:hover, .subsubsub a:hover, .subsubsub a.current:hover, #login form .submit input:hover, div.dashboard-widget-submit input:hover, #edit-slug-buttons a.save:hover, #media-upload a.del-link:hover { 208 208 color: #d54e21; 209 209 } … … 240 240 } 241 241 242 .submitbox .submitdelete:hover { 242 .submitbox .submitdelete:hover, 243 #media-upload a.delete:hover { 243 244 color: #fff; 244 245 background-color: #f00; … … 292 293 } 293 294 294 #poststuff #edButtonPreview, #poststuff #edButtonHTML, #the-comment-list p.comment-author strong a, a {295 #poststuff #edButtonPreview, #poststuff #edButtonHTML, #the-comment-list p.comment-author strong a, #media-upload a.del-link, #media-upload a.delete, a { 295 296 color: #2e7ca0; 296 297 } … … 551 552 } 552 553 553 #media-upload a.delete {554 color: #888;555 }556 557 558 554 /* TinyMCE */ 559 555 .wp_themeSkin *, -
trunk/wp-admin/css/colors-fresh.css
r7974 r7988 197 197 } 198 198 199 .submit input:hover, .button:hover, .button-secondary:hover, #wphead #viewsite a:hover, #adminmenu a:hover, #sidemenu a:hover, #submenu a.current, #submenu a:hover, .submitbox #previewview a:hover, #the-comment-list .comment a:hover, #rightnow a:hover, a:hover, .subsubsub a:hover, .subsubsub a.current:hover, #login form .submit input:hover, div.dashboard-widget-submit input:hover, #edit-slug-buttons a.save:hover, #media-upload a.delete:hover {199 .submit input:hover, .button:hover, .button-secondary:hover, #wphead #viewsite a:hover, #adminmenu a:hover, #sidemenu a:hover, #submenu a.current, #submenu a:hover, .submitbox #previewview a:hover, #the-comment-list .comment a:hover, #rightnow a:hover, a:hover, .subsubsub a:hover, .subsubsub a.current:hover, #login form .submit input:hover, div.dashboard-widget-submit input:hover, #edit-slug-buttons a.save:hover, #media-upload a.delete:hover, #media-upload a.del-link:hover { 200 200 color: #d54e21; 201 201 } … … 227 227 } 228 228 229 .submitbox .submitdelete:hover { 229 .submitbox .submitdelete:hover, 230 #media-upload a.delete:hover { 230 231 color: #fff; 231 232 background-color: #f00; … … 279 280 } 280 281 281 #adminmenu a, #submenu a, #poststuff #edButtonPreview, #poststuff #edButtonHTML, #the-comment-list p.comment-author strong a, a {282 #adminmenu a, #submenu a, #poststuff #edButtonPreview, #poststuff #edButtonHTML, #the-comment-list p.comment-author strong a, #media-upload a.del-link, #media-upload a.delete, a { 282 283 color: #2583ad; 283 284 } -
trunk/wp-admin/css/media.css
r7974 r7988 217 217 218 218 #media-upload .media-item { 219 cursor:move;220 219 position: relative; 221 220 border-bottom-width: 1px; … … 224 223 width: 100%; 225 224 } 225 226 #media-upload .ui-sortable .media-item { 227 cursor: move; 228 } 229 226 230 .filename { 227 231 line-height: 36px; … … 235 239 width: 100%; 236 240 clear: both; 241 cursor: default; 237 242 } 238 243 #media-upload .describe th.label { … … 262 267 vertical-align:top; 263 268 } 269 270 #media-upload a.delete, 271 #media-upload a.del-link { 272 padding: 0 3px 1px; 273 } 274 275 #media-upload .del-attachment { 276 display: none; 277 margin: 5px 0; 278 } -
trunk/wp-admin/includes/media.php
r7979 r7988 127 127 <title><?php bloginfo('name') ?> › <?php _e('Uploads'); ?> — <?php _e('WordPress'); ?></title> 128 128 <?php 129 wp_ admin_css( 'global' );130 wp_ admin_css();131 wp_ admin_css( 'colors' );129 wp_enqueue_style( 'global' ); 130 wp_enqueue_style( 'wp-admin' ); 131 wp_enqueue_style( 'colors' ); 132 132 if ( 0 === strpos( $content_func, 'media' ) ) 133 wp_ admin_css( 'media' );133 wp_enqueue_style( 'media' ); 134 134 135 135 ?> … … 140 140 </script> 141 141 <?php 142 do_action('admin_print_styles'); 142 143 do_action('admin_print_scripts'); 143 do_action('admin_print_styles');144 144 do_action('admin_head'); 145 145 if ( is_string($content_func) ) … … 673 673 $send = "<input type='submit' class='button' name='send[$attachment_id]' value='" . attribute_escape( __( 'Insert into Post' ) ) . "' />"; 674 674 if ( $delete ) 675 $delete = "<a href= '$delete_href' id='del[$attachment_id]' disabled='disabled' class='delete'>" . __('Delete') . "</button>";675 $delete = "<a href=\"#\" class=\"del-link\" onclick=\"document.getElementById('del_attachment_$attachment_id').style.display='block';return false;\">" . __('Delete') . "</a>"; 676 676 if ( ( $send || $delete ) && !isset($form_fields['buttons']) ) 677 $form_fields['buttons'] = array('tr' => "\t\t<tr class='submit'><td></td><td class='savesend'>$send $delete</td></tr>\n"); 677 $form_fields['buttons'] = array('tr' => "\t\t<tr class='submit'><td></td><td class='savesend'>$send $delete 678 <div id=\"del_attachment_$attachment_id\" class=\"del-attachment\" style=\"display:none;\">" . sprintf(__("You are about to delete <strong>%s</strong>."), $filename) . " <a href=\"$delete_href\" id=\"del[$attachment_id]\" class=\"delete\">" . __('Continue') . "</a> 679 <a href=\"#\" class=\"del-link\" onclick=\"this.parentNode.style.display='none';return false;\">" . __('Cancel') . "</a></div></td></tr>\n"); 678 680 679 681 $hidden_fields = array(); -
trunk/wp-includes/script-loader.php
r7981 r7988 222 222 223 223 $styles->add( 'global', '/wp-admin/css/global.css' ); 224 $styles->add( 'media', '/wp-admin/css/media.css' );224 $styles->add( 'media', '/wp-admin/css/media.css', array(), '20080523' ); 225 225 $styles->add( 'widgets', '/wp-admin/css/widgets.css' ); 226 226 $styles->add( 'dashboard', '/wp-admin/css/dashboard.css' );
Note: See TracChangeset
for help on using the changeset viewer.