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. Built from https://develop.svn.wordpress.org/trunk@50125 git-svn-id: http://core.svn.wordpress.org/trunk@49804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3e6cc64e35
commit
17c79a583a
|
@ -339,6 +339,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
|
||||
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
|
||||
#adminmenu a.current:hover div.wp-menu-image:before,
|
||||
#adminmenu li.current div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
|
||||
#adminmenu li:hover div.wp-menu-image:before,
|
||||
|
@ -416,7 +417,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
#wpadminbar:not(.mobile) li:hover .ab-item:before,
|
||||
#wpadminbar:not(.mobile) li:hover .ab-item:after,
|
||||
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
|
||||
color: $menu-highlight-icon;
|
||||
color: $menu-submenu-focus-text;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -344,6 +344,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
|
||||
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
|
||||
#adminmenu a.current:hover div.wp-menu-image:before,
|
||||
#adminmenu li.current div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
|
||||
#adminmenu li:hover div.wp-menu-image:before,
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -344,6 +344,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
|
||||
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
|
||||
#adminmenu a.current:hover div.wp-menu-image:before,
|
||||
#adminmenu li.current div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
|
||||
#adminmenu li:hover div.wp-menu-image:before,
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -307,6 +307,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
|
||||
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
|
||||
#adminmenu a.current:hover div.wp-menu-image:before,
|
||||
#adminmenu li.current div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
|
||||
#adminmenu li:hover div.wp-menu-image:before,
|
||||
|
@ -379,7 +380,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
#wpadminbar:not(.mobile) li:hover .ab-item:before,
|
||||
#wpadminbar:not(.mobile) li:hover .ab-item:after,
|
||||
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
|
||||
color: #fff;
|
||||
color: #c7a589;
|
||||
}
|
||||
|
||||
/* Admin Bar: submenu */
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -307,6 +307,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
|
||||
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
|
||||
#adminmenu a.current:hover div.wp-menu-image:before,
|
||||
#adminmenu li.current div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
|
||||
#adminmenu li:hover div.wp-menu-image:before,
|
||||
|
@ -379,7 +380,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
#wpadminbar:not(.mobile) li:hover .ab-item:before,
|
||||
#wpadminbar:not(.mobile) li:hover .ab-item:after,
|
||||
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
|
||||
color: #fff;
|
||||
color: #c7a589;
|
||||
}
|
||||
|
||||
/* Admin Bar: submenu */
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -344,6 +344,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
|
||||
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
|
||||
#adminmenu a.current:hover div.wp-menu-image:before,
|
||||
#adminmenu li.current div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
|
||||
#adminmenu li:hover div.wp-menu-image:before,
|
||||
|
@ -416,7 +417,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
#wpadminbar:not(.mobile) li:hover .ab-item:before,
|
||||
#wpadminbar:not(.mobile) li:hover .ab-item:after,
|
||||
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
|
||||
color: #fff;
|
||||
color: #a3b745;
|
||||
}
|
||||
|
||||
/* Admin Bar: submenu */
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -344,6 +344,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
|
||||
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
|
||||
#adminmenu a.current:hover div.wp-menu-image:before,
|
||||
#adminmenu li.current div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
|
||||
#adminmenu li:hover div.wp-menu-image:before,
|
||||
|
@ -416,7 +417,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
#wpadminbar:not(.mobile) li:hover .ab-item:before,
|
||||
#wpadminbar:not(.mobile) li:hover .ab-item:after,
|
||||
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
|
||||
color: #fff;
|
||||
color: #a3b745;
|
||||
}
|
||||
|
||||
/* Admin Bar: submenu */
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -344,6 +344,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
|
||||
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
|
||||
#adminmenu a.current:hover div.wp-menu-image:before,
|
||||
#adminmenu li.current div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
|
||||
#adminmenu li:hover div.wp-menu-image:before,
|
||||
|
@ -416,7 +417,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
#wpadminbar:not(.mobile) li:hover .ab-item:before,
|
||||
#wpadminbar:not(.mobile) li:hover .ab-item:after,
|
||||
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
|
||||
color: #ccc;
|
||||
color: #04a4cc;
|
||||
}
|
||||
|
||||
/* Admin Bar: submenu */
|
||||
|
@ -738,18 +739,6 @@ div#wp-responsive-toggle a:before {
|
|||
color: #04a4cc;
|
||||
}
|
||||
|
||||
/* temporary fix for admin-bar hover color */
|
||||
#wpadminbar .ab-top-menu > li:hover > .ab-item,
|
||||
#wpadminbar .ab-top-menu > li.hover > .ab-item,
|
||||
#wpadminbar > #wp-toolbar > #wp-admin-bar-root-default li:hover span.ab-label,
|
||||
#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary li.hover span.ab-label,
|
||||
#wpadminbar .ab-top-menu > li > .ab-item:focus,
|
||||
#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus,
|
||||
#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item,
|
||||
#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
/* Override the theme filter highlight color for this scheme */
|
||||
.theme-section.current,
|
||||
.theme-filter.current {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -344,6 +344,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
|
||||
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
|
||||
#adminmenu a.current:hover div.wp-menu-image:before,
|
||||
#adminmenu li.current div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
|
||||
#adminmenu li:hover div.wp-menu-image:before,
|
||||
|
@ -416,7 +417,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
#wpadminbar:not(.mobile) li:hover .ab-item:before,
|
||||
#wpadminbar:not(.mobile) li:hover .ab-item:after,
|
||||
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
|
||||
color: #ccc;
|
||||
color: #04a4cc;
|
||||
}
|
||||
|
||||
/* Admin Bar: submenu */
|
||||
|
@ -738,18 +739,6 @@ div#wp-responsive-toggle a:before {
|
|||
color: #04a4cc;
|
||||
}
|
||||
|
||||
/* temporary fix for admin-bar hover color */
|
||||
#wpadminbar .ab-top-menu > li:hover > .ab-item,
|
||||
#wpadminbar .ab-top-menu > li.hover > .ab-item,
|
||||
#wpadminbar > #wp-toolbar > #wp-admin-bar-root-default li:hover span.ab-label,
|
||||
#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary li.hover span.ab-label,
|
||||
#wpadminbar .ab-top-menu > li > .ab-item:focus,
|
||||
#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus,
|
||||
#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item,
|
||||
#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
/* Override the theme filter highlight color for this scheme */
|
||||
.theme-section.current,
|
||||
.theme-filter.current {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -19,18 +19,6 @@ $menu-collapse-focus-icon: #555;
|
|||
|
||||
@import "../_admin.scss";
|
||||
|
||||
/* temporary fix for admin-bar hover color */
|
||||
#wpadminbar .ab-top-menu > li:hover > .ab-item,
|
||||
#wpadminbar .ab-top-menu > li.hover > .ab-item,
|
||||
#wpadminbar > #wp-toolbar > #wp-admin-bar-root-default li:hover span.ab-label,
|
||||
#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary li.hover span.ab-label,
|
||||
#wpadminbar .ab-top-menu > li > .ab-item:focus,
|
||||
#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus,
|
||||
#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item,
|
||||
#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item {
|
||||
color: $text-color;
|
||||
}
|
||||
|
||||
/* Override the theme filter highlight color for this scheme */
|
||||
.theme-section.current,
|
||||
.theme-filter.current {
|
||||
|
|
|
@ -344,6 +344,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
|
||||
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
|
||||
#adminmenu a.current:hover div.wp-menu-image:before,
|
||||
#adminmenu li.current div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
|
||||
#adminmenu li:hover div.wp-menu-image:before,
|
||||
|
@ -416,7 +417,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
#wpadminbar:not(.mobile) li:hover .ab-item:before,
|
||||
#wpadminbar:not(.mobile) li:hover .ab-item:after,
|
||||
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
|
||||
color: #fff;
|
||||
color: #e14d43;
|
||||
}
|
||||
|
||||
/* Admin Bar: submenu */
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -344,6 +344,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
|
||||
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
|
||||
#adminmenu a.current:hover div.wp-menu-image:before,
|
||||
#adminmenu li.current div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
|
||||
#adminmenu li:hover div.wp-menu-image:before,
|
||||
|
@ -416,7 +417,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
#wpadminbar:not(.mobile) li:hover .ab-item:before,
|
||||
#wpadminbar:not(.mobile) li:hover .ab-item:after,
|
||||
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
|
||||
color: #fff;
|
||||
color: #e14d43;
|
||||
}
|
||||
|
||||
/* Admin Bar: submenu */
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -344,6 +344,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
|
||||
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
|
||||
#adminmenu a.current:hover div.wp-menu-image:before,
|
||||
#adminmenu li.current div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
|
||||
#adminmenu li:hover div.wp-menu-image:before,
|
||||
|
@ -416,7 +417,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
#wpadminbar:not(.mobile) li:hover .ab-item:before,
|
||||
#wpadminbar:not(.mobile) li:hover .ab-item:after,
|
||||
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
|
||||
color: #fff;
|
||||
color: #33f078;
|
||||
}
|
||||
|
||||
/* Admin Bar: submenu */
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -344,6 +344,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
|
||||
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
|
||||
#adminmenu a.current:hover div.wp-menu-image:before,
|
||||
#adminmenu li.current div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
|
||||
#adminmenu li:hover div.wp-menu-image:before,
|
||||
|
@ -416,7 +417,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
#wpadminbar:not(.mobile) li:hover .ab-item:before,
|
||||
#wpadminbar:not(.mobile) li:hover .ab-item:after,
|
||||
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
|
||||
color: #fff;
|
||||
color: #33f078;
|
||||
}
|
||||
|
||||
/* Admin Bar: submenu */
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -307,6 +307,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
|
||||
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
|
||||
#adminmenu a.current:hover div.wp-menu-image:before,
|
||||
#adminmenu li.current div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
|
||||
#adminmenu li:hover div.wp-menu-image:before,
|
||||
|
@ -379,7 +380,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
#wpadminbar:not(.mobile) li:hover .ab-item:before,
|
||||
#wpadminbar:not(.mobile) li:hover .ab-item:after,
|
||||
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
|
||||
color: #fff;
|
||||
color: #9ebaa0;
|
||||
}
|
||||
|
||||
/* Admin Bar: submenu */
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -307,6 +307,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
|
||||
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
|
||||
#adminmenu a.current:hover div.wp-menu-image:before,
|
||||
#adminmenu li.current div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
|
||||
#adminmenu li:hover div.wp-menu-image:before,
|
||||
|
@ -379,7 +380,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
#wpadminbar:not(.mobile) li:hover .ab-item:before,
|
||||
#wpadminbar:not(.mobile) li:hover .ab-item:after,
|
||||
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
|
||||
color: #fff;
|
||||
color: #9ebaa0;
|
||||
}
|
||||
|
||||
/* Admin Bar: submenu */
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -344,6 +344,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
|
||||
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
|
||||
#adminmenu a.current:hover div.wp-menu-image:before,
|
||||
#adminmenu li.current div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
|
||||
#adminmenu li:hover div.wp-menu-image:before,
|
||||
|
@ -416,7 +417,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
#wpadminbar:not(.mobile) li:hover .ab-item:before,
|
||||
#wpadminbar:not(.mobile) li:hover .ab-item:after,
|
||||
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
|
||||
color: #fff;
|
||||
color: #f7e3d3;
|
||||
}
|
||||
|
||||
/* Admin Bar: submenu */
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -344,6 +344,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
|
||||
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
|
||||
#adminmenu a.current:hover div.wp-menu-image:before,
|
||||
#adminmenu li.current div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
|
||||
#adminmenu li:hover div.wp-menu-image:before,
|
||||
|
@ -416,7 +417,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
#wpadminbar:not(.mobile) li:hover .ab-item:before,
|
||||
#wpadminbar:not(.mobile) li:hover .ab-item:after,
|
||||
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
|
||||
color: #fff;
|
||||
color: #f7e3d3;
|
||||
}
|
||||
|
||||
/* Admin Bar: submenu */
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.7-alpha-50124';
|
||||
$wp_version = '5.7-alpha-50125';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue