Commit Graph

186 Commits

Author SHA1 Message Date
Andrew Nacin
8a4ee4e5dd RTL should use Tahoma, Hebrew should use Arial.
props yoavf.
see #24977.


git-svn-id: https://develop.svn.wordpress.org/trunk@26783 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-07 16:19:48 +00:00
Andrew Nacin
1524eaf8ce Freedoms/Credits: Allow for big first paragraphs, overridden by the font-size change in [26719]. Reduced slightly to prevent wrapping on freedoms.
see #26387.


git-svn-id: https://develop.svn.wordpress.org/trunk@26777 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-07 07:48:51 +00:00
Andrew Nacin
e41692153c Core updates for the new color schemes.
* Update about page, there's now 8.
 * Display them four wide, not three, and ensure adequate spacing.
 * Use a dedicated nonce.
 * Push Light to the front in addition to Default.
 * Use user-profile.js on about.php. A few extra things are initialized but they are harmless.

see #26468, #26387.


git-svn-id: https://develop.svn.wordpress.org/trunk@26776 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-07 07:45:57 +00:00
Matt Thomas
05735491d4 Eliminate right padding on .wp-menu-name, see #26452.
git-svn-id: https://develop.svn.wordpress.org/trunk@26772 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-07 06:28:16 +00:00
Matt Thomas
f0b584637d Provide a bit more horizontal space for .wp-menu-name. See #26452.
git-svn-id: https://develop.svn.wordpress.org/trunk@26766 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-07 02:02:55 +00:00
Andrew Nacin
ee56a8dcb3 Proper CSS specificity for columns-based dashboard grids.
props kovshenin.
fixes #26354.


git-svn-id: https://develop.svn.wordpress.org/trunk@26756 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 23:46:46 +00:00
Andrew Nacin
426dbc083c Themes: Avoid overlap with themes with small screenshots and no description.
props matveb.
fixes #26465.


git-svn-id: https://develop.svn.wordpress.org/trunk@26753 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 23:15:23 +00:00
Matt Thomas
e53367f05f Visual refinements to the About page and screenshots. See #26387.
git-svn-id: https://develop.svn.wordpress.org/trunk@26750 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 22:17:12 +00:00
Andrew Nacin
520baebefd Themes: Final gutter and breakpoint adjustments.
props matveb.
fixes #26462.


git-svn-id: https://develop.svn.wordpress.org/trunk@26747 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 21:26:34 +00:00
Andrew Nacin
adbe0f1e1e Themes: Adjust screenshot ratios.
* On the details overlay, always show the full 4/3 ratio.
 * On the grid, reduce to ~3/2 only if the screen width is less than 1400px. Otherwise, show the screenshot at 4/3 ratio.

props matveb, nacin.
fixes #26159.


git-svn-id: https://develop.svn.wordpress.org/trunk@26739 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 19:50:06 +00:00
Andrew Nacin
63ad0a71d4 Themes: If a theme only has a very-old-school 300px-wide screenshot (or narrower), don't stretch it.
props matveb.
fixes #26459.


git-svn-id: https://develop.svn.wordpress.org/trunk@26738 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 19:41:19 +00:00
Matt Thomas
79cb3cf3ce Updates to the About page:
* A live color scheme preview
* Replace the hard-coded version number
* Copy edits
* New screenshots
* Size adjustments to the header and WP badge
* Capitalize 'Open Sans'

See #26387, props markoheijnen, ryelle, siobhan, melchoyce.



git-svn-id: https://develop.svn.wordpress.org/trunk@26737 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 19:35:25 +00:00
Matt Thomas
8aa177267e Ensure that disabled select elements are distinguishable from normal ones. Fixes #26456, props TobiasBg.
git-svn-id: https://develop.svn.wordpress.org/trunk@26733 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 18:49:56 +00:00
Andrew Nacin
bab3a29a8e Add back CSS rules for RTL resize handles.
Disable CSSJanus' swapLtrRtlInUrl option, as we currently don't use it otherwise (and it breaks this if left on).

props ocean90.
fixes #26449.


git-svn-id: https://develop.svn.wordpress.org/trunk@26731 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 18:34:05 +00:00
Andrew Nacin
6717db61d9 Themes: Set a max-width on screenshots so they don't get blurry at very wide screen widths.
props matveb.
fixes #26172.


git-svn-id: https://develop.svn.wordpress.org/trunk@26730 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 18:30:05 +00:00
Andrew Nacin
b9cb349dc0 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@26726 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 16:10:25 +00:00
Andrew Nacin
efed19d3df Map old -width theme tags to new -layout tags for the purposes of translation in the admin.
see #21442.


git-svn-id: https://develop.svn.wordpress.org/trunk@26725 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 14:36:07 +00:00
Matt Thomas
c4d923ae42 Slight adjustment to centered headlines in About page. See #26387.
git-svn-id: https://develop.svn.wordpress.org/trunk@26720 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 12:32:48 +00:00
Matt Thomas
ef3b7be8e8 Updates to the About page:
- Better screenshots
- Align screenshots with the dividers between sections
- Increase body text size
- Add a mention of Twenty Fourteen by name
- i18nalize 'Now with more color'
- Replace ’ with ’

See #26387.



git-svn-id: https://develop.svn.wordpress.org/trunk@26719 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 12:15:59 +00:00
Matt Thomas
4362bf3fa8 Committing a first pass at a new About page for 3.8. See #26387, props melchoyce.
git-svn-id: https://develop.svn.wordpress.org/trunk@26718 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 07:49:05 +00:00
Matt Thomas
7afd6ce8b4 Correct the direction of arrow icons when comparing revisions in RTL. Fixes #26439, props adamsilverstein.
git-svn-id: https://develop.svn.wordpress.org/trunk@26717 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 07:20:25 +00:00
Matt Thomas
6384a83e5f Keep draggable panels from interfering with swipe scrolling on touch devices running Internet Explorer 10/11. Fixes #26297, props georgestephanis.
git-svn-id: https://develop.svn.wordpress.org/trunk@26715 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 04:43:23 +00:00
Matt Thomas
21cd81e21b Hide the 'Dismiss' label in the dashboard welcome panel at smartphone sizes, so the close link doesn't overlap the Welcome headline. See #25858.
git-svn-id: https://develop.svn.wordpress.org/trunk@26712 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 01:15:33 +00:00
Matt Thomas
c962d1d79f Fix the positioning of arrow icons in the slider buttons in Revisions. See #26439.
git-svn-id: https://develop.svn.wordpress.org/trunk@26709 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 00:42:36 +00:00
Andrew Nacin
eb0406a401 Themes: Switch to a text overlay instead of an icon on hover. Numerous reasons outlined in the ticket.
props shaunandrews.
fixes #26440.


git-svn-id: https://develop.svn.wordpress.org/trunk@26708 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 23:42:05 +00:00
Andrew Nacin
f21d937706 Fix z-indexes as it relates to thickbox, the theme modal, and admin menu.
props ryelle, shaunandrews.
fixes #26442.


git-svn-id: https://develop.svn.wordpress.org/trunk@26701 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 23:09:23 +00:00
Andrew Nacin
7511074840 Themes: Let theme author links look like links.
props matveb.
fixes #26425.


git-svn-id: https://develop.svn.wordpress.org/trunk@26688 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 19:57:33 +00:00
Matt Thomas
ecb200553c More consistent vertical alignment of the .awaiting-mod/new updates indicator. See #25858.
git-svn-id: https://develop.svn.wordpress.org/trunk@26682 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 18:47:02 +00:00
Andrew Nacin
2cf98e4e00 Themes: Refine how we display the current theme.
props shaunandrews, kwight, matveb.
see #26003.


git-svn-id: https://develop.svn.wordpress.org/trunk@26681 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 18:41:44 +00:00
Helen Hou-Sandi
3706de38db Bring screen reader shortcuts and image edit controls in line with admin design. see #25858.
git-svn-id: https://develop.svn.wordpress.org/trunk@26677 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 18:16:18 +00:00
Helen Hou-Sandi
c27c592062 Lovingly restore corners that had previously been nibbled upon by a mouse. see #25858.
git-svn-id: https://develop.svn.wordpress.org/trunk@26676 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 18:06:44 +00:00
Matt Thomas
f2200af9f2 Line up ALL the things:
* Make folded adminmenu icons line up with the W icon in the toolbar
* Make the W link in the toolbar the same width as the folded adminmenu
* Reduce padding on toolbar links to match reduced padding between W and Globe icons
* Reduce right-side padding on toolbar links to account for 1px of extra padding around icons on the left

See #25858.



git-svn-id: https://develop.svn.wordpress.org/trunk@26675 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 18:02:33 +00:00
Helen Hou-Sandi
df454bb0b6 More targeted background image styling for admin menu SVG icons. fixes #25147.
git-svn-id: https://develop.svn.wordpress.org/trunk@26671 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 17:52:48 +00:00
Andrew Nacin
006045395c Allow for Dashicons and base64-encoded data:image/svg+xml URIs when specifying menu icons.
Both of these icons can be colored to match the color scheme, including hover states.
Both are accepted for register_post_type()'s menu_icon argument, and also add_menu_page()'s $icon_url argument.

To use a Dashicon, pass the name of the helper class, e.g. 'dashicons-piechart'.
To use an SVG, pass a valid data URI string starting with 'data:image/svg+xml;base64,'.

props helen.
fixes #25147.


git-svn-id: https://develop.svn.wordpress.org/trunk@26664 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 06:37:20 +00:00
Andrew Nacin
f883e31e3c Themes: Disable collapse actions when showing only a single theme; improve the responsive layout.
props matveb.
fixes #25962.


git-svn-id: https://develop.svn.wordpress.org/trunk@26660 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 04:56:48 +00:00
Helen Hou-Sandi
679fb7dddb Restore CSS for the Site Content, née Right Now, Dashboard widget. Removes a nice large swath of unnecessary styles. fixes #26392, see #25824.
git-svn-id: https://develop.svn.wordpress.org/trunk@26656 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 02:36:35 +00:00
Andrew Nacin
e75582f9c8 Themes: When only one theme is available, show just the details view.
Only one theme may be available when no other themes are allowed (multisite), no other themes are installed, or when the user is denied the switch_themes capability but still has edit_theme_options.

props matveb, markjaquith.
see #25962.


git-svn-id: https://develop.svn.wordpress.org/trunk@26652 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 00:15:59 +00:00
Helen Hou-Sandi
17c5e87089 Remove more references to MP6 and standardize on .wp-ui-* for prefixed generic class names. props nacin, kovshenin, fixes #26263.
git-svn-id: https://develop.svn.wordpress.org/trunk@26635 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 21:15:59 +00:00
Matt Thomas
ceb5e97102 Add more columns in the theme browser on screens over 2000px wide to ensure that theme screenshots never appear larger than their resolution allows. Fixes #26172, props shaunandrews.
git-svn-id: https://develop.svn.wordpress.org/trunk@26633 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 20:31:24 +00:00
Matt Thomas
4188b67398 Prevent the spinner from bumping the Cancel button to a new line in de_DE and ru_RU. Fixes #21890; props SergeyBiryukov, ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@26624 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 19:14:40 +00:00
Andrew Nacin
26fcb00dd8 RTL fix for themes.php. props yoavf. fixes #26405.
git-svn-id: https://develop.svn.wordpress.org/trunk@26622 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 18:57:07 +00:00
Andrew Ozz
44024c21be Revert [26618], no longer needed after reverting [26593], also fails to remove a border-top from .widget-inside when the widget is in a sidebar. See #26391.
git-svn-id: https://develop.svn.wordpress.org/trunk@26621 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 18:53:30 +00:00
Matt Thomas
5215809f2a Allow error messages to push the adminmenu down. Fixes #26312, props SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@26620 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 18:50:25 +00:00
Matt Thomas
24240d260c Ensure that .widget-inside gets the necessary interior padding regardless of its containing element. Fixes #26391, props cainm.
git-svn-id: https://develop.svn.wordpress.org/trunk@26618 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 18:16:38 +00:00
Matt Thomas
c4849c6307 Improve the styling of browser file input controls. Fixes #26393.
git-svn-id: https://develop.svn.wordpress.org/trunk@26615 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 17:20:13 +00:00
Andrew Nacin
8faee176db Nav Menu admin: Suppress outlines on expand/collapse arrows. fixes #26398.
git-svn-id: https://develop.svn.wordpress.org/trunk@26614 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 17:15:36 +00:00
Matt Thomas
71588c2933 Revert r26593 so Available and Inactive widgets are once again collapsible. Make the arrows only appear on hover when uncollapsed. Fixes #26327, props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@26608 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 16:30:05 +00:00
Helen Hou-Sandi
55d4555b68 Utilize a more widely-adopted CSS method for hiding screen reader text, as seen in projects like jQuery UI and HTML5 Boilerplate. props codebykat for the initial patch. fixes #23684, #26107.
git-svn-id: https://develop.svn.wordpress.org/trunk@26602 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 04:31:13 +00:00
Matt Thomas
3ce67886f4 Ensure that theme customizer buttons don't overlap on small screens; allow small-screen theme popup to use the full height of the viewport since the adminmenu is no longer fixed; ensure that buttons in the theme customizer wrap as efficiently as they can on mobile. Fixes #26361, props mattheu, iammattthomas.
git-svn-id: https://develop.svn.wordpress.org/trunk@26592 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 21:13:14 +00:00
Matt Thomas
8722b53c96 Ensure that 'Add New Theme' text doesn't overlap the + icon even at Firefox's ridiculously small 230px wide browser. Fixes #26226.
git-svn-id: https://develop.svn.wordpress.org/trunk@26584 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 20:28:50 +00:00