WordPress.org

Make WordPress Core

Ticket #12412: 12412.diff

File 12412.diff, 2.3 KB (added by matveb, 8 years ago)

First try.

  • wp-admin/css/wp-admin.dev.css

     
    36663666
    36673667div#custom-background-image p.submit {
    36683668        display: inline;
     3669}
     3670
     3671/* Tab Interface */
     3672
     3673.menu-tabs {
     3674        border-width: 1px 1px 2px;
     3675        border-style: solid;
     3676        border-color: #ccc #ccc #f9f9f9;
     3677        color: #333333;
     3678        padding: 4px 20px 6px;
     3679        text-decoration: none;
     3680        background-color: #fafafa;
     3681        margin: 0 8px 0 0;
     3682        -moz-border-radius: 5px 5px 0 0;
     3683        -webkit-border-top-left-radius: 5px;
     3684        -webkit-border-top-right-radius: 5px;
     3685        -khtml-border-top-left-radius: 5px;
     3686        -khtml-border-top-right-radius: 5px;
     3687        border-top-left-radius: 5px;
     3688        border-top-right-radius: 5px;
     3689}
     3690
     3691
     3692.themes-php .wrap h2, .theme-install-php .wrap h2{
     3693        border-bottom: 1px solid #ccc;
     3694}
     3695
     3696
     3697.menu-tab-inactive{
     3698        border-width: 1px;
     3699        background-color: #fafafa;
     3700        color: #c1c1c1;
    36693701}
     3702 No newline at end of file
  • wp-admin/theme-install.php

     
    5858?>
    5959<div class="wrap">
    6060<?php screen_icon(); ?>
    61 <h2><?php echo esc_html( $title ); ?></h2>
     61<h2><a href="themes.php" class="menu-tabs menu-tab-inactive"><?php echo esc_html_x('Manage Themes', 'theme'); ?></a><a href="theme-install.php" class="menu-tabs"><?php echo esc_html( $title ); ?></a></h2>
    6262
    6363        <ul class="subsubsub">
    6464<?php
  • wp-admin/themes.php

     
    134134
    135135<div class="wrap">
    136136<?php screen_icon(); ?>
    137 <h2><?php echo esc_html( $title ); if ( current_user_can('install_themes') ) { ?> <a href="theme-install.php" class="button add-new-h2"><?php echo esc_html_x('Add New', 'theme'); ?></a><?php } ?></h2>
     137<h2><a href="themes.php" class="menu-tabs"><?php echo esc_html( $title ); if ( current_user_can('install_themes') ) { ?></a> <a href="theme-install.php" class="menu-tabs menu-tab-inactive"><?php echo esc_html_x('Install Themes', 'theme'); ?></a><?php } ?></h2>
    138138
    139139<h3><?php _e('Current Theme'); ?></h3>
    140140<div id="current-theme">