Make WordPress Core

Changeset 9746


Ignore:
Timestamp:
11/18/2008 12:59:57 AM (18 years ago)
Author:
ryan
Message:

Page link styling improvements. Props iammattthomas. fixes #8266

Location:
trunk
Files:
15 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/categories.php

    r9735 r9746  
    166166        'base' => add_query_arg( 'pagenum', '%#%' ),
    167167        'format' => '',
    168         'prev_text' => __('«'),
    169         'next_text' => __('»'),
     168        'prev_text' => __('←'),
     169        'next_text' => __('→'),
    170170        'total' => ceil(wp_count_terms('category') / $catsperpage),
    171171        'current' => $pagenum
  • trunk/wp-admin/css/colors-fresh.css

    r9733 r9746  
    540540}
    541541
    542 #edit-slug-box strong, .login #nav a {
     542#edit-slug-box strong, .login #nav a, .tablenav .displaying-num {
    543543        color: #777;
    544544}
     
    13101310        background: #eaf2fa;
    13111311}
     1312
     1313.tablenav .tablenav-pages, {
     1314        color: #555;
     1315}
     1316
     1317.tablenav .tablenav-pages a {
     1318        border-color: #efefef;
     1319        background: #eee;
     1320}
     1321
     1322.tablenav .tablenav-pages a:hover {
     1323        color: #fff;
     1324        background-color: #d54e21;
     1325        border-color: #d54321;
     1326}
     1327
     1328.tablenav .tablenav-pages a:active {
     1329        color: #fff !important;
     1330}
     1331
     1332.tablenav .tablenav-pages .current {
     1333        background: #dfdfdf;
     1334        border-color: #dfdfdf;
     1335}
  • trunk/wp-admin/edit-comments.php

    r9735 r9746  
    173173        'base' => add_query_arg( 'apage', '%#%' ),
    174174        'format' => '',
    175         'prev_text' => __('«'),
    176         'next_text' => __('»'),
     175        'prev_text' => __('←'),
     176        'next_text' => __('→'),
    177177        'total' => ceil($total / $comments_per_page),
    178178        'current' => $page
  • trunk/wp-admin/edit-link-categories.php

    r9735 r9746  
    9494        'base' => add_query_arg( 'pagenum', '%#%' ),
    9595        'format' => '',
    96         'prev_text' => __('«'),
    97         'next_text' => __('»'),
     96        'prev_text' => __('←'),
     97        'next_text' => __('→'),
    9898        'total' => ceil(wp_count_terms('link_category') / $catsperpage),
    9999        'current' => $pagenum
  • trunk/wp-admin/edit-pages.php

    r9735 r9746  
    180180        'base' => add_query_arg( 'pagenum', '%#%' ),
    181181        'format' => '',
    182         'prev_text' => __('«'),
    183         'next_text' => __('»'),
     182        'prev_text' => __('←'),
     183        'next_text' => __('→'),
    184184        'total' => $num_pages,
    185185        'current' => $pagenum
  • trunk/wp-admin/edit-tags.php

    r9735 r9746  
    162162        'base' => add_query_arg( 'pagenum', '%#%' ),
    163163        'format' => '',
    164         'prev_text' => __('«'),
    165         'next_text' => __('»'),
     164        'prev_text' => __('←'),
     165        'next_text' => __('→'),
    166166        'total' => ceil(wp_count_terms('post_tag') / $tagsperpage),
    167167        'current' => $pagenum
  • trunk/wp-admin/edit.php

    r9735 r9746  
    163163        'base' => add_query_arg( 'paged', '%#%' ),
    164164        'format' => '',
    165         'prev_text' => __('«'),
    166         'next_text' => __('»'),
     165        'prev_text' => __('←'),
     166        'next_text' => __('→'),
    167167        'total' => $wp_query->max_num_pages,
    168168        'current' => $_GET['paged']
  • trunk/wp-admin/includes/media.php

    r9733 r9746  
    15511551        'base' => add_query_arg( 'paged', '%#%' ),
    15521552        'format' => '',
    1553         'prev_text' => __('«'),
    1554         'next_text' => __('»'),
     1553        'prev_text' => __('←'),
     1554        'next_text' => __('→'),
    15551555        'total' => ceil($wp_query->found_posts / 10),
    15561556        'current' => $_GET['paged']
  • trunk/wp-admin/includes/plugin-install.php

    r9733 r9746  
    269269                                'base' => add_query_arg('paged', '%#%', $url),
    270270                                'format' => '',
    271                                 'prev_text' => __('«'),
    272                                 'next_text' => __('»'),
     271                                'prev_text' => __('←'),
     272                                'next_text' => __('→'),
    273273                                'total' => $totalpages,
    274274                                'current' => $page
  • trunk/wp-admin/themes.php

    r9589 r9746  
    5454        'base' => add_query_arg( 'pagenum', '%#%' ) . '#themenav',
    5555        'format' => '',
    56         'prev_text' => __('«'),
    57         'next_text' => __('»'),
     56        'prev_text' => __('←'),
     57        'next_text' => __('→'),
    5858        'total' => ceil($theme_total / $per_page),
    5959        'current' => $page
  • trunk/wp-admin/upload.php

    r9735 r9746  
    226226        'base' => add_query_arg( 'paged', '%#%' ),
    227227        'format' => '',
    228         'prev_text' => __('«'),
    229         'next_text' => __('»'),
     228        'prev_text' => __('←'),
     229        'next_text' => __('→'),
    230230        'total' => $page_links_total,
    231231        'current' => $_GET['paged']
  • trunk/wp-admin/user-edit.php

    r9506 r9746  
    161161        <p><strong><?php _e('User updated.') ?></strong></p>
    162162        <?php if ( $wp_http_referer && !$is_profile_page ) : ?>
    163         <p><a href="users.php"><?php _e('&laquo; Back to Authors and Users'); ?></a></p>
     163        <p><a href="users.php"><?php _e('&larr; Back to Authors and Users'); ?></a></p>
    164164        <?php endif; ?>
    165165</div>
  • trunk/wp-admin/users.php

    r9735 r9746  
    326326
    327327        <?php if ( $wp_user_search->is_search() ) : ?>
    328                 <p><a href="users.php"><?php _e('&laquo; Back to All Users'); ?></a></p>
     328                <p><a href="users.php"><?php _e('&larr; Back to All Users'); ?></a></p>
    329329        <?php endif; ?>
    330330
  • trunk/wp-admin/wp-admin.css

    r9738 r9746  
    716716}
    717717
    718 .tablenav-pages span.current {
    719         border: 0 none;
    720 }
    721 
    722718p.pagenav {
    723719        margin: 0;
     
    765761        font-size: 11px;
    766762        margin: 0 8px 0 0;
    767         color: #555;
    768 }
    769 
    770 .tablenav .tablenav-pages a {
     763}
     764
     765.tablenav .tablenav-pages a, .tablenav-pages span.current  {
    771766        text-decoration: none;
     767        border: none;
     768        padding: 3px 6px;
     769        border-width: 1px;
     770        border-style: solid;
     771        -moz-border-radius: 5px;
     772        -khtml-border-radius: 5px;
     773        -webkit-border-radius: 5px;
     774        border-radius: 5px;
    772775}
    773776
    774777.tablenav .displaying-num {
    775778        margin-right: 10px;
     779        font-size: 12px;
     780        font-family: Georgia, "Times New Roman", Times, serif;
     781        font-style: italic;
    776782}
    777783
  • trunk/wp-includes/script-loader.php

    r9738 r9746  
    301301        $rtl_styles = array( 'global', 'colors', 'dashboard', 'ie', 'install', 'login', 'media', 'theme-editor', 'upload', 'widgets', 'press-this', 'press-this-ie', 'plugin-install', 'farbtastic' );
    302302
    303         $styles->add( 'wp-admin', '/wp-admin/wp-admin.css', array(), '20081117' );
     303        $styles->add( 'wp-admin', '/wp-admin/wp-admin.css', array(), '20081118' );
    304304        $styles->add_data( 'wp-admin', 'rtl', '/wp-admin/rtl.css' );
    305305
     
    308308
    309309        $styles->add( 'colors', true ); // Register "meta" stylesheet for admin colors
    310         $styles->add( 'colors-fresh', '/wp-admin/css/colors-fresh.css', array(), '20081115'); // for login.php.  Is there a better way?
     310        $styles->add( 'colors-fresh', '/wp-admin/css/colors-fresh.css', array(), '20081117'); // for login.php.  Is there a better way?
    311311        $styles->add_data( 'colors-fresh', 'rtl', true );
    312312
Note: See TracChangeset for help on using the changeset viewer.