Make WordPress Core

Changeset 50125


Ignore:
Timestamp:
02/01/2021 07:44:13 PM (3 years ago)
Author:
ryelle
Message:

Administration: Use correct color scheme color on admin bar icons when hovered.

This also removes a CSS rule in the light scheme which was flagged as temporary and overrides the hover text color.

Fixes #52229.

Location:
trunk/src/wp-admin/css/colors
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/colors/_admin.scss

    r48643 r50125  
    340340#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
    341341#adminmenu a.current:hover div.wp-menu-image:before,
     342#adminmenu li.current div.wp-menu-image:before,
    342343#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
    343344#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
     
    417418#wpadminbar:not(.mobile) li:hover .ab-item:after,
    418419#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
    419     color: $menu-highlight-icon;
     420    color: $menu-submenu-focus-text;
    420421}
    421422
  • trunk/src/wp-admin/css/colors/light/colors.scss

    r33284 r50125  
    2020@import "../_admin.scss";
    2121
    22 /* temporary fix for admin-bar hover color */
    23 #wpadminbar .ab-top-menu > li:hover > .ab-item,
    24 #wpadminbar .ab-top-menu > li.hover > .ab-item,
    25 #wpadminbar > #wp-toolbar > #wp-admin-bar-root-default li:hover span.ab-label,
    26 #wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary li.hover span.ab-label,
    27 #wpadminbar .ab-top-menu > li > .ab-item:focus,
    28 #wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus,
    29 #wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item,
    30 #wpadminbar .ab-top-menu > li.menupop.hover > .ab-item {
    31     color: $text-color;
    32 }
    33 
    3422/* Override the theme filter highlight color for this scheme */
    3523.theme-section.current,
Note: See TracChangeset for help on using the changeset viewer.