Changeset 9003
- Timestamp:
- 09/27/2008 12:02:32 PM (16 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/css/colors-classic.css
r8998 r9003 79 79 #post-body ul#category-tabs li.ui-tabs-selected, .button-secondary, 80 80 #quicktags, #login form .submit input, .search-box .button, 81 #ed_reply_toolbar {81 #ed_reply_toolbar, .favorite-action, #favorite-first { 82 82 background-color: #8ebddc !important; 83 } 84 85 #favorite-actions .favorite-action { 86 border-top-color: #8ebddc; 83 87 } 84 88 … … 210 214 } 211 215 212 .submit input, .button, .button-secondary, #login form .submit input, div.dashboard-widget-submit input, #edit-slug-buttons a.save { 216 .submit input, 217 .button, 218 .button-secondary, 219 #login form .submit input, 220 div.dashboard-widget-submit input, 221 #edit-slug-buttons a.save, 222 .favorite-action, 223 #favorite-first { 213 224 background-color: #e5e5e5; 214 225 color: #07273e; -
trunk/wp-admin/css/colors-fresh.css
r8998 r9003 79 79 #post-body ul#category-tabs li.ui-tabs-selected, .button-secondary, 80 80 #quicktags, #login form .submit input, .search-box .button, 81 #ed_reply_toolbar {81 #ed_reply_toolbar, .favorite-action, #favorite-first { 82 82 background-color: #cee1ef !important; 83 } 84 85 #favorite-actions .favorite-action { 86 border-top-color: #cee1ef; 83 87 } 84 88 … … 210 214 } 211 215 212 .submit input, .button, .button-secondary, #login form .submit input, div.dashboard-widget-submit input, #edit-slug-buttons a.save { 216 .submit input, 217 .button, 218 .button-secondary, 219 #login form .submit input, 220 div.dashboard-widget-submit input, 221 #edit-slug-buttons a.save, 222 .favorite-action, 223 #favorite-first { 213 224 background-color: #e5e5e5; 214 225 color: #246; -
trunk/wp-admin/includes/template.php
r8988 r9003 2480 2480 function favorite_actions() { 2481 2481 $actions = array( 2482 'post-new.php' => __('Add New Post'),2483 2482 'page-new.php' => __('Add New Page'), 2483 'edit-comments.php' => __('Manage Comments') 2484 2484 ); 2485 2485 2486 2486 $actions = apply_filters('favorite_actions', $actions); 2487 echo '< form class="favorites-form" action="" method="get">';2488 echo '< p id="favorite-actions" class="favorite-actions">';2489 echo '< select name="favorite-action">';2487 echo '<div id="favorite-actions">'; 2488 echo '<div id="favorite-first"><a href="post-new.php">' . __('Add New Post') . '</a></div>'; 2489 echo '<div id="favorite-action">'; 2490 2490 foreach ( $actions as $action => $label) { 2491 echo "< option value='$action'>";2491 echo "<div class='favorite-action'><a href='$action'>"; 2492 2492 echo $label; 2493 echo "</option>\n"; 2494 } 2495 echo '</select>'; 2496 echo '<input type="submit" value="' . __('Go') . '" name="doaction" id="doaction" class="button action" />'; 2497 echo '</p>'; 2498 echo '</form>'; 2493 echo "</a></div>\n"; 2494 } 2495 echo "</div></div>\n"; 2499 2496 } 2500 2497 -
trunk/wp-admin/js/common.js
r8953 r9003 77 77 78 78 $('#dashmenu li.wp-has-submenu').bind( 'mouseenter mouseleave', function() { return menuToggle( $(this).children('ul'), 'toggle' ); } ); 79 80 $('#favorite-actions').bind( 'mouseenter mouseleave', function(){$('#favorite-action').slideToggle('fast')} ); 79 81 80 82 } ); -
trunk/wp-admin/wp-admin.css
r8998 r9003 1580 1580 } 1581 1581 1582 p.favorite-actions {1583 position: absolute;1584 right: 15px;1585 top: 52px;1586 margin: 0;1587 }1588 1589 1582 #posts-filter fieldset { 1590 1583 float: left; … … 2498 2491 padding-right: 6px; 2499 2492 } 2493 2494 /* favorite-actions */ 2495 #favorite-actions { 2496 position: absolute; 2497 right: 15px; 2498 top: 55px; 2499 width: 130px; 2500 z-index: 10; 2501 } 2502 2503 #favorite-first { 2504 -moz-border-radius: 4px; 2505 -khtml-border-radius: 4px; 2506 -webkit-border-radius: 4px; 2507 border-radius: 4px; 2508 border-width: 1px; 2509 border-style: solid; 2510 padding: 4px 8px; 2511 } 2512 2513 .favorite-action { 2514 margin: -3px 0 0; 2515 padding: 4px 8px; 2516 border-width: 1px; 2517 border-top-width: 3px; 2518 border-style: solid; 2519 -moz-border-radius: 0 0 4px 4px; 2520 -webkit-border-bottom-right-radius: 4px; 2521 -webkit-border-bottom-left-radius: 4px; 2522 -khtml-border-bottom-right-radius: 4px; 2523 -khtml-border-bottom-left-radius: 4px; 2524 border-bottom-right-radius: 4px; 2525 border-bottom-left-radius: 4px; 2526 } 2527 2528 #favorite-action { 2529 padding: 0; 2530 margin: 0; 2531 display: none; 2532 } 2533 #favorite-actions a { 2534 padding: 4px 0; 2535 text-decoration: none; 2536 }
Note: See TracChangeset
for help on using the changeset viewer.