Make WordPress Core

Changeset 56458


Ignore:
Timestamp:
08/24/2023 08:14:04 PM (3 years ago)
Author:
TimothyBlynJacobs
Message:

General: Use regular core button styles for page header actions.

Props emailjoey, melchoyce, afercia, michaelarestad, danieltj, helen.
Fixes #41986.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/common.css

    r56279 r56458  
    625625.wrap .page-title-action,
    626626.wrap .page-title-action:active {
     627        display: inline-block;
     628        position: relative;
     629        box-sizing: border-box;
     630        cursor: pointer;
     631        white-space: nowrap;
     632        text-decoration: none;
     633        text-shadow: none;
     634        top: -3px;
    627635        margin-left: 4px;
    628         padding: 4px 8px;
    629         position: relative;
    630         top: -3px;
    631         text-decoration: none;
    632636        border: 1px solid #2271b1;
    633         border-radius: 2px;
    634         text-shadow: none;
    635         font-weight: 600;
     637        border-radius: 3px;
     638        background: #f6f7f7;
    636639        font-size: 13px;
    637         line-height: normal; /* IE8-IE11 need this for buttons */
     640        font-weight: 400;
     641        line-height: 2.15384615;
    638642        color: #2271b1; /* use the standard color used for buttons */
    639         background: #f6f7f7;
    640         cursor: pointer;
     643        padding: 0 10px;
     644        min-height: 30px;
     645        -webkit-appearance: none;
     646
    641647}
    642648
Note: See TracChangeset for help on using the changeset viewer.