orionrush / WP-Dynamic-CSS3-Media-Reporter

visually reports your currently relevant media query during responsive site development

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WP CSS3 Dynamic Width Reporter

A Wordpress plugin based on the work of David Cochran.

The plugin displays a dynamic version of David's CSS3 Media Reporter, i.e. @media breakpoints are shown as a banner on the front end of your site, but visable only to logged in admins. Pixel widths of the browser window are dynamically updated via javascript, imensely useful when testing and designing media rules for different screen widths.

Known issues:

  • Theme stylesheet rules that deal with the html and body elements and their width, margin and padding can cause the javascript which calculates the browser width to report a false pixel with.

  • Break points are baked into the css. You will have to manually edit this to accommodate your particular needs. Making this editable via an admin settings page is on the roadmap.

Roadmap:

Make a admin settings panel to allow the customisation of:

  • breakpoint rules and colours
  • set display text
  • suggest common media breakpoints i.e. bootstrap responsive
  • Drag and drop the rule orders so that it makes sense to the user
  • output the generated style sheet (something they can copy-paste)
  • add a custom CSS where users may inject any custom css into the end of the stylesheet - for what ever reason they might want.

Notes:

About

visually reports your currently relevant media query during responsive site development


Languages

Language:CSS 60.2%Language:PHP 34.6%Language:JavaScript 5.2%