Make WordPress Core

Changeset 61682


Ignore:
Timestamp:
02/18/2026 10:02:47 PM (3 weeks ago)
Author:
joedolson
Message:

Admin: Miscellaneous reskin color and alignment fixes.

Fix a few miscellaneous colors and alignment shifts missed in previous updates. Apply the new admin link and button colors on missed cases in the customizer, classic widgets, skip links, help and screen options, and admin nav menus.

Props joedolson, fabiankaegy.
Fixes #64652.

Location:
trunk/src
Files:
6 edited

Legend:

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

    r61652 r61682  
    156156    padding: 15px 23px 14px;
    157157    /* Background and color set to prevent false positives in automated accessibility tests. */
    158     background: #f0f0f1;
    159     color: #2271b1;
     158    background: #ffffff;
     159    color: var(--wp-admin-theme-color, #3858e9);
    160160    z-index: 100000;
    161161    line-height: normal;
     
    165165    top: -25px;
    166166    /* Overrides a:focus in the admin. See ticket #56789. */
    167     color: #2271b1;
    168     box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
     167    color: var(--wp-admin-theme-color, #3858e9);
     168    box-shadow: 0 0 0 var(--wp-admin-border-width-focus, 1.5px) var(--wp-admin-theme-color, #3858e9);
    169169    text-decoration: none;
    170170    /* Only visible in Windows High Contrast mode */
     
    18951895
    18961896#screen-meta-links .show-settings:focus {
    1897     border-color: #2271b1;
    1898     box-shadow: 0 0 0 1px #2271b1;
     1897    border-color: var(--wp-admin-theme-color, #3858e9);
     1898    box-shadow: 0 0 0 var(--wp-admin-border-width-focus, 1.5px) var(--wp-admin-theme-color, #3858e9);
    18991899    /* Only visible in Windows High Contrast mode */
    19001900    outline: 2px solid transparent;
     
    34463446    box-shadow: none;
    34473447    /* Use an inset outline instead, so it's visible also over the current file item. */
    3448     outline: 2px solid #2271b1;
     3448    outline: 2px solid var(--wp-admin-theme-color, #3858e9);
    34493449    outline-offset: -2px;
    34503450}
  • trunk/src/wp-admin/css/nav-menus.css

    r61652 r61682  
    222222.menu-settings-group {
    223223    margin: 0 0 10px;
    224     overflow: hidden;
    225224    padding-left: 20%;
    226225}
  • trunk/src/wp-admin/css/widgets.css

    r61652 r61682  
    583583}
    584584
     585.widget-control-actions {
     586    display: flex;
     587    align-items: center;
     588    justify-content: space-between;
     589}
     590
    585591.editwidget .widget-control-actions {
    586592    margin-top: 20px;
     
    725731
    726732.widgets-chooser .widgets-chooser-selected .widgets-chooser-button {
    727     background: #2271b1;
     733    background: var(--wp-admin-theme-color, #3858e9);
    728734    color: #fff;
    729735}
  • trunk/src/wp-admin/includes/widgets.php

    r61432 r61682  
    304304            <span class="spinner"></span>
    305305        </div>
    306         <br class="clear" />
    307306    </div>
    308307    <?php echo $after_form; ?>
  • trunk/src/wp-admin/widgets-form.php

    r61432 r61682  
    344344
    345345    <div class="widget-control-actions">
    346         <div class="alignleft">
     346        <div class="left-actions">
    347347            <?php if ( ! isset( $_GET['addnew'] ) ) : ?>
    348348                <input type="submit" name="removewidget" id="removewidget" class="button-link button-link-delete widget-control-remove" value="<?php esc_attr_e( 'Delete' ); ?>" />
     
    354354            <?php endif; ?>
    355355        </div>
    356         <div class="alignright">
     356        <div class="right-actions">
    357357            <?php submit_button( __( 'Save Widget' ), 'primary alignright', 'savewidget', false ); ?>
    358358            <input type="hidden" name="widget-id" class="widget-id" value="<?php echo esc_attr( $widget_id ); ?>" />
     
    361361            <?php wp_nonce_field( "save-delete-widget-$widget_id" ); ?>
    362362        </div>
    363         <br class="clear" />
    364363    </div>
    365364
  • trunk/src/wp-includes/css/customize-preview.css

    r50025 r61682  
    4545    font-size: 18px;
    4646    z-index: 5;
    47     background: #3582c4 !important;
     47    background: #3858e9;
    4848    border-radius: 50%;
    4949    border: 2px solid #fff;
     
    7777
    7878.customize-partial-edit-shortcut button:hover {
    79     background: #4f94d4 !important; /* matches primary buttons */
     79    background: #2145e6 !important; /* matches primary buttons */
    8080}
    8181
    8282.customize-partial-edit-shortcut button:focus {
    83     box-shadow: 0 0 0 2px #4f94d4;
     83    box-shadow: 0 0 0 1.5px #3858e9;
    8484}
    8585
Note: See TracChangeset for help on using the changeset viewer.