WordPress/wp-admin/css
Andrew Nacin df48cebeb4 No-JavaScript and no-Customizer support for the new Themes screen.
JavaScript is rarely disabled, but graceful degradation is still important. For example, syntax errors can occur, usually with major WP updates that overhaul entire experiences and update external libraries combined with themes or plugins doing weird or old things. If this error is due to their current theme, a user needs to be able to access the themes screen to switch away from the theme. A more subtle issue could make things painful to diagnose.

This commit renders the grid in PHP (the template is duplicated, but it lightweight, fairly mundane, and easy to sync). On Backbone render, the grid is then re-rendered from JavaScript so searches can occur. Customize and Live Preview is disabled if JS fails to kick in. If JS is disabled, old-school "Preview" links are displayed.

No-Customizer support: The customizer is only supported when the browser supports postMessage (IE8+), and if the frontend is a different domain, CORS (IE10+). We use the .hide-if-no-customize class for this. Pre-customize "Preview" links should use .hide-if-customize.

The .load-customize class should be used to declare a link that opens the customizer. This enables customize-loader.js to intercept this link and load the customizer on top of the current window, making for a smoother experience.

fixes #25964.

Built from https://develop.svn.wordpress.org/trunk@26726


git-svn-id: http://core.svn.wordpress.org/trunk@26615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 16:11:10 +00:00
..
colors Updates to the About page: 2013-12-06 12:16:10 +00:00
color-picker-rtl.css Design fixes to the color picker: 2013-11-27 19:51:11 +00:00
color-picker-rtl.min.css Design fixes to the color picker: 2013-11-27 19:51:11 +00:00
color-picker.css Design fixes to the color picker: 2013-11-27 19:51:11 +00:00
color-picker.min.css Design fixes to the color picker: 2013-11-27 19:51:11 +00:00
colors-rtl.css Updates to the About page: 2013-12-06 12:16:10 +00:00
colors-rtl.min.css Updates to the About page: 2013-12-06 12:16:10 +00:00
colors.css Updates to the About page: 2013-12-06 12:16:10 +00:00
colors.min.css Updates to the About page: 2013-12-06 12:16:10 +00:00
customize-controls-rtl.css Design fixes to the color picker: 2013-11-27 19:51:11 +00:00
customize-controls-rtl.min.css Design fixes to the color picker: 2013-11-27 19:51:11 +00:00
customize-controls.css Design fixes to the color picker: 2013-11-27 19:51:11 +00:00
customize-controls.min.css Design fixes to the color picker: 2013-11-27 19:51:11 +00:00
farbtastic-rtl.css Stop using .rtl classes, instead relying on flipping LTR CSS to RTL. 2013-11-17 16:18:11 +00:00
farbtastic-rtl.min.css Stop using .rtl classes, instead relying on flipping LTR CSS to RTL. 2013-11-17 16:18:11 +00:00
farbtastic.css Stop using .rtl classes, instead relying on flipping LTR CSS to RTL. 2013-11-17 16:18:11 +00:00
ie-rtl.css Reset the login form inputs to the standard sans-serif font in IE8 to prevent invisible password field inputs when webfonts are used. Fixes #26348, props SergeyBiryukov, iammattthomas. 2013-12-03 20:12:11 +00:00
ie-rtl.min.css Reset the login form inputs to the standard sans-serif font in IE8 to prevent invisible password field inputs when webfonts are used. Fixes #26348, props SergeyBiryukov, iammattthomas. 2013-12-03 20:12:11 +00:00
ie.css Reset the login form inputs to the standard sans-serif font in IE8 to prevent invisible password field inputs when webfonts are used. Fixes #26348, props SergeyBiryukov, iammattthomas. 2013-12-03 20:12:11 +00:00
ie.min.css Reset the login form inputs to the standard sans-serif font in IE8 to prevent invisible password field inputs when webfonts are used. Fixes #26348, props SergeyBiryukov, iammattthomas. 2013-12-03 20:12:11 +00:00
install-rtl.css Bring the install/update screens in line with the new admin design. This affects: 2013-11-21 00:21:11 +00:00
install-rtl.min.css Bring the install/update screens in line with the new admin design. This affects: 2013-11-21 00:21:11 +00:00
install.css Bring the install/update screens in line with the new admin design. This affects: 2013-11-21 00:21:11 +00:00
install.min.css Bring the install/update screens in line with the new admin design. This affects: 2013-11-21 00:21:11 +00:00
media-rtl.css Use CSSJanus via a Grunt task to generate right-to-left CSS. 2013-11-12 21:19:15 +00:00
media-rtl.min.css Temporarily remove CSS preprocessing until we can get our Ruby dependency sorted out. 2013-11-13 21:45:11 +00:00
media.css Say hello to a fresh new look for the WordPress admin. 2013-11-10 00:27:10 +00:00
media.min.css Temporarily remove CSS preprocessing until we can get our Ruby dependency sorted out. 2013-11-13 21:45:11 +00:00
wp-admin-rtl.css No-JavaScript and no-Customizer support for the new Themes screen. 2013-12-06 16:11:10 +00:00
wp-admin-rtl.min.css No-JavaScript and no-Customizer support for the new Themes screen. 2013-12-06 16:11:10 +00:00
wp-admin.css No-JavaScript and no-Customizer support for the new Themes screen. 2013-12-06 16:11:10 +00:00
wp-admin.min.css No-JavaScript and no-Customizer support for the new Themes screen. 2013-12-06 16:11:10 +00:00