Compare commits

..

79 Commits
4.9.15 ... 4.7

Author SHA1 Message Date
Helen Hou-Sandí
14247ee430 Tag 4.7
Built from https://develop.svn.wordpress.org/tags/4.7@39525


git-svn-id: http://core.svn.wordpress.org/tags/4.7@39465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-06 19:53:12 +00:00
Helen Hou-Sandí
16cabf6b50 WordPress 4.7 "Vaughan".
It's very sassy.

Built from https://develop.svn.wordpress.org/branches/4.7@39524


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-06 18:39:32 +00:00
Helen Hou-Sandí
563dc76e7b About page: Update video and REST API reference URLs.
props ocean90, kadamwhite, coffee2code.
see #38616 for the 4.7 branch.

Built from https://develop.svn.wordpress.org/branches/4.7@39523


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-06 18:25:14 +00:00
Helen Hou-Sandí
537f4728bd Remove 4.7 cruft from $_old_files.
fixes #39113.

Built from https://develop.svn.wordpress.org/branches/4.7@39521


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-06 17:18:34 +00:00
Helen Hou-Sandí
e489c7e378 Post-RC3 bump.
Built from https://develop.svn.wordpress.org/branches/4.7@39519


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-06 07:23:33 +00:00
Helen Hou-Sandí
4135f92f3d About page: Bump image versions because CDN caching.
props pento.
see #38616 for the 4.7 branch.

Built from https://develop.svn.wordpress.org/branches/4.7@39518


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-06 07:14:13 +00:00
Helen Hou-Sandí
8ea5b3b2d2 WordPress 4.7 RC3.
Built from https://develop.svn.wordpress.org/branches/4.7@39516


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-06 06:59:33 +00:00
Joe McGill
f594693fcd About page: Resposive images and CDN media URLs.
This adds `srcset` and `sizes` to the about page images, including
art direction, via `<picture>` for the lead Twenty Seventeen image.

This also replaces URLs for all images and feature videos to their
CDN locations on s.w.org.

Props helen, pento, joemcgill.
Fixes #38616 for 4.7.

Built from https://develop.svn.wordpress.org/branches/4.7@39515


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-06 06:58:34 +00:00
Helen Hou-Sandí
8ab4a55cbe About page: Imagery and beautification.
Still to come: responsive images, optimized videos, and CDN URLs.

merges [39512] to the 4.7 branch.
props melchoyce, helen, ramiabraham.
see #38616.

Built from https://develop.svn.wordpress.org/branches/4.7@39513


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-06 04:02:33 +00:00
Weston Ruter
0c0fa13a66 Customize: Prevent infinite full refresh from occurring when selective refresh falls back for a nav menu that has items excluded from rendering via filtering.
Merges [39510] onto 4.7 branch.
Fixes #38612 for 4.7.

Built from https://develop.svn.wordpress.org/branches/4.7@39511


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-06 02:53:35 +00:00
Dominik Schilling
e58ec083da Comments: Merge a similar string between comments.php, XML-RPC and the REST API comments controller.
Merge of [39508] to the 4.7 branch.

Props ramiy.
See #39013.
Built from https://develop.svn.wordpress.org/branches/4.7@39509


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-05 20:18:33 +00:00
Weston Ruter
92c3c3453b Customize: Defer populating post_name for auto-draft posts in customized state until posts are published.
The ultimate `post_name` is stored in postmeta until the post is published. The `get_page_by_path()` function does not exclude `auto-draft` posts. Revert changes to `wp_unique_post_slug()` from [39411] which excluded `auto-draft` posts.

Props westonruter, dlh for testing, helen for testing.
Merges [39506] onto 4.7 branch.
Fixes #39078 for 4.7.

Built from https://develop.svn.wordpress.org/branches/4.7@39507


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-05 19:39:34 +00:00
Weston Ruter
0e7cc25529 Customize: Ensure changeset_uuid query param is removed from the customize.php window's location once a changeset has been published (committed) with starter content.
Props westonruter, dlh for testing.
Merges [39504] onto 4.7 branch.
Fixes #39081 for 4.7.

Built from https://develop.svn.wordpress.org/branches/4.7@39505


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-05 16:57:35 +00:00
Weston Ruter
c34a4c0ba3 Customize: Prevent posts/pages imported via starter content from being dropped when adding post/page stubs via nav menus and the dropdown-pages control.
Props westonruter, dlh for testing.
Merges [39502] onto 4.7 branch.
Fixes #39071 for 4.7.

Built from https://develop.svn.wordpress.org/branches/4.7@39503


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-05 16:49:35 +00:00
Andrew Ozz
16161be6ac TinyMCE: fix the styling of notices generated by the editor UI.
Props: mor10, karmatosed, azaozz.
Fixes #38917 for 4.7.
Built from https://develop.svn.wordpress.org/branches/4.7@39501


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-05 15:10:33 +00:00
Weston Ruter
ac2345ca32 Customize: Ensure textarea for Custom CSS displays as code (in LTR) when an RTL language is active.
Merges [39499] onto 4.7 branch.
Fixes #39085 for 4.7.

Built from https://develop.svn.wordpress.org/branches/4.7@39500


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-05 14:00:35 +00:00
Dominik Schilling
8da7adb54f Default Themes: Update version numbers and readme files for 4.7 release
Bump version numbers and update readme files for themes with changes. Also updates description for Twenty Seventeen and removes version number for HTML5 shiv for easier updates in the future.

Merge of [39496] to the 4.7 branch.

Props davidakennedy.
See #38858.
Built from https://develop.svn.wordpress.org/branches/4.7@39498


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-05 09:36:33 +00:00
Dominik Schilling
13ff476cc1 Twenty Seventeen: Fix CSS specificity problem with CSS feature query for object-fit
Previously, the theme's CSS feature query for `object-fit` overrode styles it shouldn't have on interior pages.

This moves the feature query farther down in the stylesheet so it takes precedence in the cascade in supported browsers, and applies the appropriate selector for the interior pages. In browsers that don't support feature queries or `object-fit`, the fallback styles are still applied. The problem was that the rules had the same specificity, so this way, the cascade takes over properly. The transforms and position changes for fallbacks are still needed in browsers that don't support `object-fit` and feature queries.

Merge of [39495] to the 4.7 branch.

Props peterwilsoncc, davidakennedy.
See #39073.
Built from https://develop.svn.wordpress.org/branches/4.7@39497


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-05 09:30:37 +00:00
Rachel Baker
d6497ddf70 Comments: Merge similar strings between comments.php and the REST API comments controller.
Merges [39490] to the 4.7 branch.

Props ramiy.
Fixes #39014 for 4.7.

Built from https://develop.svn.wordpress.org/branches/4.7@39491


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-04 20:37:34 +00:00
Rachel Baker
a1005ad7f9 REST API: Merge similar date strings in the revisions and comments controllers.
Merges [39488] to the 4.7 branch.

Props ramiy.
Fixes #39016 for 4.7.

Built from https://develop.svn.wordpress.org/branches/4.7@39489


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-04 20:27:35 +00:00
Helen Hou-Sandí
082fa8f5ad Twenty Seventeen: Improve display of video header and header image in modern browsers
The theme uses a hack to help the video header and header image fill the available space. This centers around `max-width: 1000%;`. It causes visual issues (zooming of the header video or image) for all users though.

This fixes that with CSS Features Queries. The hack remains for browsers that don't support Feature Queries  and `object-fit`. Browsers that do support both get a better experience with a more reliable styling of the video and image header container.

Props laurelfulford, peterwilsoncc.

Fixes #39035 for the 4.7 branch.

Built from https://develop.svn.wordpress.org/branches/4.7@39485


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-04 19:24:33 +00:00
Helen Hou-Sandí
70f46a9e84 Twenty Seventeen: Add specific font stack for Thai language
Improves legability and design for users viewing the theme with Thai language.

Props imnok, netweb, melchoyce.

Fixes #38937 for the 4.7 branch.

Built from https://develop.svn.wordpress.org/branches/4.7@39484


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-04 19:23:37 +00:00
Andrew Nacin
3c4d5d2e6f Build/Test Tools: Specify exact node version in package.json.
Enforce it in the tests.

Merges [39478] to the 4.7 branch.

see #35105, #38657.

Built from https://develop.svn.wordpress.org/branches/4.7@39480


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-04 17:38:34 +00:00
Weston Ruter
8f1a4c9a56 Customize: Ensure a custom_css post insertion gets an initial post revision.
Merges [39477] onto 4.7 branch.
Props georgestephanis, westonruter.
Fixes #39032 for 4.7.

Built from https://develop.svn.wordpress.org/branches/4.7@39479


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-04 17:33:40 +00:00
Helen Hou-Sandí
e918433445 Docs: Update an @since as there will not be a 4.6.2 before 4.7.
props boonebgorges.
fixes #37291 for the 4.7 branch. see [38776].

Built from https://develop.svn.wordpress.org/branches/4.7@39476


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-04 17:27:22 +00:00
Helen Hou-Sandí
f012d52928 Post-RC2 bump.
Built from https://develop.svn.wordpress.org/branches/4.7@39474


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-03 06:17:35 +00:00
Helen Hou-Sandí
4fd3246c0d WordPress 4.7 RC2.
Built from https://develop.svn.wordpress.org/branches/4.7@39473


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-03 06:05:37 +00:00
Andrew Nacin
d150dd35b2 REST API: Register the admin_email setting in single site only.
Merges [39470] and [39471] to the 4.7 branch.

fixes #38990.

Built from https://develop.svn.wordpress.org/branches/4.7@39472


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-03 05:42:36 +00:00
Gary Pendergast
c720c0df8c REST API: Site URL setting should not be present on multisite installations.
The `siteurl` setting is registered and made available to the REST API. On a multisite installation, this setting is not configurable from the General Settings screen, but due to the above it is configurable from the REST API.

Merge of [39468] to the 4.7 branch.

Props peterwilsoncc.
Fixes #39005.


Built from https://develop.svn.wordpress.org/branches/4.7@39469


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-03 05:18:33 +00:00
Helen Hou-Sandí
1c4c7086a5 Custom CSS: Change the help link to something better for users.
fixes #39015 for the 4.7 branch.

Built from https://develop.svn.wordpress.org/branches/4.7@39467


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-03 05:12:33 +00:00
Gary Pendergast
ea244bef6e REST API: Capability check for editing a single term should use the singular form.
As an extra level of sanity checking, the term ID should be cast as an int in `map_meta_cap()`.

Merge of [39464] to the 4.7 branch.

Props johnbillion, nacin, dd32, pento.
See #35614.
Fixes #39012.


Built from https://develop.svn.wordpress.org/branches/4.7@39465


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-03 05:09:32 +00:00
Gary Pendergast
dae13be262 Docs: Add missing REST API-related args to register_post_type() and register_taxonomy().
These functions now accept the `show_in_rest`, `rest_base`, and `rest_controller_class` args.

Merges [39462] to the 4.7 branch.

Props ketuchetan, rahulsprajapati.
Fixes #39023.


Built from https://develop.svn.wordpress.org/branches/4.7@39463


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-03 04:50:32 +00:00
Gary Pendergast
250f92a59e REST API: Use the correct error message when editing a single term.
Merges [39460] to the 4.7 branch.

Props ramiy, johnbillion.
Fixes #39017.


Built from https://develop.svn.wordpress.org/branches/4.7@39461


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-03 04:44:33 +00:00
Gary Pendergast
b41001d4a1 Load: Re-add class-wp-upgrader-skins.php, class-feed.php, locale.php, and session.php.
Several files were removed during 4.7 that can be loaded externally, so we need to keep them, though their use is now deprecated.

Merges [39449], [39450], [39453], [39455], and [39456] to the 4.7 branch.
Fixes #39027.


Built from https://develop.svn.wordpress.org/branches/4.7@39459


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-03 04:30:34 +00:00
Gary Pendergast
7847fee343 REST API: Merge similar strings in a comments endpoint parameter description.
Merge of [39457] to the 4.7 branch.

Props ramiy.
Fixes #39036.


Built from https://develop.svn.wordpress.org/branches/4.7@39458


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-03 04:24:34 +00:00
Dion Hulse
83c0a40c05 Revert [38677] from the 4.7 branch.
This avoids fatal errors caused with recursive calling of term functions within the `get_terms` filter.

See #21760.

Built from https://develop.svn.wordpress.org/branches/4.7@39454


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-03 04:05:34 +00:00
Helen Hou-Sandí
93734bcbcb Twenty Seventeen: Improve ARIA for the nav menu.
The `onResizeARIA()` function was not very useful and buggy.

props afercia.
fixes #39029, #39026 for the 4.7 branch.

Built from https://develop.svn.wordpress.org/branches/4.7@39452


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-03 03:44:32 +00:00
Helen Hou-Sandí
d344c40f57 Twenty Seventeen: Ensure header text color updates in Customizer preview when cleared
Checks if the text color has been cleared and removes the `style` block if it has been. Uses color styles in theme stylesheet.

Props sstoqnov, davidakennedy.

Fixes #38993 for the 4.7 branch.

Built from https://develop.svn.wordpress.org/branches/4.7@39448


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-02 23:03:34 +00:00
Rachel Baker
afa325993e REST API: Fix bug where comment author and author email could be an empty string when creating a comment.
If the `require_name_email` option is true, creating a comment with an empty string for the author name or email should not be accepted.  Both values can be an empty string on update.

Merges [39444] into the 4.7 branch.
Props flixos90, hnle, dd32, rachelbaker, jnylen0, ChopinBach, joehoyle, pento.

Fixes #38971 for 4.7.

Built from https://develop.svn.wordpress.org/branches/4.7@39446


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39386 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-02 22:46:31 +00:00
Helen Hou-Sandí
0dd3e5e34d About page: Add strings for 4.7 and make available for translation.
It doesn't look very pretty; design changes still to come.

merges [39420], [39432], [39433], [39442], [39443] to the 4.7 branch.

props helen, michaelarestad, samuelsidler, jbpaul17, jorbin, nacin, melchoyce, ocean90, ramiy.
see #38616.

Built from https://develop.svn.wordpress.org/branches/4.7@39445


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-02 22:45:15 +00:00
Rachel Baker
3adc537233 REST API: Fix handling of some orderby parameters for the Posts controller.
- 'orderby' => 'include' requires an array of post_ids via the include collection param.
- 'orderby' => 'id' and 'orderby' => 'slug' need map the correct WP_Query equivalents. 

Merges [39440] to the 4.7 branch.

Props flixos90, hnle, dd32, rachelbaker, joehoyle, pento.
Fixes #38971 for 4.7.

Built from https://develop.svn.wordpress.org/branches/4.7@39441


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-02 22:21:33 +00:00
Jeremy Felt
4726c85ee5 REST API: Disable DELETE requests for users in multisite.
In wp-admin, users are removed from individual sites rather than deleted. A user can only be deleted from the network admin.
Until support for a PUT request that removes a user's site and content associations is available, DELETE requests are disabled to avoid possible issues with lost content.

Merges [34938] onto 4.7 branch.

Props jnylen0, rachelbaker.
Fixes #38962 for 4.7.

Built from https://develop.svn.wordpress.org/branches/4.7@39439


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39379 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-02 22:16:33 +00:00
Rachel Baker
19ba92e401 REST API: Return a WP_Error if meta property is not an array.
Fixes bug where a PHP Warning is currently thrown if a client sends a request where `meta` is not an array value.

Merges [39436] onto 4.7 branch.

Props timmydcrawford, jnylen0, rachelbaker, pento.
Fixes #38989 for 4.7.

Built from https://develop.svn.wordpress.org/branches/4.7@39437


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-02 22:05:35 +00:00
Weston Ruter
4727124583 Customize: Fix posts limit query arg for WP_Query from incorrect number to posts_per_page.
Merges [39434] onto 4.7 branch.
Props dlh.
Fixes #39022 for 4.7.

Built from https://develop.svn.wordpress.org/branches/4.7@39435


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-02 16:19:34 +00:00
Gary Pendergast
0b152a7f2c Plugins: Add a current_priority() method to WP_Hook.
This allows plugins to determine the currently running priority of a filter.

Merges [39430] to the 4.7 branch.

Fixes #39007.


Built from https://develop.svn.wordpress.org/branches/4.7@39431


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-02 07:11:32 +00:00
Gary Pendergast
77022af062 Readme: Update recommendations to PHP 7, and to include HTTPS.
See https://wordpress.org/news/2016/12/moving-toward-ssl/

Merges [39428] to the 4.7 branch.

Fixes #39024.


Built from https://develop.svn.wordpress.org/branches/4.7@39429


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-02 07:04:34 +00:00
Gary Pendergast
43eb2619e9 REST API: Require the reassign parameter when deleting users.
When deleting a user through the WordPress admin, a specific decision is presented - whether to assign all of the user's posts to another user, or to delete all of the posts.

This change requires `reassign` as a parameter in the corresponding REST API endpoint, so that content isn't accidentally lost.

Merges [39426] to the 4.7 branch.

Props jeremyfelt.
Fixes #39000.


Built from https://develop.svn.wordpress.org/branches/4.7@39427


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-02 06:59:34 +00:00
Aaron Jorbin
27af8391d0 Build/Test Tools: Remove PHP 7.1 from allowed failures
[39424] for 4.7

🎉 PHP 7.1 has been officially released. http://php.net/archive/2016.php#id2016-12-01-3

See #37625
Props helen, pento, The PHP team


Built from https://develop.svn.wordpress.org/branches/4.7@39425


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-02 06:44:33 +00:00
Helen Hou-Sandí
4a0443e0db Twenty Seventeen: Fix broken menu toggle in Customizer after menu items are added
This simplifies the line `$( siteNavigation.closest( '.main-navigation' ), this ).toggleClass( 'toggled-on' );` to `$( siteNavContain ).toggleClass( 'toggled-on' );`, since `this` is the clicked button, so the extra context isn't needed.

Props afercia, laurelfulford.

Fixes #38992 for the 4.7 branch.

Built from https://develop.svn.wordpress.org/branches/4.7@39423


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-02 06:34:32 +00:00
Helen Hou-Sandí
909e795ba4 Twenty Seventeen: Fix style issues with gallery image links
* Ensures dark color scheme has proper box shadow and hover/focus styles.
* Make sure links are correct width.

Props afercia, laurelfulford.

Fixes #38969 for the 4.7 branch.

Built from https://develop.svn.wordpress.org/branches/4.7@39422


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-02 06:33:32 +00:00
Helen Hou-Sandí
e28ec68af6 Twenty Seventeen: Hide front section panels on page load of Customizer.
Props sstoqnov.

Fixes #38951 for the 4.7 branch.

Built from https://develop.svn.wordpress.org/branches/4.7@39421


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-02 06:32:36 +00:00
Joe McGill
f57ee7c1f1 Twenty Seventeen: Add .has-header-video styles for custom color schemes.
Following [39413], this adds `.has-header-video` style definitions in
`/inc/custom-header.php` to support custom color schemes.

Props laurelfulford.
Fixes #38995 for 4.7.

Built from https://develop.svn.wordpress.org/branches/4.7@39416


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-02 05:47:45 +00:00
Joe McGill
d81e03da4e Twenty Seventeen: Better handling of custom headers when no image is set.
This ensures that a standard header is shown on the front page whenever
a header video is set without a header image if the video doesn't load,
e.g., on mobile sizes or if the JS doesn't fire.

This adds a new class, `.has-header-video` that is added whenever the
`wp-custom-header-video-loaded` event is fired, which is then used to style
the custom headers along with `.has-header-image` whenever a header image
is available. This also changes the class name on the custom header media
wrapping `div` from `.custom-header-image` to `.custom-header-media`.

Props laurelfulford, joemcgill.
Fixes #38995 for 4.7.

Built from https://develop.svn.wordpress.org/branches/4.7@39414


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-02 05:20:35 +00:00
Weston Ruter
90cd5e5f80 Customize: Reuse existing non-auto-draft posts and existing auto-draft posts in the customized state with matching slugs when applying starter content.
* Updates `wp_unique_post_slug()` to ignore `auto-draft` posts. Prevents publishing multiple posts that have the same slugs from starter content.
* Fixes fatal error when attempting to save an header_image setting from a non-admin context.
* Fixes substituting attachment symbols in options and theme mods.
* Fixes applying starter content for header images and background images.

Merges [39411] to 4.7 branch.
See #38114.
Fixes #38928 for 4.7.

Built from https://develop.svn.wordpress.org/branches/4.7@39412


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-02 00:26:34 +00:00
Weston Ruter
816196aee7 Customize: Reject a changeset update when a non-future date is provided and also ensure that a published changeset always gets set to the current date/time.
* Also moves checks from `customize_save` Ajax handler to the underlying `WP_Customize_Manager::save_changeset_post()` call which plugins may invoke directly.
* Ensures that `customize_save_response` filter is always passed an array, with error code available as `code`.

Props utkarshpatel, westonruter, sayedwp.
Merges [39409] into 4.7 branch.
See #30937.
Fixes #38943 for 4.7.

Built from https://develop.svn.wordpress.org/branches/4.7@39410


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-02 00:07:33 +00:00
Rachel Baker
b460e1fd0d REST API: Add test for creating a comment with an invalid post ID.
Props @jnylen0.

Merges [39375] to the 4.7 branch.
Fixes #38991 for 4.7.

Built from https://develop.svn.wordpress.org/branches/4.7@39408


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-01 03:43:35 +00:00
Rachel Baker
a332bb92d2 REST API: Correct the admin_email setting description for single site installs.
Display different descriptions for multisite or single site installations.

Props johnbillion, ocean90.

Merges [39406] to the 4.7 branch.
Fixes #38990 for 4.7

Built from https://develop.svn.wordpress.org/branches/4.7@39407


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-01 03:06:33 +00:00
Weston Ruter
41118e509a Twenty Seventeen: Make spacing on pages without comments consistent
Previously, the top of the page had more space than the bottom, not matching the original design.

Props laurelfulford, melchoyce.
Merges [39404] onto the 4.7 branch.
Fixes #38972 for 4.7.

Built from https://develop.svn.wordpress.org/branches/4.7@39405


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-01 02:52:47 +00:00
Rachel Baker
1d9a15ad4a REST API: Fix incorrect capability check on term create.
Change the capability check used in `WP_REST_Terms_Controller` when creating a new term is attempted, from `manage_terms` to `edit_terms`. This matches the behavior within the WordPress admin. See #35614.

Props johnbillion, rmccue, rachelbaker, helen, jorbin, SergeyBiryukov.

Merges [39402] to the 4.7 branch.
Fixes #38958 for 4.7.

Built from https://develop.svn.wordpress.org/branches/4.7@39403


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-01 02:46:43 +00:00
Rachel Baker
cb6bdc2d4c REST API: Fix incorrect uses of rest_sanitize_value_from_schema().
In the `check_username()` and `check_password()` callbacks in the Users controller cast the provided request value to a string. The `rest_sanitize_value_from_schema()` function was being used incorrectly which was causing unintended request parsing. 
In `rest_sanitize_request_arg()` do not pass nonexistent third parameter for the `rest_sanitize_value_from_schema()` function.

Props jnylen0, joehoyle, rachelbaker, ocean90.

Merges [39400] to the 4.7 branch.
Fixes #38984 for 4.7.
Built from https://develop.svn.wordpress.org/branches/4.7@39401


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-01 02:19:32 +00:00
Mike Schroder
bc1df6bef1 Media: Fix regression with display of small images in media library.
Fixes a regression in the media library after [38949], which caused
small images (< thumbnail size) to not display within the media library.

Accounts for images that have no intermediate sizes
in `wp_prepare_attachment_for_js()`.

Adds test.

Merges [39396] to the 4.7 branch.

Fixes #38965 for 4.7.
Props joemcgill, clorith, mikeschroder.

Built from https://develop.svn.wordpress.org/branches/4.7@39399


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-01 00:28:32 +00:00
Helen Hou-Sandí
7b69275632 Twenty Seventeen: Make sure header text color is applied when color schemes are active.
Props laurelfulford, ocean90.

Merges [39397] to the 4.7 branch.
Fixes #38980 for 4.7.

Built from https://develop.svn.wordpress.org/branches/4.7@39398


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-01 00:12:34 +00:00
Weston Ruter
71169d688a Customize: Fix handling of the nav menu item labels (titles) that match defaults (original titles) and fix the display of item type labels.
* Show default labels for nav menu item as placeholders in a control's label field instead of showing blank.
* Store empty string as label instead of copying default labels.
* Prevent labels for post type archive items from being dropped in preview.
* Also ensure that the item type label is displayed on nav menu item controls for settings that are loaded from an existing changeset.

Amends [38618].
See #38015.
Fixes #38955 for 4.7 branch.

Built from https://develop.svn.wordpress.org/branches/4.7@39395


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-30 23:42:32 +00:00
Helen Hou-Sandí
02fa7656d1 Twenty Seventeen: Make fixed navigation apply at correct height on front page, without header video or image
Props laurelfulford, littlebigthing.

Merges [39392] to the 4.7 branch.
Fixes #38927 for 4.7.

Built from https://develop.svn.wordpress.org/branches/4.7@39394


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-30 23:39:31 +00:00
Dominik Schilling
29e03dd26c Docs: Document the usage of the global $wpdb in _filter_query_attachment_filenames().
Merge of [39390] to the 4.7 branch.

Props mt8.biz.
See #38973.
Built from https://develop.svn.wordpress.org/branches/4.7@39391


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-30 23:21:32 +00:00
Dominik Schilling
849d8db4fc Twenty Seventeen: Provide a background color fallback for non-webkit browsers on input styles
This allows the styles to work correctly when modified by high contrast computer setups.

Merge of [39388] to the 4.7 branch.

Props presskopp.
See #38939.
Built from https://develop.svn.wordpress.org/branches/4.7@39389


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-30 23:07:36 +00:00
Dominik Schilling
f50646d6c4 Twenty Seventeen: Allow child themes to easily extend custom color patterns
By adding a filter, child themes can add additional selectors onto the custom color scheme CSS. Like so:

{{{
// Add child theme selectors for color schemes.
function dynamic_seventeen_custom_colors_css( $css, $hue, $saturation ) {
	$css .= '
	.colors-custom .content-menu > article:not(.has-post-thumbnail),
	.colors-custom .content-menu > section:not(.has-post-thumbnail) {
		border-top-color: hsl( ' . $hue . ', ' . $saturation . ', 87% ); /* base: #ddd; */
	}';
	return $css;
}
add_filter( 'twentyseventeen_custom_colors_css', 'dynamic_seventeen_custom_colors_css', 10, 3 );
}}}

Merge of [39386] to the 4.7 branch.

Props celloexpressions.
See #38949.
Built from https://develop.svn.wordpress.org/branches/4.7@39387


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-30 22:57:35 +00:00
Dominik Schilling
413896af01 Twenty Seventeen: Make screen reader text on scroll arrow more meaningful
This way screen reader users will know what to expect when they use this link.

Merge of [39384] to the 4.7 branch.

Props rianrietveld.
See #38970.
Built from https://develop.svn.wordpress.org/branches/4.7@39385


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-30 22:18:33 +00:00
Dominik Schilling
08ff35374b Options: Pass the $passed_default parameter to the default_option_{$option} filter in add_option().
This was missed in [38910].

Merge of [39382] to the 4.7 branch.

Props joehoyle, lucasstark.
See #38176, #38930.
Built from https://develop.svn.wordpress.org/branches/4.7@39383


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-30 21:32:34 +00:00
Joe McGill
9650704689 Twenty Seventeen: Keep header videos from extending past footer.
This adds 1px of bottom padding to header videos to keep them from
extending past the footer at the bottom of the page.

Fixes #38950 for 4.7 branch.

Built from https://develop.svn.wordpress.org/branches/4.7@39381


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-30 20:58:34 +00:00
Weston Ruter
b9cd04e8ad Customize: Fix regression in ability to hide fields for advanced menu properties in nav menu item controls.
Props westonruter, celloexpressions.
See #34391.
Fixes #38952 for 4.7 branch.

Built from https://develop.svn.wordpress.org/branches/4.7@39379


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-30 18:03:38 +00:00
Weston Ruter
ea8b01eac6 Customize: Fix regression in ability to create submenus for nav menus via drag and drop.
See #34391.
Fixes #38948 for 4.7 branch.
Props delawski, adamsilverstein.

Built from https://develop.svn.wordpress.org/branches/4.7@39377


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-30 17:45:34 +00:00
Helen Hou-Sandí
6d161ba61a Twenty Seventeen: Add textdomain for starter content attachment titles.
fixes #38981 for the 4.7 branch.

Built from https://develop.svn.wordpress.org/branches/4.7@39374


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-30 05:49:34 +00:00
Gary Pendergast
fa7b15c74e REST API: Add tests for empty or "no-op" updates.
The API should allow updates that don't actually change anything.  This allows clients to, for example, accidentally send the same request twice without encountering unexpected errors.  This currently works for posts, terms, and users, so this commit adds test cases accordingly.

See #38700 for issues preventing this from working for comments.

Merge of [39371] to the 4.7 branch.

Props jnylen0.
See #38975.

Built from https://develop.svn.wordpress.org/branches/4.7@39372


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-30 03:28:36 +00:00
Dion Hulse
158d1b55b4 WP_Hook: Re-initialize any actions added directly to $wp_filter by advanced-cache.php.
Props dd32, ocean90.
Merges [39369] to the 4.7 branch.
Fixes #38929.

Built from https://develop.svn.wordpress.org/branches/4.7@39370


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-29 05:39:31 +00:00
Andrew Nacin
28ba2c0911 Build: Remove fsevents from npm-shrinkwrap.json
fsevents is macOS only, and npm-shrinkwrap tries to force it onto other architectures, causing build failures. Upstream: https://github.com/npm/npm/issues/2679.

fixes #38657 for the 4.7 branch.

Built from https://develop.svn.wordpress.org/branches/4.7@39368


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-29 04:59:54 +00:00
Weston Ruter
a8ef25ce7b Customize: Fix logic for previewing the URL for nav_menu_item settings for terms and post type archives.
Fixes typo in args passed to `get_term_link()` which caused a fatal error due to this call returning a `WP_Error` which was set to `url`. Also fixes never-satisfiable condition for obtaining post type archive URL. Also ensures that `WP_Error` never leaks through as `url` by setting it to an empty string. Adds missing unit tests.

Amends [38991].
See #38114.
Fixes #38945 for 4.7.

Built from https://develop.svn.wordpress.org/branches/4.7@39366


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-29 04:59:01 +00:00
Dominik Schilling
acd9d9fad3 Build/Test Tools: Add npm-shrinkwrap.json to 4.7.
By shrinkwraping our dependencies, the same versions of everything will be installed no matter what rules the dependency package.json has specified.

Fixes #38657.
Built from https://develop.svn.wordpress.org/branches/4.7@39358


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-29 04:11:52 +00:00
Helen Hou-Sandí
781d4e5b46 Branch 4.7.
Built from https://develop.svn.wordpress.org/branches/4.7@39356


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-24 21:32:10 +00:00
955 changed files with 48067 additions and 147641 deletions

View File

@@ -1,6 +1,6 @@
WordPress - Web publishing software
Copyright 2011-2018 by the contributors
Copyright 2011-2016 by the contributors
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by

View File

@@ -9,6 +9,7 @@
<body>
<h1 id="logo">
<a href="https://wordpress.org/"><img alt="WordPress" src="wp-admin/images/wordpress-logo.png" /></a>
<br /> Version 4.7
</h1>
<p style="text-align: center">Semantic Personal Publishing Platform</p>
@@ -58,7 +59,7 @@
<h3>Recommendations</h3>
<ul>
<li><a href="https://secure.php.net/">PHP</a> version <strong>7.2</strong> or higher.</li>
<li><a href="https://secure.php.net/">PHP</a> version <strong>7</strong> or higher.</li>
<li><a href="https://www.mysql.com/">MySQL</a> version <strong>5.6</strong> or higher.</li>
<li>The <a href="https://httpd.apache.org/docs/2.2/mod/mod_rewrite.html">mod_rewrite</a> Apache module.</li>
<li><a href="https://wordpress.org/news/2016/12/moving-toward-ssl/">HTTPS</a> support.</li>

View File

@@ -18,52 +18,6 @@ if ( !is_multisite() ) {
die();
}
$valid_error_codes = array( 'already_active', 'blog_taken' );
list( $activate_path ) = explode( '?', wp_unslash( $_SERVER['REQUEST_URI'] ) );
$activate_cookie = 'wp-activate-' . COOKIEHASH;
$key = '';
$result = null;
if ( isset( $_GET['key'] ) && isset( $_POST['key'] ) && $_GET['key'] !== $_POST['key'] ) {
wp_die( __( 'A key value mismatch has been detected. Please follow the link provided in your activation email.' ), __( 'An error occurred during the activation' ), 400 );
} elseif ( ! empty( $_GET['key'] ) ) {
$key = $_GET['key'];
} elseif ( ! empty( $_POST['key'] ) ) {
$key = $_POST['key'];
}
if ( $key ) {
$redirect_url = remove_query_arg( 'key' );
if ( $redirect_url !== remove_query_arg( false ) ) {
setcookie( $activate_cookie, $key, 0, $activate_path, COOKIE_DOMAIN, is_ssl(), true );
wp_safe_redirect( $redirect_url );
exit;
} else {
$result = wpmu_activate_signup( $key );
}
}
if ( $result === null && isset( $_COOKIE[ $activate_cookie ] ) ) {
$key = $_COOKIE[ $activate_cookie ];
$result = wpmu_activate_signup( $key );
setcookie( $activate_cookie, ' ', time() - YEAR_IN_SECONDS, $activate_path, COOKIE_DOMAIN, is_ssl(), true );
}
if ( $result === null || ( is_wp_error( $result ) && 'invalid_key' === $result->get_error_code() ) ) {
status_header( 404 );
} elseif ( is_wp_error( $result ) ) {
$error_code = $result->get_error_code();
if ( ! in_array( $error_code, $valid_error_codes ) ) {
status_header( 400 );
}
}
nocache_headers();
if ( is_object( $wp_object_cache ) )
$wp_object_cache->cache_enabled = false;
@@ -82,7 +36,7 @@ do_action( 'activate_header' );
*
* Fires on {@see 'wp_head'}.
*
* @since MU (3.0.0)
* @since MU
*/
function do_activate_header() {
/**
@@ -99,7 +53,7 @@ add_action( 'wp_head', 'do_activate_header' );
/**
* Loads styles specific to this page.
*
* @since MU (3.0.0)
* @since MU
*/
function wpmu_activate_stylesheet() {
?>
@@ -113,14 +67,13 @@ function wpmu_activate_stylesheet() {
<?php
}
add_action( 'wp_head', 'wpmu_activate_stylesheet' );
add_action( 'wp_head', 'wp_sensitive_page_meta' );
get_header( 'wp-activate' );
?>
<div id="signup-content" class="widecolumn">
<div class="wp-activate-container">
<?php if ( ! $key ) { ?>
<?php if ( empty($_GET['key']) && empty($_POST['key']) ) { ?>
<h2><?php _e('Activation Key Required') ?></h2>
<form name="activateform" id="activateform" method="post" action="<?php echo network_site_url('wp-activate.php'); ?>">
@@ -134,39 +87,43 @@ get_header( 'wp-activate' );
</form>
<?php } else {
if ( is_wp_error( $result ) && in_array( $result->get_error_code(), $valid_error_codes ) ) {
$signup = $result->get_error_data();
?>
<h2><?php _e( 'Your account is now active!' ); ?></h2>
<?php
echo '<p class="lead-in">';
if ( $signup->domain . $signup->path == '' ) {
printf(
/* translators: 1: login URL, 2: username, 3: user email, 4: lost password URL */
__( 'Your account has been activated. You may now <a href="%1$s">log in</a> to the site using your chosen username of &#8220;%2$s&#8221;. Please check your email inbox at %3$s for your password and login instructions. If you do not receive an email, please check your junk or spam folder. If you still do not receive an email within an hour, you can <a href="%4$s">reset your password</a>.' ),
network_site_url( 'wp-login.php', 'login' ),
$signup->user_login,
$signup->user_email,
wp_lostpassword_url()
);
$key = !empty($_GET['key']) ? $_GET['key'] : $_POST['key'];
$result = wpmu_activate_signup( $key );
if ( is_wp_error($result) ) {
if ( 'already_active' == $result->get_error_code() || 'blog_taken' == $result->get_error_code() ) {
$signup = $result->get_error_data();
?>
<h2><?php _e('Your account is now active!'); ?></h2>
<?php
echo '<p class="lead-in">';
if ( $signup->domain . $signup->path == '' ) {
printf(
/* translators: 1: login URL, 2: username, 3: user email, 4: lost password URL */
__( 'Your account has been activated. You may now <a href="%1$s">log in</a> to the site using your chosen username of &#8220;%2$s&#8221;. Please check your email inbox at %3$s for your password and login instructions. If you do not receive an email, please check your junk or spam folder. If you still do not receive an email within an hour, you can <a href="%4$s">reset your password</a>.' ),
network_site_url( 'wp-login.php', 'login' ),
$signup->user_login,
$signup->user_email,
wp_lostpassword_url()
);
} else {
printf(
/* translators: 1: site URL, 2: site domain, 3: username, 4: user email, 5: lost password URL */
__( 'Your site at <a href="%1$s">%2$s</a> is active. You may now log in to your site using your chosen username of &#8220;%3$s&#8221;. Please check your email inbox at %4$s for your password and login instructions. If you do not receive an email, please check your junk or spam folder. If you still do not receive an email within an hour, you can <a href="%5$s">reset your password</a>.' ),
'http://' . $signup->domain,
$signup->domain,
$signup->user_login,
$signup->user_email,
wp_lostpassword_url()
);
}
echo '</p>';
} else {
printf(
/* translators: 1: site URL, 2: username, 3: user email, 4: lost password URL */
__( 'Your site at %1$s is active. You may now log in to your site using your chosen username of &#8220;%2$s&#8221;. Please check your email inbox at %3$s for your password and login instructions. If you do not receive an email, please check your junk or spam folder. If you still do not receive an email within an hour, you can <a href="%4$s">reset your password</a>.' ),
sprintf( '<a href="http://%1$s">%1$s</a>', $signup->domain ),
$signup->user_login,
$signup->user_email,
wp_lostpassword_url()
);
}
echo '</p>';
} elseif ( $result === null || is_wp_error( $result ) ) {
?>
<h2><?php _e( 'An error occurred during the activation' ); ?></h2>
<?php if ( is_wp_error( $result ) ) : ?>
?>
<h2><?php _e( 'An error occurred during the activation' ); ?></h2>
<p><?php echo $result->get_error_message(); ?></p>
<?php endif; ?>
<?php
<?php
}
} else {
$url = isset( $result['blog_id'] ) ? get_home_url( (int) $result['blog_id'] ) : '';
$user = get_userdata( (int) $result['user_id'] );

View File

@@ -9,462 +9,159 @@
/** WordPress Administration Bootstrap */
require_once( dirname( __FILE__ ) . '/admin.php' );
wp_enqueue_script( 'underscore' );
if ( ! wp_is_mobile() ) {
wp_enqueue_style( 'wp-mediaelement' );
wp_enqueue_script( 'wp-mediaelement' );
wp_localize_script( 'mediaelement', '_wpmejsSettings', array(
'pluginPath' => includes_url( 'js/mediaelement/', 'relative' ),
'pauseOtherPlayers' => '',
) );
}
/* translators: Page title of the About WordPress page in the admin. */
$title = _x( 'About', 'page title' );
$video_url = 'https://videopress.com/embed/AHz0Ca46?hd=true';
$lang_code = str_replace( '_', '-', get_user_locale() );
list( $lang_code ) = explode( '-', $lang_code );
if ( 'en' !== $lang_code ) {
$video_url = add_query_arg( 'defaultLangCode', $lang_code, $video_url );
}
$title = __( 'About' );
list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
include( ABSPATH . 'wp-admin/admin-header.php' );
?>
<div class="wrap about-wrap full-width-layout">
<div class="wrap about-wrap">
<h1><?php printf( __( 'Welcome to WordPress&nbsp;%s' ), $display_version ); ?></h1>
<p class="about-text"><?php printf( __( 'Thank you for updating to the latest version! WordPress %s will smooth your design workflow and keep you safe from coding errors.' ), $display_version ); ?></p>
<p class="about-text"><?php printf( __( 'Thank you for updating to the latest version! WordPress %s helps you get your site set up the way you want it.' ), $display_version ); ?></p>
<div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
<h2 class="nav-tab-wrapper wp-clearfix">
<a href="about.php" class="nav-tab nav-tab-active"><?php _e( 'What&#8217;s New' ); ?></a>
<a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
<a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
<a href="freedoms.php?privacy-notice" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
</h2>
<div class="changelog point-releases">
<h3><?php _e( 'Maintenance and Security Releases' ); ?></h3>
<p>
<?php
printf(
/* translators: %s: WordPress version number */
__( '<strong>Version %s</strong> addressed some security issues.' ),
'4.9.15'
);
?>
<?php
printf(
/* translators: %s: HelpHub URL */
__( 'For more information, see <a href="%s">the release notes</a>.' ),
sprintf(
/* translators: %s: WordPress version */
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
sanitize_title( '4.9.15' )
)
);
?>
</p>
<p>
<?php
printf(
/* translators: %s: WordPress version number */
__( '<strong>Version %s</strong> addressed some security issues.' ),
'4.9.14'
);
?>
<?php
printf(
/* translators: %s: HelpHub URL */
__( 'For more information, see <a href="%s">the release notes</a>.' ),
sprintf(
/* translators: %s: WordPress version */
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
sanitize_title( '4.9.14' )
)
);
?>
</p>
<p>
<?php
printf(
/* translators: %s: WordPress version number */
__( '<strong>Version %s</strong> addressed some security issues.' ),
'4.9.13'
);
?>
<?php
printf(
/* translators: %s: HelpHub URL */
__( 'For more information, see <a href="%s">the release notes</a>.' ),
sprintf(
/* translators: %s: WordPress version */
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
sanitize_title( '4.9.13' )
)
);
?>
</p>
<p>
<?php
printf(
/* translators: %s: WordPress version number */
__( '<strong>Version %s</strong> addressed some security issues.' ),
'4.9.12'
);
?>
<?php
printf(
/* translators: %s: HelpHub URL */
__( 'For more information, see <a href="%s">the release notes</a>.' ),
sprintf(
/* translators: %s: WordPress version */
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
sanitize_title( '4.9.12' )
)
);
?>
</p>
<p>
<?php
printf(
/* translators: %s: WordPress version number */
__( '<strong>Version %s</strong> addressed some security issues.' ),
'4.9.11'
);
?>
<?php
printf(
/* translators: %s: HelpHub URL */
__( 'For more information, see <a href="%s">the release notes</a>.' ),
sprintf(
/* translators: %s: WordPress version */
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
sanitize_title( '4.9.11' )
)
);
?>
</p>
<p>
<?php
printf(
/* translators: %s: WordPress version number */
__( '<strong>Version %s</strong> addressed some security issues.' ),
'4.9.10'
);
?>
<?php
printf(
/* translators: %s: HelpHub URL */
__( 'For more information, see <a href="%s">the release notes</a>.' ),
sprintf(
/* translators: %s: WordPress version */
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
sanitize_title( '4.9.10' )
)
);
?>
</p>
<p>
<?php
/* translators: %s: WordPress version number */
printf( __( '<strong>Version %s</strong> addressed some security issues.' ), '4.9.9' );
?>
<?php
/* translators: %s: Codex URL */
printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.9.9' );
?>
</p>
<p>
<?php
printf(
/* translators: 1: WordPress version number, 2: plural number of bugs. */
_n(
'<strong>Version %1$s</strong> addressed %2$s bug.',
'<strong>Version %1$s</strong> addressed %2$s bugs.',
46
),
'4.9.8',
number_format_i18n( 46 )
);
?>
<?php
/* translators: %s: Codex URL */
printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.9.8' );
?>
</p>
<p>
<?php
printf(
/* translators: 1: WordPress version number, 2: plural number of bugs. */
_n(
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.',
17
),
'4.9.7',
number_format_i18n( 17 )
);
?>
<?php
/* translators: %s: Codex URL */
printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.9.7' );
?>
</p>
<p>
<?php
printf(
/* translators: 1: WordPress version number, 2: plural number of bugs. */
_n(
'<strong>Version %1$s</strong> addressed %2$s bug.',
'<strong>Version %1$s</strong> addressed %2$s bugs.',
18
),
'4.9.6',
number_format_i18n( 18 )
);
?>
<?php
/* translators: %s: Codex URL */
printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.9.6' );
?>
</p>
<p>
<?php
printf(
/* translators: 1: WordPress version number, 2: plural number of bugs. */
_n(
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.',
28
),
'4.9.5',
number_format_i18n( 28 )
);
?>
<?php
/* translators: %s: Codex URL */
printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.9.5' );
?>
</p>
<p>
<?php
printf(
/* translators: 1: WordPress version number, 2: plural number of bugs. */
_n(
'<strong>Version %1$s</strong> addressed %2$s bug.',
'<strong>Version %1$s</strong> addressed %2$s bugs.',
1
),
'4.9.4',
number_format_i18n( 1 )
);
?>
<?php
/* translators: %s: Codex URL */
printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.9.4' );
?>
</p>
<p>
<?php
printf(
/* translators: 1: WordPress version number, 2: plural number of bugs. */
_n(
'<strong>Version %1$s</strong> addressed %2$s bug.',
'<strong>Version %1$s</strong> addressed %2$s bugs.',
34
),
'4.9.3',
number_format_i18n( 34 )
);
?>
<?php
/* translators: %s: Codex URL */
printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.9.3' );
?>
</p>
<p>
<?php
printf(
/* translators: 1: WordPress version number, 2: plural number of bugs. */
_n(
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.',
22
),
'4.9.2',
number_format_i18n( 22 )
);
?>
<?php
/* translators: %s: Codex URL */
printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.9.2' );
?>
</p>
<p>
<?php
printf(
/* translators: 1: WordPress version number, 2: plural number of bugs. */
_n(
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.',
11
),
'4.9.1',
number_format_i18n( 11 )
);
?>
<?php
/* translators: %s: Codex URL */
printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.9.1' );
?>
</p>
<div class="headline-feature feature-video">
<iframe width="1050" height="591" src="<?php echo esc_url( $video_url ); ?>" frameborder="0" allowfullscreen></iframe>
<script src="https://videopress.com/videopress-iframe.js"></script>
</div>
<hr />
<div class="feature-section one-col">
<h2><?php _e( 'Presenting Twenty Seventeen' ); ?></h2>
<p class="lead-description"><?php _e( 'A brand new default theme brings your site to life with immersive featured images and video headers.' ); ?></p>
<picture>
<source media="(min-width: 450px)" srcset="https://s.w.org/images/core/4.7/twenty-seventeen-1600.jpg?v2 1600w, https://s.w.org/images/core/4.7/twenty-seventeen-493.jpg?v2 493w, https://s.w.org/images/core/4.7/twenty-seventeen-663.jpg?v2 663w, https://s.w.org/images/core/4.7/twenty-seventeen-804.jpg?v2 804w, https://s.w.org/images/core/4.7/twenty-seventeen-928.jpg?v2 928w, https://s.w.org/images/core/4.7/twenty-seventeen-1058.jpg?v2 1058w, https://s.w.org/images/core/4.7/twenty-seventeen-1173.jpg?v2 1173w, https://s.w.org/images/core/4.7/twenty-seventeen-1299.jpg?v2 1299w, https://s.w.org/images/core/4.7/twenty-seventeen-1410.jpg?v2 1410w, https://s.w.org/images/core/4.7/twenty-seventeen-1513.jpg?v2 1513w, https://s.w.org/images/core/4.7/twenty-seventeen-1595.jpg?v2 1595w" sizes="(max-width: 500px) calc(100vw - 40px), (max-width: 782px) calc(100vw - 70px), (max-width: 959px) calc(100vw - 116px), (max-width: 1290px) calc(100vw - 240px), 1050px">
<source srcset="https://s.w.org/images/core/4.7/twenty-seventeen-mobile-564.jpg?v2 564w, https://s.w.org/images/core/4.7/twenty-seventeen-mobile-280.jpg?v2 280w, https://s.w.org/images/core/4.7/twenty-seventeen-mobile-372.jpg?v2 372w, https://s.w.org/images/core/4.7/twenty-seventeen-mobile-454.jpg?v2 454w, https://s.w.org/images/core/4.7/twenty-seventeen-mobile-541.jpg?v2 541w" sizes="calc(100vw - 40px)">
<img src="https://s.w.org/images/core/4.7/twenty-seventeen-1600.jpg?v2" srcset="https://s.w.org/images/core/4.7/twenty-seventeen-1600.jpg?v2 1600w, https://s.w.org/images/core/4.7/twenty-seventeen-280.jpg?v2 280w, https://s.w.org/images/core/4.7/twenty-seventeen-493.jpg?v2 493w, https://s.w.org/images/core/4.7/twenty-seventeen-663.jpg?v2 663w, https://s.w.org/images/core/4.7/twenty-seventeen-804.jpg?v2 804w, https://s.w.org/images/core/4.7/twenty-seventeen-928.jpg?v2 928w, https://s.w.org/images/core/4.7/twenty-seventeen-1058.jpg?v2 1058w, https://s.w.org/images/core/4.7/twenty-seventeen-1173.jpg?v2 1173w, https://s.w.org/images/core/4.7/twenty-seventeen-1299.jpg?v2 1299w, https://s.w.org/images/core/4.7/twenty-seventeen-1410.jpg?v2 1410w, https://s.w.org/images/core/4.7/twenty-seventeen-1513.jpg?v2 1513w, https://s.w.org/images/core/4.7/twenty-seventeen-1595.jpg?v2 1595w" sizes="(max-width: 500px) calc(100vw - 40px), (max-width: 782px) calc(100vw - 70px), (max-width: 959px) calc(100vw - 116px), (max-width: 1290px) calc(100vw - 240px), 1050px" alt="" />
</picture>
<p><?php _e( 'Twenty Seventeen focuses on business sites and features a customizable front page with multiple sections. Personalize it with widgets, navigation, social menus, a logo, custom colors, and more. Our default theme for 2017 works great in many languages, on any device, and for a wide range of users.' ); ?></p>
</div>
<hr />
<div class="feature-section one-col">
<h2><?php _e( 'Your Site, Your Way' ); ?></h2>
<p class="lead-description"><?php _e( 'WordPress 4.7 adds new features to the customizer to help take you through the initial setup of a theme, with non-destructive live previews of all your changes in one uninterrupted workflow.' ); ?></p>
</div>
<div class="feature-section two-col">
<div class="col">
<h2>
<?php
printf(
/* translators: %s: party popper emoji */
__( 'Major Customizer Improvements, Code Error Checking, and More! %s' ),
'&#x1F389'
);
?>
</h2>
<p><?php _e( 'Welcome to an improved Customizer workflow with design drafts, locking, scheduling, and preview links. What&#8217;s more, code syntax highlighting and error checking will make for a clean and smooth site building experience. Finally, if all that wasn&#8217;t pretty great, we&#8217;ve got a great new Gallery widget and improvements to theme browsing and switching.' ); ?></p>
<h3><?php _e( 'Theme Starter Content' ); ?></h3>
<p><?php _e( 'To help give you a solid base to build from, individual themes can provide starter content that appears when you go to customize your brand new site. This can range from placing a business information widget in the best location to providing a sample menu with social icon links to a static front page complete with beautiful images. Don&#8217;t worry - nothing new will appear on the live site until you&#8217;re ready to save and publish your initial theme setup.' ); ?></p>
</div>
</div>
<div class="inline-svg full-width">
<picture>
<source media="(max-width: 500px)" srcset="<?php echo 'https://s.w.org/images/core/4.9/banner-mobile.svg'; ?>">
<img src="https://s.w.org/images/core/4.9/banner.svg" alt="">
</picture>
</div>
<div class="floating-header-section">
<div class="section-header">
<h2><?php _e( 'Customizer Workflow Improved' ); ?></h2>
</div>
<div class="section-content">
<div class="section-item">
<div class="inline-svg">
<img src="https://s.w.org/images/core/4.9/draft-and-schedule.svg" alt="">
</div>
<h3><?php _e( 'Draft and Schedule Site Design Customizations' ); ?></h3>
<p><?php _e( 'Yes, you read that right. Just like you can draft and revise posts and schedule them to go live on the date and time you choose, you can now tinker with your site&#8217;s design and schedule those design changes to go live as you please.' ); ?></p>
</div>
<div class="section-item">
<div class="inline-svg">
<img src="https://s.w.org/images/core/4.9/design-preview-links.svg" alt="">
</div>
<h3><?php _e( 'Collaborate with Design Preview Links' ); ?></h3>
<p><?php _e( 'Need to get some feedback on proposed site design changes? WordPress 4.9 gives you a preview link you can send to your team and customers so that you can collect and integrate feedback before you schedule the changes to go live. Can we say collaboration&#43;&#43;?' ); ?></p>
</div>
<div class="section-item">
<div class="inline-svg">
<img src="https://s.w.org/images/core/4.9/locking.svg" alt="">
</div>
<h3><?php _e( 'Design Locking To Guard Your Changes' ); ?></h3>
<p><?php _e( 'Ever encounter a scenario where two designers walk into a project and designer A overrides designer B&#8217;s beautiful changes? WordPress 4.9&#8217;s design lock feature (similar to post locking) secures your draft design so that no one can make changes to it or erase all your hard work.' );?></p>
</div>
<div class="section-item">
<div class="inline-svg">
<img src="https://s.w.org/images/core/4.9/prompt.svg" alt="">
</div>
<h3><?php _e( 'A Prompt to Protect Your Work' ); ?></h3>
<p><?php _e( 'Were you lured away from your desk before you saved your new draft design? Fear not, when you return, WordPress 4.9 will politely ask whether or not you&#8217;d like to save your unsaved changes.' ); ?></p>
</div>
</div>
</div>
<div class="floating-header-section">
<div class="section-header">
<h2><?php _e( 'Coding Enhancements' ); ?></h2>
</div>
<div class="section-content">
<div class="section-item">
<div class="inline-svg">
<img src="https://s.w.org/images/core/4.9/syntax-highlighting.svg" alt="">
</div>
<h3><?php _e( 'Syntax Highlighting and Error Checking? Yes, Please!' ); ?></h3>
<p><?php _e( 'You&#8217;ve got a display problem but can&#8217;t quite figure out exactly what went wrong in the CSS you lovingly wrote. With syntax highlighting and error checking for CSS editing and the Custom HTML widget introduced in WordPress 4.8.1, you&#8217;ll pinpoint coding errors quickly. Practically guaranteed to help you scan code more easily and suss out and fix code errors quickly.' ); ?></p>
</div>
<div class="section-item">
<div class="inline-svg">
<img src="https://s.w.org/images/core/4.9/sandbox.svg" alt="">
</div>
<h3><?php _e( 'Sandbox for Safety' ); ?></h3>
<p><?php _e( 'The dreaded white screen. You&#8217;ll avoid it when working on themes and plugin code because WordPress 4.9 will warn you about saving an error. You&#8217;ll sleep better at night.' ); ?></p>
</div>
<div class="section-item">
<div class="inline-svg">
<img src="https://s.w.org/images/core/4.9/warning.svg" alt="">
</div>
<h3><?php _e( 'Warning: Potential Danger Ahead!' ); ?></h3>
<p><?php _e( 'When you edit themes and plugins directly, WordPress 4.9 will politely warn you that this is a dangerous practice. It will recommend that you backup your files before saving, so they don&#8217;t get overwritten by the next update. Take the safe route: your future self will thank you. Your team and customers will thank you.' );?></p>
</div>
</div>
</div>
<div class="floating-header-section">
<div class="section-header">
<h2><?php _e( 'Even More Widget Updates' ); ?></h2>
</div>
<div class="section-content">
<div class="section-item">
<div class="inline-svg">
<img src="https://s.w.org/images/core/4.9/gallery-widget.svg" alt="">
</div>
<h3><?php _e( 'The New Gallery Widget' ); ?></h3>
<p><?php _e( 'An incremental improvement to the media changes hatched in WordPress 4.8, you can now add a gallery via widget. Yes!' ); ?></p>
</div>
<div class="section-item">
<div class="inline-svg">
<img src="https://s.w.org/images/core/4.9/media-button.svg" alt="">
</div>
<h3><?php _e( 'Press a Button, Add Media' ); ?></h3>
<p><?php _e( 'Want to add media to your text widget? Embed images, video, and audio directly into the widget along with your text, with our simple but useful Add Media button. Woo!' ); ?></p>
</div>
</div>
</div>
<div class="floating-header-section">
<div class="section-header">
<h2><?php _e( 'Site Building Improvements' ); ?></h2>
</div>
<div class="section-content">
<div class="section-item">
<div class="inline-svg">
<img src="https://s.w.org/images/core/4.9/theme-switching.svg" alt="">
</div>
<h3><?php _e( 'More Reliable Theme Switching' ); ?></h3>
<p><?php _e( 'When you switch themes, widgets sometimes think they can just up and move location. Improvements in WordPress 4.9 offer more persistent menu and widget placement when you decide it&#8217;s time for a new theme. Additionally, you can preview installed themes or download, install, and preview new themes right. Nothing says handy like being able to preview before you deploy. ' ); ?></p>
</div>
<div class="section-item">
<div class="inline-svg">
<img src="https://s.w.org/images/core/4.9/menu-flow.svg" alt="">
</div>
<h3><?php _e( 'Better Menu Instructions = Less Confusion' ); ?></h3>
<p><?php _e( 'Were you confused by the steps to create a new menu? Perhaps no longer! We&#8217;ve ironed out the UX for a smoother menu creation process. Newly updated copy will guide you.' ); ?></p>
</div>
</div>
</div>
<div class="inline-svg">
<picture>
<source media="(max-width: 500px)" srcset="<?php echo 'https://s.w.org/images/core/4.9/gutenberg-mobile.svg'; ?>">
<img src="https://s.w.org/images/core/4.9/gutenberg.svg" alt="">
</picture>
</div>
<div class="feature-section">
<h2>
<div class="col">
<?php
printf(
/* translators: %s: handshake emoji */
__( 'Lend a Hand with Gutenberg %s' ),
'&#x1F91D'
);
echo wp_video_shortcode( array(
'mp4' => 'https://s.w.org/images/core/4.7/starter-content-v1.mp4',
'poster' => 'https://s.w.org/images/core/4.7/starter-content.jpg?v2',
'loop' => true,
'autoplay' => true,
'width' => 1140,
'height' => 624,
// 'class' => 'wp-video-shortcode feature-video',
) );
?>
</h2>
<p><?php printf(
__( 'WordPress is working on a new way to create and control your content and we&#8217;d love to have your help. Interested in being an <a href="%s">early tester</a> or getting involved with the Gutenberg project? <a href="%s">Contribute on GitHub</a>.' ),
__( 'https://wordpress.org/plugins/gutenberg/' ),
'https://github.com/WordPress/gutenberg' ); ?></p>
</div>
</div>
<div class="feature-section two-col">
<div class="col">
<h3><?php _e( 'Edit Shortcuts' ); ?></h3>
<?php
echo wp_video_shortcode( array(
'mp4' => 'https://s.w.org/images/core/4.7/edit-shortcuts-v1.mp4',
'poster' => 'https://s.w.org/images/core/4.7/edit-shortcuts.jpg?v2',
'loop' => true,
'autoplay' => true,
'width' => 2520,
'height' => 1454,
// 'class' => 'wp-video-shortcode feature-video',
) );
?>
<p><?php _e( 'Visible icons appear to show you which parts of your site can be customized while live previewing. Click on a shortcut and get straight to editing. Paired with starter content, getting started with customizing your site is faster than ever.' );?></p>
</div>
<div class="col">
<h3><?php _e( 'Video Headers' ); ?></h3>
<?php
echo wp_video_shortcode( array(
'mp4' => 'https://s.w.org/images/core/4.7/header-video-v1.mp4',
'poster' => 'https://s.w.org/images/core/4.7/header-video.jpg?v2',
'loop' => true,
'autoplay' => true,
'width' => 2520,
'height' => 1454,
// 'class' => 'wp-video-shortcode feature-video',
) );
?>
<p><?php _e( 'Sometimes a big atmospheric video as a moving header image is just what you need to showcase your wares; go ahead and try it out with Twenty Seventeen. Need some video inspiration? Try searching for sites with video headers available for download and use.' ); ?></p>
</div>
</div>
<div class="feature-section two-col">
<div class="col">
<h3><?php _e( 'Smoother Menu Building' ); ?></h3>
<img src="https://s.w.org/images/core/4.7/nav-menus-760.jpg?v2" srcset="https://s.w.org/images/core/4.7/nav-menus-760.jpg?v2 760w, https://s.w.org/images/core/4.7/nav-menus-280.jpg?v2 280w, https://s.w.org/images/core/4.7/nav-menus-536.jpg?v2 536w, https://s.w.org/images/core/4.7/nav-menus-745.jpg?v2 745w" sizes="(max-width: 500px) calc(100vw - 40px), (max-width: 781px) calc((100vw - 70px) * .466), (max-width: 959px) calc((100vw - 116px) * .469), (max-width: 1290px) calc((100vw - 240px) * .472), 496px" alt="" />
<p><?php _e( 'Many menus for sites contain links to the pages of your site, but what happens when you don&#8217;t have any pages yet? Now you can add new pages while building menus instead of leaving the customizer and abandoning your changes. Once you&#8217;ve published your customizations, you&#8217;ll have new pages ready for you to fill with content.' );?></p>
</div>
<div class="col">
<h3><?php _e( 'Custom CSS' ); ?></h3>
<img src="https://s.w.org/images/core/4.7/css-760.jpg?v2" srcset="https://s.w.org/images/core/4.7/css-760.jpg?v2 760w, https://s.w.org/images/core/4.7/css-280.jpg?v2 280w, https://s.w.org/images/core/4.7/css-547.jpg?v2 547w" sizes="(max-width: 500px) calc(100vw - 40px), (max-width: 781px) calc((100vw - 70px) * .466), (max-width: 959px) calc((100vw - 116px) * .469), (max-width: 1290px) calc((100vw - 240px) * .472), 496px" alt="" />
<p><?php _e( 'Sometimes you just need a few visual tweaks to make your site perfect. WordPress 4.7 allows you to add custom CSS and instantly see how your changes affect your site. The live preview allows you to work quickly without page refreshes slowing you down.' ); ?></p>
</div>
</div>
<hr />
<div class="feature-section no-heading two-col">
<div class="col">
<h3><?php _e( 'PDF Thumbnail Previews' ); ?></h3>
<img src="https://s.w.org/images/core/4.7/pdf-760.jpg?v2" srcset="https://s.w.org/images/core/4.7/pdf-760.jpg?v2 760w, https://s.w.org/images/core/4.7/pdf-280.jpg?v2 280w, https://s.w.org/images/core/4.7/pdf-412.jpg?v2 412w, https://s.w.org/images/core/4.7/pdf-516.jpg?v2 516w, https://s.w.org/images/core/4.7/pdf-615.jpg?v2 615w, https://s.w.org/images/core/4.7/pdf-716.jpg?v2 716w" sizes="(max-width: 500px) calc(100vw - 40px), (max-width: 781px) calc((100vw - 70px) * .466), (max-width: 959px) calc((100vw - 116px) * .469), (max-width: 1290px) calc((100vw - 240px) * .472), 496px" alt="" />
<p><?php _e( 'Managing your document collection is easier with WordPress 4.7. Uploading PDFs will generate thumbnail images so you can more easily distinguish between all your documents.' ); ?></p>
</div>
<div class="col">
<h3><?php _e( 'Dashboard in your language' ); ?></h3>
<img src="https://s.w.org/images/core/4.7/language-760.jpg?v2" srcset="https://s.w.org/images/core/4.7/language-760.jpg?v2 760w, https://s.w.org/images/core/4.7/language-280.jpg?v2 280w, https://s.w.org/images/core/4.7/language-568.jpg?v2 568w" sizes="(max-width: 500px) calc(100vw - 40px), (max-width: 781px) calc((100vw - 70px) * .466), (max-width: 959px) calc((100vw - 116px) * .469), (max-width: 1290px) calc((100vw - 240px) * .472), 496px" alt="" />
<p><?php _e( 'Just because your site is in one language doesn&#8217;t mean that everybody helping manage it prefers that language for their admin. Add more languages to your site and a user language option will show up in your user&#8217;s profiles.' );?></p>
</div>
</div>
<hr />
<div class="rest-api feature-section one-col">
<h2><?php _e( 'Introducing REST API Content Endpoints' ); ?></h2>
<p class="lead-description"><?php _e( 'WordPress 4.7 comes with REST API endpoints for posts, comments, terms, users, meta, and settings.' ); ?></p>
<img src="https://s.w.org/images/core/4.7/api-1559.jpg?v2" srcset="https://s.w.org/images/core/4.7/api-2100.jpg?v2 2100w, https://s.w.org/images/core/4.7/api-280.jpg?v2 280w, https://s.w.org/images/core/4.7/api-1034.jpg?v2 1034w, https://s.w.org/images/core/4.7/api-1559.jpg?v2 1559w, https://s.w.org/images/core/4.7/api-2032.jpg?v2 2032w" sizes="(max-width: 500px) calc(100vw - 40px), (max-width: 782px) calc(100vw - 70px), (max-width: 959px) calc(100vw - 116px), (max-width: 1290px) calc(100vw - 240px), 1050px" alt="" />
<p><?php
printf(
/* translators: %s: https://developer.wordpress.org/rest-api/ */
__( 'Content endpoints provide machine-readable external access to your WordPress site with a clear, standards-driven interface, paving the way for new and innovative methods of interacting with sites through plugins, themes, apps, and beyond. Ready to get started with development? <a href="%s">Check out the REST API reference.</a>' ),
'https://developer.wordpress.org/rest-api/reference/'
);
?></p>
</div>
<hr />
@@ -473,35 +170,60 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
<h2><?php
printf(
/* translators: %s: smiling face with smiling eyes emoji */
__( 'Developer Happiness %s' ),
__( 'Even More Developer Happiness %s' ),
'&#x1F60A'
);
?></h2>
<div class="under-the-hood two-col">
<div class="under-the-hood three-col">
<div class="col">
<h3><a href="https://make.wordpress.org/core/2017/11/01/improvements-to-the-customize-js-api-in-4-9/"><?php _e( 'Customizer JS API Improvements' ); ?></a></h3>
<h3><a href="https://make.wordpress.org/core/2016/11/03/post-type-templates-in-4-7/"><?php _e( 'Post Type Templates' ); ?></a></h3>
<p><?php _e( 'By opening up the page template functionality to all post types, theme developers have even more flexibility with the WordPress template hierarchy.' ); ?></p>
</div>
<div class="col">
<h3><?php _e( 'More Theme API Goodies' ); ?></h3>
<p><?php
printf(
/* translators: %s: https://make.wordpress.org/core/2017/11/01/improvements-to-the-customize-js-api-in-4-9/ */
__( 'We&#8217;ve made numerous improvements to the Customizer JS API in WordPress 4.9, eliminating many pain points and making it just as easy to work with as the PHP API. There are also new base control templates, a date/time control, and section/panel/global notifications to name a few. <a href="%s">Check out the full list.</a>' ),
'https://make.wordpress.org/core/2017/11/01/improvements-to-the-customize-js-api-in-4-9/'
/* translators: %s: https://make.wordpress.org/core/2016/09/09/new-functions-hooks-and-behaviour-for-theme-developers-in-wordpress-4-7/ */
__( 'WordPress 4.7 includes <a href="%s">new functions, hooks, and behavior</a> for theme developers.' ),
'https://make.wordpress.org/core/2016/09/09/new-functions-hooks-and-behaviour-for-theme-developers-in-wordpress-4-7/'
);
?></p>
</div>
<div class="col">
<h3><a href="https://make.wordpress.org/core/2017/10/22/code-editing-improvements-in-wordpress-4-9/"><?php _e( 'CodeMirror available for use in your themes and plugins' ); ?></a></h3>
<p><?php _e( 'We&#8217;ve introduced a new code editing library, CodeMirror, for use within core. Use it to improve any code writing or editing experiences within your plugins, like CSS or JavaScript include fields.' ); ?></p>
</div>
<div class="col">
<h3><a href="https://make.wordpress.org/core/2017/10/30/mediaelement-upgrades-in-wordpress-4-9/"><?php _e( 'MediaElement.js upgraded to 4.2.6' ); ?></a></h3>
<p><?php _e( 'WordPress 4.9 includes an upgraded version of MediaElement.js, which removes dependencies on jQuery, improves accessibility, modernizes the UI, and fixes many bugs.' ); ?></p>
</div>
<div class="col">
<h3><a href="https://make.wordpress.org/core/2017/10/15/improvements-for-roles-and-capabilities-in-4-9/"><?php _e( 'Improvements to Roles and Capabilities' ); ?></a></h3>
<p><?php _e( 'New capabilities have been introduced that allow granular management of plugins and translation files. In addition, the site switching process in multisite has been fine-tuned to update the available roles and capabilities in a more reliable and coherent way.' ); ?></p>
<h3><a href="https://make.wordpress.org/core/2016/10/04/custom-bulk-actions/"><?php _e( 'Custom Bulk Actions' ); ?></a></h3>
<p><?php _e( 'List tables, now with more than bulk edit and delete.' ); ?></p>
</div>
</div>
<div class="under-the-hood three-col">
<div class="col">
<h3><a href="https://make.wordpress.org/core/2016/09/08/wp_hook-next-generation-actions-and-filters/"><code>WP_Hook</code></a></h3>
<p><?php
printf(
/* translators: %s: https://make.wordpress.org/core/2016/09/08/wp_hook-next-generation-actions-and-filters/ */
__( 'The code that lies beneath actions and filters has been overhauled and modernized, fixing bugs along the way.' ),
'https://make.wordpress.org/core/2016/09/08/wp_hook-next-generation-actions-and-filters/'
);
?></p>
</div>
<div class="col">
<h3><?php _e( 'Settings Registration API' ); ?></h3>
<p><?php
printf(
/* translators: 1: register_setting(), 2: https://make.wordpress.org/core/2016/10/26/registering-your-settings-in-wordpress-4-7/ */
__( '%1$s <a href="%2$s">has been enhanced</a> to include type, description, and REST API visibility.' ),
'<code>register_setting()</code>',
'https://make.wordpress.org/core/2016/10/26/registering-your-settings-in-wordpress-4-7/'
);
?></p>
</div>
<div class="col">
<h3><a href="https://make.wordpress.org/core/2016/10/12/customize-changesets-technical-design-decisions/"><?php _e( 'Customize Changesets' ); ?></a></h3>
<p><?php _e( 'Customize changesets make changes in the customizer persistent, like autosave drafts. They also make exciting new features like starter content possible.' ); ?></p>
</div>
</div>
</div>
<hr />
@@ -514,101 +236,8 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
<?php endif; ?>
<a href="<?php echo esc_url( self_admin_url() ); ?>"><?php is_blog_admin() ? _e( 'Go to Dashboard &rarr; Home' ) : _e( 'Go to Dashboard' ); ?></a>
</div>
</div>
<script>
(function( $ ) {
$( function() {
var $window = $( window );
var $adminbar = $( '#wpadminbar' );
var $sections = $( '.floating-header-section' );
var offset = 0;
// Account for Admin bar.
if ( $adminbar.length ) {
offset += $adminbar.height();
}
function setup() {
$sections.each( function( i, section ) {
var $section = $( section );
// If the title is long, switch the layout
var $title = $section.find( 'h2' );
if ( $title.innerWidth() > 300 ) {
$section.addClass( 'has-long-title' );
}
} );
}
var adjustScrollPosition = _.throttle( function adjustScrollPosition() {
$sections.each( function( i, section ) {
var $section = $( section );
var $header = $section.find( 'h2' );
var width = $header.innerWidth();
var height = $header.innerHeight();
if ( $section.hasClass( 'has-long-title' ) ) {
return;
}
var sectionStart = $section.offset().top - offset;
var sectionEnd = sectionStart + $section.innerHeight();
var scrollPos = $window.scrollTop();
// If we're scrolled into a section, stick the header
if ( scrollPos >= sectionStart && scrollPos < sectionEnd - height ) {
$header.css( {
position: 'fixed',
top: offset + 'px',
bottom: 'auto',
width: width + 'px'
} );
// If we're at the end of the section, stick the header to the bottom
} else if ( scrollPos >= sectionEnd - height && scrollPos < sectionEnd ) {
$header.css( {
position: 'absolute',
top: 'auto',
bottom: 0,
width: width + 'px'
} );
// Unstick the header
} else {
$header.css( {
position: 'static',
top: 'auto',
bottom: 'auto',
width: 'auto'
} );
}
} );
}, 100 );
function enableFixedHeaders() {
if ( $window.width() > 782 ) {
setup();
adjustScrollPosition();
$window.on( 'scroll', adjustScrollPosition );
} else {
$window.off( 'scroll', adjustScrollPosition );
$sections.find( '.section-header' )
.css( {
width: 'auto'
} );
$sections.find( 'h2' )
.css( {
position: 'static',
top: 'auto',
bottom: 'auto',
width: 'auto'
} );
}
}
$( window ).resize( enableFixedHeaders );
enableFixedHeaders();
} );
})( jQuery );
</script>
<?php
include( ABSPATH . 'wp-admin/admin-footer.php' );

View File

@@ -26,7 +26,7 @@ send_origin_headers();
// Require an action parameter
if ( empty( $_REQUEST['action'] ) )
wp_die( '0', 400 );
die( '0' );
/** Load WordPress Administration APIs */
require_once( ABSPATH . 'wp-admin/includes/admin.php' );
@@ -61,17 +61,14 @@ $core_actions_post = array(
'query-attachments', 'save-attachment', 'save-attachment-compat', 'send-link-to-editor',
'send-attachment-to-editor', 'save-attachment-order', 'heartbeat', 'get-revision-diffs',
'save-user-color-scheme', 'update-widget', 'query-themes', 'parse-embed', 'set-attachment-thumbnail',
'parse-media-shortcode', 'destroy-sessions', 'install-plugin', 'update-plugin', 'crop-image',
'generate-password', 'save-wporg-username', 'delete-plugin', 'search-plugins',
'search-install-plugins', 'activate-plugin', 'update-theme', 'delete-theme', 'install-theme',
'get-post-thumbnail-html', 'get-community-events', 'edit-theme-plugin-file',
'wp-privacy-export-personal-data',
'wp-privacy-erase-personal-data',
'parse-media-shortcode', 'destroy-sessions', 'install-plugin', 'update-plugin', 'press-this-save-post',
'press-this-add-category', 'crop-image', 'generate-password', 'save-wporg-username', 'delete-plugin',
'search-plugins', 'search-install-plugins', 'activate-plugin', 'update-theme', 'delete-theme',
'install-theme', 'get-post-thumbnail-html',
);
// Deprecated
$core_actions_post_deprecated = array( 'wp-fullscreen-save-post', 'press-this-save-post', 'press-this-add-category' );
$core_actions_post = array_merge( $core_actions_post, $core_actions_post_deprecated );
$core_actions_post[] = 'wp-fullscreen-save-post';
// Register core Ajax calls.
if ( ! empty( $_GET['action'] ) && in_array( $_GET['action'], $core_actions_get ) )
@@ -83,11 +80,6 @@ if ( ! empty( $_POST['action'] ) && in_array( $_POST['action'], $core_actions_po
add_action( 'wp_ajax_nopriv_heartbeat', 'wp_ajax_nopriv_heartbeat', 1 );
if ( is_user_logged_in() ) {
// If no action is registered, return a Bad Request response.
if ( ! has_action( 'wp_ajax_' . $_REQUEST['action'] ) ) {
wp_die( '0', 400 );
}
/**
* Fires authenticated Ajax actions for logged-in users.
*
@@ -98,11 +90,6 @@ if ( is_user_logged_in() ) {
*/
do_action( 'wp_ajax_' . $_REQUEST['action'] );
} else {
// If no action is registered, return a Bad Request response.
if ( ! has_action( 'wp_ajax_nopriv_' . $_REQUEST['action'] ) ) {
wp_die( '0', 400 );
}
/**
* Fires non-authenticated Ajax actions for logged-out users.
*
@@ -114,4 +101,4 @@ if ( is_user_logged_in() ) {
do_action( 'wp_ajax_nopriv_' . $_REQUEST['action'] );
}
// Default status
wp_die( '0' );
die( '0' );

View File

@@ -78,6 +78,10 @@ do_action( 'admin_footer', '' );
* refers to the global hook suffix of the current page.
*
* @since 4.6.0
*
* @global string $hook_suffix
*
* @param string $hook_suffix The current admin page.
*/
do_action( "admin_print_footer_scripts-{$hook_suffix}" );
@@ -95,6 +99,9 @@ do_action( 'admin_print_footer_scripts' );
* refers to the global hook suffix of the current page.
*
* @since 2.8.0
*
* @global string $hook_suffix
* @param string $hook_suffix The current admin page.
*/
do_action( "admin_footer-{$hook_suffix}" );

View File

@@ -87,11 +87,6 @@ auth_redirect();
if ( ! wp_next_scheduled( 'wp_scheduled_delete' ) && ! wp_installing() )
wp_schedule_event(time(), 'daily', 'wp_scheduled_delete');
// Schedule Transient cleanup.
if ( ! wp_next_scheduled( 'delete_expired_transients' ) && ! wp_installing() ) {
wp_schedule_event( time(), 'daily', 'delete_expired_transients' );
}
set_screen_options();
$date_format = __( 'F j, Y' );
@@ -99,6 +94,9 @@ $time_format = __( 'g:i a' );
wp_enqueue_script( 'common' );
/**
* $pagenow is set in vars.php
* $wp_importers is sometimes set in wp-admin/includes/import.php
@@ -223,9 +221,8 @@ if ( isset($plugin_page) ) {
*/
do_action( $page_hook );
} else {
if ( validate_file( $plugin_page ) ) {
wp_die( __( 'Invalid plugin page.' ) );
}
if ( validate_file($plugin_page) )
wp_die(__('Invalid plugin page'));
if ( !( file_exists(WP_PLUGIN_DIR . "/$plugin_page") && is_file(WP_PLUGIN_DIR . "/$plugin_page") ) && !( file_exists(WPMU_PLUGIN_DIR . "/$plugin_page") && is_file(WPMU_PLUGIN_DIR . "/$plugin_page") ) )
wp_die(sprintf(__('Cannot load %s.'), htmlentities($plugin_page)));

View File

@@ -1,6 +1,6 @@
<?php
/**
* Server-side file upload handler from wp-plupload or other asynchronous upload methods.
* Server-side file upload handler from wp-plupload, swfupload or other asynchronous upload methods.
*
* @package WordPress
* @subpackage Administration
@@ -14,15 +14,25 @@ if ( ! defined( 'WP_ADMIN' ) ) {
define( 'WP_ADMIN', true );
}
if ( defined( 'ABSPATH' ) ) {
require_once( ABSPATH . 'wp-load.php' );
} else {
if ( defined('ABSPATH') )
require_once(ABSPATH . 'wp-load.php');
else
require_once( dirname( dirname( __FILE__ ) ) . '/wp-load.php' );
if ( ! ( isset( $_REQUEST['action'] ) && 'upload-attachment' == $_REQUEST['action'] ) ) {
// Flash often fails to send cookies with the POST or upload, so we need to pass it in GET or POST instead
if ( is_ssl() && empty($_COOKIE[SECURE_AUTH_COOKIE]) && !empty($_REQUEST['auth_cookie']) )
$_COOKIE[SECURE_AUTH_COOKIE] = $_REQUEST['auth_cookie'];
elseif ( empty($_COOKIE[AUTH_COOKIE]) && !empty($_REQUEST['auth_cookie']) )
$_COOKIE[AUTH_COOKIE] = $_REQUEST['auth_cookie'];
if ( empty($_COOKIE[LOGGED_IN_COOKIE]) && !empty($_REQUEST['logged_in_cookie']) )
$_COOKIE[LOGGED_IN_COOKIE] = $_REQUEST['logged_in_cookie'];
unset($current_user);
}
require_once( ABSPATH . 'wp-admin/admin.php' );
header( 'Content-Type: text/plain; charset=' . get_option( 'blog_charset' ) );
header( 'Content-Type: text/html; charset=' . get_option( 'blog_charset' ) );
if ( isset( $_REQUEST['action'] ) && 'upload-attachment' === $_REQUEST['action'] ) {
include( ABSPATH . 'wp-admin/includes/ajax-actions.php' );
@@ -42,7 +52,7 @@ if ( ! current_user_can( 'upload_files' ) ) {
if ( isset($_REQUEST['attachment_id']) && ($id = intval($_REQUEST['attachment_id'])) && $_REQUEST['fetch'] ) {
$post = get_post( $id );
if ( 'attachment' != $post->post_type )
wp_die( __( 'Invalid post type.' ) );
wp_die( __( 'Unknown post type.' ) );
if ( ! current_user_can( 'edit_post', $id ) )
wp_die( __( 'Sorry, you are not allowed to edit this item.' ) );

View File

@@ -16,11 +16,11 @@ list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
include( ABSPATH . 'wp-admin/admin-header.php' );
?>
<div class="wrap about-wrap full-width-layout">
<div class="wrap about-wrap">
<h1><?php printf( __( 'Welcome to WordPress %s' ), $display_version ); ?></h1>
<p class="about-text"><?php printf( __( 'Thank you for updating to the latest version! WordPress %s will smooth your design workflow and keep you safe from coding errors.' ), $display_version ); ?></p>
<p class="about-text"><?php printf( __( 'Thank you for updating to the latest version! WordPress %s helps you get your site set up the way you want it.' ), $display_version ); ?></p>
<div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
@@ -28,10 +28,8 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
<a href="about.php" class="nav-tab"><?php _e( 'What&#8217;s New' ); ?></a>
<a href="credits.php" class="nav-tab nav-tab-active"><?php _e( 'Credits' ); ?></a>
<a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
<a href="freedoms.php?privacy-notice" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
</h2>
<div class="about-wrap-content">
<?php
$credits = wp_credits();
@@ -45,19 +43,12 @@ if ( ! $credits ) {
);
echo '</p>';
echo '</div>';
echo '</div>';
include( ABSPATH . 'wp-admin/admin-footer.php' );
exit;
}
echo '<p class="about-description">' . __( 'WordPress is created by a worldwide team of passionate individuals.' ) . "</p>\n";
echo '<p>' . sprintf(
/* translators: %s: https://make.wordpress.org/ */
__( 'Want to see your name in lights on this page? <a href="%s">Get involved in WordPress</a>.' ),
__( 'https://make.wordpress.org/' )
) . '</p>';
foreach ( $credits['groups'] as $group_slug => $group_data ) {
if ( $group_data['name'] ) {
if ( 'Translators' == $group_data['name'] ) {
@@ -107,7 +98,13 @@ foreach ( $credits['groups'] as $group_slug => $group_data ) {
}
?>
</div>
<p class="clear"><?php
/* translators: %s: https://make.wordpress.org/ */
printf( __( 'Want to see your name in lights on this page? <a href="%s">Get involved in WordPress</a>.' ),
__( 'https://make.wordpress.org/' )
);
?></p>
</div>
<?php
@@ -118,7 +115,7 @@ return;
// These are strings returned by the API that we want to be translatable
__( 'Project Leaders' );
__( 'Core Contributors to WordPress %s' );
__( 'Noteworthy Contributors' );
__( 'Contributing Developers' );
__( 'Cofounder, Project Lead' );
__( 'Lead Developer' );
__( 'Release Lead' );

View File

@@ -8,7 +8,6 @@
2.0 About Page
2.1 Typography
2.2 Structure
2.3 Floating Header Layout
3.0 Credits & Freedoms Pages
------------------------------------------------------------------------------*/
@@ -23,14 +22,6 @@
font-size: 15px;
}
.about-wrap.full-width-layout {
max-width: 1200px;
}
.about-wrap-content {
max-width: 1050px;
}
.about-wrap div.updated,
.about-wrap div.error,
.about-wrap .notice {
@@ -49,6 +40,7 @@
max-width: 100%;
height: auto;
vertical-align: middle;
border: 1px solid rgba(0, 0, 0, 0.1);
}
.about-wrap .jetpack-video-wrapper {
@@ -60,6 +52,7 @@
.wp-badge {
background: #0073aa url(../images/w-logo-white.png?ver=20160308) no-repeat;
background-position: center 25px;
-webkit-background-size: 80px 80px;
background-size: 80px 80px;
color: #fff;
font-size: 14px;
@@ -71,6 +64,7 @@
display: inline-block;
width: 140px;
text-rendering: optimizeLegibility;
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.2);
box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
@@ -167,50 +161,45 @@
/* 1.2 - Structure */
.about-wrap [class$="-col"] {
display: -webkit-box;
display: flex;
-webkit-box-pack: justify;
justify-content: space-between;
flex-wrap: wrap;
}
.about-wrap .feature-section.one-col {
margin: 0 auto;
max-width: 700px;
}
.about-wrap .inline-svg img {
max-width: 100%;
width: 100%;
height: auto;
}
.about-wrap .inline-svg.full-width {
margin-bottom: 120px;
}
.about-wrap [class$="-col"] .col {
-webkit-box-flex: 1;
flex: 1;
.about-wrap [class$=col] .col {
float: right;
position: relative;
}
.about-wrap .two-col .col {
min-width: 47%;
max-width: 47%;
}
.about-wrap .three-col .col {
-webkit-align-self: flex-start;
align-self: flex-start;
min-width: 31%;
max-width: 31%;
margin-left: 4.799999999%;
width: 47.6%;
}
.about-wrap .two-col img {
margin-bottom: 1.5em;
}
.about-wrap .feature-section.two-col .col {
display: inline-block;
float: none;
margin-top: 1em;
margin-left: 4.799999999%;
width: -webkit-calc( 47.6% - 4px );
width: calc( 47.6% - 4px );
vertical-align: top;
}
.about-wrap .three-col .col {
margin-left: 4.999999999%;
width: 29.95%;
}
.about-wrap .two-col .col:nth-of-type(2n),
.about-wrap .three-col .col:nth-of-type(3n) {
margin-left: 0;
}
.about-wrap .under-the-hood {
clear: both;
overflow: hidden;
}
.about-wrap .feature-video .mejs-controls {
display: none !important;
}
@@ -260,8 +249,10 @@
.about-wrap .two-col-text {
-webkit-column-count: 2;
-moz-column-count: 2;
column-count: 2;
-webkit-column-gap: 40px;
-moz-column-gap: 40px;
column-gap: 40px;
}
@@ -307,6 +298,11 @@
padding-top: 35px;
}
.about-wrap .headline-feature {
margin: 0 auto;
max-width: 80%;
}
.about-wrap .feature-section .media-container {
overflow: hidden;
}
@@ -352,92 +348,6 @@
padding: 0 5px;
}
/* 2.3 Floating Header Layout */
.about-wrap .floating-header-section {
display: -ms-grid;
display: grid;
grid-gap: 0 60px;
-ms-grid-columns: 5fr 11fr;
grid-template-columns: 5fr 11fr;
max-width: 1020px;
margin: 0 auto 120px;
}
.about-wrap .floating-header-section .section-header {
-ms-grid-column: 1;
grid-column: 1;
position: relative;
min-width: 230px;
max-width: 300px;
}
.about-wrap .floating-header-section h2 {
margin: 0;
text-align: right;
position: absolute;
}
.about-wrap .floating-header-section .section-content {
-ms-grid-column: 2;
grid-column: 2;
display: -webkit-box;
display: flex;
-webkit-box-pack: justify;
justify-content: space-between;
-webkit-box-align: start;
align-items: flex-start;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
flex-flow: row wrap;
-webkit-box-flex: 2;
flex-grow: 2;
flex-shrink: 0;
}
.about-wrap .floating-header-section .section-item {
-webkit-box-flex: 1;
flex-grow: 1;
max-width: calc(50% - 30px);
}
.about-wrap .floating-header-section .section-item:nth-child(1),
.about-wrap .floating-header-section .section-item:nth-child(2) {
margin-bottom: 60px;
}
.about-wrap .floating-header-section .section-item:nth-child(1):nth-last-child(2),
.about-wrap .floating-header-section .section-item:nth-child(2):nth-last-child(1) {
margin-bottom: 0;
}
.about-wrap .floating-header-section.has-long-title {
display: block;
}
.about-wrap .floating-header-section.has-long-title .section-header {
max-width: 100%;
}
.about-wrap .floating-header-section.has-long-title h2 {
position: static;
margin-bottom: 60px;
}
.about-wrap .floating-header-section.has-long-title .section-content {
-webkit-box-pack: start;
justify-content: flex-start;
}
.about-wrap .floating-header-section.has-long-title .section-item {
max-width: 300px;
margin-bottom: 0;
}
.about-wrap .floating-header-section.has-long-title .section-item + .section-item {
margin-right: 60px;
}
/*------------------------------------------------------------------------------
3.0 - Credits & Freedoms Pages
------------------------------------------------------------------------------*/
@@ -457,7 +367,7 @@
}
.about-wrap .compact {
margin-bottom: 0;
margin-bottom: 0
}
.about-wrap .wp-person {
@@ -529,52 +439,17 @@
4.0 - Media Queries
------------------------------------------------------------------------------*/
@media screen and (max-width: 1250px) {
.about-wrap .floating-header-section.has-long-title .section-item:nth-child(1),
.about-wrap .floating-header-section.has-long-title .section-item:nth-child(2) {
margin: 0 0 60px;
}
.about-wrap .floating-header-section.has-long-title .section-item:nth-child(3),
.about-wrap .floating-header-section.has-long-title .section-item:nth-child(4) {
margin: 0;
}
.about-wrap .floating-header-section.has-long-title .section-item:nth-child(2),
.about-wrap .floating-header-section.has-long-title .section-item:nth-child(4) {
margin-right: 60px;
}
}
@media screen and (max-width: 782px) {
@media screen and ( max-width: 782px ) {
.about-wrap .two-col-text {
-webkit-column-count: 1;
-moz-column-count: 1;
column-count: 1;
}
.about-wrap .two-col .col,
.about-wrap .three-col .col {
min-width: 48% !important;
}
.about-wrap .three-col img {
display: block;
margin: 0 auto;
}
.about-wrap .floating-header-section {
display: block;
}
.about-wrap .floating-header-section .section-header,
.about-wrap .floating-header-section .section-content {
max-width: 100%;
}
.about-wrap .floating-header-section h2 {
position: static;
margin-bottom: 60px;
}
}
@media only screen and (max-width: 500px) {
@@ -600,7 +475,8 @@
.about-wrap .two-col .col,
.about-wrap .three-col .col {
min-width: 100% !important;
width: 100% !important;
float: none !important;
}
.about-wrap .under-the-hood.three-col .col,
@@ -619,25 +495,4 @@
.about-wrap .under-the-hood:nth-of-type(3n) h3 {
margin-top: 0;
}
.about-wrap .floating-header-section {
margin-bottom: 60px;
grid-gap: 30px 0;
}
.about-wrap .inline-svg.full-width {
margin-bottom: 60px;
}
.about-wrap .floating-header-section h2 {
word-break: break-all;
-webkit-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
}
.about-wrap .floating-header-section .section-content .section-item {
max-width: 100%;
margin: 0 0 60px;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -8,7 +8,6 @@
2.0 About Page
2.1 Typography
2.2 Structure
2.3 Floating Header Layout
3.0 Credits & Freedoms Pages
------------------------------------------------------------------------------*/
@@ -23,14 +22,6 @@
font-size: 15px;
}
.about-wrap.full-width-layout {
max-width: 1200px;
}
.about-wrap-content {
max-width: 1050px;
}
.about-wrap div.updated,
.about-wrap div.error,
.about-wrap .notice {
@@ -49,6 +40,7 @@
max-width: 100%;
height: auto;
vertical-align: middle;
border: 1px solid rgba(0, 0, 0, 0.1);
}
.about-wrap .jetpack-video-wrapper {
@@ -60,6 +52,7 @@
.wp-badge {
background: #0073aa url(../images/w-logo-white.png?ver=20160308) no-repeat;
background-position: center 25px;
-webkit-background-size: 80px 80px;
background-size: 80px 80px;
color: #fff;
font-size: 14px;
@@ -71,6 +64,7 @@
display: inline-block;
width: 140px;
text-rendering: optimizeLegibility;
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.2);
box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
@@ -167,50 +161,45 @@
/* 1.2 - Structure */
.about-wrap [class$="-col"] {
display: -webkit-box;
display: flex;
-webkit-box-pack: justify;
justify-content: space-between;
flex-wrap: wrap;
}
.about-wrap .feature-section.one-col {
margin: 0 auto;
max-width: 700px;
}
.about-wrap .inline-svg img {
max-width: 100%;
width: 100%;
height: auto;
}
.about-wrap .inline-svg.full-width {
margin-bottom: 120px;
}
.about-wrap [class$="-col"] .col {
-webkit-box-flex: 1;
flex: 1;
.about-wrap [class$=col] .col {
float: left;
position: relative;
}
.about-wrap .two-col .col {
min-width: 47%;
max-width: 47%;
}
.about-wrap .three-col .col {
-webkit-align-self: flex-start;
align-self: flex-start;
min-width: 31%;
max-width: 31%;
margin-right: 4.799999999%;
width: 47.6%;
}
.about-wrap .two-col img {
margin-bottom: 1.5em;
}
.about-wrap .feature-section.two-col .col {
display: inline-block;
float: none;
margin-top: 1em;
margin-right: 4.799999999%;
width: -webkit-calc( 47.6% - 4px );
width: calc( 47.6% - 4px );
vertical-align: top;
}
.about-wrap .three-col .col {
margin-right: 4.999999999%;
width: 29.95%;
}
.about-wrap .two-col .col:nth-of-type(2n),
.about-wrap .three-col .col:nth-of-type(3n) {
margin-right: 0;
}
.about-wrap .under-the-hood {
clear: both;
overflow: hidden;
}
.about-wrap .feature-video .mejs-controls {
display: none !important;
}
@@ -260,8 +249,10 @@
.about-wrap .two-col-text {
-webkit-column-count: 2;
-moz-column-count: 2;
column-count: 2;
-webkit-column-gap: 40px;
-moz-column-gap: 40px;
column-gap: 40px;
}
@@ -307,6 +298,11 @@
padding-top: 35px;
}
.about-wrap .headline-feature {
margin: 0 auto;
max-width: 80%;
}
.about-wrap .feature-section .media-container {
overflow: hidden;
}
@@ -352,92 +348,6 @@
padding: 0 5px;
}
/* 2.3 Floating Header Layout */
.about-wrap .floating-header-section {
display: -ms-grid;
display: grid;
grid-gap: 0 60px;
-ms-grid-columns: 5fr 11fr;
grid-template-columns: 5fr 11fr;
max-width: 1020px;
margin: 0 auto 120px;
}
.about-wrap .floating-header-section .section-header {
-ms-grid-column: 1;
grid-column: 1;
position: relative;
min-width: 230px;
max-width: 300px;
}
.about-wrap .floating-header-section h2 {
margin: 0;
text-align: left;
position: absolute;
}
.about-wrap .floating-header-section .section-content {
-ms-grid-column: 2;
grid-column: 2;
display: -webkit-box;
display: flex;
-webkit-box-pack: justify;
justify-content: space-between;
-webkit-box-align: start;
align-items: flex-start;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
flex-flow: row wrap;
-webkit-box-flex: 2;
flex-grow: 2;
flex-shrink: 0;
}
.about-wrap .floating-header-section .section-item {
-webkit-box-flex: 1;
flex-grow: 1;
max-width: calc(50% - 30px);
}
.about-wrap .floating-header-section .section-item:nth-child(1),
.about-wrap .floating-header-section .section-item:nth-child(2) {
margin-bottom: 60px;
}
.about-wrap .floating-header-section .section-item:nth-child(1):nth-last-child(2),
.about-wrap .floating-header-section .section-item:nth-child(2):nth-last-child(1) {
margin-bottom: 0;
}
.about-wrap .floating-header-section.has-long-title {
display: block;
}
.about-wrap .floating-header-section.has-long-title .section-header {
max-width: 100%;
}
.about-wrap .floating-header-section.has-long-title h2 {
position: static;
margin-bottom: 60px;
}
.about-wrap .floating-header-section.has-long-title .section-content {
-webkit-box-pack: start;
justify-content: flex-start;
}
.about-wrap .floating-header-section.has-long-title .section-item {
max-width: 300px;
margin-bottom: 0;
}
.about-wrap .floating-header-section.has-long-title .section-item + .section-item {
margin-left: 60px;
}
/*------------------------------------------------------------------------------
3.0 - Credits & Freedoms Pages
------------------------------------------------------------------------------*/
@@ -457,7 +367,7 @@
}
.about-wrap .compact {
margin-bottom: 0;
margin-bottom: 0
}
.about-wrap .wp-person {
@@ -529,52 +439,17 @@
4.0 - Media Queries
------------------------------------------------------------------------------*/
@media screen and (max-width: 1250px) {
.about-wrap .floating-header-section.has-long-title .section-item:nth-child(1),
.about-wrap .floating-header-section.has-long-title .section-item:nth-child(2) {
margin: 0 0 60px;
}
.about-wrap .floating-header-section.has-long-title .section-item:nth-child(3),
.about-wrap .floating-header-section.has-long-title .section-item:nth-child(4) {
margin: 0;
}
.about-wrap .floating-header-section.has-long-title .section-item:nth-child(2),
.about-wrap .floating-header-section.has-long-title .section-item:nth-child(4) {
margin-left: 60px;
}
}
@media screen and (max-width: 782px) {
@media screen and ( max-width: 782px ) {
.about-wrap .two-col-text {
-webkit-column-count: 1;
-moz-column-count: 1;
column-count: 1;
}
.about-wrap .two-col .col,
.about-wrap .three-col .col {
min-width: 48% !important;
}
.about-wrap .three-col img {
display: block;
margin: 0 auto;
}
.about-wrap .floating-header-section {
display: block;
}
.about-wrap .floating-header-section .section-header,
.about-wrap .floating-header-section .section-content {
max-width: 100%;
}
.about-wrap .floating-header-section h2 {
position: static;
margin-bottom: 60px;
}
}
@media only screen and (max-width: 500px) {
@@ -600,7 +475,8 @@
.about-wrap .two-col .col,
.about-wrap .three-col .col {
min-width: 100% !important;
width: 100% !important;
float: none !important;
}
.about-wrap .under-the-hood.three-col .col,
@@ -619,25 +495,4 @@
.about-wrap .under-the-hood:nth-of-type(3n) h3 {
margin-top: 0;
}
.about-wrap .floating-header-section {
margin-bottom: 60px;
grid-gap: 30px 0;
}
.about-wrap .inline-svg.full-width {
margin-bottom: 60px;
}
.about-wrap .floating-header-section h2 {
word-break: break-all;
-webkit-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
}
.about-wrap .floating-header-section .section-content .section-item {
max-width: 100%;
margin: 0 0 60px;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -47,6 +47,7 @@
display: inline-block;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-transition: all .1s ease-in-out;
transition: all .1s ease-in-out;
}
@@ -202,6 +203,7 @@
padding: 7px 0 8px;
z-index: 9999;
background-color: #32373c;
-webkit-box-shadow: 0 3px 5px rgba(0,0,0,0.2);
box-shadow: 0 3px 5px rgba(0,0,0,0.2);
}
@@ -225,6 +227,7 @@
bottom: auto;
border: 0 none;
margin-top: 0;
-webkit-box-shadow: none;
box-shadow: none;
background-color: #32373c;
}
@@ -280,9 +283,9 @@
#adminmenu .wp-submenu a {
font-size: 13px;
line-height: 18px;
line-height: 1.2;
margin: 0;
padding: 5px 0;
padding: 6px 0;
}
#adminmenu .wp-submenu li.current,
@@ -298,12 +301,13 @@
.folded #adminmenu .wp-has-current-submenu li > a {
padding-left: 16px;
padding-right: 14px;
-webkit-transition: all .1s ease-in-out;
transition: all .1s ease-in-out;
}
#adminmenu .wp-has-current-submenu ul > li > a,
.folded #adminmenu li.menu-top .wp-submenu > li > a {
padding: 5px 12px;
padding: 6px 12px;
}
#adminmenu a.menu-top,
@@ -354,6 +358,7 @@
#adminmenu div.wp-menu-image.svg {
background-repeat: no-repeat;
background-position: center;
-webkit-background-size: 20px auto;
background-size: 20px auto;
}
@@ -361,6 +366,7 @@ div.wp-menu-image:before {
color: #a0a5aa;
color: rgba(240,245,250,0.6);
padding: 7px 0;
-webkit-transition: all .1s ease-in-out;
transition: all .1s ease-in-out;
}
@@ -510,26 +516,29 @@ ul#adminmenu > li.current > a.current:after {
border: 0 none;
}
/* @todo: consider to use a single rule for these counters and the list table comments counters. */
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
display: inline-block;
vertical-align: top;
margin: 1px 2px 0 0;
padding: 0 5px;
min-width: 7px;
height: 17px;
border-radius: 11px;
background-color: #ca4a1f;
background-color: #d54e21;
color: #fff;
font-size: 9px;
line-height: 17px;
text-align: center;
font-weight: 600;
margin: 1px 2px 0 0;
vertical-align: top;
-webkit-border-radius: 10px;
border-radius: 10px;
z-index: 26;
}
#adminmenu li .awaiting-mod span,
#adminmenu li span.update-plugins span {
display: block;
padding: 0 6px;
}
#adminmenu li.current a .awaiting-mod,
#adminmenu li a.wp-has-current-submenu .update-plugins {
#adminmenu li a.wp-has-current-submenu .update-plugins {
background-color: #00b9eb;
color: #fff;
}
@@ -598,16 +607,19 @@ ul#adminmenu > li.current > a.current:after {
.folded #collapse-button .collapse-button-icon:after,
.rtl #collapse-button .collapse-button-icon:after {
-webkit-transform: rotate(180deg);
-ms-transform: rotate(180deg);
transform: rotate(180deg);
}
.rtl.folded #collapse-button .collapse-button-icon:after {
-webkit-transform: none;
-ms-transform: none;
transform: none;
}
#collapse-button .collapse-button-icon:after,
#collapse-button .collapse-button-label {
-webkit-transition: all .1s ease-in-out;
transition: all .1s ease-in-out;
}
@@ -729,11 +741,13 @@ li#wp-admin-bar-menu-toggle {
/* rtl:ignore */
.auto-fold #collapse-button .collapse-button-icon:after {
-webkit-transform: rotate(180deg);
-ms-transform: rotate(180deg);
transform: rotate(180deg);
}
.rtl.auto-fold #collapse-button .collapse-button-icon:after {
-webkit-transform: none;
-ms-transform: none;
transform: none;
}
@@ -814,6 +828,7 @@ li#wp-admin-bar-menu-toggle {
display: block;
top: 0;
right: -1px;
-webkit-box-shadow: none;
box-shadow: none;
}
@@ -855,6 +870,8 @@ li#wp-admin-bar-menu-toggle {
padding-left: 10px;
z-index: 99999;
border: none;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
@@ -898,6 +915,8 @@ li#wp-admin-bar-menu-toggle {
border: none;
text-align: center;
text-decoration: none;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}

File diff suppressed because one or more lines are too long

View File

@@ -47,6 +47,7 @@
display: inline-block;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-transition: all .1s ease-in-out;
transition: all .1s ease-in-out;
}
@@ -202,6 +203,7 @@
padding: 7px 0 8px;
z-index: 9999;
background-color: #32373c;
-webkit-box-shadow: 0 3px 5px rgba(0,0,0,0.2);
box-shadow: 0 3px 5px rgba(0,0,0,0.2);
}
@@ -225,6 +227,7 @@
bottom: auto;
border: 0 none;
margin-top: 0;
-webkit-box-shadow: none;
box-shadow: none;
background-color: #32373c;
}
@@ -280,9 +283,9 @@
#adminmenu .wp-submenu a {
font-size: 13px;
line-height: 18px;
line-height: 1.2;
margin: 0;
padding: 5px 0;
padding: 6px 0;
}
#adminmenu .wp-submenu li.current,
@@ -298,12 +301,13 @@
.folded #adminmenu .wp-has-current-submenu li > a {
padding-right: 16px;
padding-left: 14px;
-webkit-transition: all .1s ease-in-out;
transition: all .1s ease-in-out;
}
#adminmenu .wp-has-current-submenu ul > li > a,
.folded #adminmenu li.menu-top .wp-submenu > li > a {
padding: 5px 12px;
padding: 6px 12px;
}
#adminmenu a.menu-top,
@@ -354,6 +358,7 @@
#adminmenu div.wp-menu-image.svg {
background-repeat: no-repeat;
background-position: center;
-webkit-background-size: 20px auto;
background-size: 20px auto;
}
@@ -361,6 +366,7 @@ div.wp-menu-image:before {
color: #a0a5aa;
color: rgba(240,245,250,0.6);
padding: 7px 0;
-webkit-transition: all .1s ease-in-out;
transition: all .1s ease-in-out;
}
@@ -510,26 +516,29 @@ ul#adminmenu > li.current > a.current:after {
border: 0 none;
}
/* @todo: consider to use a single rule for these counters and the list table comments counters. */
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
display: inline-block;
vertical-align: top;
margin: 1px 0 0 2px;
padding: 0 5px;
min-width: 7px;
height: 17px;
border-radius: 11px;
background-color: #ca4a1f;
background-color: #d54e21;
color: #fff;
font-size: 9px;
line-height: 17px;
text-align: center;
font-weight: 600;
margin: 1px 0 0 2px;
vertical-align: top;
-webkit-border-radius: 10px;
border-radius: 10px;
z-index: 26;
}
#adminmenu li .awaiting-mod span,
#adminmenu li span.update-plugins span {
display: block;
padding: 0 6px;
}
#adminmenu li.current a .awaiting-mod,
#adminmenu li a.wp-has-current-submenu .update-plugins {
#adminmenu li a.wp-has-current-submenu .update-plugins {
background-color: #00b9eb;
color: #fff;
}
@@ -598,16 +607,19 @@ ul#adminmenu > li.current > a.current:after {
.folded #collapse-button .collapse-button-icon:after,
.rtl #collapse-button .collapse-button-icon:after {
-webkit-transform: rotate(180deg);
-ms-transform: rotate(180deg);
transform: rotate(180deg);
}
.rtl.folded #collapse-button .collapse-button-icon:after {
-webkit-transform: none;
-ms-transform: none;
transform: none;
}
#collapse-button .collapse-button-icon:after,
#collapse-button .collapse-button-label {
-webkit-transition: all .1s ease-in-out;
transition: all .1s ease-in-out;
}
@@ -729,11 +741,13 @@ li#wp-admin-bar-menu-toggle {
/* rtl:ignore */
.auto-fold #collapse-button .collapse-button-icon:after {
-webkit-transform: rotate(180deg);
-ms-transform: rotate(180deg);
transform: rotate(180deg);
}
.rtl.auto-fold #collapse-button .collapse-button-icon:after {
-webkit-transform: none;
-ms-transform: none;
transform: none;
}
@@ -814,6 +828,7 @@ li#wp-admin-bar-menu-toggle {
display: block;
top: 0;
left: -1px;
-webkit-box-shadow: none;
box-shadow: none;
}
@@ -855,6 +870,8 @@ li#wp-admin-bar-menu-toggle {
padding-right: 10px;
z-index: 99999;
border: none;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
@@ -898,6 +915,8 @@ li#wp-admin-bar-menu-toggle {
border: none;
text-align: center;
text-decoration: none;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}

File diff suppressed because one or more lines are too long

View File

@@ -1,72 +0,0 @@
.wrap [class*="CodeMirror-lint-marker"],
.wp-core-ui [class*="CodeMirror-lint-message"],
.wrap .CodeMirror-lint-marker-multiple {
background-image: none;
}
.wp-core-ui .CodeMirror-lint-marker-error,
.wp-core-ui .CodeMirror-lint-marker-warning {
cursor: help;
}
.wrap .CodeMirror-lint-marker-multiple {
position: absolute;
top: 0;
}
.wrap [class*="CodeMirror-lint-marker"]:before {
font: normal 18px/1 dashicons;
position: relative;
top: -2px;
}
.wp-core-ui [class*="CodeMirror-lint-message"]:before {
font: normal 16px/1 dashicons;
right: 16px;
position: absolute;
}
.wp-core-ui .CodeMirror-lint-message-error,
.wp-core-ui .CodeMirror-lint-message-warning {
box-shadow: 0 1px 1px 0 rgba( 0, 0, 0, 0.1 );
margin: 5px 0 2px;
padding: 3px 28px 3px 12px;
}
.wp-core-ui .CodeMirror-lint-message-warning {
background-color: #fff8e5;
border-right: 4px solid #ffb900;
}
.wrap .CodeMirror-lint-marker-warning:before,
.wp-core-ui .CodeMirror-lint-message-warning:before {
content: "\f534";
color: #f6a306;
}
.wp-core-ui .CodeMirror-lint-message-error {
background-color: #fbeaea;
border-right: 4px solid #dc3232;
}
.wrap .CodeMirror-lint-marker-error:before,
.wp-core-ui .CodeMirror-lint-message-error:before {
content: "\f153";
color: #dc3232;
}
.wp-core-ui .CodeMirror-lint-tooltip {
background: none;
border: none;
border-radius: 0;
direction: rtl;
}
.wrap .CodeMirror .CodeMirror-matchingbracket {
background: rgba(255, 150, 0, .3);
color: inherit;
}
.CodeMirror {
text-align: right;
}

View File

@@ -1,2 +0,0 @@
/*! This file is auto-generated */
.wp-core-ui [class*=CodeMirror-lint-message],.wrap .CodeMirror-lint-marker-multiple,.wrap [class*=CodeMirror-lint-marker]{background-image:none}.wp-core-ui .CodeMirror-lint-marker-error,.wp-core-ui .CodeMirror-lint-marker-warning{cursor:help}.wrap .CodeMirror-lint-marker-multiple{position:absolute;top:0}.wrap [class*=CodeMirror-lint-marker]:before{font:400 18px/1 dashicons;position:relative;top:-2px}.wp-core-ui [class*=CodeMirror-lint-message]:before{font:400 16px/1 dashicons;right:16px;position:absolute}.wp-core-ui .CodeMirror-lint-message-error,.wp-core-ui .CodeMirror-lint-message-warning{box-shadow:0 1px 1px 0 rgba(0,0,0,.1);margin:5px 0 2px;padding:3px 28px 3px 12px}.wp-core-ui .CodeMirror-lint-message-warning{background-color:#fff8e5;border-right:4px solid #ffb900}.wp-core-ui .CodeMirror-lint-message-warning:before,.wrap .CodeMirror-lint-marker-warning:before{content:"\f534";color:#f6a306}.wp-core-ui .CodeMirror-lint-message-error{background-color:#fbeaea;border-right:4px solid #dc3232}.wp-core-ui .CodeMirror-lint-message-error:before,.wrap .CodeMirror-lint-marker-error:before{content:"\f153";color:#dc3232}.wp-core-ui .CodeMirror-lint-tooltip{background:0 0;border:none;border-radius:0;direction:rtl}.wrap .CodeMirror .CodeMirror-matchingbracket{background:rgba(255,150,0,.3);color:inherit}.CodeMirror{text-align:right}

View File

@@ -1,72 +0,0 @@
.wrap [class*="CodeMirror-lint-marker"],
.wp-core-ui [class*="CodeMirror-lint-message"],
.wrap .CodeMirror-lint-marker-multiple {
background-image: none;
}
.wp-core-ui .CodeMirror-lint-marker-error,
.wp-core-ui .CodeMirror-lint-marker-warning {
cursor: help;
}
.wrap .CodeMirror-lint-marker-multiple {
position: absolute;
top: 0;
}
.wrap [class*="CodeMirror-lint-marker"]:before {
font: normal 18px/1 dashicons;
position: relative;
top: -2px;
}
.wp-core-ui [class*="CodeMirror-lint-message"]:before {
font: normal 16px/1 dashicons;
left: 16px;
position: absolute;
}
.wp-core-ui .CodeMirror-lint-message-error,
.wp-core-ui .CodeMirror-lint-message-warning {
box-shadow: 0 1px 1px 0 rgba( 0, 0, 0, 0.1 );
margin: 5px 0 2px;
padding: 3px 12px 3px 28px;
}
.wp-core-ui .CodeMirror-lint-message-warning {
background-color: #fff8e5;
border-left: 4px solid #ffb900;
}
.wrap .CodeMirror-lint-marker-warning:before,
.wp-core-ui .CodeMirror-lint-message-warning:before {
content: "\f534";
color: #f6a306;
}
.wp-core-ui .CodeMirror-lint-message-error {
background-color: #fbeaea;
border-left: 4px solid #dc3232;
}
.wrap .CodeMirror-lint-marker-error:before,
.wp-core-ui .CodeMirror-lint-message-error:before {
content: "\f153";
color: #dc3232;
}
.wp-core-ui .CodeMirror-lint-tooltip {
background: none;
border: none;
border-radius: 0;
direction: ltr;
}
.wrap .CodeMirror .CodeMirror-matchingbracket {
background: rgba(255, 150, 0, .3);
color: inherit;
}
.CodeMirror {
text-align: left;
}

View File

@@ -1,2 +0,0 @@
/*! This file is auto-generated */
.wp-core-ui [class*=CodeMirror-lint-message],.wrap .CodeMirror-lint-marker-multiple,.wrap [class*=CodeMirror-lint-marker]{background-image:none}.wp-core-ui .CodeMirror-lint-marker-error,.wp-core-ui .CodeMirror-lint-marker-warning{cursor:help}.wrap .CodeMirror-lint-marker-multiple{position:absolute;top:0}.wrap [class*=CodeMirror-lint-marker]:before{font:400 18px/1 dashicons;position:relative;top:-2px}.wp-core-ui [class*=CodeMirror-lint-message]:before{font:400 16px/1 dashicons;left:16px;position:absolute}.wp-core-ui .CodeMirror-lint-message-error,.wp-core-ui .CodeMirror-lint-message-warning{box-shadow:0 1px 1px 0 rgba(0,0,0,.1);margin:5px 0 2px;padding:3px 12px 3px 28px}.wp-core-ui .CodeMirror-lint-message-warning{background-color:#fff8e5;border-left:4px solid #ffb900}.wp-core-ui .CodeMirror-lint-message-warning:before,.wrap .CodeMirror-lint-marker-warning:before{content:"\f534";color:#f6a306}.wp-core-ui .CodeMirror-lint-message-error{background-color:#fbeaea;border-left:4px solid #dc3232}.wp-core-ui .CodeMirror-lint-message-error:before,.wrap .CodeMirror-lint-marker-error:before{content:"\f153";color:#dc3232}.wp-core-ui .CodeMirror-lint-tooltip{background:0 0;border:none;border-radius:0;direction:ltr}.wrap .CodeMirror .CodeMirror-matchingbracket{background:rgba(255,150,0,.3);color:inherit}.CodeMirror{text-align:left}

View File

@@ -6,23 +6,43 @@
display: none;
}
/* Needs higher specificiity. */
.wp-picker-container .wp-color-result.button {
height: 24px;
.wp-color-result {
background-color: #f7f7f7;
border: 1px solid #ccc;
-webkit-border-radius: 3px;
border-radius: 3px;
cursor: pointer;
display: inline-block;
height: 22px;
margin: 0 0px 6px 6px;
padding: 0 30px 0 0;
font-size: 11px;
position: relative;
top: 1px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
vertical-align: bottom;
display: inline-block;
padding-right: 30px;
-webkit-box-shadow: 0 1px 0 #ccc;
box-shadow: 0 1px 0 #ccc;
}
.wp-color-result-text {
.wp-color-result:after {
background: #f7f7f7;
-webkit-border-radius: 2px 0 0 2px;
border-radius: 2px 0 0 2px;
border-right: 1px solid #ccc;
color: #555;
content: attr( title );
display: block;
font-size: 11px;
line-height: 22px;
padding: 0 6px;
position: relative;
left: 0;
text-align: center;
top: 0;
}
.wp-color-result:hover,
@@ -39,39 +59,32 @@
border-right: 1px solid #999;
}
.wp-picker-containers {
.wp-color-result {
top: 0;
}
.wp-color-result.wp-picker-open:after {
content: attr( data-current );
}
.wp-picker-container, .wp-picker-container:active {
display: inline-block;
outline: 0;
}
.wp-color-result:focus {
border-color: #5b9dd9;
-webkit-box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
}
.wp-color-result:active {
/* See Trac ticket #39662 */
-webkit-transform: none !important;
transform: none !important;
}
.wp-picker-open + .wp-picker-input-wrap {
display: inline-block;
vertical-align: top;
}
.wp-picker-input-wrap label {
display: inline-block;
vertical-align: top;
}
/* For the old `custom-background` page, to override the inline-block and margins from `.form-table td fieldset label`. */
.form-table .wp-picker-input-wrap label {
margin: 0 !important;
}
.wp-picker-input-wrap .button,
.wp-customizer .wp-picker-input-wrap .button {
margin-right: 6px;
.wp-picker-container .button {
margin-right: 6px;
}
.wp-picker-container .iris-square-slider .ui-slider-handle:focus {
@@ -79,6 +92,7 @@
}
.wp-picker-container .iris-picker {
-webkit-border-radius: 0;
border-radius: 0;
border-color: #ddd;
margin-top: 6px;
@@ -90,7 +104,6 @@
font-family: monospace;
line-height: 16px;
margin: 0;
vertical-align: top;
}
.wp-color-picker::-webkit-input-placeholder {
@@ -114,60 +127,10 @@
.iris-picker .ui-square-handle:focus,
.iris-picker .iris-strip .ui-slider-handle:focus {
-webkit-box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
}
.iris-picker .iris-palette:focus {
box-shadow:
inset 0 0 5px rgba(0,0,0,.4),
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
}
@media screen and ( max-width: 782px ) {
.wp-picker-container input[type="text"].wp-color-picker {
width: 80px;
padding: 6px 5px 5px;
font-size: 16px;
line-height: 18px;
}
.wp-customizer .wp-picker-container input[type="text"].wp-color-picker {
padding: 5px 5px 4px;
}
.wp-picker-container .wp-color-result.button {
height: auto;
padding: 0 40px 0 0;
font-size: 14px;
line-height: 29px;
}
.wp-customizer .wp-picker-container .wp-color-result.button {
font-size: 13px;
line-height: 26px;
}
.wp-picker-container .wp-color-result-text {
padding: 0 14px;
font-size: inherit;
line-height: inherit;
}
.wp-customizer .wp-picker-container .wp-color-result-text {
padding: 0 10px;
}
}
@media screen and ( max-width: 640px ) {
.wp-customizer .wp-picker-container .wp-color-result.button {
font-size: 14px;
line-height: 29px;
}
.wp-customizer .wp-picker-container input[type="text"].wp-color-picker {
padding: 6px 5px;
}
}
}

View File

@@ -1,2 +1 @@
/*! This file is auto-generated */
.wp-color-picker{width:80px}.wp-picker-container .hidden{display:none}.wp-picker-container .wp-color-result.button{height:24px;margin:0 0 6px 6px;padding:0 30px 0 0;font-size:11px}.wp-color-result-text{background:#f7f7f7;border-radius:2px 0 0 2px;border-right:1px solid #ccc;color:#555;display:block;line-height:22px;padding:0 6px;text-align:center}.wp-color-result:focus,.wp-color-result:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#23282d;border-color:#a0a5aa;border-right:1px solid #999}.wp-picker-containers{display:inline-block}.wp-color-result:focus{border-color:#5b9dd9;box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-color-result:active{-webkit-transform:none!important;transform:none!important}.wp-picker-input-wrap label,.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.form-table .wp-picker-input-wrap label{margin:0!important}.wp-customizer .wp-picker-input-wrap .button,.wp-picker-input-wrap .button{margin-right:6px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{border-radius:0;border-color:#ddd;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:65px;font-size:12px;font-family:monospace;line-height:16px;margin:0;vertical-align:top}.wp-color-picker::-webkit-input-placeholder{color:#72777c}.wp-color-picker::-moz-placeholder{color:#72777c;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#72777c}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000}.iris-picker .iris-strip .ui-slider-handle:focus,.iris-picker .ui-square-handle:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.iris-picker .iris-palette:focus{box-shadow:inset 0 0 5px rgba(0,0,0,.4),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}@media screen and (max-width:782px){.wp-picker-container input[type=text].wp-color-picker{width:80px;padding:6px 5px 5px;font-size:16px;line-height:18px}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:5px 5px 4px}.wp-picker-container .wp-color-result.button{height:auto;padding:0 40px 0 0;font-size:14px;line-height:29px}.wp-customizer .wp-picker-container .wp-color-result.button{font-size:13px;line-height:26px}.wp-picker-container .wp-color-result-text{padding:0 14px;font-size:inherit;line-height:inherit}.wp-customizer .wp-picker-container .wp-color-result-text{padding:0 10px}}@media screen and (max-width:640px){.wp-customizer .wp-picker-container .wp-color-result.button{font-size:14px;line-height:29px}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:6px 5px}}
.wp-color-picker{width:80px}.wp-picker-container .hidden{display:none}.wp-color-result{background-color:#f7f7f7;border:1px solid #ccc;-webkit-border-radius:3px;border-radius:3px;cursor:pointer;height:22px;margin:0 0 6px 6px;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:bottom;display:inline-block;padding-right:30px;-webkit-box-shadow:0 1px 0 #ccc;box-shadow:0 1px 0 #ccc;top:0}.wp-color-result:after{background:#f7f7f7;-webkit-border-radius:2px 0 0 2px;border-radius:2px 0 0 2px;border-right:1px solid #ccc;color:#555;content:attr(title);display:block;font-size:11px;line-height:22px;padding:0 6px;position:relative;left:0;text-align:center;top:0}.wp-color-result:focus,.wp-color-result:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#23282d;border-color:#a0a5aa;border-right:1px solid #999}.wp-color-result.wp-picker-open:after{content:attr(data-current)}.wp-picker-container,.wp-picker-container:active{display:inline-block;outline:0}.wp-color-result:focus{border-color:#5b9dd9;-webkit-box-shadow:0 0 3px rgba(0,115,170,.8);box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-container .button{margin-right:6px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{-webkit-border-radius:0;border-radius:0;border-color:#ddd;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:65px;font-size:12px;font-family:monospace;line-height:16px;margin:0}.wp-color-picker::-webkit-input-placeholder{color:#72777c}.wp-color-picker::-moz-placeholder{color:#72777c;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#72777c}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000}.iris-picker .iris-strip .ui-slider-handle:focus,.iris-picker .ui-square-handle:focus{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}

View File

@@ -6,23 +6,43 @@
display: none;
}
/* Needs higher specificiity. */
.wp-picker-container .wp-color-result.button {
height: 24px;
.wp-color-result {
background-color: #f7f7f7;
border: 1px solid #ccc;
-webkit-border-radius: 3px;
border-radius: 3px;
cursor: pointer;
display: inline-block;
height: 22px;
margin: 0 6px 6px 0px;
padding: 0 0 0 30px;
font-size: 11px;
position: relative;
top: 1px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
vertical-align: bottom;
display: inline-block;
padding-left: 30px;
-webkit-box-shadow: 0 1px 0 #ccc;
box-shadow: 0 1px 0 #ccc;
}
.wp-color-result-text {
.wp-color-result:after {
background: #f7f7f7;
-webkit-border-radius: 0 2px 2px 0;
border-radius: 0 2px 2px 0;
border-left: 1px solid #ccc;
color: #555;
content: attr( title );
display: block;
font-size: 11px;
line-height: 22px;
padding: 0 6px;
position: relative;
right: 0;
text-align: center;
top: 0;
}
.wp-color-result:hover,
@@ -39,39 +59,32 @@
border-left: 1px solid #999;
}
.wp-picker-containers {
.wp-color-result {
top: 0;
}
.wp-color-result.wp-picker-open:after {
content: attr( data-current );
}
.wp-picker-container, .wp-picker-container:active {
display: inline-block;
outline: 0;
}
.wp-color-result:focus {
border-color: #5b9dd9;
-webkit-box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
}
.wp-color-result:active {
/* See Trac ticket #39662 */
-webkit-transform: none !important;
transform: none !important;
}
.wp-picker-open + .wp-picker-input-wrap {
display: inline-block;
vertical-align: top;
}
.wp-picker-input-wrap label {
display: inline-block;
vertical-align: top;
}
/* For the old `custom-background` page, to override the inline-block and margins from `.form-table td fieldset label`. */
.form-table .wp-picker-input-wrap label {
margin: 0 !important;
}
.wp-picker-input-wrap .button,
.wp-customizer .wp-picker-input-wrap .button {
margin-left: 6px;
.wp-picker-container .button {
margin-left: 6px;
}
.wp-picker-container .iris-square-slider .ui-slider-handle:focus {
@@ -79,6 +92,7 @@
}
.wp-picker-container .iris-picker {
-webkit-border-radius: 0;
border-radius: 0;
border-color: #ddd;
margin-top: 6px;
@@ -90,7 +104,6 @@
font-family: monospace;
line-height: 16px;
margin: 0;
vertical-align: top;
}
.wp-color-picker::-webkit-input-placeholder {
@@ -114,60 +127,10 @@
.iris-picker .ui-square-handle:focus,
.iris-picker .iris-strip .ui-slider-handle:focus {
-webkit-box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
}
.iris-picker .iris-palette:focus {
box-shadow:
inset 0 0 5px rgba(0,0,0,.4),
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
}
@media screen and ( max-width: 782px ) {
.wp-picker-container input[type="text"].wp-color-picker {
width: 80px;
padding: 6px 5px 5px;
font-size: 16px;
line-height: 18px;
}
.wp-customizer .wp-picker-container input[type="text"].wp-color-picker {
padding: 5px 5px 4px;
}
.wp-picker-container .wp-color-result.button {
height: auto;
padding: 0 0 0 40px;
font-size: 14px;
line-height: 29px;
}
.wp-customizer .wp-picker-container .wp-color-result.button {
font-size: 13px;
line-height: 26px;
}
.wp-picker-container .wp-color-result-text {
padding: 0 14px;
font-size: inherit;
line-height: inherit;
}
.wp-customizer .wp-picker-container .wp-color-result-text {
padding: 0 10px;
}
}
@media screen and ( max-width: 640px ) {
.wp-customizer .wp-picker-container .wp-color-result.button {
font-size: 14px;
line-height: 29px;
}
.wp-customizer .wp-picker-container input[type="text"].wp-color-picker {
padding: 6px 5px;
}
}
}

View File

@@ -1,2 +1 @@
/*! This file is auto-generated */
.wp-color-picker{width:80px}.wp-picker-container .hidden{display:none}.wp-picker-container .wp-color-result.button{height:24px;margin:0 6px 6px 0;padding:0 0 0 30px;font-size:11px}.wp-color-result-text{background:#f7f7f7;border-radius:0 2px 2px 0;border-left:1px solid #ccc;color:#555;display:block;line-height:22px;padding:0 6px;text-align:center}.wp-color-result:focus,.wp-color-result:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#23282d;border-color:#a0a5aa;border-left:1px solid #999}.wp-picker-containers{display:inline-block}.wp-color-result:focus{border-color:#5b9dd9;box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-color-result:active{-webkit-transform:none!important;transform:none!important}.wp-picker-input-wrap label,.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.form-table .wp-picker-input-wrap label{margin:0!important}.wp-customizer .wp-picker-input-wrap .button,.wp-picker-input-wrap .button{margin-left:6px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{border-radius:0;border-color:#ddd;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:65px;font-size:12px;font-family:monospace;line-height:16px;margin:0;vertical-align:top}.wp-color-picker::-webkit-input-placeholder{color:#72777c}.wp-color-picker::-moz-placeholder{color:#72777c;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#72777c}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000}.iris-picker .iris-strip .ui-slider-handle:focus,.iris-picker .ui-square-handle:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.iris-picker .iris-palette:focus{box-shadow:inset 0 0 5px rgba(0,0,0,.4),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}@media screen and (max-width:782px){.wp-picker-container input[type=text].wp-color-picker{width:80px;padding:6px 5px 5px;font-size:16px;line-height:18px}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:5px 5px 4px}.wp-picker-container .wp-color-result.button{height:auto;padding:0 0 0 40px;font-size:14px;line-height:29px}.wp-customizer .wp-picker-container .wp-color-result.button{font-size:13px;line-height:26px}.wp-picker-container .wp-color-result-text{padding:0 14px;font-size:inherit;line-height:inherit}.wp-customizer .wp-picker-container .wp-color-result-text{padding:0 10px}}@media screen and (max-width:640px){.wp-customizer .wp-picker-container .wp-color-result.button{font-size:14px;line-height:29px}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:6px 5px}}
.wp-color-picker{width:80px}.wp-picker-container .hidden{display:none}.wp-color-result{background-color:#f7f7f7;border:1px solid #ccc;-webkit-border-radius:3px;border-radius:3px;cursor:pointer;height:22px;margin:0 6px 6px 0;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:bottom;display:inline-block;padding-left:30px;-webkit-box-shadow:0 1px 0 #ccc;box-shadow:0 1px 0 #ccc;top:0}.wp-color-result:after{background:#f7f7f7;-webkit-border-radius:0 2px 2px 0;border-radius:0 2px 2px 0;border-left:1px solid #ccc;color:#555;content:attr(title);display:block;font-size:11px;line-height:22px;padding:0 6px;position:relative;right:0;text-align:center;top:0}.wp-color-result:focus,.wp-color-result:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#23282d;border-color:#a0a5aa;border-left:1px solid #999}.wp-color-result.wp-picker-open:after{content:attr(data-current)}.wp-picker-container,.wp-picker-container:active{display:inline-block;outline:0}.wp-color-result:focus{border-color:#5b9dd9;-webkit-box-shadow:0 0 3px rgba(0,115,170,.8);box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-container .button{margin-left:6px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{-webkit-border-radius:0;border-radius:0;border-color:#ddd;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:65px;font-size:12px;font-family:monospace;line-height:16px;margin:0}.wp-color-picker::-webkit-input-placeholder{color:#72777c}.wp-color-picker::-moz-placeholder{color:#72777c;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#72777c}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000}.iris-picker .iris-strip .ui-slider-handle:focus,.iris-picker .ui-square-handle:focus{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}

View File

@@ -408,7 +408,12 @@ ul#adminmenu > li.current > a.current:after {
}
.media-selection .attachment.selection.details .thumbnail {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px $highlight-color;
-webkit-box-shadow:
0px 0px 0px 1px #fff,
0px 0px 0px 3px $highlight-color;
box-shadow:
0px 0px 0px 1px #fff,
0px 0px 0px 3px $highlight-color;
}

View File

@@ -25,10 +25,7 @@
0 0 2px 1px #33b3db;
}
&:active,
&.active,
&.active:focus,
&.active:hover {
&:active {
background: darken( $button-color, 10% );
border-color: darken( $button-color, 15% );
box-shadow: inset 0 2px 0 darken( $button-color, 15% );

View File

@@ -1,4 +1,3 @@
/*! This file is auto-generated */
/*
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
@@ -42,6 +41,7 @@ input[type=radio]:checked:before {
background: #e1a948;
border-color: #d39323 #bd831f #bd831f;
color: #fff;
-webkit-box-shadow: 0 1px 0 #bd831f;
box-shadow: 0 1px 0 #bd831f;
text-shadow: 0 -1px 1px #bd831f, -1px 0 1px #bd831f, 0 1px 1px #bd831f, 1px 0 1px #bd831f;
}
@@ -50,16 +50,19 @@ input[type=radio]:checked:before {
background: #e3af55;
border-color: #bd831f;
color: #fff;
-webkit-box-shadow: 0 1px 0 #bd831f;
box-shadow: 0 1px 0 #bd831f;
}
.wp-core-ui .button-primary:focus {
-webkit-box-shadow: inset 0 1px 0 #d39323, 0 0 2px 1px #33b3db;
box-shadow: inset 0 1px 0 #d39323, 0 0 2px 1px #33b3db;
}
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
.wp-core-ui .button-primary:active {
background: #d39323;
border-color: #bd831f;
-webkit-box-shadow: inset 0 2px 0 #bd831f;
box-shadow: inset 0 2px 0 #bd831f;
}
@@ -71,10 +74,12 @@ input[type=radio]:checked:before {
}
.wp-core-ui .button-primary.button-hero {
-webkit-box-shadow: 0 2px 0 #bd831f !important;
box-shadow: 0 2px 0 #bd831f !important;
}
.wp-core-ui .button-primary.button-hero:active {
-webkit-box-shadow: inset 0 3px 0 #bd831f !important;
box-shadow: inset 0 3px 0 #bd831f !important;
}
@@ -414,16 +419,19 @@ ul#adminmenu > li.current > a.current:after {
}
.details.attachment {
-webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #096484;
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #096484;
}
.attachment.details .check {
background-color: #096484;
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #096484;
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #096484;
}
.media-selection .attachment.selection.details .thumbnail {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #096484;
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #096484;
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #096484;
}
/* Themes */

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,3 @@
/*! This file is auto-generated */
/*
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
@@ -42,6 +41,7 @@ input[type=radio]:checked:before {
background: #e1a948;
border-color: #d39323 #bd831f #bd831f;
color: #fff;
-webkit-box-shadow: 0 1px 0 #bd831f;
box-shadow: 0 1px 0 #bd831f;
text-shadow: 0 -1px 1px #bd831f, 1px 0 1px #bd831f, 0 1px 1px #bd831f, -1px 0 1px #bd831f;
}
@@ -50,16 +50,19 @@ input[type=radio]:checked:before {
background: #e3af55;
border-color: #bd831f;
color: #fff;
-webkit-box-shadow: 0 1px 0 #bd831f;
box-shadow: 0 1px 0 #bd831f;
}
.wp-core-ui .button-primary:focus {
-webkit-box-shadow: inset 0 1px 0 #d39323, 0 0 2px 1px #33b3db;
box-shadow: inset 0 1px 0 #d39323, 0 0 2px 1px #33b3db;
}
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
.wp-core-ui .button-primary:active {
background: #d39323;
border-color: #bd831f;
-webkit-box-shadow: inset 0 2px 0 #bd831f;
box-shadow: inset 0 2px 0 #bd831f;
}
@@ -71,10 +74,12 @@ input[type=radio]:checked:before {
}
.wp-core-ui .button-primary.button-hero {
-webkit-box-shadow: 0 2px 0 #bd831f !important;
box-shadow: 0 2px 0 #bd831f !important;
}
.wp-core-ui .button-primary.button-hero:active {
-webkit-box-shadow: inset 0 3px 0 #bd831f !important;
box-shadow: inset 0 3px 0 #bd831f !important;
}
@@ -414,16 +419,19 @@ ul#adminmenu > li.current > a.current:after {
}
.details.attachment {
-webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #096484;
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #096484;
}
.attachment.details .check {
background-color: #096484;
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #096484;
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #096484;
}
.media-selection .attachment.selection.details .thumbnail {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #096484;
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #096484;
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #096484;
}
/* Themes */

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,3 @@
/*! This file is auto-generated */
/*
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
@@ -42,6 +41,7 @@ input[type=radio]:checked:before {
background: #c7a589;
border-color: #b78b66 #ae7d55 #ae7d55;
color: #fff;
-webkit-box-shadow: 0 1px 0 #ae7d55;
box-shadow: 0 1px 0 #ae7d55;
text-shadow: 0 -1px 1px #ae7d55, -1px 0 1px #ae7d55, 0 1px 1px #ae7d55, 1px 0 1px #ae7d55;
}
@@ -50,16 +50,19 @@ input[type=radio]:checked:before {
background: #ccad93;
border-color: #ae7d55;
color: #fff;
-webkit-box-shadow: 0 1px 0 #ae7d55;
box-shadow: 0 1px 0 #ae7d55;
}
.wp-core-ui .button-primary:focus {
-webkit-box-shadow: inset 0 1px 0 #b78b66, 0 0 2px 1px #33b3db;
box-shadow: inset 0 1px 0 #b78b66, 0 0 2px 1px #33b3db;
}
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
.wp-core-ui .button-primary:active {
background: #b78b66;
border-color: #ae7d55;
-webkit-box-shadow: inset 0 2px 0 #ae7d55;
box-shadow: inset 0 2px 0 #ae7d55;
}
@@ -71,10 +74,12 @@ input[type=radio]:checked:before {
}
.wp-core-ui .button-primary.button-hero {
-webkit-box-shadow: 0 2px 0 #ae7d55 !important;
box-shadow: 0 2px 0 #ae7d55 !important;
}
.wp-core-ui .button-primary.button-hero:active {
-webkit-box-shadow: inset 0 3px 0 #ae7d55 !important;
box-shadow: inset 0 3px 0 #ae7d55 !important;
}
@@ -414,16 +419,19 @@ ul#adminmenu > li.current > a.current:after {
}
.details.attachment {
-webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #c7a589;
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #c7a589;
}
.attachment.details .check {
background-color: #c7a589;
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #c7a589;
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #c7a589;
}
.media-selection .attachment.selection.details .thumbnail {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #c7a589;
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #c7a589;
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #c7a589;
}
/* Themes */

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,3 @@
/*! This file is auto-generated */
/*
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
@@ -42,6 +41,7 @@ input[type=radio]:checked:before {
background: #c7a589;
border-color: #b78b66 #ae7d55 #ae7d55;
color: #fff;
-webkit-box-shadow: 0 1px 0 #ae7d55;
box-shadow: 0 1px 0 #ae7d55;
text-shadow: 0 -1px 1px #ae7d55, 1px 0 1px #ae7d55, 0 1px 1px #ae7d55, -1px 0 1px #ae7d55;
}
@@ -50,16 +50,19 @@ input[type=radio]:checked:before {
background: #ccad93;
border-color: #ae7d55;
color: #fff;
-webkit-box-shadow: 0 1px 0 #ae7d55;
box-shadow: 0 1px 0 #ae7d55;
}
.wp-core-ui .button-primary:focus {
-webkit-box-shadow: inset 0 1px 0 #b78b66, 0 0 2px 1px #33b3db;
box-shadow: inset 0 1px 0 #b78b66, 0 0 2px 1px #33b3db;
}
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
.wp-core-ui .button-primary:active {
background: #b78b66;
border-color: #ae7d55;
-webkit-box-shadow: inset 0 2px 0 #ae7d55;
box-shadow: inset 0 2px 0 #ae7d55;
}
@@ -71,10 +74,12 @@ input[type=radio]:checked:before {
}
.wp-core-ui .button-primary.button-hero {
-webkit-box-shadow: 0 2px 0 #ae7d55 !important;
box-shadow: 0 2px 0 #ae7d55 !important;
}
.wp-core-ui .button-primary.button-hero:active {
-webkit-box-shadow: inset 0 3px 0 #ae7d55 !important;
box-shadow: inset 0 3px 0 #ae7d55 !important;
}
@@ -414,16 +419,19 @@ ul#adminmenu > li.current > a.current:after {
}
.details.attachment {
-webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #c7a589;
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #c7a589;
}
.attachment.details .check {
background-color: #c7a589;
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #c7a589;
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #c7a589;
}
.media-selection .attachment.selection.details .thumbnail {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #c7a589;
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #c7a589;
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #c7a589;
}
/* Themes */

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,3 @@
/*! This file is auto-generated */
/*
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
@@ -42,6 +41,7 @@ input[type=radio]:checked:before {
background: #a3b745;
border-color: #829237 #727f30 #727f30;
color: #fff;
-webkit-box-shadow: 0 1px 0 #727f30;
box-shadow: 0 1px 0 #727f30;
text-shadow: 0 -1px 1px #727f30, -1px 0 1px #727f30, 0 1px 1px #727f30, 1px 0 1px #727f30;
}
@@ -50,16 +50,19 @@ input[type=radio]:checked:before {
background: #a9bd4f;
border-color: #727f30;
color: #fff;
-webkit-box-shadow: 0 1px 0 #727f30;
box-shadow: 0 1px 0 #727f30;
}
.wp-core-ui .button-primary:focus {
-webkit-box-shadow: inset 0 1px 0 #829237, 0 0 2px 1px #33b3db;
box-shadow: inset 0 1px 0 #829237, 0 0 2px 1px #33b3db;
}
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
.wp-core-ui .button-primary:active {
background: #829237;
border-color: #727f30;
-webkit-box-shadow: inset 0 2px 0 #727f30;
box-shadow: inset 0 2px 0 #727f30;
}
@@ -71,10 +74,12 @@ input[type=radio]:checked:before {
}
.wp-core-ui .button-primary.button-hero {
-webkit-box-shadow: 0 2px 0 #727f30 !important;
box-shadow: 0 2px 0 #727f30 !important;
}
.wp-core-ui .button-primary.button-hero:active {
-webkit-box-shadow: inset 0 3px 0 #727f30 !important;
box-shadow: inset 0 3px 0 #727f30 !important;
}
@@ -414,16 +419,19 @@ ul#adminmenu > li.current > a.current:after {
}
.details.attachment {
-webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #a3b745;
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #a3b745;
}
.attachment.details .check {
background-color: #a3b745;
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #a3b745;
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #a3b745;
}
.media-selection .attachment.selection.details .thumbnail {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #a3b745;
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #a3b745;
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #a3b745;
}
/* Themes */

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,3 @@
/*! This file is auto-generated */
/*
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
@@ -42,6 +41,7 @@ input[type=radio]:checked:before {
background: #a3b745;
border-color: #829237 #727f30 #727f30;
color: #fff;
-webkit-box-shadow: 0 1px 0 #727f30;
box-shadow: 0 1px 0 #727f30;
text-shadow: 0 -1px 1px #727f30, 1px 0 1px #727f30, 0 1px 1px #727f30, -1px 0 1px #727f30;
}
@@ -50,16 +50,19 @@ input[type=radio]:checked:before {
background: #a9bd4f;
border-color: #727f30;
color: #fff;
-webkit-box-shadow: 0 1px 0 #727f30;
box-shadow: 0 1px 0 #727f30;
}
.wp-core-ui .button-primary:focus {
-webkit-box-shadow: inset 0 1px 0 #829237, 0 0 2px 1px #33b3db;
box-shadow: inset 0 1px 0 #829237, 0 0 2px 1px #33b3db;
}
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
.wp-core-ui .button-primary:active {
background: #829237;
border-color: #727f30;
-webkit-box-shadow: inset 0 2px 0 #727f30;
box-shadow: inset 0 2px 0 #727f30;
}
@@ -71,10 +74,12 @@ input[type=radio]:checked:before {
}
.wp-core-ui .button-primary.button-hero {
-webkit-box-shadow: 0 2px 0 #727f30 !important;
box-shadow: 0 2px 0 #727f30 !important;
}
.wp-core-ui .button-primary.button-hero:active {
-webkit-box-shadow: inset 0 3px 0 #727f30 !important;
box-shadow: inset 0 3px 0 #727f30 !important;
}
@@ -414,16 +419,19 @@ ul#adminmenu > li.current > a.current:after {
}
.details.attachment {
-webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #a3b745;
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #a3b745;
}
.attachment.details .check {
background-color: #a3b745;
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #a3b745;
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #a3b745;
}
.media-selection .attachment.selection.details .thumbnail {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #a3b745;
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #a3b745;
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #a3b745;
}
/* Themes */

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,3 @@
/*! This file is auto-generated */
/*
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
@@ -42,6 +41,7 @@ input[type=radio]:checked:before {
background: #04a4cc;
border-color: #037c9a #036881 #036881;
color: #fff;
-webkit-box-shadow: 0 1px 0 #036881;
box-shadow: 0 1px 0 #036881;
text-shadow: 0 -1px 1px #036881, -1px 0 1px #036881, 0 1px 1px #036881, 1px 0 1px #036881;
}
@@ -50,16 +50,19 @@ input[type=radio]:checked:before {
background: #04b0db;
border-color: #036881;
color: #fff;
-webkit-box-shadow: 0 1px 0 #036881;
box-shadow: 0 1px 0 #036881;
}
.wp-core-ui .button-primary:focus {
-webkit-box-shadow: inset 0 1px 0 #037c9a, 0 0 2px 1px #33b3db;
box-shadow: inset 0 1px 0 #037c9a, 0 0 2px 1px #33b3db;
}
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
.wp-core-ui .button-primary:active {
background: #037c9a;
border-color: #036881;
-webkit-box-shadow: inset 0 2px 0 #036881;
box-shadow: inset 0 2px 0 #036881;
}
@@ -71,10 +74,12 @@ input[type=radio]:checked:before {
}
.wp-core-ui .button-primary.button-hero {
-webkit-box-shadow: 0 2px 0 #036881 !important;
box-shadow: 0 2px 0 #036881 !important;
}
.wp-core-ui .button-primary.button-hero:active {
-webkit-box-shadow: inset 0 3px 0 #036881 !important;
box-shadow: inset 0 3px 0 #036881 !important;
}
@@ -414,16 +419,19 @@ ul#adminmenu > li.current > a.current:after {
}
.details.attachment {
-webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #04a4cc;
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #04a4cc;
}
.attachment.details .check {
background-color: #04a4cc;
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #04a4cc;
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #04a4cc;
}
.media-selection .attachment.selection.details .thumbnail {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #04a4cc;
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #04a4cc;
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #04a4cc;
}
/* Themes */

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,3 @@
/*! This file is auto-generated */
/*
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
@@ -42,6 +41,7 @@ input[type=radio]:checked:before {
background: #04a4cc;
border-color: #037c9a #036881 #036881;
color: #fff;
-webkit-box-shadow: 0 1px 0 #036881;
box-shadow: 0 1px 0 #036881;
text-shadow: 0 -1px 1px #036881, 1px 0 1px #036881, 0 1px 1px #036881, -1px 0 1px #036881;
}
@@ -50,16 +50,19 @@ input[type=radio]:checked:before {
background: #04b0db;
border-color: #036881;
color: #fff;
-webkit-box-shadow: 0 1px 0 #036881;
box-shadow: 0 1px 0 #036881;
}
.wp-core-ui .button-primary:focus {
-webkit-box-shadow: inset 0 1px 0 #037c9a, 0 0 2px 1px #33b3db;
box-shadow: inset 0 1px 0 #037c9a, 0 0 2px 1px #33b3db;
}
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
.wp-core-ui .button-primary:active {
background: #037c9a;
border-color: #036881;
-webkit-box-shadow: inset 0 2px 0 #036881;
box-shadow: inset 0 2px 0 #036881;
}
@@ -71,10 +74,12 @@ input[type=radio]:checked:before {
}
.wp-core-ui .button-primary.button-hero {
-webkit-box-shadow: 0 2px 0 #036881 !important;
box-shadow: 0 2px 0 #036881 !important;
}
.wp-core-ui .button-primary.button-hero:active {
-webkit-box-shadow: inset 0 3px 0 #036881 !important;
box-shadow: inset 0 3px 0 #036881 !important;
}
@@ -414,16 +419,19 @@ ul#adminmenu > li.current > a.current:after {
}
.details.attachment {
-webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #04a4cc;
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #04a4cc;
}
.attachment.details .check {
background-color: #04a4cc;
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #04a4cc;
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #04a4cc;
}
.media-selection .attachment.selection.details .thumbnail {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #04a4cc;
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #04a4cc;
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #04a4cc;
}
/* Themes */

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,3 @@
/*! This file is auto-generated */
/*
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
@@ -42,6 +41,7 @@ input[type=radio]:checked:before {
background: #e14d43;
border-color: #d02c21 #ba281e #ba281e;
color: #fff;
-webkit-box-shadow: 0 1px 0 #ba281e;
box-shadow: 0 1px 0 #ba281e;
text-shadow: 0 -1px 1px #ba281e, -1px 0 1px #ba281e, 0 1px 1px #ba281e, 1px 0 1px #ba281e;
}
@@ -50,16 +50,19 @@ input[type=radio]:checked:before {
background: #e35950;
border-color: #ba281e;
color: #fff;
-webkit-box-shadow: 0 1px 0 #ba281e;
box-shadow: 0 1px 0 #ba281e;
}
.wp-core-ui .button-primary:focus {
-webkit-box-shadow: inset 0 1px 0 #d02c21, 0 0 2px 1px #33b3db;
box-shadow: inset 0 1px 0 #d02c21, 0 0 2px 1px #33b3db;
}
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
.wp-core-ui .button-primary:active {
background: #d02c21;
border-color: #ba281e;
-webkit-box-shadow: inset 0 2px 0 #ba281e;
box-shadow: inset 0 2px 0 #ba281e;
}
@@ -71,10 +74,12 @@ input[type=radio]:checked:before {
}
.wp-core-ui .button-primary.button-hero {
-webkit-box-shadow: 0 2px 0 #ba281e !important;
box-shadow: 0 2px 0 #ba281e !important;
}
.wp-core-ui .button-primary.button-hero:active {
-webkit-box-shadow: inset 0 3px 0 #ba281e !important;
box-shadow: inset 0 3px 0 #ba281e !important;
}
@@ -414,16 +419,19 @@ ul#adminmenu > li.current > a.current:after {
}
.details.attachment {
-webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #e14d43;
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #e14d43;
}
.attachment.details .check {
background-color: #e14d43;
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #e14d43;
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #e14d43;
}
.media-selection .attachment.selection.details .thumbnail {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #e14d43;
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #e14d43;
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #e14d43;
}
/* Themes */

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,3 @@
/*! This file is auto-generated */
/*
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
@@ -42,6 +41,7 @@ input[type=radio]:checked:before {
background: #e14d43;
border-color: #d02c21 #ba281e #ba281e;
color: #fff;
-webkit-box-shadow: 0 1px 0 #ba281e;
box-shadow: 0 1px 0 #ba281e;
text-shadow: 0 -1px 1px #ba281e, 1px 0 1px #ba281e, 0 1px 1px #ba281e, -1px 0 1px #ba281e;
}
@@ -50,16 +50,19 @@ input[type=radio]:checked:before {
background: #e35950;
border-color: #ba281e;
color: #fff;
-webkit-box-shadow: 0 1px 0 #ba281e;
box-shadow: 0 1px 0 #ba281e;
}
.wp-core-ui .button-primary:focus {
-webkit-box-shadow: inset 0 1px 0 #d02c21, 0 0 2px 1px #33b3db;
box-shadow: inset 0 1px 0 #d02c21, 0 0 2px 1px #33b3db;
}
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
.wp-core-ui .button-primary:active {
background: #d02c21;
border-color: #ba281e;
-webkit-box-shadow: inset 0 2px 0 #ba281e;
box-shadow: inset 0 2px 0 #ba281e;
}
@@ -71,10 +74,12 @@ input[type=radio]:checked:before {
}
.wp-core-ui .button-primary.button-hero {
-webkit-box-shadow: 0 2px 0 #ba281e !important;
box-shadow: 0 2px 0 #ba281e !important;
}
.wp-core-ui .button-primary.button-hero:active {
-webkit-box-shadow: inset 0 3px 0 #ba281e !important;
box-shadow: inset 0 3px 0 #ba281e !important;
}
@@ -414,16 +419,19 @@ ul#adminmenu > li.current > a.current:after {
}
.details.attachment {
-webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #e14d43;
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #e14d43;
}
.attachment.details .check {
background-color: #e14d43;
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #e14d43;
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #e14d43;
}
.media-selection .attachment.selection.details .thumbnail {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #e14d43;
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #e14d43;
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #e14d43;
}
/* Themes */

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,3 @@
/*! This file is auto-generated */
/*
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
@@ -42,6 +41,7 @@ input[type=radio]:checked:before {
background: #9ebaa0;
border-color: #80a583 #719a74 #719a74;
color: #fff;
-webkit-box-shadow: 0 1px 0 #719a74;
box-shadow: 0 1px 0 #719a74;
text-shadow: 0 -1px 1px #719a74, -1px 0 1px #719a74, 0 1px 1px #719a74, 1px 0 1px #719a74;
}
@@ -50,16 +50,19 @@ input[type=radio]:checked:before {
background: #a7c0a9;
border-color: #719a74;
color: #fff;
-webkit-box-shadow: 0 1px 0 #719a74;
box-shadow: 0 1px 0 #719a74;
}
.wp-core-ui .button-primary:focus {
-webkit-box-shadow: inset 0 1px 0 #80a583, 0 0 2px 1px #33b3db;
box-shadow: inset 0 1px 0 #80a583, 0 0 2px 1px #33b3db;
}
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
.wp-core-ui .button-primary:active {
background: #80a583;
border-color: #719a74;
-webkit-box-shadow: inset 0 2px 0 #719a74;
box-shadow: inset 0 2px 0 #719a74;
}
@@ -71,10 +74,12 @@ input[type=radio]:checked:before {
}
.wp-core-ui .button-primary.button-hero {
-webkit-box-shadow: 0 2px 0 #719a74 !important;
box-shadow: 0 2px 0 #719a74 !important;
}
.wp-core-ui .button-primary.button-hero:active {
-webkit-box-shadow: inset 0 3px 0 #719a74 !important;
box-shadow: inset 0 3px 0 #719a74 !important;
}
@@ -414,16 +419,19 @@ ul#adminmenu > li.current > a.current:after {
}
.details.attachment {
-webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #9ebaa0;
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #9ebaa0;
}
.attachment.details .check {
background-color: #9ebaa0;
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #9ebaa0;
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #9ebaa0;
}
.media-selection .attachment.selection.details .thumbnail {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #9ebaa0;
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #9ebaa0;
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #9ebaa0;
}
/* Themes */

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,3 @@
/*! This file is auto-generated */
/*
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
@@ -42,6 +41,7 @@ input[type=radio]:checked:before {
background: #9ebaa0;
border-color: #80a583 #719a74 #719a74;
color: #fff;
-webkit-box-shadow: 0 1px 0 #719a74;
box-shadow: 0 1px 0 #719a74;
text-shadow: 0 -1px 1px #719a74, 1px 0 1px #719a74, 0 1px 1px #719a74, -1px 0 1px #719a74;
}
@@ -50,16 +50,19 @@ input[type=radio]:checked:before {
background: #a7c0a9;
border-color: #719a74;
color: #fff;
-webkit-box-shadow: 0 1px 0 #719a74;
box-shadow: 0 1px 0 #719a74;
}
.wp-core-ui .button-primary:focus {
-webkit-box-shadow: inset 0 1px 0 #80a583, 0 0 2px 1px #33b3db;
box-shadow: inset 0 1px 0 #80a583, 0 0 2px 1px #33b3db;
}
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
.wp-core-ui .button-primary:active {
background: #80a583;
border-color: #719a74;
-webkit-box-shadow: inset 0 2px 0 #719a74;
box-shadow: inset 0 2px 0 #719a74;
}
@@ -71,10 +74,12 @@ input[type=radio]:checked:before {
}
.wp-core-ui .button-primary.button-hero {
-webkit-box-shadow: 0 2px 0 #719a74 !important;
box-shadow: 0 2px 0 #719a74 !important;
}
.wp-core-ui .button-primary.button-hero:active {
-webkit-box-shadow: inset 0 3px 0 #719a74 !important;
box-shadow: inset 0 3px 0 #719a74 !important;
}
@@ -414,16 +419,19 @@ ul#adminmenu > li.current > a.current:after {
}
.details.attachment {
-webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #9ebaa0;
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #9ebaa0;
}
.attachment.details .check {
background-color: #9ebaa0;
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #9ebaa0;
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #9ebaa0;
}
.media-selection .attachment.selection.details .thumbnail {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #9ebaa0;
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #9ebaa0;
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #9ebaa0;
}
/* Themes */

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,3 @@
/*! This file is auto-generated */
/*
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
@@ -42,6 +41,7 @@ input[type=radio]:checked:before {
background: #dd823b;
border-color: #c36922 #ad5d1e #ad5d1e;
color: #fff;
-webkit-box-shadow: 0 1px 0 #ad5d1e;
box-shadow: 0 1px 0 #ad5d1e;
text-shadow: 0 -1px 1px #ad5d1e, -1px 0 1px #ad5d1e, 0 1px 1px #ad5d1e, 1px 0 1px #ad5d1e;
}
@@ -50,16 +50,19 @@ input[type=radio]:checked:before {
background: #df8a48;
border-color: #ad5d1e;
color: #fff;
-webkit-box-shadow: 0 1px 0 #ad5d1e;
box-shadow: 0 1px 0 #ad5d1e;
}
.wp-core-ui .button-primary:focus {
-webkit-box-shadow: inset 0 1px 0 #c36922, 0 0 2px 1px #33b3db;
box-shadow: inset 0 1px 0 #c36922, 0 0 2px 1px #33b3db;
}
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
.wp-core-ui .button-primary:active {
background: #c36922;
border-color: #ad5d1e;
-webkit-box-shadow: inset 0 2px 0 #ad5d1e;
box-shadow: inset 0 2px 0 #ad5d1e;
}
@@ -71,10 +74,12 @@ input[type=radio]:checked:before {
}
.wp-core-ui .button-primary.button-hero {
-webkit-box-shadow: 0 2px 0 #ad5d1e !important;
box-shadow: 0 2px 0 #ad5d1e !important;
}
.wp-core-ui .button-primary.button-hero:active {
-webkit-box-shadow: inset 0 3px 0 #ad5d1e !important;
box-shadow: inset 0 3px 0 #ad5d1e !important;
}
@@ -414,16 +419,19 @@ ul#adminmenu > li.current > a.current:after {
}
.details.attachment {
-webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #dd823b;
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #dd823b;
}
.attachment.details .check {
background-color: #dd823b;
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #dd823b;
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #dd823b;
}
.media-selection .attachment.selection.details .thumbnail {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #dd823b;
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #dd823b;
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #dd823b;
}
/* Themes */

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,3 @@
/*! This file is auto-generated */
/*
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
@@ -42,6 +41,7 @@ input[type=radio]:checked:before {
background: #dd823b;
border-color: #c36922 #ad5d1e #ad5d1e;
color: #fff;
-webkit-box-shadow: 0 1px 0 #ad5d1e;
box-shadow: 0 1px 0 #ad5d1e;
text-shadow: 0 -1px 1px #ad5d1e, 1px 0 1px #ad5d1e, 0 1px 1px #ad5d1e, -1px 0 1px #ad5d1e;
}
@@ -50,16 +50,19 @@ input[type=radio]:checked:before {
background: #df8a48;
border-color: #ad5d1e;
color: #fff;
-webkit-box-shadow: 0 1px 0 #ad5d1e;
box-shadow: 0 1px 0 #ad5d1e;
}
.wp-core-ui .button-primary:focus {
-webkit-box-shadow: inset 0 1px 0 #c36922, 0 0 2px 1px #33b3db;
box-shadow: inset 0 1px 0 #c36922, 0 0 2px 1px #33b3db;
}
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
.wp-core-ui .button-primary:active {
background: #c36922;
border-color: #ad5d1e;
-webkit-box-shadow: inset 0 2px 0 #ad5d1e;
box-shadow: inset 0 2px 0 #ad5d1e;
}
@@ -71,10 +74,12 @@ input[type=radio]:checked:before {
}
.wp-core-ui .button-primary.button-hero {
-webkit-box-shadow: 0 2px 0 #ad5d1e !important;
box-shadow: 0 2px 0 #ad5d1e !important;
}
.wp-core-ui .button-primary.button-hero:active {
-webkit-box-shadow: inset 0 3px 0 #ad5d1e !important;
box-shadow: inset 0 3px 0 #ad5d1e !important;
}
@@ -414,16 +419,19 @@ ul#adminmenu > li.current > a.current:after {
}
.details.attachment {
-webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #dd823b;
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #dd823b;
}
.attachment.details .check {
background-color: #dd823b;
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #dd823b;
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #dd823b;
}
.media-selection .attachment.selection.details .thumbnail {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #dd823b;
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #dd823b;
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #dd823b;
}
/* Themes */

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@@ -1,22 +1,10 @@
#customize-theme-controls #accordion-section-menu_locations {
position: relative;
margin-top: 30px;
margin-bottom: 15px;
}
#customize-theme-controls #accordion-section-menu_locations > .accordion-section-title {
border-bottom-color: #ddd;
margin-top: 15px;
}
#customize-theme-controls .customize-section-title-nav_menus-heading,
#customize-theme-controls .customize-section-title-menu_locations-heading,
#customize-theme-controls .customize-section-title-menu_locations-description {
padding: 0 12px 0 12px;
}
#customize-theme-controls .customize-control-description.customize-section-title-menu_locations-description {
/* Override the default italic style for control descriptions */
font-style: normal;
}
.menu-in-location,
@@ -32,30 +20,29 @@
color: #555;
}
/* The `edit-menu` and `create-menu` buttons also use the `button-link` class. */
.customize-control-nav_menu_location .edit-menu,
.customize-control-nav_menu_location .create-menu {
/* The `edit-menu` button uses also the `button-link` class. */
.customize-control-nav_menu_location .edit-menu {
margin-right: 6px;
vertical-align: middle;
line-height: 28px;
color: #0073aa;
text-decoration: underline;
}
#customize-controls .customize-control-nav_menu_name {
margin-bottom: 12px;
.customize-control-nav_menu_location .edit-menu:hover,
.customize-control-nav_menu_location .edit-menu:active {
color: #00a0d2;
}
.customize-control-nav_menu_name p:last-of-type {
margin-bottom: 0;
}
#customize-new-menu-submit {
float: left;
min-width: 85px;
.customize-control-nav_menu_location .edit-menu:focus {
color: #124964;
}
.wp-customizer .menu-item-bar .menu-item-handle,
.wp-customizer .menu-item-settings,
.wp-customizer .menu-item-settings .description-thin {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
@@ -158,6 +145,7 @@
.customize-control input.menu-name-field {
width: 100%; /* Override the 98% default for customizer inputs, to align with the size of menu items. */
margin: 12px 0;
}
.wp-customizer .menu-item .item-edit {
@@ -168,14 +156,14 @@
width: 30px;
height: 38px;
margin-left: 0 !important;
-webkit-box-shadow: none;
box-shadow: none;
outline: none;
overflow: hidden;
cursor: pointer;
text-align: center;
}
.wp-customizer .menu-item.menu-item-edit-active .item-edit .toggle-indicator:before {
.wp-customizer .menu-item.menu-item-edit-active .item-edit .toggle-indicator:after {
content: "\f142";
}
@@ -201,31 +189,13 @@
border-top: none;
}
.wp-customizer .menu-location-settings {
margin-top: 12px;
border-top: none;
}
.wp-customizer .control-section-nav_menu .menu-location-settings {
margin-top: 24px;
border-top: 1px solid #ddd;
}
.wp-customizer .control-section-nav_menu .menu-location-settings,
.customize-control-nav_menu_auto_add {
padding-top: 12px;
}
.menu-location-settings .customize-control-checkbox .theme-location-set {
.menu-settings .customize-control-checkbox label {
line-height: 1;
}
.customize-control-nav_menu_auto_add label {
vertical-align: top;
}
.menu-location-settings .new-menu-locations-widget-note {
display: block;
/* @todo update selector or potentially remove */
.menu-settings .customize-control.customize-control-checkbox {
margin-bottom: 8px; /* Override collapsing at smaller viewports. */
}
.customize-control-menu {
@@ -289,6 +259,7 @@
.customize-screen-options-toggle:focus:before,
#customize-controls .customize-info .customize-help-toggle:focus:before {
-webkit-border-radius: 100%;
border-radius: 100%;
}
@@ -310,18 +281,18 @@
display: inline-block;
font-size: 20px;
line-height: 1;
text-indent: -1px; /* account for the dashicon alignment */
}
.rtl .wp-customizer .toggle-indicator {
text-indent: 1px; /* account for the dashicon alignment */
}
.wp-customizer .menu-item .item-edit .toggle-indicator:before,
#available-menu-items .accordion-section-title .toggle-indicator:before {
.wp-customizer .toggle-indicator:after {
content: "\f140";
display: block;
padding: 1px 0px 1px 2px;
speak: none;
vertical-align: top;
-webkit-border-radius: 50%;
border-radius: 50%;
color: #72777c;
font: normal 20px/1 dashicons;
@@ -426,6 +397,7 @@
.control-section-nav_menu.menu .sortable-placeholder {
margin-top: 0;
margin-bottom: 1px;
max-width: -webkit-calc(100% - 2px);
max-width: calc(100% - 2px);
float: right;
display: list-item;
@@ -469,6 +441,7 @@
position: absolute;
top: 9px;
right: 5px;
-webkit-border-radius: 50%;
border-radius: 50%;
font: normal 20px/1 dashicons;
-webkit-font-smoothing: antialiased;
@@ -481,9 +454,10 @@
.menu-item-bar .item-delete:hover,
.menu-item-bar .item-delete:focus {
-webkit-box-shadow: none;
box-shadow: none;
outline: none;
color: #dc3232;
color: #f00;
}
.adding-menu-items .menu-item-bar .item-edit {
@@ -511,6 +485,7 @@
border-right: none;
border-left: none;
background: #fff;
-webkit-transition: background-color 0.15s;
transition: background-color 0.15s;
/* Reset the value inherited from the base .accordion-section-title style. Ticket #37589. */
-webkit-user-select: auto;
@@ -529,13 +504,13 @@
content: none !important;
}
#available-menu-items .accordion-section-title:hover .toggle-indicator:before,
#available-menu-items .button-link:hover .toggle-indicator:before,
#available-menu-items .button-link:focus .toggle-indicator:before {
#available-menu-items .accordion-section-title:hover .toggle-indicator:after,
#available-menu-items .button-link:hover .toggle-indicator:after,
#available-menu-items .button-link:focus .toggle-indicator:after {
color: #23282d;
}
#available-menu-items .open .accordion-section-title .toggle-indicator:before {
#available-menu-items .open .accordion-section-title .toggle-indicator:after {
content: "\f142";
color: #23282d;
}
@@ -553,10 +528,10 @@
position: absolute;
top: 5px;
left: 5px;
-webkit-box-shadow: none;
box-shadow: none;
outline: none;
cursor: pointer;
text-align: center;
}
#available-menu-items .accordion-section-title .no-items,
@@ -603,12 +578,11 @@
#custom-menu-item-name.invalid,
#custom-menu-item-url.invalid,
.edit-menu-item-url.invalid,
.menu-name-field.invalid,
.menu-name-field.invalid:focus,
#available-menu-items .new-content-item .create-item-input.invalid,
#available-menu-items .new-content-item .create-item-input.invalid:focus {
border: 1px solid #dc3232;
border: 1px solid #f00;
}
#available-menu-items .menu-item-handle .item-type {
@@ -624,6 +598,7 @@
}
#available-menu-items .menu-item-handle {
-webkit-box-shadow: none;
box-shadow: none;
margin-top: -1px;
}
@@ -644,10 +619,10 @@
color: #82878c;
width: 30px;
height: 38px;
-webkit-box-shadow: none;
box-shadow: none;
outline: none;
cursor: pointer;
text-align: center;
}
#available-menu-items .menu-item-handle .item-add:focus {
@@ -661,6 +636,7 @@
top: 3px;
display: inline-block;
height: 20px;
-webkit-border-radius: 50%;
border-radius: 50%;
font: normal 20px/1.05 dashicons; /* line height is to account for the dashicon's vertical alignment */
}
@@ -698,6 +674,8 @@
max-height: none;
width: 100%;
padding: 1px 15px 15px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
@@ -724,6 +702,7 @@
}
#customize-preview {
-webkit-transition: all 0.2s;
transition: all 0.2s;
}
@@ -740,10 +719,6 @@ body.adding-menu-items #customize-preview {
opacity: 0.4;
}
body.adding-menu-items #customize-preview iframe {
pointer-events: none;
}
.menu-item-handle .spinner {
display: none;
float: right;
@@ -768,8 +743,11 @@ body.adding-menu-items #customize-preview iframe {
}
.added-menu-item .menu-item-handle {
-webkit-transition-property: opacity, background, color;
transition-property: opacity, background, color;
-webkit-transition-duration: 1.25s;
transition-duration: 1.25s;
-webkit-transition-timing-function: cubic-bezier( .25, -2.5, .75, 8 );
transition-timing-function: cubic-bezier( .25, -2.5, .75, 8 ); /* Replacement for .hide().fadeIn('slow') in JS to add emphasis when it's loaded. */
}
@@ -782,19 +760,27 @@ body.adding-menu-items #customize-preview iframe {
/* @todo update selector */
#accordion-section-add_menu {
margin: 15px 12px;
overflow: hidden;
}
#accordion-section-add_menu h3 {
text-align: left;
.new-menu-section-content {
display: none;
padding: 15px 0 0 0;
clear: both;
}
#accordion-section-add_menu h3,
#accordion-section-add_menu .customize-add-menu-button {
margin: 0;
/* @todo update selector */
#accordion-section-add_menu .accordion-section-title {
padding-right: 45px;
}
#accordion-section-add_menu .customize-add-menu-button {
font-weight: normal;
/* @todo update selector */
#accordion-section-add_menu .accordion-section-title:before {
font: normal 20px/1 dashicons;
position: absolute;
top: 12px;
right: 14px;
content: "\f132";
}
#create-new-menu-submit {
@@ -808,10 +794,6 @@ body.adding-menu-items #customize-preview iframe {
width: 100%;
}
.assigned-menu-locations-title p {
margin: 0 0 8px 0;
}
li.assigned-to-menu-location .menu-delete-item {
display: none;
}
@@ -820,6 +802,18 @@ li.assigned-to-menu-location .add-new-menu-item {
margin-bottom: 1em;
}
.menu-delete {
color: #a00;
cursor: pointer;
text-decoration: underline;
}
.menu-delete:hover,
.menu-delete:focus {
color: #f00;
text-decoration: none;
}
.menu-item-handle {
margin-top: -1px;
}
@@ -848,12 +842,7 @@ li.assigned-to-menu-location .add-new-menu-item {
margin-bottom: 0;
}
.customize-control-nav_menu .new-menu-item-invitation {
margin-top: 0;
margin-bottom: 0;
}
.customize-control-nav_menu .customize-control-nav_menu-buttons {
.customize-control-nav_menu {
margin-top: 12px;
}
@@ -864,10 +853,13 @@ li.assigned-to-menu-location .add-new-menu-item {
.wp-customizer .menu-item .submitbox .submitdelete:focus,
.customize-screen-options-toggle:focus:before,
#customize-controls .customize-info .customize-help-toggle:focus:before,
.wp-customizer button:focus .toggle-indicator:before,
.wp-customizer button:focus .toggle-indicator:after,
.menu-delete:focus,
.menu-item-bar .item-delete:focus:before,
#available-menu-items .item-add:focus:before {
-webkit-box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);

File diff suppressed because one or more lines are too long

View File

@@ -1,22 +1,10 @@
#customize-theme-controls #accordion-section-menu_locations {
position: relative;
margin-top: 30px;
margin-bottom: 15px;
}
#customize-theme-controls #accordion-section-menu_locations > .accordion-section-title {
border-bottom-color: #ddd;
margin-top: 15px;
}
#customize-theme-controls .customize-section-title-nav_menus-heading,
#customize-theme-controls .customize-section-title-menu_locations-heading,
#customize-theme-controls .customize-section-title-menu_locations-description {
padding: 0 12px 0 12px;
}
#customize-theme-controls .customize-control-description.customize-section-title-menu_locations-description {
/* Override the default italic style for control descriptions */
font-style: normal;
}
.menu-in-location,
@@ -32,30 +20,29 @@
color: #555;
}
/* The `edit-menu` and `create-menu` buttons also use the `button-link` class. */
.customize-control-nav_menu_location .edit-menu,
.customize-control-nav_menu_location .create-menu {
/* The `edit-menu` button uses also the `button-link` class. */
.customize-control-nav_menu_location .edit-menu {
margin-left: 6px;
vertical-align: middle;
line-height: 28px;
color: #0073aa;
text-decoration: underline;
}
#customize-controls .customize-control-nav_menu_name {
margin-bottom: 12px;
.customize-control-nav_menu_location .edit-menu:hover,
.customize-control-nav_menu_location .edit-menu:active {
color: #00a0d2;
}
.customize-control-nav_menu_name p:last-of-type {
margin-bottom: 0;
}
#customize-new-menu-submit {
float: right;
min-width: 85px;
.customize-control-nav_menu_location .edit-menu:focus {
color: #124964;
}
.wp-customizer .menu-item-bar .menu-item-handle,
.wp-customizer .menu-item-settings,
.wp-customizer .menu-item-settings .description-thin {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
@@ -158,6 +145,7 @@
.customize-control input.menu-name-field {
width: 100%; /* Override the 98% default for customizer inputs, to align with the size of menu items. */
margin: 12px 0;
}
.wp-customizer .menu-item .item-edit {
@@ -168,14 +156,14 @@
width: 30px;
height: 38px;
margin-right: 0 !important;
-webkit-box-shadow: none;
box-shadow: none;
outline: none;
overflow: hidden;
cursor: pointer;
text-align: center;
}
.wp-customizer .menu-item.menu-item-edit-active .item-edit .toggle-indicator:before {
.wp-customizer .menu-item.menu-item-edit-active .item-edit .toggle-indicator:after {
content: "\f142";
}
@@ -201,31 +189,13 @@
border-top: none;
}
.wp-customizer .menu-location-settings {
margin-top: 12px;
border-top: none;
}
.wp-customizer .control-section-nav_menu .menu-location-settings {
margin-top: 24px;
border-top: 1px solid #ddd;
}
.wp-customizer .control-section-nav_menu .menu-location-settings,
.customize-control-nav_menu_auto_add {
padding-top: 12px;
}
.menu-location-settings .customize-control-checkbox .theme-location-set {
.menu-settings .customize-control-checkbox label {
line-height: 1;
}
.customize-control-nav_menu_auto_add label {
vertical-align: top;
}
.menu-location-settings .new-menu-locations-widget-note {
display: block;
/* @todo update selector or potentially remove */
.menu-settings .customize-control.customize-control-checkbox {
margin-bottom: 8px; /* Override collapsing at smaller viewports. */
}
.customize-control-menu {
@@ -289,6 +259,7 @@
.customize-screen-options-toggle:focus:before,
#customize-controls .customize-info .customize-help-toggle:focus:before {
-webkit-border-radius: 100%;
border-radius: 100%;
}
@@ -310,18 +281,18 @@
display: inline-block;
font-size: 20px;
line-height: 1;
text-indent: -1px; /* account for the dashicon alignment */
}
.rtl .wp-customizer .toggle-indicator {
text-indent: 1px; /* account for the dashicon alignment */
}
.wp-customizer .menu-item .item-edit .toggle-indicator:before,
#available-menu-items .accordion-section-title .toggle-indicator:before {
.wp-customizer .toggle-indicator:after {
content: "\f140";
display: block;
padding: 1px 2px 1px 0px;
speak: none;
vertical-align: top;
-webkit-border-radius: 50%;
border-radius: 50%;
color: #72777c;
font: normal 20px/1 dashicons;
@@ -426,6 +397,7 @@
.control-section-nav_menu.menu .sortable-placeholder {
margin-top: 0;
margin-bottom: 1px;
max-width: -webkit-calc(100% - 2px);
max-width: calc(100% - 2px);
float: left;
display: list-item;
@@ -469,6 +441,7 @@
position: absolute;
top: 9px;
left: 5px;
-webkit-border-radius: 50%;
border-radius: 50%;
font: normal 20px/1 dashicons;
-webkit-font-smoothing: antialiased;
@@ -481,9 +454,10 @@
.menu-item-bar .item-delete:hover,
.menu-item-bar .item-delete:focus {
-webkit-box-shadow: none;
box-shadow: none;
outline: none;
color: #dc3232;
color: #f00;
}
.adding-menu-items .menu-item-bar .item-edit {
@@ -511,6 +485,7 @@
border-left: none;
border-right: none;
background: #fff;
-webkit-transition: background-color 0.15s;
transition: background-color 0.15s;
/* Reset the value inherited from the base .accordion-section-title style. Ticket #37589. */
-webkit-user-select: auto;
@@ -529,13 +504,13 @@
content: none !important;
}
#available-menu-items .accordion-section-title:hover .toggle-indicator:before,
#available-menu-items .button-link:hover .toggle-indicator:before,
#available-menu-items .button-link:focus .toggle-indicator:before {
#available-menu-items .accordion-section-title:hover .toggle-indicator:after,
#available-menu-items .button-link:hover .toggle-indicator:after,
#available-menu-items .button-link:focus .toggle-indicator:after {
color: #23282d;
}
#available-menu-items .open .accordion-section-title .toggle-indicator:before {
#available-menu-items .open .accordion-section-title .toggle-indicator:after {
content: "\f142";
color: #23282d;
}
@@ -553,10 +528,10 @@
position: absolute;
top: 5px;
right: 5px;
-webkit-box-shadow: none;
box-shadow: none;
outline: none;
cursor: pointer;
text-align: center;
}
#available-menu-items .accordion-section-title .no-items,
@@ -603,12 +578,11 @@
#custom-menu-item-name.invalid,
#custom-menu-item-url.invalid,
.edit-menu-item-url.invalid,
.menu-name-field.invalid,
.menu-name-field.invalid:focus,
#available-menu-items .new-content-item .create-item-input.invalid,
#available-menu-items .new-content-item .create-item-input.invalid:focus {
border: 1px solid #dc3232;
border: 1px solid #f00;
}
#available-menu-items .menu-item-handle .item-type {
@@ -624,6 +598,7 @@
}
#available-menu-items .menu-item-handle {
-webkit-box-shadow: none;
box-shadow: none;
margin-top: -1px;
}
@@ -644,10 +619,10 @@
color: #82878c;
width: 30px;
height: 38px;
-webkit-box-shadow: none;
box-shadow: none;
outline: none;
cursor: pointer;
text-align: center;
}
#available-menu-items .menu-item-handle .item-add:focus {
@@ -661,6 +636,7 @@
top: 3px;
display: inline-block;
height: 20px;
-webkit-border-radius: 50%;
border-radius: 50%;
font: normal 20px/1.05 dashicons; /* line height is to account for the dashicon's vertical alignment */
}
@@ -698,6 +674,8 @@
max-height: none;
width: 100%;
padding: 1px 15px 15px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
@@ -724,6 +702,7 @@
}
#customize-preview {
-webkit-transition: all 0.2s;
transition: all 0.2s;
}
@@ -740,10 +719,6 @@ body.adding-menu-items #customize-preview {
opacity: 0.4;
}
body.adding-menu-items #customize-preview iframe {
pointer-events: none;
}
.menu-item-handle .spinner {
display: none;
float: left;
@@ -768,8 +743,11 @@ body.adding-menu-items #customize-preview iframe {
}
.added-menu-item .menu-item-handle {
-webkit-transition-property: opacity, background, color;
transition-property: opacity, background, color;
-webkit-transition-duration: 1.25s;
transition-duration: 1.25s;
-webkit-transition-timing-function: cubic-bezier( .25, -2.5, .75, 8 );
transition-timing-function: cubic-bezier( .25, -2.5, .75, 8 ); /* Replacement for .hide().fadeIn('slow') in JS to add emphasis when it's loaded. */
}
@@ -782,19 +760,27 @@ body.adding-menu-items #customize-preview iframe {
/* @todo update selector */
#accordion-section-add_menu {
margin: 15px 12px;
overflow: hidden;
}
#accordion-section-add_menu h3 {
text-align: right;
.new-menu-section-content {
display: none;
padding: 15px 0 0 0;
clear: both;
}
#accordion-section-add_menu h3,
#accordion-section-add_menu .customize-add-menu-button {
margin: 0;
/* @todo update selector */
#accordion-section-add_menu .accordion-section-title {
padding-left: 45px;
}
#accordion-section-add_menu .customize-add-menu-button {
font-weight: normal;
/* @todo update selector */
#accordion-section-add_menu .accordion-section-title:before {
font: normal 20px/1 dashicons;
position: absolute;
top: 12px;
left: 14px;
content: "\f132";
}
#create-new-menu-submit {
@@ -808,10 +794,6 @@ body.adding-menu-items #customize-preview iframe {
width: 100%;
}
.assigned-menu-locations-title p {
margin: 0 0 8px 0;
}
li.assigned-to-menu-location .menu-delete-item {
display: none;
}
@@ -820,6 +802,18 @@ li.assigned-to-menu-location .add-new-menu-item {
margin-bottom: 1em;
}
.menu-delete {
color: #a00;
cursor: pointer;
text-decoration: underline;
}
.menu-delete:hover,
.menu-delete:focus {
color: #f00;
text-decoration: none;
}
.menu-item-handle {
margin-top: -1px;
}
@@ -848,12 +842,7 @@ li.assigned-to-menu-location .add-new-menu-item {
margin-bottom: 0;
}
.customize-control-nav_menu .new-menu-item-invitation {
margin-top: 0;
margin-bottom: 0;
}
.customize-control-nav_menu .customize-control-nav_menu-buttons {
.customize-control-nav_menu {
margin-top: 12px;
}
@@ -864,10 +853,13 @@ li.assigned-to-menu-location .add-new-menu-item {
.wp-customizer .menu-item .submitbox .submitdelete:focus,
.customize-screen-options-toggle:focus:before,
#customize-controls .customize-info .customize-help-toggle:focus:before,
.wp-customizer button:focus .toggle-indicator:before,
.wp-customizer button:focus .toggle-indicator:after,
.menu-delete:focus,
.menu-item-bar .item-delete:focus:before,
#available-menu-items .item-add:focus:before {
-webkit-box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);

File diff suppressed because one or more lines are too long

View File

@@ -18,9 +18,9 @@
overflow: visible;
}
/* Note: widget-tops are more compact when (max-height: 700px) and (min-width: 981px). */
.customize-control-widget_form .widget-top {
background: #fff;
-webkit-transition: opacity 0.5s;
transition: opacity 0.5s;
}
@@ -75,6 +75,7 @@
}
.customize-control-widget_form.wide-widget-control .widget-top {
-webkit-transition: background-color 0.4s;
transition: background-color 0.4s;
}
.customize-control-widget_form.wide-widget-control.expanding .widget-top,
@@ -88,15 +89,15 @@
line-height: 16px;
}
.customize-control-widget_form.expanded .widget-action .toggle-indicator:before {
.customize-control-widget_form.expanded a.widget-action:after {
content: "\f142";
}
.customize-control-widget_form.wide-widget-control .widget-action .toggle-indicator:before {
.customize-control-widget_form.wide-widget-control a.widget-action:after {
content: "\f141";
}
.customize-control-widget_form.wide-widget-control.expanded .widget-action .toggle-indicator:before {
.customize-control-widget_form.wide-widget-control.expanded a.widget-action:after {
content: "\f139";
}
@@ -112,6 +113,7 @@
.control-section.accordion-section.highlighted > .accordion-section-title,
.customize-control-widget_form.highlighted {
outline: none;
-webkit-box-shadow: 0 0 2px rgba(30,140,190,0.8);
box-shadow: 0 0 2px rgba(30,140,190,0.8);
position: relative;
z-index: 1;
@@ -210,21 +212,6 @@
display: block;
}
/* Text Widget */
.wp-customizer div.mce-inline-toolbar-grp,
.wp-customizer div.mce-tooltip {
z-index: 500100 !important;
}
.wp-customizer .ui-autocomplete.wplink-autocomplete {
z-index: 500110; /* originally 100110, but z-index of .wp-full-overlay is 500000 */
}
.wp-customizer #wp-link-backdrop {
z-index: 500100; /* originally 100100, but z-index of .wp-full-overlay is 500000 */
}
.wp-customizer #wp-link-wrap {
z-index: 500105; /* originally 100105, but z-index of .wp-full-overlay is 500000 */
}
/**
* Styles for new widget addition panel
*/
@@ -236,6 +223,7 @@
}
.ios #available-widgets {
-webkit-transition: right 0s;
transition: right 0s;
}
@@ -262,6 +250,7 @@
}
#customize-preview {
-webkit-transition: all 0.2s;
transition: all 0.2s;
}
@@ -300,6 +289,8 @@ body.adding-widget #customize-preview {
color: #32373c;
font: normal 20px/1 dashicons;
text-align: center;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
@@ -432,46 +423,33 @@ body.adding-widget #customize-preview {
#available-widgets [class*="twitter"] .widget-title:before { content: "\f301"; }
@media screen and (max-height: 700px) and (min-width: 981px) {
/* Compact widget-tops on smaller laptops, but not tablets. See ticket #27112#comment:4 */
.customize-control-widget_form {
.customize-control-widget {
margin-bottom: 0;
}
.widget-top {
-webkit-box-shadow: none;
box-shadow: none;
margin-top: -1px;
}
.widget-top:hover {
position: relative;
z-index: 1;
}
.last-widget {
margin-bottom: 15px;
}
.widget-title h3 {
padding: 13px 15px;
}
.widget-top .widget-action {
padding: 8px 10px;
}
.widget-reorder-nav span {
height: 39px;
}
.widget-reorder-nav span:before {
line-height: 39px;
}
/* Compact the move widget areas. */
#customize-theme-controls .widget-area-select li {
padding: 9px 42px 11px 15px;
}
#customize-theme-controls .widget-area-select li:before {
top: 8px;
}

File diff suppressed because one or more lines are too long

View File

@@ -18,9 +18,9 @@
overflow: visible;
}
/* Note: widget-tops are more compact when (max-height: 700px) and (min-width: 981px). */
.customize-control-widget_form .widget-top {
background: #fff;
-webkit-transition: opacity 0.5s;
transition: opacity 0.5s;
}
@@ -75,6 +75,7 @@
}
.customize-control-widget_form.wide-widget-control .widget-top {
-webkit-transition: background-color 0.4s;
transition: background-color 0.4s;
}
.customize-control-widget_form.wide-widget-control.expanding .widget-top,
@@ -88,15 +89,15 @@
line-height: 16px;
}
.customize-control-widget_form.expanded .widget-action .toggle-indicator:before {
.customize-control-widget_form.expanded a.widget-action:after {
content: "\f142";
}
.customize-control-widget_form.wide-widget-control .widget-action .toggle-indicator:before {
.customize-control-widget_form.wide-widget-control a.widget-action:after {
content: "\f139";
}
.customize-control-widget_form.wide-widget-control.expanded .widget-action .toggle-indicator:before {
.customize-control-widget_form.wide-widget-control.expanded a.widget-action:after {
content: "\f141";
}
@@ -112,6 +113,7 @@
.control-section.accordion-section.highlighted > .accordion-section-title,
.customize-control-widget_form.highlighted {
outline: none;
-webkit-box-shadow: 0 0 2px rgba(30,140,190,0.8);
box-shadow: 0 0 2px rgba(30,140,190,0.8);
position: relative;
z-index: 1;
@@ -210,21 +212,6 @@
display: block;
}
/* Text Widget */
.wp-customizer div.mce-inline-toolbar-grp,
.wp-customizer div.mce-tooltip {
z-index: 500100 !important;
}
.wp-customizer .ui-autocomplete.wplink-autocomplete {
z-index: 500110; /* originally 100110, but z-index of .wp-full-overlay is 500000 */
}
.wp-customizer #wp-link-backdrop {
z-index: 500100; /* originally 100100, but z-index of .wp-full-overlay is 500000 */
}
.wp-customizer #wp-link-wrap {
z-index: 500105; /* originally 100105, but z-index of .wp-full-overlay is 500000 */
}
/**
* Styles for new widget addition panel
*/
@@ -236,6 +223,7 @@
}
.ios #available-widgets {
-webkit-transition: left 0s;
transition: left 0s;
}
@@ -262,6 +250,7 @@
}
#customize-preview {
-webkit-transition: all 0.2s;
transition: all 0.2s;
}
@@ -300,6 +289,8 @@ body.adding-widget #customize-preview {
color: #32373c;
font: normal 20px/1 dashicons;
text-align: center;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
@@ -432,46 +423,33 @@ body.adding-widget #customize-preview {
#available-widgets [class*="twitter"] .widget-title:before { content: "\f301"; }
@media screen and (max-height: 700px) and (min-width: 981px) {
/* Compact widget-tops on smaller laptops, but not tablets. See ticket #27112#comment:4 */
.customize-control-widget_form {
.customize-control-widget {
margin-bottom: 0;
}
.widget-top {
-webkit-box-shadow: none;
box-shadow: none;
margin-top: -1px;
}
.widget-top:hover {
position: relative;
z-index: 1;
}
.last-widget {
margin-bottom: 15px;
}
.widget-title h3 {
padding: 13px 15px;
}
.widget-top .widget-action {
padding: 8px 10px;
}
.widget-reorder-nav span {
height: 39px;
}
.widget-reorder-nav span:before {
line-height: 39px;
}
/* Compact the move widget areas. */
#customize-theme-controls .widget-area-select li {
padding: 9px 15px 11px 42px;
}
#customize-theme-controls .widget-area-select li:before {
top: 8px;
}

File diff suppressed because one or more lines are too long

View File

@@ -104,6 +104,7 @@
margin: 16px 0;
padding: 23px 10px 0;
border: 1px solid #e5e5e5;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04);
box-shadow: 0 1px 1px rgba(0,0,0,0.04);
background: #fff;
font-size: 13px;
@@ -141,7 +142,6 @@
.welcome-panel .welcome-panel-close {
position: absolute;
z-index: 10;
top: 10px;
left: 10px;
padding: 10px 21px 10px 15px;
@@ -154,6 +154,7 @@
position: absolute;
top: 8px;
right: 0;
-webkit-transition: all .1s ease-in-out;
transition: all .1s ease-in-out;
}
@@ -166,7 +167,7 @@
}
.welcome-panel-content {
margin: 0 13px;
margin-right: 13px;
max-width: 1500px;
}
@@ -300,158 +301,6 @@
content: "\f153";
}
/* Dashboard WordPress events */
.community-events-errors {
margin: 0;
}
.community-events-loading {
padding: 10px 12px 8px;
}
.community-events {
margin-bottom: 6px;
padding: 0 12px;
}
.community-events .spinner {
float: none;
margin: 5px 2px 0;
vertical-align: top;
}
.community-events-errors[aria-hidden="true"],
.community-events-errors [aria-hidden="true"],
.community-events-loading[aria-hidden="true"],
.community-events[aria-hidden="true"],
.community-events [aria-hidden="true"] {
display: none;
}
.community-events .activity-block:first-child,
.community-events h2 {
padding-top: 12px;
padding-bottom: 10px;
}
.community-events-form {
margin: 15px 0 5px;
}
.community-events-form .regular-text {
width: 40%;
height: 29px;
margin: 0;
vertical-align: top;
}
.community-events li.event-none {
border-right: 4px solid #00a0d2;
}
.community-events-form label {
display: inline-block;
vertical-align: top;
line-height: 28px;
height: 28px;
}
.community-events .activity-block > p {
margin-bottom: 0;
display: inline;
}
.community-events-toggle-location {
vertical-align: middle;
}
#community-events-submit {
margin-right: 3px;
margin-left: 3px;
}
/* Needs higher specificity than #dashboard-widgets .button-link */
#dashboard-widgets .community-events-cancel.button-link {
vertical-align: top;
/* Same properties as the submit button for cross-browsers alignment. */
line-height: 26px;
height: 28px;
text-decoration: underline;
}
.community-events ul {
background-color: #fafafa;
padding-right: 0;
padding-left: 0;
padding-bottom: 0;
}
.community-events li {
margin: 0;
padding: 8px 12px;
color: #72777c;
}
.community-events li:first-child {
border-top: 1px solid #eee;
}
.community-events li ~ li {
border-top: 1px solid #eee;
}
.community-events .activity-block.last {
border-bottom: 1px solid #eee;
padding-top: 0;
margin-top: -1px;
}
.community-events .event-info {
display: block;
}
.event-icon {
height: 18px;
padding-left: 10px;
width: 18px;
display: none; /* Hide on smaller screens */
}
.event-icon:before {
color: #82878C;
font-size: 18px;
}
.event-meetup .event-icon:before {
content: "\f484";
}
.event-wordcamp .event-icon:before {
content: "\f486";
}
.community-events .event-title {
font-weight: 600;
display: block;
}
.community-events .event-date,
.community-events .event-time {
display: block;
}
.community-events-footer {
margin-top: 0;
margin-bottom: 0;
padding: 12px;
border-top: 1px solid #eee;
color: #ddd;
}
/* Safari 10 + VoiceOver specific: without this, the hidden text gets read out before the link. */
.community-events-footer .screen-reader-text {
height: inherit;
white-space: nowrap;
}
/* Dashboard WordPress news */
#dashboard_primary .inside {
@@ -459,21 +308,19 @@
padding: 0;
}
#dashboard_primary .widget-loading {
#dashboard_primary .widget-loading,
#dashboard_primary .dashboard-widget-control-form {
padding: 12px 12px 0;
margin-bottom: 1em !important; /* Needs to override `.postbox .inside > p:last-child` in common.css */
}
/* Notice when JS is off. */
#dashboard_primary .inside .notice {
margin: 0;
}
body #dashboard-widgets .postbox form .submit {
margin: 0;
}
/* Used only for configurable widgets. */
.dashboard-widget-control-form {
overflow: hidden;
}
.dashboard-widget-control-form p {
margin-top: 0;
}
@@ -484,8 +331,9 @@ body #dashboard-widgets .postbox form .submit {
}
#dashboard_primary .rss-widget {
border-bottom: 1px solid #eee;
font-size: 13px;
padding: 0 12px 0;
padding: 8px 12px 10px;
}
#dashboard_primary .rss-widget:last-child {
@@ -507,8 +355,7 @@ body #dashboard-widgets .postbox form .submit {
}
#dashboard_primary .rss-widget ul li {
padding: 4px 0;
margin: 0;
margin-bottom: 8px;
}
/* Dashboard right now */
@@ -616,6 +463,8 @@ form.initial-form.quickpress-open input#title {
#dashboard_quick_press input,
#dashboard_quick_press textarea {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
}
@@ -922,8 +771,7 @@ form.initial-form.quickpress-open input#title {
min-width: 0;
}
#dashboard-widgets a,
#dashboard-widgets .button-link {
#dashboard-widgets a {
text-decoration: none;
}
@@ -949,6 +797,7 @@ form.initial-form.quickpress-open input#title {
#activity-widget #the-comment-list .comment,
#activity-widget #the-comment-list .pingback {
-webkit-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.06);
box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.06);
}
@@ -1022,9 +871,9 @@ form.initial-form.quickpress-open input#title {
}
a.rsswidget {
font-size: 13px;
font-size: 14px;
font-weight: 600;
line-height: 1.4em;
line-height: 1.7em;
}
.rss-widget ul li {
@@ -1081,6 +930,7 @@ a.rsswidget {
background-image: none;
border-color: #edc048;
color: #fff;
-webkit-box-shadow: none;
box-shadow: none;
}
@@ -1093,6 +943,7 @@ a.rsswidget {
border-bottom-color: #f6e2ac;
background: transparent none;
color: #fff;
-webkit-box-shadow: none;
box-shadow: none;
}
@@ -1224,6 +1075,7 @@ a.rsswidget {
.welcome-panel .welcome-panel-column ul {
margin: 0.4em 0 0;
}
}
@media screen and ( max-width: 782px ) {
@@ -1232,35 +1084,6 @@ a.rsswidget {
width: 30px;
margin: 4px 0 5px 10px;
}
.community-events-toggle-location {
height: 38px;
vertical-align: baseline;
}
.community-events-form .regular-text {
height: 32px;
}
#community-events-submit {
margin-bottom: 0;
/* Override .wp-core-ui .button */
vertical-align: top;
}
.community-events-form label,
#dashboard-widgets .community-events-cancel.button-link {
/* Same properties as the submit button for cross-browsers alignment. */
font-size: 14px;
line-height: normal;
height: auto;
padding: 6px 0;
border: 1px solid transparent;
}
.community-events .spinner {
margin-top: 7px;
}
}
/* Smartphone */
@@ -1284,30 +1107,3 @@ a.rsswidget {
right: -35px;
}
}
@media screen and (min-width: 355px) {
.community-events .event-info {
display: table-row;
float: right;
max-width: 59%;
}
.event-icon,
.event-icon[aria-hidden="true"] {
display: table-cell;
}
.event-info-inner {
display: table-cell;
}
.community-events .event-date-time {
float: left;
max-width: 39%;
}
.community-events .event-date,
.community-events .event-time {
text-align: left;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -104,6 +104,7 @@
margin: 16px 0;
padding: 23px 10px 0;
border: 1px solid #e5e5e5;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04);
box-shadow: 0 1px 1px rgba(0,0,0,0.04);
background: #fff;
font-size: 13px;
@@ -141,7 +142,6 @@
.welcome-panel .welcome-panel-close {
position: absolute;
z-index: 10;
top: 10px;
right: 10px;
padding: 10px 15px 10px 21px;
@@ -154,6 +154,7 @@
position: absolute;
top: 8px;
left: 0;
-webkit-transition: all .1s ease-in-out;
transition: all .1s ease-in-out;
}
@@ -166,7 +167,7 @@
}
.welcome-panel-content {
margin: 0 13px;
margin-left: 13px;
max-width: 1500px;
}
@@ -300,158 +301,6 @@
content: "\f153";
}
/* Dashboard WordPress events */
.community-events-errors {
margin: 0;
}
.community-events-loading {
padding: 10px 12px 8px;
}
.community-events {
margin-bottom: 6px;
padding: 0 12px;
}
.community-events .spinner {
float: none;
margin: 5px 2px 0;
vertical-align: top;
}
.community-events-errors[aria-hidden="true"],
.community-events-errors [aria-hidden="true"],
.community-events-loading[aria-hidden="true"],
.community-events[aria-hidden="true"],
.community-events [aria-hidden="true"] {
display: none;
}
.community-events .activity-block:first-child,
.community-events h2 {
padding-top: 12px;
padding-bottom: 10px;
}
.community-events-form {
margin: 15px 0 5px;
}
.community-events-form .regular-text {
width: 40%;
height: 29px;
margin: 0;
vertical-align: top;
}
.community-events li.event-none {
border-left: 4px solid #00a0d2;
}
.community-events-form label {
display: inline-block;
vertical-align: top;
line-height: 28px;
height: 28px;
}
.community-events .activity-block > p {
margin-bottom: 0;
display: inline;
}
.community-events-toggle-location {
vertical-align: middle;
}
#community-events-submit {
margin-left: 3px;
margin-right: 3px;
}
/* Needs higher specificity than #dashboard-widgets .button-link */
#dashboard-widgets .community-events-cancel.button-link {
vertical-align: top;
/* Same properties as the submit button for cross-browsers alignment. */
line-height: 26px;
height: 28px;
text-decoration: underline;
}
.community-events ul {
background-color: #fafafa;
padding-left: 0;
padding-right: 0;
padding-bottom: 0;
}
.community-events li {
margin: 0;
padding: 8px 12px;
color: #72777c;
}
.community-events li:first-child {
border-top: 1px solid #eee;
}
.community-events li ~ li {
border-top: 1px solid #eee;
}
.community-events .activity-block.last {
border-bottom: 1px solid #eee;
padding-top: 0;
margin-top: -1px;
}
.community-events .event-info {
display: block;
}
.event-icon {
height: 18px;
padding-right: 10px;
width: 18px;
display: none; /* Hide on smaller screens */
}
.event-icon:before {
color: #82878C;
font-size: 18px;
}
.event-meetup .event-icon:before {
content: "\f484";
}
.event-wordcamp .event-icon:before {
content: "\f486";
}
.community-events .event-title {
font-weight: 600;
display: block;
}
.community-events .event-date,
.community-events .event-time {
display: block;
}
.community-events-footer {
margin-top: 0;
margin-bottom: 0;
padding: 12px;
border-top: 1px solid #eee;
color: #ddd;
}
/* Safari 10 + VoiceOver specific: without this, the hidden text gets read out before the link. */
.community-events-footer .screen-reader-text {
height: inherit;
white-space: nowrap;
}
/* Dashboard WordPress news */
#dashboard_primary .inside {
@@ -459,21 +308,19 @@
padding: 0;
}
#dashboard_primary .widget-loading {
#dashboard_primary .widget-loading,
#dashboard_primary .dashboard-widget-control-form {
padding: 12px 12px 0;
margin-bottom: 1em !important; /* Needs to override `.postbox .inside > p:last-child` in common.css */
}
/* Notice when JS is off. */
#dashboard_primary .inside .notice {
margin: 0;
}
body #dashboard-widgets .postbox form .submit {
margin: 0;
}
/* Used only for configurable widgets. */
.dashboard-widget-control-form {
overflow: hidden;
}
.dashboard-widget-control-form p {
margin-top: 0;
}
@@ -484,8 +331,9 @@ body #dashboard-widgets .postbox form .submit {
}
#dashboard_primary .rss-widget {
border-bottom: 1px solid #eee;
font-size: 13px;
padding: 0 12px 0;
padding: 8px 12px 10px;
}
#dashboard_primary .rss-widget:last-child {
@@ -507,8 +355,7 @@ body #dashboard-widgets .postbox form .submit {
}
#dashboard_primary .rss-widget ul li {
padding: 4px 0;
margin: 0;
margin-bottom: 8px;
}
/* Dashboard right now */
@@ -616,6 +463,8 @@ form.initial-form.quickpress-open input#title {
#dashboard_quick_press input,
#dashboard_quick_press textarea {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
}
@@ -922,8 +771,7 @@ form.initial-form.quickpress-open input#title {
min-width: 0;
}
#dashboard-widgets a,
#dashboard-widgets .button-link {
#dashboard-widgets a {
text-decoration: none;
}
@@ -949,6 +797,7 @@ form.initial-form.quickpress-open input#title {
#activity-widget #the-comment-list .comment,
#activity-widget #the-comment-list .pingback {
-webkit-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.06);
box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.06);
}
@@ -1022,9 +871,9 @@ form.initial-form.quickpress-open input#title {
}
a.rsswidget {
font-size: 13px;
font-size: 14px;
font-weight: 600;
line-height: 1.4em;
line-height: 1.7em;
}
.rss-widget ul li {
@@ -1081,6 +930,7 @@ a.rsswidget {
background-image: none;
border-color: #edc048;
color: #fff;
-webkit-box-shadow: none;
box-shadow: none;
}
@@ -1093,6 +943,7 @@ a.rsswidget {
border-bottom-color: #f6e2ac;
background: transparent none;
color: #fff;
-webkit-box-shadow: none;
box-shadow: none;
}
@@ -1224,6 +1075,7 @@ a.rsswidget {
.welcome-panel .welcome-panel-column ul {
margin: 0.4em 0 0;
}
}
@media screen and ( max-width: 782px ) {
@@ -1232,35 +1084,6 @@ a.rsswidget {
width: 30px;
margin: 4px 10px 5px 0;
}
.community-events-toggle-location {
height: 38px;
vertical-align: baseline;
}
.community-events-form .regular-text {
height: 32px;
}
#community-events-submit {
margin-bottom: 0;
/* Override .wp-core-ui .button */
vertical-align: top;
}
.community-events-form label,
#dashboard-widgets .community-events-cancel.button-link {
/* Same properties as the submit button for cross-browsers alignment. */
font-size: 14px;
line-height: normal;
height: auto;
padding: 6px 0;
border: 1px solid transparent;
}
.community-events .spinner {
margin-top: 7px;
}
}
/* Smartphone */
@@ -1284,30 +1107,3 @@ a.rsswidget {
left: -35px;
}
}
@media screen and (min-width: 355px) {
.community-events .event-info {
display: table-row;
float: left;
max-width: 59%;
}
.event-icon,
.event-icon[aria-hidden="true"] {
display: table-cell;
}
.event-info-inner {
display: table-cell;
}
.community-events .event-date-time {
float: right;
max-width: 39%;
}
.community-events .event-date,
.community-events .event-time {
text-align: right;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -31,6 +31,7 @@ div#media-upload-header {
border-bottom: 1px solid #ddd;
background-color: #f9f9f9;
text-decoration: none;
-webkit-transition: none;
transition: none;
}
@@ -393,21 +394,25 @@ table.not-image tr.image-only {
.image-align-none-label {
background-image: url(../images/align-none-2x.png?ver=20120916);
-webkit-background-size: 21px 15px;
background-size: 21px 15px;
}
.image-align-left-label {
background-image: url(../images/align-left-2x.png?ver=20120916);
-webkit-background-size: 22px 15px;
background-size: 22px 15px;
}
.image-align-center-label {
background-image: url(../images/align-center-2x.png?ver=20120916);
-webkit-background-size: 21px 15px;
background-size: 21px 15px;
}
.image-align-right-label {
background-image: url(../images/align-right-2x.png?ver=20120916);
-webkit-background-size: 22px 15px;
background-size: 22px 15px;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -31,6 +31,7 @@ div#media-upload-header {
border-bottom: 1px solid #ddd;
background-color: #f9f9f9;
text-decoration: none;
-webkit-transition: none;
transition: none;
}
@@ -393,21 +394,25 @@ table.not-image tr.image-only {
.image-align-none-label {
background-image: url(../images/align-none-2x.png?ver=20120916);
-webkit-background-size: 21px 15px;
background-size: 21px 15px;
}
.image-align-left-label {
background-image: url(../images/align-left-2x.png?ver=20120916);
-webkit-background-size: 22px 15px;
background-size: 22px 15px;
}
.image-align-center-label {
background-image: url(../images/align-center-2x.png?ver=20120916);
-webkit-background-size: 21px 15px;
background-size: 21px 15px;
}
.image-align-right-label {
background-image: url(../images/align-right-2x.png?ver=20120916);
-webkit-background-size: 22px 15px;
background-size: 22px 15px;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -100,6 +100,8 @@ input#link_url {
margin-left: 10px;
padding: 0;
font-size: 11px;
text-decoration: underline;
color: #0073aa;
}
#comment-link-box {
@@ -118,7 +120,7 @@ input#link_url {
#editable-post-name input {
font-size: 13px;
font-weight: 400;
height: 24px;
height: 22px;
margin: 0;
width: 16em;
}
@@ -154,6 +156,7 @@ body.post-new-php .submitbox .submitdelete {
position: relative;
min-width: 255px;
border: 1px solid #e5e5e5;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04);
box-shadow: 0 1px 1px rgba(0,0,0,0.04);
background: #fff;
}
@@ -278,8 +281,10 @@ ul.wp-tab-bar li {
height: auto;
width: auto;
vertical-align: top;
background-image: -webkit-linear-gradient(-45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4), -webkit-linear-gradient(-45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4);
background-image: linear-gradient(-45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4), linear-gradient(-45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4);
background-position: 100% 0, 10px 10px;
-webkit-background-size: 20px 20px;
background-size: 20px 20px;
}
@@ -312,6 +317,7 @@ form#tags-filter {
border: 1px solid #e5e5e5;
border-top: none;
background-color: #f7f7f7;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04);
box-shadow: 0 1px 1px rgba(0,0,0,0.04);
z-index: 999;
}
@@ -364,6 +370,7 @@ form#tags-filter {
}
.wp-editor-expand #wp-content-editor-container {
-webkit-box-shadow: none;
box-shadow: none;
margin-top: -1px;
}
@@ -506,6 +513,7 @@ span.wp-media-buttons-icon:before {
width: 450px;
margin-right: -225px;
background: #fff;
-webkit-box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 );
box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 );
line-height: 1.5;
z-index: 1000005;
@@ -529,8 +537,7 @@ span.wp-media-buttons-icon:before {
margin: 25px;
}
#post-lock-dialog .post-locked-message a.button,
#file-editor-warning .button {
#post-lock-dialog .post-locked-message a.button {
margin-left: 10px;
}
@@ -575,7 +582,7 @@ span.wp-media-buttons-icon:before {
position: absolute;
}
.tagchecklist > li {
.tagchecklist > span {
float: right;
margin-left: 25px;
font-size: 13px;
@@ -646,93 +653,6 @@ span.wp-media-buttons-icon:before {
margin-bottom: 20px;
}
/* Suggested text for privacy policy */
.wp-privacy-policy-guide {
max-width: 1000px;
}
.privacy-text-box {
width: calc(100% - 260px);
}
.privacy-text-box-toc {
float: left;
width: 250px;
background-color: #fff;
}
.privacy-text-box-toc p {
margin: 0;
padding: 0.7em 1em;
border-bottom: 1px solid #eee;
}
.privacy-text-box-toc ol {
margin-right: 2em;
}
.wp-privacy-policy-guide h3 {
font-size: 1.2em;
margin: 1em 0 0.5em;
}
.privacy-text-section .privacy-text-copy {
float: left;
}
.privacy-text-section {
position: relative;
border-top: 1px solid #e3e3e3;
}
.privacy-text-box-head,
.privacy-text-section.text-removed {
padding-bottom: 12px;
}
.text-removed .policy-text {
font-style: italic;
color: #666;
font-weight: 600;
}
.privacy-text-actions {
height: 32px;
line-height: 32px;
padding-bottom: 6px;
}
.wp-privacy-policy-guide .policy-text h2 {
margin: 1.2em 0 1em;
padding: 0;
}
.suggested-policy-content {
font-style: italic;
}
.privacy-text-section a.return-to-top {
float: left;
margin-left: -250px;
margin-top: 6px;
}
.hide-privacy-policy-tutorial .privacy-policy-tutorial {
visibility: hidden;
}
.wp-suggested-text p {
font-style: italic;
}
.wp-suggested-text p.privacy-policy-tutorial {
font-style: normal;
}
.notice.wp-pp-notice {
margin: 15px 0 3px;
}
/*------------------------------------------------------------------------------
11.1 - Custom Fields
------------------------------------------------------------------------------*/
@@ -877,6 +797,7 @@ span.wp-media-buttons-icon:before {
.post-state-format:before,
.post-format-icon:before {
color: #ddd;
-webkit-transition: all .1s ease-in-out;
transition: all .1s ease-in-out;
}
@@ -1114,6 +1035,25 @@ span.description,
width: 260px;
}
.tagcloud-link.button-link {
color: #0073aa;
text-decoration: underline;
}
.tagcloud-link.button-link:hover {
color: #00a0d2;
}
.tagcloud-link.button-link:focus {
color: #124964;
-webkit-box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
}
#post-body-content .tagsdiv .the-tags {
margin: 0 5px;
}
@@ -1139,14 +1079,6 @@ p.popular-tags a {
margin: 2px 0 12px;
}
.the-tagcloud ul {
margin: 0;
}
.the-tagcloud ul li {
display: inline-block;
}
/* Suggest.js autocomplete, no more used by core. */
.ac_results {
display: none;
@@ -1181,17 +1113,6 @@ p.popular-tags a {
text-decoration: underline;
}
#edittag {
max-width: 800px;
}
.edit-tag-actions {
margin-top: 20px;
overflow: hidden;
padding: 10px;
margin-left: 10px;
}
/* Comments */
.comment-php .wp-editor-area {
@@ -1308,7 +1229,6 @@ table.links-table {
}
.focus-on .wrap > h1,
.focus-on .page-title-action,
.focus-on #wpfooter,
.focus-on .postbox-container > *,
.focus-on div.updated,
@@ -1319,8 +1239,11 @@ table.links-table {
.focus-on #screen-meta-links,
.focus-on #screen-meta {
opacity: 0;
-webkit-transition-duration: 0.6s;
transition-duration: 0.6s;
-webkit-transition-property: opacity;
transition-property: opacity;
-webkit-transition-timing-function: ease-in-out;
transition-timing-function: ease-in-out;
}
@@ -1329,7 +1252,6 @@ table.links-table {
}
.focus-off .wrap > h1,
.focus-off .page-title-action,
.focus-off #wpfooter,
.focus-off .postbox-container > *,
.focus-off div.updated,
@@ -1340,8 +1262,11 @@ table.links-table {
.focus-off #screen-meta-links,
.focus-off #screen-meta {
opacity: 1;
-webkit-transition-duration: 0.2s;
transition-duration: 0.2s;
-webkit-transition-property: opacity;
transition-property: opacity;
-webkit-transition-timing-function: ease-in-out;
transition-timing-function: ease-in-out;
}
@@ -1351,27 +1276,35 @@ table.links-table {
.focus-on #adminmenuback,
.focus-on #adminmenuwrap {
-webkit-transition-duration: 0.6s;
transition-duration: 0.6s;
-webkit-transition-property: -webkit-transform;
transition-property: -webkit-transform;
transition-property: transform;
transition-property: transform, -webkit-transform;
-webkit-transition-timing-function: ease-in-out;
transition-timing-function: ease-in-out;
}
.focus-on #adminmenuback,
.focus-on #adminmenuwrap {
-webkit-transform: translateX( 100% );
-ms-transform: translateX( 100% );
transform: translateX( 100% );
}
.focus-off #adminmenuback,
.focus-off #adminmenuwrap {
-webkit-transform: translateX( 0 );
-ms-transform: translateX( 0 );
transform: translateX( 0 );
-webkit-transition-duration: 0.2s;
transition-duration: 0.2s;
-webkit-transition-property: -webkit-transform;
transition-property: -webkit-transform;
transition-property: transform;
transition-property: transform, -webkit-transform;
-webkit-transition-timing-function: ease-in-out;
transition-timing-function: ease-in-out;
}
@@ -1387,6 +1320,7 @@ table.links-table {
#content-resize-handle,
#post-body .wp_themeSkin .mceStatusbar a.mceResize {
background: transparent url(../images/resize-2x.gif) no-repeat scroll left bottom;
-webkit-background-size: 11px 11px;
background-size: 11px 11px;
}
@@ -1433,10 +1367,6 @@ table.links-table {
}
@media screen and ( max-width: 782px ) {
.wp-core-ui .edit-tag-actions .button-primary {
margin-bottom: 0;
}
#post-body-content {
min-width: 0;
}
@@ -1536,7 +1466,7 @@ table.links-table {
margin: 25px 10px;
}
.tagchecklist > li {
.tagchecklist > span {
font-size: 16px;
line-height: 1.4;
}
@@ -1657,19 +1587,4 @@ table.links-table {
.links-table td {
padding: 10px 0;
}
.privacy-text-box {
width: auto;
}
.privacy-text-box-toc {
float: none;
width: auto;
height: 100%;
}
.privacy-text-section a.return-to-top {
float: none;
margin: 0;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -100,6 +100,8 @@ input#link_url {
margin-right: 10px;
padding: 0;
font-size: 11px;
text-decoration: underline;
color: #0073aa;
}
#comment-link-box {
@@ -118,7 +120,7 @@ input#link_url {
#editable-post-name input {
font-size: 13px;
font-weight: 400;
height: 24px;
height: 22px;
margin: 0;
width: 16em;
}
@@ -154,6 +156,7 @@ body.post-new-php .submitbox .submitdelete {
position: relative;
min-width: 255px;
border: 1px solid #e5e5e5;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04);
box-shadow: 0 1px 1px rgba(0,0,0,0.04);
background: #fff;
}
@@ -278,8 +281,10 @@ ul.wp-tab-bar li {
height: auto;
width: auto;
vertical-align: top;
background-image: -webkit-linear-gradient(45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4), -webkit-linear-gradient(45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4);
background-image: linear-gradient(45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4), linear-gradient(45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4);
background-position: 0 0, 10px 10px;
-webkit-background-size: 20px 20px;
background-size: 20px 20px;
}
@@ -312,6 +317,7 @@ form#tags-filter {
border: 1px solid #e5e5e5;
border-top: none;
background-color: #f7f7f7;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04);
box-shadow: 0 1px 1px rgba(0,0,0,0.04);
z-index: 999;
}
@@ -364,6 +370,7 @@ form#tags-filter {
}
.wp-editor-expand #wp-content-editor-container {
-webkit-box-shadow: none;
box-shadow: none;
margin-top: -1px;
}
@@ -506,6 +513,7 @@ span.wp-media-buttons-icon:before {
width: 450px;
margin-left: -225px;
background: #fff;
-webkit-box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 );
box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 );
line-height: 1.5;
z-index: 1000005;
@@ -529,8 +537,7 @@ span.wp-media-buttons-icon:before {
margin: 25px;
}
#post-lock-dialog .post-locked-message a.button,
#file-editor-warning .button {
#post-lock-dialog .post-locked-message a.button {
margin-right: 10px;
}
@@ -575,7 +582,7 @@ span.wp-media-buttons-icon:before {
position: absolute;
}
.tagchecklist > li {
.tagchecklist > span {
float: left;
margin-right: 25px;
font-size: 13px;
@@ -646,93 +653,6 @@ span.wp-media-buttons-icon:before {
margin-bottom: 20px;
}
/* Suggested text for privacy policy */
.wp-privacy-policy-guide {
max-width: 1000px;
}
.privacy-text-box {
width: calc(100% - 260px);
}
.privacy-text-box-toc {
float: right;
width: 250px;
background-color: #fff;
}
.privacy-text-box-toc p {
margin: 0;
padding: 0.7em 1em;
border-bottom: 1px solid #eee;
}
.privacy-text-box-toc ol {
margin-left: 2em;
}
.wp-privacy-policy-guide h3 {
font-size: 1.2em;
margin: 1em 0 0.5em;
}
.privacy-text-section .privacy-text-copy {
float: right;
}
.privacy-text-section {
position: relative;
border-top: 1px solid #e3e3e3;
}
.privacy-text-box-head,
.privacy-text-section.text-removed {
padding-bottom: 12px;
}
.text-removed .policy-text {
font-style: italic;
color: #666;
font-weight: 600;
}
.privacy-text-actions {
height: 32px;
line-height: 32px;
padding-bottom: 6px;
}
.wp-privacy-policy-guide .policy-text h2 {
margin: 1.2em 0 1em;
padding: 0;
}
.suggested-policy-content {
font-style: italic;
}
.privacy-text-section a.return-to-top {
float: right;
margin-right: -250px;
margin-top: 6px;
}
.hide-privacy-policy-tutorial .privacy-policy-tutorial {
visibility: hidden;
}
.wp-suggested-text p {
font-style: italic;
}
.wp-suggested-text p.privacy-policy-tutorial {
font-style: normal;
}
.notice.wp-pp-notice {
margin: 15px 0 3px;
}
/*------------------------------------------------------------------------------
11.1 - Custom Fields
------------------------------------------------------------------------------*/
@@ -877,6 +797,7 @@ span.wp-media-buttons-icon:before {
.post-state-format:before,
.post-format-icon:before {
color: #ddd;
-webkit-transition: all .1s ease-in-out;
transition: all .1s ease-in-out;
}
@@ -1114,6 +1035,25 @@ span.description,
width: 260px;
}
.tagcloud-link.button-link {
color: #0073aa;
text-decoration: underline;
}
.tagcloud-link.button-link:hover {
color: #00a0d2;
}
.tagcloud-link.button-link:focus {
color: #124964;
-webkit-box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
}
#post-body-content .tagsdiv .the-tags {
margin: 0 5px;
}
@@ -1139,14 +1079,6 @@ p.popular-tags a {
margin: 2px 0 12px;
}
.the-tagcloud ul {
margin: 0;
}
.the-tagcloud ul li {
display: inline-block;
}
/* Suggest.js autocomplete, no more used by core. */
.ac_results {
display: none;
@@ -1181,17 +1113,6 @@ p.popular-tags a {
text-decoration: underline;
}
#edittag {
max-width: 800px;
}
.edit-tag-actions {
margin-top: 20px;
overflow: hidden;
padding: 10px;
margin-right: 10px;
}
/* Comments */
.comment-php .wp-editor-area {
@@ -1308,7 +1229,6 @@ table.links-table {
}
.focus-on .wrap > h1,
.focus-on .page-title-action,
.focus-on #wpfooter,
.focus-on .postbox-container > *,
.focus-on div.updated,
@@ -1319,8 +1239,11 @@ table.links-table {
.focus-on #screen-meta-links,
.focus-on #screen-meta {
opacity: 0;
-webkit-transition-duration: 0.6s;
transition-duration: 0.6s;
-webkit-transition-property: opacity;
transition-property: opacity;
-webkit-transition-timing-function: ease-in-out;
transition-timing-function: ease-in-out;
}
@@ -1329,7 +1252,6 @@ table.links-table {
}
.focus-off .wrap > h1,
.focus-off .page-title-action,
.focus-off #wpfooter,
.focus-off .postbox-container > *,
.focus-off div.updated,
@@ -1340,8 +1262,11 @@ table.links-table {
.focus-off #screen-meta-links,
.focus-off #screen-meta {
opacity: 1;
-webkit-transition-duration: 0.2s;
transition-duration: 0.2s;
-webkit-transition-property: opacity;
transition-property: opacity;
-webkit-transition-timing-function: ease-in-out;
transition-timing-function: ease-in-out;
}
@@ -1351,27 +1276,35 @@ table.links-table {
.focus-on #adminmenuback,
.focus-on #adminmenuwrap {
-webkit-transition-duration: 0.6s;
transition-duration: 0.6s;
-webkit-transition-property: -webkit-transform;
transition-property: -webkit-transform;
transition-property: transform;
transition-property: transform, -webkit-transform;
-webkit-transition-timing-function: ease-in-out;
transition-timing-function: ease-in-out;
}
.focus-on #adminmenuback,
.focus-on #adminmenuwrap {
-webkit-transform: translateX( -100% );
-ms-transform: translateX( -100% );
transform: translateX( -100% );
}
.focus-off #adminmenuback,
.focus-off #adminmenuwrap {
-webkit-transform: translateX( 0 );
-ms-transform: translateX( 0 );
transform: translateX( 0 );
-webkit-transition-duration: 0.2s;
transition-duration: 0.2s;
-webkit-transition-property: -webkit-transform;
transition-property: -webkit-transform;
transition-property: transform;
transition-property: transform, -webkit-transform;
-webkit-transition-timing-function: ease-in-out;
transition-timing-function: ease-in-out;
}
@@ -1387,6 +1320,7 @@ table.links-table {
#content-resize-handle,
#post-body .wp_themeSkin .mceStatusbar a.mceResize {
background: transparent url(../images/resize-2x.gif) no-repeat scroll right bottom;
-webkit-background-size: 11px 11px;
background-size: 11px 11px;
}
@@ -1433,10 +1367,6 @@ table.links-table {
}
@media screen and ( max-width: 782px ) {
.wp-core-ui .edit-tag-actions .button-primary {
margin-bottom: 0;
}
#post-body-content {
min-width: 0;
}
@@ -1536,7 +1466,7 @@ table.links-table {
margin: 25px 10px;
}
.tagchecklist > li {
.tagchecklist > span {
font-size: 16px;
line-height: 1.4;
}
@@ -1657,19 +1587,4 @@ table.links-table {
.links-table td {
padding: 10px 0;
}
.privacy-text-box {
width: auto;
}
.privacy-text-box-toc {
float: none;
width: auto;
height: 100%;
}
.privacy-text-section a.return-to-top {
float: none;
margin: 0;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +1 @@
/*! This file is auto-generated */
.farbtastic{position:relative}.farbtastic *{position:absolute;cursor:crosshair}.farbtastic,.farbtastic .wheel{width:195px;height:195px}.farbtastic .color,.farbtastic .overlay{top:47px;right:47px;width:101px;height:101px}.farbtastic .wheel{background:url(../images/wheel.png) no-repeat;width:195px;height:195px}.farbtastic .overlay{background:url(../images/mask.png) no-repeat}.farbtastic .marker{width:17px;height:17px;margin:-8px -8px 0 0;overflow:hidden;background:url(../images/marker.png) no-repeat}

View File

@@ -1,2 +1 @@
/*! This file is auto-generated */
.farbtastic{position:relative}.farbtastic *{position:absolute;cursor:crosshair}.farbtastic,.farbtastic .wheel{width:195px;height:195px}.farbtastic .color,.farbtastic .overlay{top:47px;left:47px;width:101px;height:101px}.farbtastic .wheel{background:url(../images/wheel.png) no-repeat;width:195px;height:195px}.farbtastic .overlay{background:url(../images/mask.png) no-repeat}.farbtastic .marker{width:17px;height:17px;margin:-8px 0 0 -8px;overflow:hidden;background:url(../images/marker.png) no-repeat}

View File

@@ -1,6 +1,8 @@
/* Include margin and padding in the width calculation of input and textarea. */
input,
textarea {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
@@ -24,10 +26,12 @@ input[type="week"],
select,
textarea {
border: 1px solid #ddd;
-webkit-box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.07 );
box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.07 );
background-color: #fff;
color: #32373c;
outline: none;
-webkit-transition: 0.05s border-color ease-in-out;
transition: 0.05s border-color ease-in-out;
}
@@ -51,6 +55,7 @@ input[type="radio"]:focus,
select:focus,
textarea:focus {
border-color: #5b9dd9;
-webkit-box-shadow: 0 0 2px rgba( 30, 140, 190, 0.8 );
box-shadow: 0 0 2px rgba( 30, 140, 190, 0.8 );
}
@@ -84,7 +89,9 @@ input[type="radio"] {
width: 16px;
min-width: 16px;
-webkit-appearance: none;
-webkit-box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.1 );
box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.1 );
-webkit-transition: .05s border-color ease-in-out;
transition: .05s border-color ease-in-out;
}
@@ -112,6 +119,7 @@ td > input[type="checkbox"],
}
input[type="radio"] {
-webkit-border-radius: 50%;
border-radius: 50%;
margin-left: 4px;
line-height: 10px;
@@ -138,6 +146,7 @@ input[type="checkbox"]:checked:before {
input[type="radio"]:checked:before {
content: "\2022";
text-indent: -9999px;
-webkit-border-radius: 50px;
border-radius: 50px;
font-size: 24px;
width: 6px;
@@ -182,6 +191,7 @@ input,
select {
font-size: 14px;
padding: 3px 5px;
-webkit-border-radius: 0;
border-radius: 0; /* Reset mobile webkit's default element styling */
}
@@ -239,7 +249,8 @@ textarea[readonly] {
.form-invalid input, .form-invalid input:focus,
.form-invalid select, .form-invalid select:focus {
border-color: #dc3232 !important;
box-shadow: 0 0 2px rgba( 204, 0, 0, 0.8 );
-webkit-box-shadow: 0 0 2px rgba( 204, 0, 0, 0.8 );
box-shadow: 0 0 2px rgba( 204, 0, 0, 0.8 );
}
.form-table .form-required.form-invalid td:after {
@@ -275,6 +286,7 @@ textarea:disabled,
textarea.disabled {
background: rgba( 255, 255, 255, 0.5 );
border-color: rgba( 222, 222, 222, 0.75 );
-webkit-box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.04 );
box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.04 );
color: rgba( 51, 51, 51, 0.5 );
}
@@ -284,6 +296,7 @@ input[type="file"].disabled,
input[type="range"]:disabled,
input[type="range"].disabled {
background: none;
-webkit-box-shadow: none;
box-shadow: none;
cursor: default;
}
@@ -327,7 +340,9 @@ input[type="radio"].disabled:checked:before {
.submit {
padding: 1.5em 0;
margin: 5px 0;
-webkit-border-bottom-right-radius: 3px;
border-bottom-right-radius: 3px;
-webkit-border-bottom-left-radius: 3px;
border-bottom-left-radius: 3px;
border: none;
}
@@ -438,15 +453,7 @@ fieldset label,
vertical-align: middle;
}
.options-media-php [for*="_size_"] {
min-width: 10em;
vertical-align: baseline;
}
.options-media-php .small-text[name*="_size_"] {
margin: 0 0 1em;
}
.options-media-php label[for*="_size_"],
#misc-publishing-actions label {
vertical-align: baseline;
}
@@ -459,6 +466,8 @@ fieldset label,
padding: 3px 5px;
text-align: center;
width: 25em;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
opacity: 0;
}
@@ -575,6 +584,7 @@ ul#add-to-blog-users {
position: absolute;
z-index: 10000;
border: 1px solid #5b9dd9;
-webkit-box-shadow: 0 1px 2px rgba( 30, 140, 190, 0.8 );
box-shadow: 0 1px 2px rgba( 30, 140, 190, 0.8 );
background-color: #fff;
}
@@ -640,10 +650,8 @@ ul#add-to-blog-users {
font-weight: 600;
}
.form-table th.th-full, /* Not used by core. Back-compat for pre-4.8 */
.form-table .td-full {
.form-table th.th-full {
width: auto;
padding: 20px 0 20px 10px;
font-weight: 400;
}
@@ -722,6 +730,8 @@ table.form-table td .updated p {
display: inline-block;
width: 24%;
padding: 5px 15px 15px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
margin-bottom: 3px;
}
@@ -778,6 +788,7 @@ table.form-table td .updated p {
min-width: 255px;
max-width: 520px;
border: 1px solid #e5e5e5;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04);
box-shadow: 0 1px 1px rgba(0,0,0,0.04);
background: #fff;
}
@@ -813,6 +824,7 @@ table.form-table td .updated p {
cursor: move;
color: #32373c;
background: #e5e5e5;
-webkit-border-radius: 5px;
border-radius: 5px;
border: 1px solid #b4b9be;
font-style: normal;
@@ -835,13 +847,17 @@ table.form-table td .updated p {
bottom: 9px;
background: transparent;
-webkit-transform: skew(-20deg) rotate(-6deg);
-ms-transform: skew(-20deg) rotate(-6deg);
transform: skew(-20deg) rotate(-6deg);
-webkit-box-shadow: 0 10px 8px rgba(0, 0, 0, 0.6);
box-shadow: 0 10px 8px rgba(0, 0, 0, 0.6);
}
.pressthis-bookmarklet:hover:after {
-webkit-transform: skew(-20deg) rotate(-9deg);
-ms-transform: skew(-20deg) rotate(-9deg);
transform: skew(-20deg) rotate(-9deg);
-webkit-box-shadow: 0 10px 8px rgba(0, 0, 0, 0.7);
box-shadow: 0 10px 8px rgba(0, 0, 0, 0.7);
}
@@ -905,7 +921,7 @@ table.form-table td .updated p {
.options-general-php .spinner {
float: none;
margin: -3px 3px 0;
margin: 0 3px;
}
.settings-php .language-install-spinner,
@@ -916,11 +932,6 @@ table.form-table td .updated p {
vertical-align: middle;
}
.form-table.permalink-structure .available-structure-tags li {
float: right;
margin-left: 5px;
}
/*------------------------------------------------------------------------------
21.0 - Network Admin
------------------------------------------------------------------------------*/
@@ -960,8 +971,6 @@ table.form-table td .updated p {
.request-filesystem-credentials-dialog {
display: none;
/* The customizer uses visibility: hidden on the body for full-overlays. */
visibility: visible;
}
.request-filesystem-credentials-dialog .notification-dialog {
@@ -1076,143 +1085,6 @@ table.form-table td .updated p {
clear: both;
}
/*------------------------------------------------------------------------------
Privacy Policy settings screen
------------------------------------------------------------------------------*/
.tools-privacy-policy-page form {
margin-bottom: 1.3em;
}
.tools-privacy-policy-page input.button,
.tools-privacy-policy-page select {
margin-right: 6px;
}
.tools-privacy-edit {
margin: 1.5em 0;
}
.tools-privacy-policy-page span {
line-height: 2em;
}
.privacy_requests .column-email {
width: 40%;
}
.privacy_requests .column-type {
text-align: center;
}
.privacy_requests thead td:first-child,
.privacy_requests tfoot td:first-child {
border-right: 4px solid #fff;
}
.privacy_requests tbody th {
border-right: 4px solid #fff;
background: #fff;
box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1);
}
.privacy_requests tbody .has-request-results th {
box-shadow: none;
}
.privacy_requests tbody .request-results th .notice {
margin: 0 0 5px;
}
.privacy_requests tbody td {
background: #fff;
box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1);
}
.privacy_requests tbody .has-request-results td {
box-shadow: none;
}
.privacy_requests .next_steps .button {
height: auto;
line-height: 1.5;
padding: 4px 10px;
word-break: break-all;
white-space: unset;
}
.privacy_requests .status-request-confirmed th,
.privacy_requests .status-request-confirmed td {
background-color: #f7fcfe;
border-right-color: #00a0d2;
}
.privacy_requests .status-request-failed th,
.privacy_requests .status-request-failed td {
background-color: #fef7f1;
border-right-color: #d64d21;
}
.privacy_requests .export_personal_data_failed a {
vertical-align: baseline;
}
.status-label {
font-weight: bold;
}
.status-label.status-request-pending {
font-weight: normal;
font-style: italic;
color: #6c7781;
}
.status-label.status-request-failed {
color: #aa0000;
font-weight: bold;
}
.wp-privacy-request-form {
clear: both;
}
.wp-privacy-request-form-field {
margin: 1.5em 0;
}
.wp-privacy-request-form label {
font-weight: bold;
line-height: 1.5;
padding-bottom: .5em;
display: block;
}
.wp-privacy-request-form input {
line-height: 1.5;
margin: 0;
}
.email-personal-data::before {
display: inline-block;
font: normal 20px/1 dashicons;
margin: 3px -2px 0 5px;
speak: none;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
vertical-align: top;
}
.email-personal-data--sending::before {
color: #f56e28;
content: "\f463";
-webkit-animation: rotation 2s infinite linear;
animation: rotation 2s infinite linear;
}
.email-personal-data--sent::before {
color: #79ba49;
content: "\f147";
}
/* =Media Queries
-------------------------------------------------------------- */
@@ -1302,6 +1174,8 @@ table.form-table td .updated p {
}
.form-table {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
@@ -1348,6 +1222,8 @@ table.form-table td .updated p {
padding: 7px 10px;
display: block;
max-width: none;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
@@ -1367,7 +1243,7 @@ table.form-table td .updated p {
input[type="number"].small-text,
.form-table input[type="text"].small-text {
width: auto;
max-width: 4.375em; /* 70px, enough for 4 digits to fit comfortably */
max-width: 55px;
display: inline;
padding: 3px 6px;
margin: 0 3px;
@@ -1375,6 +1251,8 @@ table.form-table td .updated p {
#pass-strength-result {
width: 100%;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 8px;
}
@@ -1467,6 +1345,7 @@ table.form-table td .updated p {
.wp-pwd button.button {
background: transparent;
border: none;
-webkit-box-shadow: none;
box-shadow: none;
line-height: 2;
margin: 0;
@@ -1487,37 +1366,9 @@ table.form-table td .updated p {
}
.options-general-php input[type="text"].small-text {
max-width: 6.25em;
max-width: 60px;
margin: 0;
}
/* Privacy Policy settings screen */
.tools-privacy-policy-page form.wp-create-privacy-page {
margin-bottom: 1em;
}
.tools-privacy-policy-page input#set-page,
.tools-privacy-policy-page select {
margin: 10px 0 0;
}
.tools-privacy-policy-page .wp-create-privacy-page span {
display: block;
margin-bottom: 1em;
}
.tools-privacy-policy-page .wp-create-privacy-page .button {
margin-right: 0;
}
.wp-list-table.privacy_requests tr:not(.inline-edit-row):not(.no-items) td.column-primary:not(.check-column) {
display: table-cell;
}
.wp-list-table.privacy_requests.widefat th input,
.wp-list-table.privacy_requests.widefat thead td input {
margin-right: 5px;
}
}
@media only screen and (max-width: 768px) {
@@ -1540,10 +1391,9 @@ table.form-table td .updated p {
}
}
@media only screen and (max-height: 480px), screen and (max-width: 450px) {
/* Request Credentials / File Editor Warning */
.request-filesystem-credentials-dialog .notification-dialog,
.file-editor-warning .notification-dialog {
@media only screen and (max-height: 480px) {
/* Request Credentials */
.request-filesystem-credentials-dialog .notification-dialog{
width: 100%;
height: 100%;
max-height: 100%;
@@ -1568,25 +1418,3 @@ table.form-table td .updated p {
margin-left: 0.5em;
}
}
@-webkit-keyframes rotation {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(-359deg);
transform: rotate(-359deg);
}
}
@keyframes rotation {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(-359deg);
transform: rotate(-359deg);
}
}

File diff suppressed because one or more lines are too long

View File

@@ -1,6 +1,8 @@
/* Include margin and padding in the width calculation of input and textarea. */
input,
textarea {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
@@ -24,10 +26,12 @@ input[type="week"],
select,
textarea {
border: 1px solid #ddd;
-webkit-box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.07 );
box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.07 );
background-color: #fff;
color: #32373c;
outline: none;
-webkit-transition: 0.05s border-color ease-in-out;
transition: 0.05s border-color ease-in-out;
}
@@ -51,6 +55,7 @@ input[type="radio"]:focus,
select:focus,
textarea:focus {
border-color: #5b9dd9;
-webkit-box-shadow: 0 0 2px rgba( 30, 140, 190, 0.8 );
box-shadow: 0 0 2px rgba( 30, 140, 190, 0.8 );
}
@@ -84,7 +89,9 @@ input[type="radio"] {
width: 16px;
min-width: 16px;
-webkit-appearance: none;
-webkit-box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.1 );
box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.1 );
-webkit-transition: .05s border-color ease-in-out;
transition: .05s border-color ease-in-out;
}
@@ -112,6 +119,7 @@ td > input[type="checkbox"],
}
input[type="radio"] {
-webkit-border-radius: 50%;
border-radius: 50%;
margin-right: 4px;
line-height: 10px;
@@ -138,6 +146,7 @@ input[type="checkbox"]:checked:before {
input[type="radio"]:checked:before {
content: "\2022";
text-indent: -9999px;
-webkit-border-radius: 50px;
border-radius: 50px;
font-size: 24px;
width: 6px;
@@ -182,6 +191,7 @@ input,
select {
font-size: 14px;
padding: 3px 5px;
-webkit-border-radius: 0;
border-radius: 0; /* Reset mobile webkit's default element styling */
}
@@ -239,7 +249,8 @@ textarea[readonly] {
.form-invalid input, .form-invalid input:focus,
.form-invalid select, .form-invalid select:focus {
border-color: #dc3232 !important;
box-shadow: 0 0 2px rgba( 204, 0, 0, 0.8 );
-webkit-box-shadow: 0 0 2px rgba( 204, 0, 0, 0.8 );
box-shadow: 0 0 2px rgba( 204, 0, 0, 0.8 );
}
.form-table .form-required.form-invalid td:after {
@@ -275,6 +286,7 @@ textarea:disabled,
textarea.disabled {
background: rgba( 255, 255, 255, 0.5 );
border-color: rgba( 222, 222, 222, 0.75 );
-webkit-box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.04 );
box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.04 );
color: rgba( 51, 51, 51, 0.5 );
}
@@ -284,6 +296,7 @@ input[type="file"].disabled,
input[type="range"]:disabled,
input[type="range"].disabled {
background: none;
-webkit-box-shadow: none;
box-shadow: none;
cursor: default;
}
@@ -327,7 +340,9 @@ input[type="radio"].disabled:checked:before {
.submit {
padding: 1.5em 0;
margin: 5px 0;
-webkit-border-bottom-left-radius: 3px;
border-bottom-left-radius: 3px;
-webkit-border-bottom-right-radius: 3px;
border-bottom-right-radius: 3px;
border: none;
}
@@ -438,15 +453,7 @@ fieldset label,
vertical-align: middle;
}
.options-media-php [for*="_size_"] {
min-width: 10em;
vertical-align: baseline;
}
.options-media-php .small-text[name*="_size_"] {
margin: 0 0 1em;
}
.options-media-php label[for*="_size_"],
#misc-publishing-actions label {
vertical-align: baseline;
}
@@ -459,6 +466,8 @@ fieldset label,
padding: 3px 5px;
text-align: center;
width: 25em;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
opacity: 0;
}
@@ -575,6 +584,7 @@ ul#add-to-blog-users {
position: absolute;
z-index: 10000;
border: 1px solid #5b9dd9;
-webkit-box-shadow: 0 1px 2px rgba( 30, 140, 190, 0.8 );
box-shadow: 0 1px 2px rgba( 30, 140, 190, 0.8 );
background-color: #fff;
}
@@ -640,10 +650,8 @@ ul#add-to-blog-users {
font-weight: 600;
}
.form-table th.th-full, /* Not used by core. Back-compat for pre-4.8 */
.form-table .td-full {
.form-table th.th-full {
width: auto;
padding: 20px 10px 20px 0;
font-weight: 400;
}
@@ -722,6 +730,8 @@ table.form-table td .updated p {
display: inline-block;
width: 24%;
padding: 5px 15px 15px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
margin-bottom: 3px;
}
@@ -778,6 +788,7 @@ table.form-table td .updated p {
min-width: 255px;
max-width: 520px;
border: 1px solid #e5e5e5;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04);
box-shadow: 0 1px 1px rgba(0,0,0,0.04);
background: #fff;
}
@@ -813,6 +824,7 @@ table.form-table td .updated p {
cursor: move;
color: #32373c;
background: #e5e5e5;
-webkit-border-radius: 5px;
border-radius: 5px;
border: 1px solid #b4b9be;
font-style: normal;
@@ -835,13 +847,17 @@ table.form-table td .updated p {
bottom: 9px;
background: transparent;
-webkit-transform: skew(20deg) rotate(6deg);
-ms-transform: skew(20deg) rotate(6deg);
transform: skew(20deg) rotate(6deg);
-webkit-box-shadow: 0 10px 8px rgba(0, 0, 0, 0.6);
box-shadow: 0 10px 8px rgba(0, 0, 0, 0.6);
}
.pressthis-bookmarklet:hover:after {
-webkit-transform: skew(20deg) rotate(9deg);
-ms-transform: skew(20deg) rotate(9deg);
transform: skew(20deg) rotate(9deg);
-webkit-box-shadow: 0 10px 8px rgba(0, 0, 0, 0.7);
box-shadow: 0 10px 8px rgba(0, 0, 0, 0.7);
}
@@ -905,7 +921,7 @@ table.form-table td .updated p {
.options-general-php .spinner {
float: none;
margin: -3px 3px 0;
margin: 0 3px;
}
.settings-php .language-install-spinner,
@@ -916,11 +932,6 @@ table.form-table td .updated p {
vertical-align: middle;
}
.form-table.permalink-structure .available-structure-tags li {
float: left;
margin-right: 5px;
}
/*------------------------------------------------------------------------------
21.0 - Network Admin
------------------------------------------------------------------------------*/
@@ -960,8 +971,6 @@ table.form-table td .updated p {
.request-filesystem-credentials-dialog {
display: none;
/* The customizer uses visibility: hidden on the body for full-overlays. */
visibility: visible;
}
.request-filesystem-credentials-dialog .notification-dialog {
@@ -1076,143 +1085,6 @@ table.form-table td .updated p {
clear: both;
}
/*------------------------------------------------------------------------------
Privacy Policy settings screen
------------------------------------------------------------------------------*/
.tools-privacy-policy-page form {
margin-bottom: 1.3em;
}
.tools-privacy-policy-page input.button,
.tools-privacy-policy-page select {
margin-left: 6px;
}
.tools-privacy-edit {
margin: 1.5em 0;
}
.tools-privacy-policy-page span {
line-height: 2em;
}
.privacy_requests .column-email {
width: 40%;
}
.privacy_requests .column-type {
text-align: center;
}
.privacy_requests thead td:first-child,
.privacy_requests tfoot td:first-child {
border-left: 4px solid #fff;
}
.privacy_requests tbody th {
border-left: 4px solid #fff;
background: #fff;
box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1);
}
.privacy_requests tbody .has-request-results th {
box-shadow: none;
}
.privacy_requests tbody .request-results th .notice {
margin: 0 0 5px;
}
.privacy_requests tbody td {
background: #fff;
box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1);
}
.privacy_requests tbody .has-request-results td {
box-shadow: none;
}
.privacy_requests .next_steps .button {
height: auto;
line-height: 1.5;
padding: 4px 10px;
word-break: break-all;
white-space: unset;
}
.privacy_requests .status-request-confirmed th,
.privacy_requests .status-request-confirmed td {
background-color: #f7fcfe;
border-left-color: #00a0d2;
}
.privacy_requests .status-request-failed th,
.privacy_requests .status-request-failed td {
background-color: #fef7f1;
border-left-color: #d64d21;
}
.privacy_requests .export_personal_data_failed a {
vertical-align: baseline;
}
.status-label {
font-weight: bold;
}
.status-label.status-request-pending {
font-weight: normal;
font-style: italic;
color: #6c7781;
}
.status-label.status-request-failed {
color: #aa0000;
font-weight: bold;
}
.wp-privacy-request-form {
clear: both;
}
.wp-privacy-request-form-field {
margin: 1.5em 0;
}
.wp-privacy-request-form label {
font-weight: bold;
line-height: 1.5;
padding-bottom: .5em;
display: block;
}
.wp-privacy-request-form input {
line-height: 1.5;
margin: 0;
}
.email-personal-data::before {
display: inline-block;
font: normal 20px/1 dashicons;
margin: 3px 5px 0 -2px;
speak: none;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
vertical-align: top;
}
.email-personal-data--sending::before {
color: #f56e28;
content: "\f463";
-webkit-animation: rotation 2s infinite linear;
animation: rotation 2s infinite linear;
}
.email-personal-data--sent::before {
color: #79ba49;
content: "\f147";
}
/* =Media Queries
-------------------------------------------------------------- */
@@ -1302,6 +1174,8 @@ table.form-table td .updated p {
}
.form-table {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
@@ -1348,6 +1222,8 @@ table.form-table td .updated p {
padding: 7px 10px;
display: block;
max-width: none;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
@@ -1367,7 +1243,7 @@ table.form-table td .updated p {
input[type="number"].small-text,
.form-table input[type="text"].small-text {
width: auto;
max-width: 4.375em; /* 70px, enough for 4 digits to fit comfortably */
max-width: 55px;
display: inline;
padding: 3px 6px;
margin: 0 3px;
@@ -1375,6 +1251,8 @@ table.form-table td .updated p {
#pass-strength-result {
width: 100%;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 8px;
}
@@ -1467,6 +1345,7 @@ table.form-table td .updated p {
.wp-pwd button.button {
background: transparent;
border: none;
-webkit-box-shadow: none;
box-shadow: none;
line-height: 2;
margin: 0;
@@ -1487,37 +1366,9 @@ table.form-table td .updated p {
}
.options-general-php input[type="text"].small-text {
max-width: 6.25em;
max-width: 60px;
margin: 0;
}
/* Privacy Policy settings screen */
.tools-privacy-policy-page form.wp-create-privacy-page {
margin-bottom: 1em;
}
.tools-privacy-policy-page input#set-page,
.tools-privacy-policy-page select {
margin: 10px 0 0;
}
.tools-privacy-policy-page .wp-create-privacy-page span {
display: block;
margin-bottom: 1em;
}
.tools-privacy-policy-page .wp-create-privacy-page .button {
margin-left: 0;
}
.wp-list-table.privacy_requests tr:not(.inline-edit-row):not(.no-items) td.column-primary:not(.check-column) {
display: table-cell;
}
.wp-list-table.privacy_requests.widefat th input,
.wp-list-table.privacy_requests.widefat thead td input {
margin-left: 5px;
}
}
@media only screen and (max-width: 768px) {
@@ -1540,10 +1391,9 @@ table.form-table td .updated p {
}
}
@media only screen and (max-height: 480px), screen and (max-width: 450px) {
/* Request Credentials / File Editor Warning */
.request-filesystem-credentials-dialog .notification-dialog,
.file-editor-warning .notification-dialog {
@media only screen and (max-height: 480px) {
/* Request Credentials */
.request-filesystem-credentials-dialog .notification-dialog{
width: 100%;
height: 100%;
max-height: 100%;
@@ -1568,25 +1418,3 @@ table.form-table td .updated p {
margin-right: 0.5em;
}
}
@-webkit-keyframes rotation {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(359deg);
transform: rotate(359deg);
}
}
@keyframes rotation {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(359deg);
transform: rotate(359deg);
}
}

File diff suppressed because one or more lines are too long

View File

@@ -285,7 +285,7 @@ table.fixed td {
width: 29%;
}
.inline-edit-row .submit {
.inline-edit-row p.submit {
zoom: 100%;
}
@@ -441,7 +441,7 @@ div#dashboard-widgets {
padding-left: 1px;
}
.tagchecklist > li, .tagchecklist .ntdelbutton {
.tagchecklist > span, .tagchecklist .ntdelbutton {
display: inline-block;
display: block;
}

File diff suppressed because one or more lines are too long

View File

@@ -285,7 +285,7 @@ table.fixed td {
width: 29%;
}
.inline-edit-row .submit {
.inline-edit-row p.submit {
zoom: 100%;
}
@@ -441,7 +441,7 @@ div#dashboard-widgets {
padding-right: 1px;
}
.tagchecklist > li, .tagchecklist .ntdelbutton {
.tagchecklist > span, .tagchecklist .ntdelbutton {
display: inline-block;
display: block;
}

File diff suppressed because one or more lines are too long

View File

@@ -11,6 +11,7 @@ body {
padding: 20px 20px 10px 20px;
max-width: 700px;
-webkit-font-smoothing: subpixel-antialiased;
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.13);
box-shadow: 0 1px 3px rgba(0,0,0,0.13);
}
@@ -25,6 +26,9 @@ a:active {
a:focus {
color: #124964;
-webkit-box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
@@ -89,6 +93,7 @@ label {
#logo a {
background-image: url(../images/w-logo-blue.png?ver=20131202);
background-image: none, url(../images/wordpress-logo.svg?ver=20131107);
-webkit-background-size: 84px;
background-size: 84px;
background-position: center top;
background-repeat: no-repeat;
@@ -108,6 +113,7 @@ label {
}
#logo a:focus {
-webkit-box-shadow: none;
box-shadow: none;
}
@@ -128,6 +134,8 @@ textarea {
border: 1px solid #ddd;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
width: 100%;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
@@ -167,6 +175,7 @@ textarea {
font-size: 15px;
padding: 3px 5px;
border: 1px solid #ddd;
-webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.07);
box-shadow: inset 0 1px 2px rgba(0,0,0,0.07);
}
@@ -228,6 +237,8 @@ submit {
padding: 3px 5px;
text-align: center;
width: 218px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
opacity: 0;
}
@@ -375,6 +386,8 @@ body.rtl,
padding: 7px 10px;
display: block;
max-width: none;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
@@ -402,21 +415,19 @@ body.language-chooser {
.screen-reader-input,
.screen-reader-text {
border: 0;
clip: rect(1px, 1px, 1px, 1px);
-webkit-clip-path: inset(50%);
clip-path: inset(50%);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
margin: -1px;
padding: 0;
height: 1px;
width: 1px;
word-wrap: normal !important;
overflow: hidden;
clip: rect(0 0 0 0);
border: 0;
}
.spinner {
background: url(../images/spinner.gif) no-repeat;
-webkit-background-size: 20px 20px;
background-size: 20px 20px;
visibility: hidden;
opacity: 0.7;

File diff suppressed because one or more lines are too long

View File

@@ -11,6 +11,7 @@ body {
padding: 20px 20px 10px 20px;
max-width: 700px;
-webkit-font-smoothing: subpixel-antialiased;
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.13);
box-shadow: 0 1px 3px rgba(0,0,0,0.13);
}
@@ -25,6 +26,9 @@ a:active {
a:focus {
color: #124964;
-webkit-box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
@@ -89,6 +93,7 @@ label {
#logo a {
background-image: url(../images/w-logo-blue.png?ver=20131202);
background-image: none, url(../images/wordpress-logo.svg?ver=20131107);
-webkit-background-size: 84px;
background-size: 84px;
background-position: center top;
background-repeat: no-repeat;
@@ -108,6 +113,7 @@ label {
}
#logo a:focus {
-webkit-box-shadow: none;
box-shadow: none;
}
@@ -128,6 +134,8 @@ textarea {
border: 1px solid #ddd;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
width: 100%;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
@@ -167,6 +175,7 @@ textarea {
font-size: 15px;
padding: 3px 5px;
border: 1px solid #ddd;
-webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.07);
box-shadow: inset 0 1px 2px rgba(0,0,0,0.07);
}
@@ -228,6 +237,8 @@ submit {
padding: 3px 5px;
text-align: center;
width: 218px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
opacity: 0;
}
@@ -375,6 +386,8 @@ body.rtl,
padding: 7px 10px;
display: block;
max-width: none;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
@@ -402,21 +415,19 @@ body.language-chooser {
.screen-reader-input,
.screen-reader-text {
border: 0;
clip: rect(1px, 1px, 1px, 1px);
-webkit-clip-path: inset(50%);
clip-path: inset(50%);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
margin: -1px;
padding: 0;
height: 1px;
width: 1px;
word-wrap: normal !important;
overflow: hidden;
clip: rect(0 0 0 0);
border: 0;
}
.spinner {
background: url(../images/spinner.gif) no-repeat;
-webkit-background-size: 20px 20px;
background-size: 20px 20px;
visibility: hidden;
opacity: 0.7;

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +1 @@
/*! This file is auto-generated */
.locale-he-il em,.locale-zh-cn #local-time,.locale-zh-cn #utc-time,.locale-zh-cn .form-wrap p,.locale-zh-cn .howto,.locale-zh-cn .inline-edit-row fieldset span.checkbox-title,.locale-zh-cn .inline-edit-row fieldset span.title,.locale-zh-cn .js .input-with-default-title,.locale-zh-cn .link-to-original,.locale-zh-cn .tablenav .displaying-num,.locale-zh-cn p.description,.locale-zh-cn p.help,.locale-zh-cn p.install-help,.locale-zh-cn span.description{font-style:normal}.locale-de-de #customize-header-actions .button,.locale-de-de-formal #customize-header-actions .button,.locale-ru-ru #customize-header-actions .button{padding:0 5px 1px}body.rtl,body.rtl .press-this a.wp-switch-editor{font-family:Tahoma,Arial,sans-serif}.rtl h1,.rtl h2,.rtl h3,.rtl h4,.rtl h5,.rtl h6{font-family:Arial,sans-serif;font-weight:600}body.locale-he-il,body.locale-he-il .press-this a.wp-switch-editor{font-family:Arial,sans-serif}.locale-he-il em{font-weight:600}.locale-zh-cn .hdnle a{font-size:12px}.locale-zh-cn form.upgrade .hint{font-style:normal;font-size:100%}.locale-zh-cn #sort-buttons{font-size:1em!important}.locale-de-de #customize-header-actions .spinner,.locale-de-de-formal #customize-header-actions .spinner{margin:16px 3px 0}.locale-ru-ru #adminmenu{width:inherit}.locale-ru-ru #adminmenu,.locale-ru-ru #wpbody{margin-right:0}.locale-ru-ru .inline-edit-row fieldset label span.title,.locale-ru-ru .inline-edit-row fieldset.inline-edit-date legend{width:8em}.locale-ru-ru .inline-edit-row fieldset .timestamp-wrap,.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap{margin-right:8em}.locale-ru-ru.post-new-php .tagsdiv .newtag,.locale-ru-ru.post-php .tagsdiv .newtag{width:165px}.locale-ru-ru.press-this .posting{margin-left:277px}.locale-ru-ru .press-this-sidebar{width:265px}.locale-ru-ru #customize-header-actions .spinner{margin:16px 3px 0}.locale-lt-lt .inline-edit-row fieldset label span.title,.locale-lt-lt .inline-edit-row fieldset.inline-edit-date legend{width:8em}.locale-lt-lt .inline-edit-row fieldset .timestamp-wrap,.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap{margin-right:8em}@media screen and (max-width:782px){.locale-lt-lt .inline-edit-row fieldset .timestamp-wrap,.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap,.locale-ru-ru .inline-edit-row fieldset .timestamp-wrap,.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap{margin-right:0}}

View File

@@ -1,2 +1 @@
/*! This file is auto-generated */
.locale-he-il em,.locale-zh-cn #local-time,.locale-zh-cn #utc-time,.locale-zh-cn .form-wrap p,.locale-zh-cn .howto,.locale-zh-cn .inline-edit-row fieldset span.checkbox-title,.locale-zh-cn .inline-edit-row fieldset span.title,.locale-zh-cn .js .input-with-default-title,.locale-zh-cn .link-to-original,.locale-zh-cn .tablenav .displaying-num,.locale-zh-cn p.description,.locale-zh-cn p.help,.locale-zh-cn p.install-help,.locale-zh-cn span.description{font-style:normal}.locale-de-de #customize-header-actions .button,.locale-de-de-formal #customize-header-actions .button,.locale-ru-ru #customize-header-actions .button{padding:0 5px 1px}body.rtl,body.rtl .press-this a.wp-switch-editor{font-family:Tahoma,Arial,sans-serif}.rtl h1,.rtl h2,.rtl h3,.rtl h4,.rtl h5,.rtl h6{font-family:Arial,sans-serif;font-weight:600}body.locale-he-il,body.locale-he-il .press-this a.wp-switch-editor{font-family:Arial,sans-serif}.locale-he-il em{font-weight:600}.locale-zh-cn .hdnle a{font-size:12px}.locale-zh-cn form.upgrade .hint{font-style:normal;font-size:100%}.locale-zh-cn #sort-buttons{font-size:1em!important}.locale-de-de #customize-header-actions .spinner,.locale-de-de-formal #customize-header-actions .spinner{margin:16px 3px 0}.locale-ru-ru #adminmenu{width:inherit}.locale-ru-ru #adminmenu,.locale-ru-ru #wpbody{margin-left:0}.locale-ru-ru .inline-edit-row fieldset label span.title,.locale-ru-ru .inline-edit-row fieldset.inline-edit-date legend{width:8em}.locale-ru-ru .inline-edit-row fieldset .timestamp-wrap,.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap{margin-left:8em}.locale-ru-ru.post-new-php .tagsdiv .newtag,.locale-ru-ru.post-php .tagsdiv .newtag{width:165px}.locale-ru-ru.press-this .posting{margin-right:277px}.locale-ru-ru .press-this-sidebar{width:265px}.locale-ru-ru #customize-header-actions .spinner{margin:16px 3px 0}.locale-lt-lt .inline-edit-row fieldset label span.title,.locale-lt-lt .inline-edit-row fieldset.inline-edit-date legend{width:8em}.locale-lt-lt .inline-edit-row fieldset .timestamp-wrap,.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap{margin-left:8em}@media screen and (max-width:782px){.locale-lt-lt .inline-edit-row fieldset .timestamp-wrap,.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap,.locale-ru-ru .inline-edit-row fieldset .timestamp-wrap,.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap{margin-left:0}}

View File

@@ -49,11 +49,14 @@
.column-response .comment-count-approved,
.column-comments .comment-count-no-comments,
.column-comments .comment-count-approved {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
display: block;
padding: 0 8px;
min-width: 24px;
height: 2em;
-webkit-border-radius: 5px;
border-radius: 5px;
background-color: #72777c;
color: #fff;
@@ -96,7 +99,7 @@
border-top-color: #0073aa;
}
/* @todo: consider to use a single rule for these counters and the admin menu counters. */
/* comments bubble pending */
.column-response .post-com-count-pending,
.column-comments .post-com-count-pending {
position: relative;
@@ -105,6 +108,7 @@
min-width: 7px;
height: 17px;
border: 2px solid #fff;
-webkit-border-radius: 11px;
border-radius: 11px;
background: #ca4a1f;
color: #fff;
@@ -150,12 +154,19 @@
margin: 0;
padding: 5px 7px 10px;
overflow: hidden;
text-align: center;
}
#replysubmit .button {
margin-left: 5px;
}
#replysubmit .error {
color: red;
line-height: 21px;
text-align: center;
}
#replyrow.inline-edit-row fieldset.comment-reply {
font-size: inherit;
line-height: inherit;
@@ -197,6 +208,7 @@
#replycontent {
height: 120px;
-webkit-box-shadow: none;
box-shadow: none;
}
@@ -238,11 +250,13 @@
#the-comment-list th,
#the-comment-list td {
-webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}
#the-comment-list tr:last-child th,
#the-comment-list tr:last-child td {
-webkit-box-shadow: none;
box-shadow: none;
}
@@ -370,12 +384,14 @@ table.media .column-title .filename {
/* @todo: pick a consistent list table selector */
.wp-list-table a {
-webkit-transition: none;
transition: none;
}
#the-list tr:last-child td,
#the-list tr:last-child th {
border-bottom: none !important;
-webkit-box-shadow: none;
box-shadow: none;
}
@@ -495,6 +511,9 @@ th.asc a:focus span.sorting-indicator:before {
}
.wp-list-table .toggle-row:focus:before {
-webkit-box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
@@ -505,6 +524,7 @@ th.asc a:focus span.sorting-indicator:before {
}
.wp-list-table .toggle-row:active {
-webkit-box-shadow: none;
box-shadow: none;
}
@@ -512,6 +532,7 @@ th.asc a:focus span.sorting-indicator:before {
position: absolute;
top: -5px;
right: 10px;
-webkit-border-radius: 50%;
border-radius: 50%;
display: block;
padding: 1px 0 1px 2px;
@@ -568,6 +589,7 @@ tr.wp-locked .locked-info {
}
tr.locked-info, tr.wp-locked .locked-info {
-webkit-transition: height 1s, opacity 0.5s;
transition: height 1s, opacity 0.5s;
}
@@ -693,6 +715,7 @@ th.asc a:focus span.sorting-indicator {
border-color: #5b9dd9;
color: #fff;
background: #00a0d2;
-webkit-box-shadow: none;
box-shadow: none;
outline: none; /* IE8 */
}
@@ -950,19 +973,16 @@ tr.inline-edit-row td,
line-height: 2.5;
}
.inline-edit-row .submit {
.inline-edit-row p.submit {
clear: both;
padding: 0.5em;
margin: 0.5em 0 0;
}
.inline-edit-row .notice-error {
margin-top: 1em;
}
.inline-edit-row .notice-error .error {
margin: 0.5em 0;
padding: 2px;
.inline-edit-row span.error {
line-height: 22px;
margin: 0 15px;
padding: 3px 5px;
}
/* Positioning */
@@ -1257,6 +1277,7 @@ ul.cat-checklist {
.plugin-install #the-list td,
.upgrade .plugins td,
.upgrade .plugins th {
-webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1);
box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1);
}
@@ -1265,6 +1286,7 @@ ul.cat-checklist {
.plugins tr.active + tr.inactive th,
.plugins tr.active + tr.inactive td {
border-top: 1px solid rgba(0,0,0,0.03);
-webkit-box-shadow: inset 0 1px 0 rgba(0,0,0,0.02), inset 0 -1px 0 #e1e1e1;
box-shadow: inset 0 1px 0 rgba(0,0,0,0.02), inset 0 -1px 0 #e1e1e1;
}
@@ -1278,6 +1300,7 @@ ul.cat-checklist {
.plugins .updated th,
.plugins tr.active + tr.inactive.updated th,
.plugins tr.active + tr.inactive.updated td {
-webkit-box-shadow: none;
box-shadow: none;
}
@@ -1286,31 +1309,15 @@ ul.cat-checklist {
border-right: 4px solid #00a0d2;
}
.wp-list-table.plugins .plugin-title,
.wp-list-table.plugins .theme-title {
#wpbody-content .plugins .plugin-title,
#wpbody-content .plugins .theme-title {
padding-left: 12px;
white-space: nowrap;
white-space:nowrap;
}
.plugins .plugin-title img,
.plugins .plugin-title .dashicons {
float: right;
padding: 0 0 0 10px;
width: 64px;
height: 64px;
}
.plugins .plugin-title .dashicons:before {
padding: 2px;
background-color: #eee;
box-shadow: inset 0 0 10px rgba(160,165,170,.15);
font-size: 60px;
color: #B4B9BE;
}
#update-themes-table .plugin-title img,
#update-themes-table .plugin-title .dashicons {
width: 85px;
.updates-table-screenshot {
float:right;
padding: 0 0 5px 10px;
}
.plugins .inactive .plugin-title strong {
@@ -1336,6 +1343,7 @@ ul.cat-checklist {
}
.plugins .plugin-update-tr .plugin-update {
-webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1);
box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1);
overflow: hidden; /* clearfix */
padding: 0;
@@ -1421,9 +1429,12 @@ ul.cat-checklist {
float: right;
margin: 0 8px 16px;
width: 48.5%;
width: -webkit-calc( 50% - 8px );
width: calc( 50% - 8px );
background-color: #fff;
border: 1px solid #ddd;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
@@ -1439,6 +1450,7 @@ ul.cat-checklist {
@media screen and ( min-width: 1600px ) {
.plugin-card {
width: 30%;
width: -webkit-calc( 33.1% - 8px );
width: calc( 33.1% - 8px );
}
@@ -1522,6 +1534,7 @@ div.action-links,
.plugin-card-update-failed .notice-error {
margin: 0;
padding-right: 16px;
-webkit-box-shadow: 0 -1px 0 #ddd;
box-shadow: 0 -1px 0 #ddd;
}
@@ -1551,6 +1564,7 @@ div.action-links,
float: left;
clear: left;
width: 65%;
width: -webkit-calc( 100% - 180px );
width: calc( 100% - 180px );
}
@@ -1823,18 +1837,18 @@ div.action-links,
}
#the-comment-list .is-expanded td {
-webkit-box-shadow: none;
box-shadow: none;
}
#the-comment-list .is-expanded td:last-child {
-webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}
/* Show comment bubble as text instead */
.post-com-count .screen-reader-text {
position: static;
-webkit-clip-path: none;
clip-path: none;
width: auto;
height: auto;
margin: 0;
@@ -1877,6 +1891,7 @@ div.action-links,
min-width: 0;
padding: 0;
border: none;
-webkit-border-radius: 0;
border-radius: 0;
background: none;
color: #bb2a2a;
@@ -1926,6 +1941,8 @@ div.action-links,
display: block;
width: 100%;
max-width: none;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
@@ -2038,6 +2055,7 @@ div.action-links,
.plugins #the-list .update th,
.plugins #the-list .update td,
.wp-list-table.plugins #the-list .theme-title {
-webkit-box-shadow: none;
box-shadow: none;
border-top: none;
}
@@ -2053,6 +2071,7 @@ div.action-links,
.plugins tr.active + tr.inactive th.check-column,
.plugins tr.active + tr.inactive td.column-description,
.plugins .plugin-update-tr:before {
-webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}
@@ -2117,11 +2136,13 @@ div.action-links,
}
table.plugin-install #the-list td {
-webkit-box-shadow: none;
box-shadow: none;
}
table.plugin-install #the-list tr {
display: block;
-webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1);
box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1);
}

Some files were not shown because too many files have changed in this diff Show More