Make WordPress Core

Changeset 9912


Ignore:
Timestamp:
11/26/2008 11:35:23 PM (16 years ago)
Author:
azaozz
Message:

More screen icons and fixes, includes patch by johnconners, fixes #8380

Location:
trunk/wp-admin
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/css/colors-classic.css

    r9853 r9912  
    103103
    104104li.widget-list-control-item h4.widget-title a:hover,
    105 #footer a,
    106105#upload-menu li a.upload-tab-link,
    107106li.widget-list-control-item h4.widget-title a,
     
    208207}
    209208
     209#media-upload {
     210    background: #fff;
     211}
    210212#media-upload .slidetoggle {
    211213    border-top-color: #dfdfdf;
     
    251253}
    252254
    253 .howto, .nonessential, #edit-slug-box, .form-input-tip, .rss-widget span.rss-date, .subsubsub {
     255.howto,
     256.nonessential,
     257#edit-slug-box,
     258.form-input-tip,
     259.rss-widget span.rss-date,
     260.subsubsub {
    254261    color: #999;
    255262}
     
    298305.button,
    299306.submit input {
    300     border-color: #DCDCDC;
     307    border-color: #bbb;
    301308    color: #464646;
     309}
     310
     311.button:hover,
     312.submit input:hover {
     313    color: #000;
     314    border-color: #666;
    302315}
    303316
     
    308321}
    309322
    310 .button-secondary,
    311 .submit .button-secondary {
    312     border-color: #CFE1EF;
    313     color: #464646;
     323.button:active,
     324.submit input:active,
     325.button-secondary:active {
     326    background: #eee url(../images/white-grad-active.png) repeat-x scroll left top;
    314327}
    315328
     
    317330.submit .button-primary,
    318331#login form .submit input {
    319     border-color: #21759B;
     332    border-color: #298cba;
    320333    font-weight: bold;
    321334    color: #FFF;
    322335    background: #21759B url(../images/button-grad.png) repeat-x scroll left top;
     336}
     337
     338.button-primary:active,
     339#login form .submit input:active {
     340    background: #21759b url(../images/button-grad-active.png) repeat-x scroll left top !important;
    323341}
    324342
     
    332350    background: #ddd;
    333351    color: #888;
    334 }
    335 
    336 .button:hover,
    337 .submit input:hover,
    338 #postcustomstuff .submit input:hover {
    339     border-color: #535353;
     352    text-shadow: rgba(255,255,255,0.6) 0 1px 0;
     353    border-color: #ccc;
    340354}
    341355
    342356a:active,
    343357a:focus {
    344     color: #d54e21 !important;
     358    color: #d54e21;
    345359}
    346360
    347361a:hover,
    348 .button:hover,
    349362#wphead #viewsite a:hover,
    350363#adminmenu a:hover,
     
    366379}
    367380
    368 .button-secondary:hover,
     381.button-primary:hover,
    369382#login form .submit input:hover {
    370     border-color: #328ab2;
    371 }
    372 
    373 .button-primary:hover, #login form .submit input:hover {
    374     color: #EAF2FA;
     383    border-color: #13455b !important;
     384    color: #EAF2FA !important;
    375385}
    376386
     
    389399}
    390400
    391 .submitbox .submitdelete {
     401.submitbox .submitdelete, a.delete {
    392402    color: #f00;
    393403    border-bottom-color: #f00;
     
    490500}
    491501
    492 #adminmenu li a #awaiting-mod, #adminmenu li a span.update-plugins {
     502#adminmenu li a #awaiting-mod,
     503#adminmenu li a span.update-plugins {
    493504    background-image: url(../images/comment-stalk-fresh.gif);
    494505}
     
    510521
    511522div#media-upload-header {
    512     background-color: #f1f1f1;
     523    background-color: #f9f9f9;
    513524    border-bottom-color: #dfdfdf;
    514525}
     
    551562}
    552563
    553 #edit-slug-box strong, .tablenav .displaying-num {
     564#edit-slug-box strong,
     565.tablenav .displaying-num,
     566#submitted-on {
    554567    color: #777;
    555568}
     
    739752}
    740753
    741 #user_info a:hover {
     754#user_info a:link, #user_info a:visited, #footer a:link, #footer a:visited {
     755    color: #ccc;
     756    text-decoration: none;
     757}
     758
     759#user_info a:hover, #footer a:hover {
    742760    color: #fff;
    743761    text-decoration: underline !important;
    744762}
    745763
    746 #user_info a:active {
     764#user_info a:active, #footer a:active {
    747765    color: #ccc !important;
    748766}
    749 
    750 #user_info a, #user_info a:visited {
    751     color: #ccc;
    752     text-decoration: none;
    753 }
    754 
    755767
    756768div#media-upload-error,
     
    812824
    813825/* Containers */
    814 .wp_themeSkin table, #wp_editbtns {
    815     /*
    816     background: #cee1ef;
    817     */
    818 }
    819 
    820826.wp_themeSkin iframe {
    821827    background: #fff;
     
    962968}
    963969
    964 .wp-admin .clearlooks2 .mceFocus .mceTop .mceCenter {
    965     background: #444444;
    966     border-bottom: 1px solid #999;
    967     border-top: 1px solid #999;
    968 }
    969 
    970970.wp-admin .clearlooks2 .mceFocus .mceTop .mceRight {
    971971    background: #444444;
     
    10111011
    10121012.wp-admin .clearlooks2 .mceFocus .mceTop span {
    1013     color: #fff;
     1013    color: #e5e5e5;
    10141014}
    10151015/* end TinyMCE */
     
    10831083}
    10841084
    1085 #adminmenu li.wp-has-current-submenu .wp-submenu, #adminmenu li.wp-has-current-submenu ul li a {
     1085#adminmenu li.wp-has-current-submenu .wp-submenu,
     1086#adminmenu li.wp-has-current-submenu ul li a {
    10861087    border-color: #aaa !important;
    10871088}
     
    11331134/* menu icons */
    11341135#adminmenu #menu-dashboard div.wp-menu-image {
    1135     background: transparent url("../images/menu.png") no-repeat scroll -61px -34px;
     1136    background: transparent url("../images/menu.png") no-repeat scroll -61px -33px;
    11361137}
    11371138
    11381139#adminmenu #menu-dashboard:hover div.wp-menu-image {
    1139     background: transparent url("../images/menu.png") no-repeat scroll -61px -2px;
     1140    background: transparent url("../images/menu.png") no-repeat scroll -61px -1px;
    11401141}
    11411142
     
    11811182
    11821183#adminmenu #menu-appearance div.wp-menu-image {
    1183     background: transparent url("../images/menu.png") no-repeat scroll -1px -32px;
     1184    background: transparent url("../images/menu.png") no-repeat scroll -1px -33px;
    11841185}
    11851186
    11861187#adminmenu #menu-appearance:hover div.wp-menu-image {
    1187     background: transparent url("../images/menu.png") no-repeat scroll -1px 0;
     1188    background: transparent url("../images/menu.png") no-repeat scroll -1px -1px;
    11881189}
    11891190
     
    12421243/* edit image */
    12431244#sidemenu a {
    1244     background-color: #f1f1f1;
    1245     border-color: #f1f1f1;
     1245    background-color: #f9f9f9;
     1246    border-color: #f9f9f9;
    12461247    border-bottom-color: #dfdfdf;
    12471248}
     
    12891290
    12901291/* Install Plugins */
    1291 .star-average, .star.star-rating {
     1292.star-average,
     1293.star.star-rating {
    12921294    background-color: #fc0;
    12931295}
     
    13051307}
    13061308
    1307 #plugin-information pre, #plugin-information code {
     1309#plugin-information pre,
     1310#plugin-information code {
    13081311    background-color: #ededff;
    13091312}
     
    14061409    border-color: red;
    14071410    color: red;
     1411    text-shadow: none;
    14081412}
    14091413
     
    14821486
    14831487#favorite-actions a {
    1484     color: #eee;
     1488    color: #ddd;
    14851489    text-shadow: rgba(0,0,0,0.2) 0 -1px 0;
    14861490}
    14871491
     1492#favorite-actions a:hover {
     1493    color: #fff;
     1494}
     1495
    14881496#favorite-inside a:hover {
    1489     color: #fff;
    14901497    text-decoration: underline;
    14911498}
     
    15211528    text-shadow: rgba(255,255,255,0.7) 0 1px 0;
    15221529}
     1530
     1531#icon-edit,
     1532#icon-post {
     1533    background: transparent url(../images/icons32.png) no-repeat -552px -5px;
     1534}
     1535
     1536#icon-index {
     1537    background: transparent url(../images/icons32.png) no-repeat -137px -5px;
     1538}
     1539
     1540#icon-upload {
     1541    background: transparent url(../images/icons32.png) no-repeat -251px -5px;
     1542}
     1543
     1544#icon-link-manager,
     1545#icon-link,
     1546#icon-link-category {
     1547    background: transparent url(../images/icons32.png) no-repeat -190px -5px;
     1548}
     1549
     1550#icon-edit-pages,
     1551#icon-page {
     1552    background: transparent url(../images/icons32.png) no-repeat -312px -5px;
     1553}
     1554
     1555#icon-edit-comments {
     1556    background: transparent url(../images/icons32.png) no-repeat -72px -5px;
     1557}
     1558
     1559#icon-themes {
     1560    background: transparent url(../images/icons32.png) no-repeat -11px -5px;
     1561}
     1562
     1563#icon-plugins {
     1564    background: transparent url(../images/icons32.png) no-repeat -370px -5px;
     1565}
     1566
     1567#icon-users,
     1568#icon-user-edit {
     1569    background: transparent url(../images/icons32.png) no-repeat -600px -5px;
     1570}
     1571
     1572#icon-import,
     1573#icon-admin {
     1574    background: transparent url(../images/icons32.png) no-repeat -432px -5px;
     1575}
     1576
     1577#icon-options-general {
     1578    background: transparent url(../images/icons32.png) no-repeat -492px -5px;
     1579}
  • trunk/wp-admin/css/colors-fresh.css

    r9907 r9912  
    253253}
    254254
    255 .howto, .nonessential, #edit-slug-box, .form-input-tip, .rss-widget span.rss-date, .subsubsub {
     255.howto,
     256.nonessential,
     257#edit-slug-box,
     258.form-input-tip,
     259.rss-widget span.rss-date,
     260.subsubsub {
    256261    color: #999;
    257262}
     
    331336}
    332337
    333 .button-primary:active, #login form .submit input:active {
     338.button-primary:active,
     339#login form .submit input:active {
    334340    background: #21759b url(../images/button-grad-active.png) repeat-x scroll left top !important;
    335341}
     
    373379}
    374380
    375 .button-primary:hover, #login form .submit input:hover {
     381.button-primary:hover,
     382#login form .submit input:hover {
    376383    border-color: #13455b !important;
    377384    color: #EAF2FA !important;
     
    493500}
    494501
    495 #adminmenu li a #awaiting-mod, #adminmenu li a span.update-plugins {
     502#adminmenu li a #awaiting-mod,
     503#adminmenu li a span.update-plugins {
    496504    background-image: url(../images/comment-stalk-fresh.gif);
    497505}
     
    554562}
    555563
    556 #edit-slug-box strong, .tablenav .displaying-num, #submitted-on {
     564#edit-slug-box strong,
     565.tablenav .displaying-num,
     566#submitted-on {
    557567    color: #777;
    558568}
     
    814824
    815825/* Containers */
    816 .wp_themeSkin table, #wp_editbtns {
    817     /*
    818     background: #cee1ef;
    819     */
    820 }
    821 
    822826.wp_themeSkin iframe {
    823827    background: #fff;
     
    10791083}
    10801084
    1081 #adminmenu li.wp-has-current-submenu .wp-submenu, #adminmenu li.wp-has-current-submenu ul li a {
     1085#adminmenu li.wp-has-current-submenu .wp-submenu,
     1086#adminmenu li.wp-has-current-submenu ul li a {
    10821087    border-color: #aaa !important;
    10831088}
     
    12851290
    12861291/* Install Plugins */
    1287 .star-average, .star.star-rating {
     1292.star-average,
     1293.star.star-rating {
    12881294    background-color: #fc0;
    12891295}
     
    13011307}
    13021308
    1303 #plugin-information pre, #plugin-information code {
     1309#plugin-information pre,
     1310#plugin-information code {
    13041311    background-color: #ededff;
    13051312}
     
    15361543
    15371544#icon-link-manager,
    1538 #icon-link {
     1545#icon-link,
     1546#icon-link-category {
    15391547    background: transparent url(../images/icons32.png) no-repeat -190px -5px;
    15401548}
     
    15571565}
    15581566
    1559 #icon-users
     1567#icon-users,
    15601568#icon-user-edit {
    15611569    background: transparent url(../images/icons32.png) no-repeat -600px -5px;
  • trunk/wp-admin/edit-category-form.php

    r9538 r9912  
    4040
    4141<div class="wrap">
     42<?php screen_icon(); ?>
    4243<h2><?php _e('Edit Category'); ?></h2>
    4344<div id="ajax-response"></div>
  • trunk/wp-admin/edit-form-comment.php

    r9835 r9912  
    1919<?php wp_nonce_field('update-comment_' . $comment->comment_ID) ?>
    2020<div class="wrap">
     21<?php screen_icon(); ?>
    2122<h2><?php _e('Edit Comment'); ?></h2>
    2223
  • trunk/wp-admin/edit-link-category-form.php

    r9739 r9912  
    1717     * @var string
    1818     */
    19     $heading = '<h2>' . __('Edit Category') . '</h2>';
     19    $heading = '<h2>' . __('Edit Link Category') . '</h2>';
    2020    $submit_text = __('Edit Category');
    2121    $form = '<form name="editcat" id="editcat" method="post" action="link-category.php" class="validate">';
     
    2424    do_action('edit_link_category_form_pre', $category);
    2525} else {
    26     $heading = '<h2>' . __('Add Category') . '</h2>';
     26    $heading = '<h2>' . __('Add Link Category') . '</h2>';
    2727    $submit_text = __('Add Category');
    2828    $form = '<form name="addcat" id="addcat" class="add:the-list: validate" method="post" action="link-category.php">';
     
    5454
    5555<div class="wrap">
     56<?php screen_icon(); ?>
    5657<?php echo $heading ?>
    5758<div id="ajax-response"></div>
  • trunk/wp-admin/edit-tag-form.php

    r9339 r9912  
    1616
    1717<div class="wrap">
     18<?php screen_icon(); ?>
    1819<h2><?php _e('Edit Tag'); ?></h2>
    1920<div id="ajax-response"></div>
  • trunk/wp-admin/includes/file.php

    r9716 r9912  
    704704<form action="<?php echo $form_post ?>" method="post">
    705705<div class="wrap">
     706<?php screen_icon(); ?>
    706707<h2><?php _e('Connection Information') ?></h2>
    707708<p><?php _e('To perform the requested action, connection information is required.') ?></p>
  • trunk/wp-admin/includes/plugin-install.php

    r9860 r9912  
    548548
    549549    echo '<div class="wrap">';
     550    screen_icon();
    550551    echo '<h2>', sprintf( __('Installing Plugin from file: %s'), basename($filename) ), '</h2>';
    551552
     
    584585
    585586    echo '<div class="wrap">';
     587    screen_icon();
    586588    echo '<h2>', sprintf( __('Installing Plugin: %s'), $api->name . ' ' . $api->version ), '</h2>';
    587589
  • trunk/wp-admin/includes/template.php

    r9903 r9912  
    33283328}
    33293329
    3330 function screen_icon() {
     3330function screen_icon($name = '') {
    33313331    global $parent_file, $hook_suffix;
    33323332
    3333     if ( isset($parent_file) && !empty($parent_file) )
    3334         $name = substr($parent_file, 0, -4);
    3335     else
    3336         $name = str_replace(array('.php', '-new', '-add'), '', $hook_suffix);
    3337 
     3333    if ( empty($name) ) {
     3334        if ( isset($parent_file) && !empty($parent_file) )
     3335            $name = substr($parent_file, 0, -4);
     3336        else
     3337            $name = str_replace(array('.php', '-new', '-add'), '', $hook_suffix);
     3338    }
    33383339    unset($hook_suffix);
    33393340?>
  • trunk/wp-admin/link-import.php

    r8645 r9912  
    2828
    2929<div class="wrap">
    30 
     30<?php screen_icon(); ?>
    3131<h2><?php _e('Import your blogroll from another system') ?> </h2>
    3232<form enctype="multipart/form-data" action="link-import.php" method="post" name="blogroll">
  • trunk/wp-admin/media.php

    r8998 r9912  
    8383
    8484<div class="wrap">
    85 
     85<?php screen_icon(); ?>
    8686<h2><?php _e( 'Edit Media' ); ?></h2>
    8787
  • trunk/wp-admin/options.php

    r9776 r9912  
    8888
    8989<div class="wrap">
     90<?php screen_icon(); ?>
    9091  <h2><?php _e('All Settings'); ?></h2>
    9192  <form name="form" action="options.php" method="post" id="all-options">
  • trunk/wp-admin/users.php

    r9903 r9912  
    136136
    137137<div class="wrap">
     138<?php screen_icon(); ?>
    138139<h2><?php _e('Delete Users'); ?></h2>
    139140<p><?php _e('You have specified these users for deletion:'); ?></p>
Note: See TracChangeset for help on using the changeset viewer.