Skip to content

Commit b8383fc

Browse files
authored
Change color for added menu items and update hover icon
https://core.trac.wordpress.org/ticket/64013 This change makes the added menu item in Customizer WCAG compliant while leaving subtle effects to let the user know that they already added the menu item, but if they want they can add it again.
1 parent e870c4a commit b8383fc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/wp-admin/css/customize-nav-menus.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,13 +665,17 @@
665665
#available-menu-items .menu-item-handle.item-added .item-title,
666666
#available-menu-items .menu-item-handle.item-added:hover .item-add,
667667
#available-menu-items .menu-item-handle.item-added .item-add:focus {
668-
color: #8c8f94;
668+
color: #1d2327;
669669
}
670670

671671
#available-menu-items .menu-item-handle.item-added .item-add:before {
672672
content: "\f147" / '';
673673
}
674674

675+
#available-menu-items .menu-item-handle.item-added:hover .item-add:before {
676+
content: "\f543" / '';
677+
}
678+
675679
#available-menu-items .accordion-section-title.loading .spinner,
676680
#available-menu-items-search.loading .accordion-section-title .spinner {
677681
visibility: visible;

0 commit comments

Comments
 (0)