mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 12:50:28 +00:00
Fixing some inconsistent behavior on toolbar icons:
- Use .ab-icon:before, .ab-item:before, and #adminbarsearch:before to select all toolbar icons. - Rewrite the selector for toolbar icon hover styles so they're not overridden by default colors. - Add #adminbarsearch:before to color schemes, so its icon color is changed with the others. - Remove duplicate color rule on #adminbarsearch:before. See #25858. git-svn-id: https://develop.svn.wordpress.org/trunk@26184 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -259,7 +259,8 @@ ul#adminmenu > li.current > a.current:after {
|
||||
}
|
||||
|
||||
#wpadminbar .ab-icon,
|
||||
#wpadminbar .ab-icon:before {
|
||||
#wpadminbar .ab-icon:before,
|
||||
#wpadminbar .ab-item:before {
|
||||
color: $menu-icon;
|
||||
}
|
||||
|
||||
@@ -275,8 +276,9 @@ ul#adminmenu > li.current > a.current:after {
|
||||
background: $menu-submenu-background;
|
||||
}
|
||||
|
||||
#wpadminbar li:hover .ab-icon,
|
||||
#wpadminbar li:hover > .ab-item:before {
|
||||
#wpadminbar li:hover .ab-icon:before,
|
||||
#wpadminbar li:hover .ab-item:before,
|
||||
#wpadminbar li:hover #adminbarsearch:before {
|
||||
color: $menu-highlight-icon;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user