Make WordPress Core


Ignore:
Timestamp:
10/21/2015 03:23:01 PM (11 years ago)
Author:
helen
Message:

wp_die(): Update colors and button styling.

see #34388, #31459.

File:
1 edited

Legend:

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

    r35325 r35327  
    25562556                }
    25572557                a {
    2558                         color: #21759B;
     2558                        color: #0073aa;
    25592559                        text-decoration: none;
    25602560                }
    25612561                a:hover {
    2562                         color: #D54E21;
     2562                        color: #00a0d2;
     2563                }
     2564                a:focus {
     2565                        color: #124964;
     2566                    -webkit-box-shadow:
     2567                        0 0 0 1px #5b9dd9,
     2568                                0 0 2px 1px rgba(30, 140, 190, .8);
     2569                    box-shadow:
     2570                        0 0 0 1px #5b9dd9,
     2571                                0 0 2px 1px rgba(30, 140, 190, .8);
     2572                        outline: none;
    25632573                }
    25642574                .button {
    25652575                        background: #f7f7f7;
    2566                         border: 1px solid #cccccc;
     2576                        border: 1px solid #ccc;
    25672577                        color: #555;
    25682578                        display: inline-block;
     
    25822592                        box-sizing:         border-box;
    25832593
    2584                         -webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba(0,0,0,.08);
    2585                         box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba(0,0,0,.08);
     2594                        -webkit-box-shadow: 0 1px 0 #ccc;
     2595                        box-shadow: 0 1px 0 #ccc;
    25862596                        vertical-align: top;
    25872597                }
    25882598
    25892599                .button.button-large {
    2590                         height: 29px;
     2600                        height: 30px;
    25912601                        line-height: 28px;
    2592                         padding: 0 12px;
     2602                        padding: 0 12px 2px;
    25932603                }
    25942604
     
    25972607                        background: #fafafa;
    25982608                        border-color: #999;
    2599                         color: #222;
     2609                        color: #23282d;
    26002610                }
    26012611
    26022612                .button:focus  {
    2603                         -webkit-box-shadow: 1px 1px 1px rgba(0,0,0,.2);
    2604                         box-shadow: 1px 1px 1px rgba(0,0,0,.2);
     2613                        -webkit-box-shadow:
     2614                                0 0 0 1px #5b9dd9,
     2615                                0 0 2px 1px rgba(0, 115, 170, .8);
     2616                        box-shadow:
     2617                                0 0 0 1px #5b9dd9,
     2618                                0 0 2px 1px rgba(0, 115, 170, .8);
     2619                        outline: none;
    26052620                }
    26062621
     
    26082623                        background: #eee;
    26092624                        border-color: #999;
    2610                         color: #333;
    2611                         -webkit-box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 );
     2625                        -webkit-box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 );
    26122626                        box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 );
     2627                        -webkit-transform: translateY(1px);
     2628                        -ms-transform: translateY(1px);
     2629                        transform: translateY(1px);
    26132630                }
    26142631
Note: See TracChangeset for help on using the changeset viewer.