Opened 11 years ago
Last modified 5 years ago
#26960 new enhancement
Audit extraneous HTML/CSS for the admin menu
Reported by: | helen | Owned by: | |
---|---|---|---|
Milestone: | Priority: | low | |
Severity: | normal | Version: | |
Component: | Administration | Keywords: | has-patch needs-refresh |
Focuses: | ui, performance | Cc: |
Description
In working on #18380, I've noticed quite a bit of cruft that has built up over time, some of it directly related to the split between colors and structure. For example, the .wp-menu-arrow is no longer visible in the 3.8 redesign, but the HTML and CSS remain. Once #18380 and #26669 are complete, we should take a closer look at this.
Attachments (1)
Change History (6)
Note: See
TracTickets for help on using
tickets.
Yes, it's a solid chunk of HTML with far too many classes. There are about 800-900 lines of CSS (including colors), I bet it doesn't need more than 200-250 :)
The way it works can be simpler too. Not sure it needs the user controllable auto-fold at 900px as it goes into "mobile" mode at 782px.