Make WordPress Core


Ignore:
Timestamp:
11/23/2011 05:29:49 PM (12 years ago)
Author:
westi
Message:

Add button styles to the inline styles in _default_wp_die_handler so that the Create a Config button is styled again. Fixes #17975.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r19304 r19417  
    28822882            color: #D54E21;
    28832883        }
     2884
     2885        .button {
     2886            font-family: sans-serif;
     2887            text-decoration: none;
     2888            font-size: 14px !important;
     2889            line-height: 16px;
     2890            padding: 6px 12px;
     2891            cursor: pointer;
     2892            border: 1px solid #bbb;
     2893            color: #464646;
     2894            -webkit-border-radius: 15px;
     2895            border-radius: 15px;
     2896            -moz-box-sizing: content-box;
     2897            -webkit-box-sizing: content-box;
     2898            box-sizing: content-box;
     2899        }
     2900
     2901        .button:hover {
     2902            color: #000;
     2903            border-color: #666;
     2904        }
     2905
     2906        .button {
     2907            background: #f2f2f2 url(<?php echo wp_guess_url(); ?>/wp-admin/images/white-grad.png) repeat-x scroll left top;
     2908        }
     2909
     2910        .button:active {
     2911            background: #eee url(<?php echo wp_guess_url(); ?>/wp-admin/images/white-grad-active.png) repeat-x scroll left top;
     2912        }
    28842913        <?php if ( 'rtl' == $text_direction ) : ?>
    28852914        body { font-family: Tahoma, Arial; }
Note: See TracChangeset for help on using the changeset viewer.