WordPress.org

Make WordPress Core

Opened 9 months ago

Last modified 4 months ago

#22059 new enhancement

Making the admin bar responsive

Reported by: JoN1oP Owned by:
Priority: normal Milestone: Awaiting Review
Component: Toolbar Version: 3.4
Severity: normal Keywords: has-patch ui-feedback rtl-feedback
Cc: lightningspirit@…, johnbillion, chip@…, knut@…, emil@…, desrosj@…

Description

Hi,

This patch is made to add responsive layout to the admin bar. It comes from the "Responsive adminbar" plugin (http://wordpress.org/support/plugin/responsive-adminbar, thanks to skodnik).

Basically, I added some html tags to some menu items in the admin bar (using the ab-icon / ab-label combo) in order to handle the new icons I added to the "admin-bar-sprite.png".

I took the images straight from the plugin but some states are missing or some images should be changed as they are not appropriate (a "heart" for the network seems weird). I'm also missing the "View post" icon which now defaults to the "Edit post" one.

the CSS could be refactored I guess in order to avoid using ids.
I have not tested RTL!

Cheers from Hackday Lisbon :)

Jonathan

Attachments (1)

responsive-admin-bar.patch (5.6 KB) - added by JoN1oP 9 months ago.
Responsive Adminbar

Download all attachments as: .zip

Change History (8)

JoN1oP9 months ago

Responsive Adminbar

comment:1 SergeyBiryukov9 months ago

  • Component changed from Menus to Toolbar
  • Version changed from trunk to 3.4

comment:2 lightningspirit9 months ago

  • Cc lightningspirit@… added
  • Keywords rtl-feedback added

comment:3 johnbillion7 months ago

  • Cc johnbillion added

comment:4 chipbennett4 months ago

  • Cc chip@… added

comment:5 knutsp4 months ago

  • Cc knut@… added

comment:6 emiluzelac4 months ago

  • Cc emil@… added

comment:7 desrosj4 months ago

  • Cc desrosj@… added
Note: See TracTickets for help on using tickets.