Compare commits

..

141 Commits
6.2.1 ... 5.8.4

Author SHA1 Message Date
Sergey Biryukov
dd4ecf5144 Tag 5.8.4
Built from https://develop.svn.wordpress.org/tags/5.8.4@52898


git-svn-id: http://core.svn.wordpress.org/tags/5.8.4@52487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-03-11 00:24:08 +00:00
jorgefilipecosta
e6ce4269a3 Update WordPress packages.
Updates the WordPress packages to their most recent patch versions.

Props xknown, sergey, audrasjb.
Built from https://develop.svn.wordpress.org/branches/5.8@52887


git-svn-id: http://core.svn.wordpress.org/branches/5.8@52476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-03-10 22:15:19 +00:00
audrasjb
47e5d13a47 WordPress 5.8.4.
Built from https://develop.svn.wordpress.org/branches/5.8@52880


git-svn-id: http://core.svn.wordpress.org/branches/5.8@52469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-03-10 22:08:15 +00:00
audrasjb
d67264d17c External Librairies: Update jQuery.query to version 2.2.3.
This updates the "jquery-query" library from version 2.1.7 to 2.2.3.

Props jorbin, peterwilsoncc, xknown, audrasjb, jorgefilipecosta.
Merges [52844] to the 5.8 branch.

Built from https://develop.svn.wordpress.org/branches/5.8@52848


git-svn-id: http://core.svn.wordpress.org/branches/5.8@52437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-03-10 20:49:03 +00:00
desrosj
c4666346ad Post WordPress 5.8.3 version bump.
The 5.8 branch is now 5.8.4 alpha.
Built from https://develop.svn.wordpress.org/branches/5.8@52533


git-svn-id: http://core.svn.wordpress.org/branches/5.8@52123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-06 20:56:02 +00:00
desrosj
eea95fdec8 WordPress 5.8.3.
Built from https://develop.svn.wordpress.org/branches/5.8@52487


git-svn-id: http://core.svn.wordpress.org/branches/5.8@52079 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-06 18:45:01 +00:00
desrosj
949270aa6f Formatting: Correctly encode ASCII characters in post slugs.
Merges [52457] to the 5.8 branch.
Props zieladam, whyisjake, xknown, peterwilsoncc, desrosj, iandunn.
Built from https://develop.svn.wordpress.org/branches/5.8@52465


git-svn-id: http://core.svn.wordpress.org/branches/5.8@52057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-06 17:37:02 +00:00
desrosj
66bb979049 Upgrade/Install: Avoid using unserialize() unnecessarily.
Merges [52456] to the 5.8 branch.
Props vortfu, xknown, dd32.
Built from https://develop.svn.wordpress.org/branches/5.8@52463


git-svn-id: http://core.svn.wordpress.org/branches/5.8@52055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-06 17:29:56 +00:00
desrosj
7d20ea9c50 Query: Improve sanitization within WP_Meta_Query.
Merges [52455] to the 5.8 branch.
Props vortfu, xknown, dd32.
Built from https://develop.svn.wordpress.org/branches/5.8@52461


git-svn-id: http://core.svn.wordpress.org/branches/5.8@52053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-06 17:25:00 +00:00
desrosj
6f7032dcf4 Query: Improve sanitization within WP_Tax_Query.
Merges [52454] to the 5.8 branch.
Props dd32, xknown, peterwilsoncc, ehtis.
Built from https://develop.svn.wordpress.org/branches/5.8@52459


git-svn-id: http://core.svn.wordpress.org/branches/5.8@52051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-06 17:22:00 +00:00
desrosj
266c585188 Help/About: Use the correct number of bugs fixed in 5.8.2.
Follow up to [52112].
Built from https://develop.svn.wordpress.org/branches/5.8@52113


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-11-10 17:05:56 +00:00
desrosj
04a101e4d0 WordPress 5.8.2.
Built from https://develop.svn.wordpress.org/branches/5.8@52112


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-11-10 17:03:58 +00:00
Dion Hulse
58a71bf8d5 Bump Akismet external to 4.2.1
See #54004.


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-11-04 02:36:18 +00:00
desrosj
276b489dc9 Post WordPress 5.8.2 RC1 version bump.
Built from https://develop.svn.wordpress.org/branches/5.8@51987


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-11-02 20:09:57 +00:00
desrosj
4ec018ad06 WordPress 5.8.2 RC1.
Built from https://develop.svn.wordpress.org/branches/5.8@51986


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-11-02 19:46:58 +00:00
Sergey Biryukov
fb283a3c27 Media: Use WP_Query::get() method to retrieve the posts_per_page value in wp_ajax_query_attachments().
This avoids a PHP notice and ensures that a default value is always provided if none is set by the user.

Follow-up to [51145], [51485].

Props davidwebca, mukesh27, circlecube, desrosj.
Merges [51982] to the 5.8 branch.
Fixes #54129.
Built from https://develop.svn.wordpress.org/branches/5.8@51983


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-11-02 18:33:59 +00:00
desrosj
dd352f4d54 Script Loader: Correct the number of arguments passed to the closure in enqueue_block_styles_assets().
This avoids an `Uncaught ArgumentCountError: Too few arguments to function {closure}(), 1 passed` PHP fatal error when registering a block style with the `should_load_separate_core_block_assets` filter enabled.

Follow-up to [51471].

Props aristath, shimon246, jrf, gziolo, SergeyBiryukov.
Merges [54323] to the 5.8 branch.
Fixes #54323.
Built from https://develop.svn.wordpress.org/branches/5.8@51981


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-11-02 18:23:01 +00:00
desrosj
8488afbb66 HTTP: Remove the DST Root CA X3 certificate expired on September 30, 2021.
> The currently recommended certificate chain as presented to Let’s Encrypt ACME clients when new certificates are issued contains an intermediate certificate (ISRG Root X1) that is signed by an old DST Root CA X3 certificate that expires on 2021-09-30. In some cases the OpenSSL 1.0.2 version will regard the certificates issued by the Let’s Encrypt CA as having an expired trust chain.
> 
> Most up-to-date CA cert trusted bundles, as provided by operating systems, contain this soon-to-be-expired certificate. The current CA cert bundles also contain an ISRG Root X1 self-signed certificate. This means that clients verifying certificate chains can find the alternative non-expired path to the ISRG Root X1 self-signed certificate in their trust store.
> 
> Unfortunately this does not apply to OpenSSL 1.0.2 which always prefers the untrusted chain and if that chain contains a path that leads to an expired trusted root certificate (DST Root CA X3), it will be selected for the certificate verification and the expiration will be reported.

References:
* [https://www.openssl.org/blog/blog/2021/09/13/LetsEncryptRootCertExpire/ Old Let’s Encrypt Root Certificate Expiration and OpenSSL 1.0.2]
* [https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/ DST Root CA X3 Expiration (September 2021)]

Follow-up to [25224], [25426], [25569], [27307], [30491], [30765], [34283], [35919], [36570], [46094].

Props bradleyt, fierevere, SergeyBiryukov.
Merges [51883] to the 5.8 branch.
Fixes #54207. See #50828.
Built from https://develop.svn.wordpress.org/branches/5.8@51948


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-10-28 19:22:00 +00:00
desrosj
d34152cfae Build/Test Tools: Change the patch version used for testing the 5.6 branch of PHP.
This unpins the version of PHP 5.6.20 used when testing the 5.6 branch of PHP.

Using 5.6.20 was an intentional decision in [49162], as that patch version is the oldest version of PHP 5.6 still supported by WordPress. However, as of September 30, 2021, the `5.6.20` image contains a version of OpenSSL with an expired certificate, sometimes resulting in an expired trust chain.

Props Clorith, hellofromTonya, SergeyBiryukov, desrosj.
Fixes #54223.
Built from https://develop.svn.wordpress.org/branches/5.8@51889


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-10-05 17:25:02 +00:00
hellofromTonya
211e1f1156 Build/Test Tools: Fix test forward-compatibility layer.
In [51838], the test wrapper methods were not being called due to the names not being recognized as supported PHPUnit "hook" names for fixtures.

This commit:
- Fixes the problem by adding extra camelCase wrappers to the `WP_UnitTestCase` to call the methods in the right order.
- Adds wrappers for the `assertPreConditions()` and `assertPostConditions()` fixture methods to make the backport feature complete for the fixture wrappers.

Test wrapper methods call fix:

By adding method overloads for the PHPUnit native camelCase fixture methods and letting those call the (camelCase) parent method first and only calling the snake_case fixture methods after, the snake_case methods can be supported and the typical run order safeguarded.

As not all test classes will have declared snake_case fixture methods, the snake_case fixture methods are also declared in the `WP_UnitTestCase`. Why? This prevents having to wrap these method calls in `method_exists()` conditions checking for the existence of the snake_case methods in an unknown Test child class. And with the normal inheritance rules in combination with calling the method using `static`, the right method will be called anyway without fatal "calling undeclared method" errors.

Note: While it will be rare, there ''may'' be cases where a test class does not adhere to the normal execution order for fixtures, i.e. for the setup methods, parent first, own code second; and for the teardown methods, own code first, parent second. For example a test class which has "some code - `parent::setUp()` call - some more code" in their `setUp()` method. In those (rare) cases, the execution order of the code will now be changed, which may have side-effects. This rare case will be identified in the dev note.

Follow-up to [51838].

Props bjorsch, swisspidy, jrf, hellofromTonya.
See #53911.
Built from https://develop.svn.wordpress.org/branches/5.8@51861


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-09-24 13:20:01 +00:00
desrosj
6d84519fd5 Build/Test Tools: Introduce the PHPUnit Polyfills package for easier cross branch testing.
This backports the PHPUnit Polyfills package and related test infrastructure changes to make it easier for developers to continue testing on multiple versions WordPress while adding tests for newer versions of PHP, which require more modern PHPUnit practices.

One of the changes included is the addition of wrappers for the new snake_case fixture methods in PHPUnit. This allows the native camelCase standard in PHPUnit to be used, but allows for developers to transition to the new naming conventions.

Props hellofromTonya, jrf, SergeyBiryukov, johnbillion, netweb, schlessera, jeherve, lucatume, desrosj.
Merges [51559,51560,51810-51813,51828] to the 5.8 branch.
See #53911.
Built from https://develop.svn.wordpress.org/branches/5.8@51838


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-09-21 19:06:00 +00:00
desrosj
4fa7af0ce1 Post WordPress 5.8.1 version bump.
The 5.8 branch is now 5.8.2 alpha.
Built from https://develop.svn.wordpress.org/branches/5.8@51778


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-09-09 03:16:02 +00:00
desrosj
87fd7274b4 WordPress 5.8.1.
Built from https://develop.svn.wordpress.org/branches/5.8@51771


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-09-09 02:12:58 +00:00
Andrew Ozz
3744b979ad Editor: Revert [51748] and [51649]. They intorduced a bug where wp.editor may be replaced with wp.oldEditor in certain cases.
Props desrosj, davidbinda, azaozz.
Merges [51768] to the 5.8 branch.
Fixes #53762.

Built from https://develop.svn.wordpress.org/branches/5.8@51770


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-09-09 02:00:57 +00:00
desrosj
71adb4a0bf Help/About: Update the About page for WordPress 5.8.1.
Props audrasjb, circlecube, mukesh27.
Fixes #54083.
Built from https://develop.svn.wordpress.org/branches/5.8@51767


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-09-08 22:51:59 +00:00
Sergey Biryukov
ca5652bc3e Editor: fix the replacement of wp.editor with wp.oldEditor in the inline script outputted when enqueueing the old editor.
Props fullofcaffeine, davidbinda, grantmkin, get_dave, azaozz.
Merges [51748] to the 5.8 branch.
Fixes #53762.
Built from https://develop.svn.wordpress.org/branches/5.8@51749


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-09-08 19:24:57 +00:00
Sergey Biryukov
0fdb93612f General: Only use _jsonp_wp_die_handler() for JSONP REST API requests.
Props mdawaffe, peterwilsoncc.
Merges [51740] to the 5.8 branch.
Built from https://develop.svn.wordpress.org/branches/5.8@51741


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-09-08 17:21:02 +00:00
Dion Hulse
05277136f6 Bump Akismet external to 4.1.12.
See #54004.


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-09-07 02:27:48 +00:00
desrosj
a5a23683a0 Post WordPress 5.8.1 RC1 version bump.
Built from https://develop.svn.wordpress.org/branches/5.8@51723


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-09-01 19:57:58 +00:00
desrosj
d71865a750 WordPress 5.8.1 RC1.
Built from https://develop.svn.wordpress.org/branches/5.8@51722


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-09-01 19:46:57 +00:00
desrosj
00c29d0f49 Editor: Update block editor packages for WordPress 5.8.1.
The following packages were updated:
- @wordpress/a11y to `3.1.2`
- @wordpress/annotations to `2.1.6`
- @wordpress/api-fetch to `5.1.2`
- @wordpress/autop to `3.1.2`
- @wordpress/babel-preset-default to `6.2.1`
- @wordpress/blob to `3.1.2`
- @wordpress/block-directory to `2.1.21`
- @wordpress/block-editor to `6.1.14`
- @wordpress/block-library to `3.2.19`
- @wordpress/block-serialization-default-parser to `4.1.2`
- @wordpress/blocks to `9.1.8`
- @wordpress/components to `14.1.11`
- @wordpress/compose to `4.1.6`
- @wordpress/core-data to `3.1.12`
- @wordpress/customize-widgets to `1.0.20`
- @wordpress/data-controls to `2.1.6`
- @wordpress/data to `5.1.6`
- @wordpress/date to `4.1.2`
- @wordpress/deprecated to `3.1.2`
- @wordpress/dom-ready to `3.1.2`
- @wordpress/dom to `3.1.5`
- @wordpress/e2e-test-utils to `5.3.1`
- @wordpress/edit-post to `4.1.21`
- @wordpress/edit-widgets to `2.1.21`
- @wordpress/editor to `10.1.17`
- @wordpress/element to `3.1.2`
- @wordpress/escape-html to `2.1.2`
- @wordpress/format-library to `2.1.14`
- @wordpress/html-entities to `3.1.2`
- @wordpress/i18n to `4.1.2`
- @wordpress/icons to `4.0.3`
- @wordpress/interface to `3.1.12`
- @wordpress/keyboard-shortcuts to `2.1.7`
- @wordpress/keycodes to `3.1.2`
- @wordpress/list-reusable-blocks to `2.1.11`
- @wordpress/media-utils to `2.1.2`
- @wordpress/notices to `3.1.6`
- @wordpress/nux to `4.1.11`
- @wordpress/plugins to `3.1.6`
- @wordpress/primitives to `2.1.2`
- @wordpress/priority-queue to `2.1.2`
- @wordpress/react-i18n to `2.1.2`
- @wordpress/redux-routine to `4.1.2`
- @wordpress/reusable-blocks to `2.1.17`
- @wordpress/rich-text to `4.1.6`
- @wordpress/scripts to `16.1.5`
- @wordpress/server-side-render to `2.1.12`
- @wordpress/shortcode to `3.1.2`
- @wordpress/url to `3.1.2`
- @wordpress/viewport to `3.1.6`
- @wordpress/warning to `2.1.2`
- @wordpress/widgets to `1.1.19`
- @wordpress/wordcount to `3.1.2`

Props oandregal, juanmaguitar, gziolo, jblz, talldanwp, ribaricplusplus, peterwisoncc, youknowriad, paaljoachim, kreppar, ellatrix, aristath, walbo, ajlende, kevin940726, mamaduka, ntsekouras, toro_unit, mkaz, joen, noisysocks, zieladam, andraganescu, antonvlasenko, terraling, dariak, vladytimy, circlecube, desrosj.
Merges [51719] to the 5.8 branch.
Fixes #54052, #52818.
Built from https://develop.svn.wordpress.org/branches/5.8@51721


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-09-01 19:28:24 +00:00
desrosj
9134e272c6 Customize: Add wp-embed-responsive class to body if using widgets block editor
Appends the wp-embed-responsive class to the body if the widgets block editor is enabled. This fixes a bug preventing embeds (e.g. YouTube embeds) appearing in the widgets block editor.

Props walbo, kevin940726, noisysocks.
Merges [51716] to the 5.8 branch.
Fixes #53609.
Built from https://develop.svn.wordpress.org/branches/5.8@51720


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-09-01 19:09:57 +00:00
desrosj
2a23de5be9 Media: Remove documentation detailing specific edge cases in the image_editor_output_format filter.
In [51422], a few specific edge cases were detailed so that developers using the hook were aware of known pitfalls.

These edge cases have been fixed in 5.8.1 through [51653] and [51704], so the documentation is no longer necessary.

Props azaozz, audrasjb.
Merges [51717] to the 5.8 branch.
Fixes #53955.
Built from https://develop.svn.wordpress.org/branches/5.8@51718


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-09-01 17:31:58 +00:00
Peter Wilson
bde718d703 Build: Clean css/dist as part of the webpack build step.
Move the cleaning of the `wp-includes/css/dist` folder from `clean:css` to `clean:webpack-assets` to avoid an order of operations issue in which the files were built shortly before been deleted later in the build process.

Follow up to [51689].

Props netweb, ramonopoly, peterwilsoncc.
Merges [51713] to the 5.8 branch.
Fixes #53719.


Built from https://develop.svn.wordpress.org/branches/5.8@51714


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-09-01 04:05:58 +00:00
desrosj
9ae8a61247 Media: apply the wp_editor_set_quality filter not only when loading an image in the editor but also when saving an converted image, after the mime-type of the output image has changed.
Props mikeschroder, desrosj, azaozz.
Merges [51704] to the 5.8 branch.
Fixes #53667.
Built from https://develop.svn.wordpress.org/branches/5.8@51712


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-09-01 00:44:56 +00:00
desrosj
cc684968ae Widgets: Pass correct context to get_block_categories() calls.
The `get_block_categories()` function expects either a `WP_Post` or a `WP_Block_Editor_Context` instance as the context argument, not a string.

Follow-up to [50996], [50997].

Props Enchiridion, pbearne, audrasjb, SergeyBiryukov.
Merges [51700] to the 5.8 branch.
Fixes #53757.
Built from https://develop.svn.wordpress.org/branches/5.8@51711


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-09-01 00:34:58 +00:00
desrosj
a80100db11 Widgets: Show title and media select fields in Accessibility Mode.
This updates the Custom HTML and Media widgets to display the correct fields when adding or editing a widget when using accessibility mode through the Classic Widgets experience.

Follow up to [49973].

Props mark-k, sabernhardt, alexstine, circlecube, audrasjb.
Merges [51701] to the 5.8 branch.
Fixes #53641.
Built from https://develop.svn.wordpress.org/branches/5.8@51710


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-09-01 00:29:58 +00:00
desrosj
af2f290084 Media: fix showing of the "Filter Media" filds when replacing an image from the media modal.
Props mhuntdesign, sabernhardt, azaozz.
Merges [51703] to the 5.8 branch.
Fixes #53833.
Built from https://develop.svn.wordpress.org/branches/5.8@51708


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-09-01 00:14:59 +00:00
desrosj
03d74022be Coding Standards: Apply some minor alignment fixes.
These are updates caused by running `composer format`.

Follow up to [51653].

Partially merges [51693] to the 5.8 branch.
See #53668.
Built from https://develop.svn.wordpress.org/branches/5.8@51707


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-09-01 00:11:57 +00:00
desrosj
c909ee1c74 Media: Fix wp_unique_filename() to check for name collisions with all alternate file names when an image may be converted after uploading. This includes possible collinions with pre-existing images whose sub-sizes/thumbnails are regenerated.
Props ianmjones, azaozz.
Merges [51653] to the 5.8 branch.
Fixes #53668.
Built from https://develop.svn.wordpress.org/branches/5.8@51706


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-08-31 23:57:59 +00:00
desrosj
dc6b47047b Editor: Conditionally load registered styles for block variations
In WordPress 5.8 we added the ability to only load styles for blocks when these blocks are rendered. However, these optimizations left out block-styles that get added using the register_block_style() function/API.

Props aristath, gziolo.
Merges [51471] to the 5.8 branch.
Fixes #53616.
Built from https://develop.svn.wordpress.org/branches/5.8@51696


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-08-30 15:37:58 +00:00
desrosj
bbda256d9c Filesystem API: Make sure to only call fread() on non-empty files in PclZip::privAddFile().
This avoids a fatal error on PHP 8 caused by passing a zero value to `fread()` as the `$length` argument, which must be greater than zero.

This commit also amends the previous solution for similar issues elsewhere in the file to ensure consistent type for string values, instead of changing the type from `string` to `bool` when trying to read from an empty file.

Follow-up to [50355].

Props DavidAnderson, jrf, SergeyBiryukov.
Merges [51686] to the 5.8 branch.
Fixes #54036.
Built from https://develop.svn.wordpress.org/branches/5.8@51694


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-08-30 14:28:57 +00:00
desrosj
ccb796fb1e Build: Remove css/dist in grunt clean command.
Modify the `grunt clean:css` command to include the folder `wp-includes/css/dist` to ensure legacy files do not remain if the built files are removed/relocated.

Props desrosj, netweb., peterwilsoncc.
Merges [51689] to the 5.8 branch.
Fixes #53719.
Built from https://develop.svn.wordpress.org/branches/5.8@51691


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-08-30 13:40:57 +00:00
desrosj
ff0c04e257 Menus: Save display locations for new menus.
Fixes a bug preventing the locations saving when creating a new menu. Introduced in [50938].

Props dlh, andraganescu, mukesh27, desrosj, peterwilsoncc.
Merges [51688] to the 5.8 branch.
Fixes #53877.
Built from https://develop.svn.wordpress.org/branches/5.8@51690


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-08-30 13:39:56 +00:00
Peter Wilson
eb0d45bb63 Customize: Prevent collapsing expanded panel/section/control when Esc is pressed on a block editor instance.
This ensures that the current panel is not collapsed when hitting `Esc` with the focus on the widget block editor.

Follow-up to [37347], [39120].

Props gwwar, dlh, SergeyBiryukov.
Merges [51682,51683] to the 5.8 branch.
Fixes #54030.

Built from https://develop.svn.wordpress.org/branches/5.8@51687


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-08-30 03:30:57 +00:00
desrosj
1660108b59 Editor: Ensure block attribute serialization in PHP matches the JavaScript equivalent.
The `serializeAttributes()` function in JavaScript uses `JSON.stringify`, which does not encode slashes and unicode characters by default. This resulted in the PHP serialization through `json_encode()` producing different results.

This also switches from `json_encode()` to `wp_json_encode()` to prevent failures when any non UTF-8 characters are included.

Props kevinfodness, SergeyBiryukov, timothyblynjacobs.
Merges [51674] to the 5.8 branch.
Fixes #53936.
Built from https://develop.svn.wordpress.org/branches/5.8@51681


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-08-27 19:09:58 +00:00
desrosj
eded09c12f Build/Test Tools: Use list format when defining environment variables in Docker compose file.
This is the correct formatting detailed in the Docker `compose` documentation examples and helps to avoid ambiguities in the yaml parser when values that may cause warnings.

Props pbrearne, ocean90, johnbillion, desrosj.
Merges [51673] to the 5.8 branch.
Fixes #53820.
Built from https://develop.svn.wordpress.org/branches/5.8@51680


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-08-27 19:07:58 +00:00
desrosj
24d4730dd1 Editor: Replace the remaining references to wp.editor with wp.oldEditor.
Props zieladam, azaozz.
Merges [51649] to the 5.8 branch.
Fixes #53762.
Built from https://develop.svn.wordpress.org/branches/5.8@51656


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-08-25 18:49:00 +00:00
desrosj
8718b2cae6 Media: Increase number of media items displayed per page.
Increase the number of media items displayed per page from 40 to 80 to improve the experience for users navigating the library on sites with a large quantity of media in the library.

Props AlGala, antpb, hellofromTonya, joedolson, SergeyBiryukov, wb1234, peterwilsoncc.
Merges [51632] to the 5.8 branch.
Fixes #53827.
Built from https://develop.svn.wordpress.org/branches/5.8@51643


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-08-19 15:01:57 +00:00
desrosj
8145e21ca2 Media: Fix layout of media library modal on narrow screens.
Reduces the right margin of the media library modal on small and medium width screens to remove excess white-space. On very narrow screens this was preventing the media icons from displaying.

Props andraganescu, desrosj, joedolson, moch11, mukesh27, sabernhardt, SergeyBiryukov, zieladam, peterwilsoncc.
Merges [51631] to the 5.8 branch.
Fixes #53679.
Built from https://develop.svn.wordpress.org/branches/5.8@51642


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-08-19 15:00:59 +00:00
desrosj
b9d1f9170d Customize: Hide native control on background position field.
Hide the browser's native radio button on the custom background position selector in the Customizer and the legacy background screen. This fixes an issue causing both to display.

Props mukesh27, ravipatel, sabernhardt, walbo, peterwilsoncc.
Merges [51637] to the 5.8 branch.
Fixes #53803.
Built from https://develop.svn.wordpress.org/branches/5.8@51640


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-08-19 13:47:00 +00:00
desrosj
d6c021e728 Docs: Fix typo in the get_block_editor_settings() description.
Follow-up to [50776].

Props tmatsuur, pbearne, SergeyBiryukov.
Merges [51611] to the 5.8 branch.
Fixes #53922.
Built from https://develop.svn.wordpress.org/branches/5.8@51621


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-08-16 18:42:57 +00:00
desrosj
0609cdd83c Editor: Preserve the original template keys when preparing a list of page templates.
Previously, the original "404" template key was lost when "Default template" is merged into the available templates array, as the `array_merge()` function renumbers numeric keys. Later, when we merge templates on the client side, this caused duplicate "404" templates to appear in the dropdown.

By replacing the `array_merge()` call with `array_replace()`, we make sure to keep the original numeric keys.

Props Mamaduka, Toro_Unit, youknowriad, SergeyBiryukov.
Merges [51595] to the 5.8 branch.
Fixes #53898.
Built from https://develop.svn.wordpress.org/branches/5.8@51620


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-08-16 18:41:00 +00:00
desrosj
77cdaf8e92 Menus: Hide bulk-select on new menu page.
Prevent the bulk-select option from displaying when adding a new menu. This also prevents the option from displaying when an administrator first visits the menu page and no menus are set.

Props dlh, sabernhardt, peterwilsoncc.
Merges [51539] to the 5.8 branch.
Fixes #53654.
Built from https://develop.svn.wordpress.org/branches/5.8@51596


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-08-10 19:36:59 +00:00
desrosj
3616f5bf0b Editor: Prevent block-editor JavaScript loading in other editors.
Add a check to `wp_add_iframed_editor_assets_html()` confirming the edit post screen is using the block-editor before including block-editor specific JavaScript. For the classic and other editors the function returns early without any output.

Props swissspidy, desrosj, peterwilsoncc.
Merges [51540] to the 5.8 branch.
Fixes #53696.
Built from https://develop.svn.wordpress.org/branches/5.8@51593


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-08-10 16:35:04 +00:00
Peter Wilson
2b90cc4361 Block Editor: Add missing border setting on button block.
This commit fixes a regression on WordPress 5.8 that made the border radius setting on the buttons block disappear.

Props Mamaduka, daisyo, priethor, desrosj, mikeschroder.
Merges [51538] to the 5.8 branch.
Fixes #53697.


Built from https://develop.svn.wordpress.org/branches/5.8@51547


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-08-05 00:44:58 +00:00
Peter Wilson
e9dd9dddb1 Upgrade/Install: Avoid creating nonce during installation.
This avoids a "Table `wp_options` doesn't exist" database error when trying to create a nonce for password reset button.

When installing and using database-saved salts, `wp_create_nonce()` causes database errors as `wp_salt()` attempts to insert into the not-yet-created options table. Since authentication is not available during installation, we can safely skip creating a nonce.

Follow-up to [39684], [50129].

Props schlessera, swissspidy, sanketchodavadiya, hellofromTonya, SergeyBiryukov.
Merges [51525] to the 5.8 branch.
Fixes #53830.


Built from https://develop.svn.wordpress.org/branches/5.8@51546


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-08-05 00:33:00 +00:00
desrosj
720a2a7035 Themes: Add "Template Editing" to the list of WordPress theme features.
Follow-up to [meta11158].

Props poena, desrosj, SergeyBiryukov.
Merges [51510] to the 5.8 branch.
Fixes #53556. See #meta5802.
Built from https://develop.svn.wordpress.org/branches/5.8@51516


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-30 12:24:59 +00:00
desrosj
2c3326126b I18n: Fix broken loop in WP_Theme_JSON_Resolver
Related issue in Gutenberg: https://github.com/WordPress/gutenberg/issues/33552.

The loop in `WP_Theme_JSON_Resolver` to extract translatable paths was broken, as it contained an immediate and unconditional return. This caused the loop to immediately exit again after the first iteration, thus never actually looping.

Follow-up to [50959].

Props schlessera.
Merges [51472] to the 5.8 branch.
Fixes #53738.
Built from https://develop.svn.wordpress.org/branches/5.8@51515


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-30 12:22:00 +00:00
desrosj
89bd77009b Upgrade/Install: Add files for 5.8 to the $_old_files list that were missed.
Follow up to [51133], [51459].

Props WFMattR, audrasjb, ocean90, johnbillion, pbiron.
Merges [51497] to the 5.8 branch.
Fixes #53702.
Built from https://develop.svn.wordpress.org/branches/5.8@51509


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-28 13:06:58 +00:00
desrosj
94da59e312 Docs: Correct a comment about WebP constants in wp-includes/compat.php.
Follow-up to [50810], [50814].

Props GaryJ, rtm909, SergeyBiryukov.
Merges [51474] to the 5.8 branch.
Fixes #53680.
Built from https://develop.svn.wordpress.org/branches/5.8@51508


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-28 13:05:01 +00:00
desrosj
f6b7f4c3e9 Media: Check the posts_per_page value in wp_ajax_query_attachments() before using it as a divisor.
This avoids a "Division by zero" PHP warning if a plugin changes the `posts_per_page` value to zero.

Follow-up to [51145].

Props 2linctools, kapilpaul, audrasjb, SergeyBiryukov.
Merges [51485] to the 5.8 branch.
Fixes #53773.
Built from https://develop.svn.wordpress.org/branches/5.8@51507


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-28 13:02:58 +00:00
desrosj
a1a9f6c5c6 Help/About: Add / character to <img> and <source> tags.
While this has no effect on void elements in HTML5, it fixes a minor inconsistency with the rest of core.

Follow-up to [47493], [48834], [50556], [51418].

Props radixweb, ankitmaru, TobiasBg, sabernhardt, audrasjb, SergeyBiryukov.
Merges [51473] to the 5.8 branch.
Fixes #53716.
Built from https://develop.svn.wordpress.org/branches/5.8@51506


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-28 12:55:56 +00:00
desrosj
839f0444e3 External Libraries: Correct the underscore version used when registering.
The correct version is `1.13.1`.

Follow up to [50650], [50778].

Props david.binda.
Merges [51469] to the 5.8 branch.
Fixes #53713.
Built from https://develop.svn.wordpress.org/branches/5.8@51505


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-28 12:54:58 +00:00
desrosj
34e087e366 External Libraries: Correct the jquery-form version used when registering.
The correct version is `4.3.0`.

Follow up to [50546].

Props david.binda.
Merges [51468] to the 5.8 branch.
Fixes #53714.
Built from https://develop.svn.wordpress.org/branches/5.8@51504


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-28 12:53:59 +00:00
desrosj
f093f1bbae External Libraries: Correct the hoverIntent version used when registering.
Follow up to [50521].

Props david.binda.
Merges [51467] to the 5.8 branch.
Fixes #53715.
Built from https://develop.svn.wordpress.org/branches/5.8@51503


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-28 12:52:58 +00:00
desrosj
8de7e19046 Build/Test Tools: Remove the check for changes to version-controlled files in the Test Old Branch workflow.
This workflow does not perform a `git checkout` and is only used to dispatch workflows for old branches, so this check is not needed here.

Merges [51498] to the 5.8 branch.
Fixes #53799.
Built from https://develop.svn.wordpress.org/branches/5.8@51502


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-28 12:51:00 +00:00
Peter Wilson
ae830d4e4b Bundled Themes: Version Bump 2010, 2011 and 2012.
Version bump three bundled themes to avoid file not found and fatal errors introduced for child themes during the 5.8 release cycle.

* Twenty Ten: Version 3.5 (fatal error & 404)
* Twenty Eleven: Version 3.9 (404)
* Twenty Twelve: Version 3.5 (404)

These updates will be released mid 5.8.1 cycle due to the severity of the issues.

Follow up to [51482,51483].

Props dd32, peterwilsoncc.
Merges [51486] to the 5.8 branch.
Fixes #53777.


Built from https://develop.svn.wordpress.org/branches/5.8@51489


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-26 03:26:57 +00:00
Peter Wilson
22bbec22de Bundled Themes: Use correct path for loading images in block patterns.
By using `get_template_directory_uri()` instead of `get_stylesheet_directory_uri()`, we make sure to include the images from the parent theme.

This avoids displaying missing images in block patterns when using a child theme of Twenty Ten, Twenty Eleven, or Twenty Twelve.

Follow-up to [51033], [51103], [51106].

Props audrasjb, SergeyBiryukov.
Merges [51483] to the 5.8 branch.
Fixes #53769.


Built from https://develop.svn.wordpress.org/branches/5.8@51488


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-26 03:24:57 +00:00
Peter Wilson
538f14245c Twenty Ten: Use correct path for loading block patterns.
By using `get_template_directory()` instead of `get_stylesheet_directory()`, we make sure to include the `block-patterns.php` file from the parent theme.

This avoids a PHP fatal error when using a child theme of Twenty Ten.

Follow-up to [51106].

Props ryelle, sabernhardt, loranrendel, SergeyBiryukov.
Merges [51482] to the 5.8 branch.
Fixes #53752.

Built from https://develop.svn.wordpress.org/branches/5.8@51487


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-26 03:20:59 +00:00
desrosj
3658f5d190 Post WordPress 5.8 version bump.
The 5.8 branch is now 5.8.1-alpha.
Built from https://develop.svn.wordpress.org/branches/5.8@51466


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-20 17:48:58 +00:00
desrosj
add7651d0b WordPress 5.8.
Built from https://develop.svn.wordpress.org/branches/5.8@51464


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-20 16:07:00 +00:00
Peter Wilson
ce8a07686a Upgrade/Install: Add additional files to $_old_files for 5.8.
Follow up to [51134].

Props desrosj.
Merges [51459] to the 5.8 branch.
Fixes #53367.


Built from https://develop.svn.wordpress.org/branches/5.8@51460


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-19 01:27:57 +00:00
Peter Wilson
6b59938770 Build/Test Tools: Update the caniuse browser data and regenerate CSS.
This includes three minor updates to generated CSS files:

- A single `-webkit-` prefix is removed for `min-width`, which was required for Safari <= 10.1 (0.06% total global usage). WordPress only supports the last two versions.
- 2 instances where the `-o-` prefix are added for `tab-size`. This appears to be for Opera Mobile, which has creeped back over the 1% global usage.

Props peterwilsoncc, jorbin, desrosj.
Merges [51456] to the 5.8 branch.
Fixes #53686.

Built from https://develop.svn.wordpress.org/branches/5.8@51458


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-19 00:56:57 +00:00
desrosj
ee3c9c41bc Bundled Themes: Bump bundled theme versions for WordPress 5.8.
This bumps the version for all bundle themes in preparation for release with WordPress 5.8. The new versions are as follows:

- Twenty Twenty-One: 1.4
- Twenty Twenty: 1.8
- Twenty Nineteen: 2.1
- Twenty Seventeen: 2.8
- Twenty Sixteen: 2.5
- Twenty Fifteen: 3.0
- Twenty Fourteen: 3.2
- Twenty Thirteen: 3.4
- Twenty Twelve: 3.4
- Twenty Eleven: 3.8
- Twenty Ten: 3.4

Props mukesh27, kapilpaul, peterwilsoncc.
Merges [51455] to the 5.8 branch.
Fixes #53277.
Built from https://develop.svn.wordpress.org/branches/5.8@51457


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-19 00:45:00 +00:00
desrosj
cfde1a37e5 Post WordPress 5.8 RC4 version bump.
Built from https://develop.svn.wordpress.org/branches/5.8@51447


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51058 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-15 22:03:58 +00:00
desrosj
37be93859d WordPress 5.8 RC4.
Built from https://develop.svn.wordpress.org/branches/5.8@51446


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-15 21:35:57 +00:00
desrosj
a01a99951e Block Editor: Backport fixes targeted for WordPress 5.8 RC4.
This includes:

- Suggestion List: Check if a node exists to scroll into view.
- Autocomplete: reset state for empty text.
- Adds auxiliary class names for editor styles in the widgets editor.
- Extract snackbars into a separate component.
- Rich text: run input rules after composition end.
- iframe: load inline styles.
- Multi select: select all: restore ref callback.
- Writing flow: allow select all from empty selection.
- Post Excerpt: Fix excerpt_more filter conflict and remove wordCount attribute.
- Add the percent unit to the default units in Core. 

Props desrosj, youknowriad.
Merges [51443] to the 5.8 branch.
Fixes #53397.
Built from https://develop.svn.wordpress.org/branches/5.8@51445


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-15 21:14:20 +00:00
desrosj
3ffa646c8c Media: Document edge cases with the new image_editor_output_format filter.
More testing has revealed that the `image_editor_output_format` filter has some interesting edge cases that developers should be aware of when electing to use this filter (see #53667 and #53668).

Because this is a new filter that was intended to be used for experimenting with different ways to handle generating image sizes and has not yet been adopted in the wild, expanding the inline documentation is an acceptable temporary solution while these edge cases are explored further and addressed.

Props mikeschroder, antpb, desrosj, adamsilverstein, ianmjones.
Merges [51442] to the 5.8 branch.
See #53667, #53668, #35725.
Built from https://develop.svn.wordpress.org/branches/5.8@51444


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-15 21:10:59 +00:00
desrosj
41fca9e8ba Media: Fix JS error in Media Library when infinite scroll enabled.
Wrap call to this.updateLoadMoreView() is wrapped in a check that infinite scroll is disabled to prevent JS errors.

Props wildworks, joedolson.
Merges [51440] to the 5.8 branch.
Fixes #53672.
Built from https://develop.svn.wordpress.org/branches/5.8@51441


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-15 17:29:57 +00:00
desrosj
94a93212ba Widgets: Prevent widgets unintentionally being moved to the inactive sidebar.
This fixes a bug where widgets are unintentionally moved to the `wp_inactive_widgets` sidebar when batch updates occur through the REST API.

When batch requests are processed, only `$_wp_sidebars_widgets` is updated by previous calls to `WP_REST_Widgets_Controller::create_item()`. `$sidebars_widgets` is not aware of the new widget’s intended location, and `retrieve_widgets()` mistakenly flags the widget as inactive.

Calling `wp_get_sidebars_widgets()` before `retrieve_widgets()` ensures both global variables match and is intended as a temporary fix until the root cause of the problem can be fixed.

Props zieladam, htmgarcia, timothyblynjacobs.
Merges [51432] to the 5.8 branch.
Fixes #53657.
Built from https://develop.svn.wordpress.org/branches/5.8@51439


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-15 15:42:58 +00:00
desrosj
d06c747962 Media: When resizing WebP images set the compression to "lossy" by default. Fixes a bug where the compression was set to "lossless" when the uploaded WebP images have extended file format (VP8X).
Props adamsilverstein, mikeschroder, mmxxi, linux4me2, azaozz.
Merges [51435] to the 5.8 branch.
Fixes #53653.
Built from https://develop.svn.wordpress.org/branches/5.8@51437


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-15 13:01:58 +00:00
desrosj
cb85548d7c Privacy: Ensure the copy button actually copies the suggested privacy policy text.
Follow up to [50609].

Props walbo, SergeyBiryukov.
Merges [51431] to the 5.8 branch.
Fixes #53652. See #52891.
Built from https://develop.svn.wordpress.org/branches/5.8@51433


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-14 17:14:58 +00:00
desrosj
7cb25d196b Post WordPress 5.8 RC3 version bump.
Built from https://develop.svn.wordpress.org/branches/5.8@51429


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51040 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-14 01:02:56 +00:00
desrosj
73dfd406da WordPress 5.8 RC3.
Built from https://develop.svn.wordpress.org/branches/5.8@51428


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-14 00:40:58 +00:00
desrosj
82b9b1a3a5 Editor: Second round of package updates ahead of RC3.
Props ellatrix, peterwilsoncc, get_dave, mcsf, talldanwp, youknowriad, desrosj.
Merges [51426] to the 5.8 branch.
Fixes #53397.
Built from https://develop.svn.wordpress.org/branches/5.8@51427


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-14 00:03:19 +00:00
desrosj
eba698dba1 Widgets: Validate HTML before saving block widgets.
Props talldanwp, noisysocks, kevin940726, peterwilsoncc.
Merges [51414] and [51423] to the 5.8 branch.
Built from https://develop.svn.wordpress.org/branches/5.8@51424


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-13 18:04:58 +00:00
desrosj
5658a2d03c Block Editor: Include the fixes targeted for WordPress 5.8 RC3.
This includes the following fixes:
 - Safari: see if compositing layer size is more reasonable when position fixed divs are not inserted into content.
 - Site Logo Block: update Site Logo block UI and option syncing.
 - Fix moving inner blocks in the Widgets Customizer.
 - Allow themes to provide empty values for color.duotone and spacing.units
 - Update getTermsInfo() to workaround parsing issue for translatable strings.
 - Specify what settings can be part of settings.layout.
 - Update conditions to hide duotone panel.
 - Prevent entering invalid values in the Query Loop block config.
 - Prevent color panel from showing as empty.
 - Avoid calling gutenberg_ functions within code shipped through WordPress Core.

Props desrosj, youknowriad.
Merges [51421] to the 5.8 branch.
Fixes #53397.
Built from https://develop.svn.wordpress.org/branches/5.8@51422


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-13 17:15:20 +00:00
ryelle
cfba8e5850 Help/About: Update the About section for 5.8.
Update the image links to use the CDN. Use regular text color for headings. Fix two string issues. Remove unnecessary wp-components script & style.
Use a larger image for theme.json on retina screens, and update the spacing of sections on the page.

Props nao, audrasjb, karmatosed, desrosj, javiarce, milana_cap.
Merges [51413] and [51418] to the 5.8 branch.
See #52775.


Built from https://develop.svn.wordpress.org/branches/5.8@51420


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-13 16:18:59 +00:00
desrosj
52977d997c Widgets: Replace wp.editor references in the legacy text widget.
This changes the references to `wp.editor` in the text widget’s JavaScript to `wp.oldEditor`, which is the new location for the old `editor` script that was previously available at `window.wp.editor`. 

Follow up to [51387-51388,51390].

Props spacedmonkey, zieladam, SergeyBiryukov.
Merges [51409] to the 5.8 branch.
Fixes #53437.
Built from https://develop.svn.wordpress.org/branches/5.8@51416


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-13 13:46:04 +00:00
desrosj
7523e1376b Widgets: Use wp_sidebar_description() to retrieve a sidebar’s description.
This switches `WP_REST_Sidebars_Controller` to use `wp_sidebar_description()` for retrieving the description of a given sidebar instead of referencing the value in the `$wp_registered_sidebars` global variable directly.

`wp_sidebar_description()` uses `wp_kses()` to only allow the default list of `$allowed_tags` to be present in a sidebar’s description.

Props timothyblynjacobs, desrosj, SergeyBiryukov.
Merges [51408] to the 5.8 branch.
Fixes #53646.
Built from https://develop.svn.wordpress.org/branches/5.8@51412


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-13 00:10:58 +00:00
desrosj
acd6e52e4f Docs: Various documentation fixes following [51129].
- Typo corrections in filter descriptions.
- DocBlocks are now now wrapped to the next line after 80 characters, and not extending beyond 120 total characters wide.
- Remove unnecessary repeated references to the suggested replacement hooks.
- Adjustments to the indentation for consistency with other emails in Core, allowing the `phpcs:ignore` comment to be removed. 

Props SergeyBiryukov.
Merges [51410] to the 5.8 branch.
Fixes #44314.
Built from https://develop.svn.wordpress.org/branches/5.8@51411


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-13 00:07:59 +00:00
desrosj
7e8542281a TinyMCE: ensure initialization runs in all cases on 'interactive' and 'complete' readyState.
Fixes a rare bug when the init code is inserted in the DOM after the page has finished loading.

Props Collizo4sky, azaozz.
Merges [51402] to the 5.8 branch.
Fixes #53632.
Built from https://develop.svn.wordpress.org/branches/5.8@51407


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-12 13:29:00 +00:00
desrosj
ed40b04676 Bundled Themes: Correct comment formatting in inc/block-patterns.php.
Follow-up to [51045], [51103].

Props kapilpaul, SergeyBiryukov.
See #53359, #52627.
Built from https://develop.svn.wordpress.org/branches/5.8@51406


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-12 13:27:01 +00:00
desrosj
7a157307d8 Docs: Some documentation improvements for wp_check_widget_editor_deps():
- Add missing short description for the function.
- Correct function names in `_doing_it_wrong()` calls.
- Document the usage of `$wp_scripts` and `$wp_styles` globals.
- Update syntax for multi-line comment per the documentation standards. 

Follow-up to [51387], [51388].

Props SergeyBiryukov.
Merges [51390] to the 5.8 branch.
See #53437, #53569.
Built from https://develop.svn.wordpress.org/branches/5.8@51394


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-09 17:59:58 +00:00
desrosj
69868c9648 Widgets: Warn when wp-editor script or wp-edit-post style is enqueued in widgets editor
It is common that plugins erroneously have `wp-editor` or `wp-edit-post` as a
dependency in a script that is loaded in the new widgets editor. This is a smell
since both `@wordpress/editor` and `@wordpress/edit-post` assume the existence
of a global "post" object which the widgets editor does not have.

[51387] fixes the user-facing errors typically caused by this mistake, but we
can go a step further and warn developers about this by calling
`_doing_it_wrong()` when we detect that the `wp-editor` script or `wp-edit-post`
style is enqueued alongside `wp-edit-widgets` or `wp-customize-widgets`.

Props zieladam, spacedmonkey, TimothyBlynJacobs, andraganescu, dlh, noisysocks.
Merges [51388] to the 5.8 branch.
Fixes #53569. See #53437.
Built from https://develop.svn.wordpress.org/branches/5.8@51393


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-09 17:57:59 +00:00
desrosj
5962e1f19f Editor: Merge conflicting wp.editor objects into single, non-conflicting object
The `wp-editor` script (`@wordpress/editor` npm package) is exposed as
`window.wp.editor` in WP Admin. This causes problems, though, as many older
scripts expect to see the older `editor` script available at `window.wp.editor`.

The solution is to export all the members of the older `window.wp.editor` module
in the newer module to maintain backwards compatibility.

Props zieladam, spacedmonkey, TimothyBlynJacobs, andraganescu, noisysocks.
Merges [51387] to the 5.8 branch.
See #53437.
Built from https://develop.svn.wordpress.org/branches/5.8@51392


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-09 17:54:57 +00:00
desrosj
dda2b793fe Block Editor: Fix for theme.json: color.duotone and spacing.units should allow empty sets.
This commit fixes an issue with the color.duotone & spacing.units in which empty values didn't override previous origins, resulting in that a theme couldn't provide an empty set for this via its theme.json.

Props nosolosw, youknowriad, aristath, jorgefilipecosta.
Merges [51383] to the 5.8 branch.
Fixes #53175.
Built from https://develop.svn.wordpress.org/branches/5.8@51386


git-svn-id: http://core.svn.wordpress.org/branches/5.8@50997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-09 01:06:58 +00:00
desrosj
54a19b3fb9 REST API: Ensure a sidebar's widgets property is a list.
When a widget is removed from a sidebar, if it was removed from the middle of the list, the widgets property would become an object with numeric keys.

The sidebars controller now forces the widgets property to be a list.

Props walbo, timothyblynjacobs.
Merges [51377] to the 5.8 branch.
Fixes #53612.
Built from https://develop.svn.wordpress.org/branches/5.8@51385


git-svn-id: http://core.svn.wordpress.org/branches/5.8@50996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-09 01:00:56 +00:00
desrosj
bee64c88cb Script Loader: Update jQuery version to 3.6.0 following the update in [50520].
Props audrasjb, ocean90.
Merges [51380] to the 5.8 branch.
Fixes #52707.
Built from https://develop.svn.wordpress.org/branches/5.8@51384


git-svn-id: http://core.svn.wordpress.org/branches/5.8@50995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-09 00:59:57 +00:00
Aaron Jorbin
2360563683 Posts: Prevent an empty excerpt when groups and nested column blocks are present.
This improves the logic within excerpt_remove_blocks() to better handle innerBlocks. This prevents an empty excerpt from being returned when core/columns, core/column, and core/group blocks are present.

This issue has been surfaced in the Query Loop block, where excerpts can be set to display.

This introduces the excerpt_allowed_wrapper_blocks filter for controlling which blocks should be considered wrapper blocks.

Wrapper blocks and their nested contents are not stripped by excerpt_remove_blocks(), allowing their contents to appear in generated excerpts.

Backports [51348], [51375], [51378], and [51379] to the 5.8 branch.

Fixes #53604.
Props aristath, jorbin, SergeyBiryukov, desrosj.
Unprops jorbin.



Built from https://develop.svn.wordpress.org/branches/5.8@51382


git-svn-id: http://core.svn.wordpress.org/branches/5.8@50993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-08 17:28:58 +00:00
desrosj
0ed55411af Tests: Expand tests for get_block_editor_settings().
This adds unit tests to ensure `get_block_editor_settings()` properly maps some previously experimental features to their correct locations in the array of contextualized block editor settings returned by the function.

Follow up to [51149], [51213].

Props felipeelia, SergeyBiryukov.
Merges [51369] to the 5.8 branch.
Fixes #53458.
Built from https://develop.svn.wordpress.org/branches/5.8@51376


git-svn-id: http://core.svn.wordpress.org/branches/5.8@50987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-07 19:29:57 +00:00
desrosj
904260642f Themes: Remove mention of “FSE” in Core.
“FSE” themes are block themes.

Follow up to [51373].

Unprops desrosj.
Merges [51370-51371] to the 5.8 branch.
Fixes #53497.
Built from https://develop.svn.wordpress.org/branches/5.8@51374


git-svn-id: http://core.svn.wordpress.org/branches/5.8@50985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-07 19:00:57 +00:00
desrosj
ac2f54268c Themes: Remove mention of “FSE” in Core.
“FSE” themes are block themes.

Props SergeyBiryukov.
Merges [51370-51371] to the 5.8 branch.
Fixes #53497.
Built from https://develop.svn.wordpress.org/branches/5.8@51373


git-svn-id: http://core.svn.wordpress.org/branches/5.8@50984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-07 18:59:01 +00:00
Dion Hulse
5a656393e5 Bump Akismet external to 4.1.10.
See #53555.


git-svn-id: http://core.svn.wordpress.org/branches/5.8@50976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-07 01:06:24 +00:00
desrosj
9ed00cd98e Post WordPress 5.8 RC2 version bump.
Built from https://develop.svn.wordpress.org/branches/5.8@51366


git-svn-id: http://core.svn.wordpress.org/branches/5.8@50975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-07 01:05:58 +00:00
desrosj
dfd1094368 WordPress 5.8 RC2.
Built from https://develop.svn.wordpress.org/branches/5.8@51365


git-svn-id: http://core.svn.wordpress.org/branches/5.8@50974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-07 00:37:57 +00:00
desrosj
d6d75499ce Themes: Remove inline comment that is not relevant in WordPress Core.
This removes an inline comment block that was added when importing the `WP_Theme_JSON` class in [50959]. The comment is relevant to the code only when viewed within the context of the Gutenberg plugin.

Props nosolosw, jorbin, SergeyBiryukov.
Merges [51352] to the 5.8 branch.
Fixes #53576.
Built from https://develop.svn.wordpress.org/branches/5.8@51364


git-svn-id: http://core.svn.wordpress.org/branches/5.8@50973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-07 00:07:57 +00:00
Peter Wilson
051e04b3cc Block Editor: Update packages with latest fixes for 5.8 RC2
Includes the following fixes:

- Query Block: Type validation of `WP_Query` parameters.

Props ntsekouras, stevehenty, peterwilsoncc, desrosj.
Merges [51362] to the 5.8 branch.
Fixes #53397.


Built from https://develop.svn.wordpress.org/branches/5.8@51363


git-svn-id: http://core.svn.wordpress.org/branches/5.8@50972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-07 00:06:17 +00:00
desrosj
dae3e79ad8 Tests: Update the wp-api-generated.js fixture.
Follow up to [51241].

Props johnbillion, peterwilsoncc.
Merges [51351] to the 5.8 branch.
Fixes #53606.
Built from https://develop.svn.wordpress.org/branches/5.8@51361


git-svn-id: http://core.svn.wordpress.org/branches/5.8@50970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-06 23:47:58 +00:00
desrosj
2ca8b6ecd7 Help/About: Update the About section for 5.8.
Add the images for About, Freedoms, and Privacy. Update the styles on all About section pages to match the About page style. Fix string issues, missing link wrapper, duplicate copy.

Also updates placeholder links on the page.

Props chanthaboune, kellychoffman, javiarce, ryokuhi, alanjacobmathew, desrosj, SergeyBiryukov, audrasjb.
Merges [51356] and [51359] to the 5.8 branch.
See #52775.
Built from https://develop.svn.wordpress.org/branches/5.8@51360


git-svn-id: http://core.svn.wordpress.org/branches/5.8@50969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-06 23:42:59 +00:00
John Blackbourn
24500cc798 Build/Test Tools: Add assertions to ensure version-controlled files are not modified during CI, and fix the grunt clean command.
Some tests and some commands that run during the build steps modify files that are under version control. This adds assertions to ensure that these files don't remain in a modified state after the test runs on CI.

This also fixes the `grunt clean` command which erroneously deletes `script-loader-packages.php`. This file is re-populated during the build, but deleting it during the clean is undesirable.

Merges [51355] to the 5.8 branch.

Fixes #53606

Built from https://develop.svn.wordpress.org/branches/5.8@51357


git-svn-id: http://core.svn.wordpress.org/branches/5.8@50966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-06 19:13:57 +00:00
desrosj
bf186a5712 Docs: Correct the @since tag for the user_erasure_fulfillment_email_headers filter.
Props johnbillion.
See #44314, #53461.
Built from https://develop.svn.wordpress.org/branches/5.8@51354


git-svn-id: http://core.svn.wordpress.org/branches/5.8@50963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-06 18:24:57 +00:00
desrosj
636f00b5f2 REST API: Add the $request parameter to methods checking permissions.
This adds the `$request` parameter to the permissions_check() methods within `WP_REST_Widgets_Controller` and adds $request as an allowed parameter to the `permissions_check()` method within `WP_REST_Templates_Controller`.

Even when this parameter is not used by default, it should be implemented to support the class being extended and the method overridden.

Props johnbillion, timothyblynjacobs.
Merges [51349] to the 5.8 branch.
Fixes #53593.
Built from https://develop.svn.wordpress.org/branches/5.8@51350


git-svn-id: http://core.svn.wordpress.org/branches/5.8@50959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-06 15:56:59 +00:00
desrosj
c58dfa9dfe Editor: Ensure global styles are loaded in the footer when loading core assets individually.
This fixes the logic in `wp_enqueue_global_styles()` to ensure that global styles are loaded in the footer when a site opts-in to loading Core block assets individually.

This fixes a bug where styles defined in `themes.json` are not respected.

Props walbo, nosolosw, mcsf, aristath, desrosj, jorbin.
Merges [51309] to the 5.8 branch.
Fixes #53494.
Built from https://develop.svn.wordpress.org/branches/5.8@51347


git-svn-id: http://core.svn.wordpress.org/branches/5.8@50956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-06 15:17:59 +00:00
desrosj
fcfaf186fa Block Editor: Update packages with latest fixes for 5.8 RC2
Includes the following fixes:

- [Block Library]: Less warnings when blocks try to render themselves.
- Reset z-index on focused widget form
- Refactor appender margin.
- Fix slash inserter for widgets screen.
- Widget screens: set html block as freeform content handler.
- Widget Block: widget_id is undefined when a widget is placed.
- Add <CopyHandler> to WidgetAreasBlockEditorProvider
- Add width: 100% to components-base-control inside wp-block-legacy-widget
- [Widgets editor] Replace the "technical" error notice a more user-friendly one
- Fix legacy widget height overflow
- Fix "Select all" behavior in the editor
- Increase specificity of the NoPreview CSS rules to avoid conflicts with theme styles
- Fix move to widget area checkmark
- Replace legacy widget icon with its new version
- [Block Library - Query Loop]: Set default block variations not to inherit from global query 

Merges [51344] to the 5.8 branch.
Fixes #53397.
Built from https://develop.svn.wordpress.org/branches/5.8@51346


git-svn-id: http://core.svn.wordpress.org/branches/5.8@50955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-06 15:16:19 +00:00
Aaron Jorbin
21ec6417a4 Bundled Themes: Correct customzier typo.
Merges [51343] to 5.8 branch.

This was found in Twenty Twenty-One and Twenty Nineteen.

Props audrasjb, spytzo, sabernhardt, desrosj.
Fixes #53598.

Built from https://develop.svn.wordpress.org/branches/5.8@51345


git-svn-id: http://core.svn.wordpress.org/branches/5.8@50954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-06 14:47:58 +00:00
desrosj
65474b08f6 Docs: Correct @see references for hooks in the get_option() description.
Follow-up to [51050].

Props SergeyBiryukov.
Merges [51324] to the 5.8 branch.
See #52628, #53461.
Built from https://develop.svn.wordpress.org/branches/5.8@51340


git-svn-id: http://core.svn.wordpress.org/branches/5.8@50949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-06 12:44:58 +00:00
desrosj
fa62b16d6d Bundled Themes: Correct @since tags for block patterns.
Follow-up to [49347], [49348], [49583], [49584], [49763], [51103].

Props SergeyBiryukov.
Merges [51324] to the 5.8 branch.
See #52628, #53461.
Built from https://develop.svn.wordpress.org/branches/5.8@51339


git-svn-id: http://core.svn.wordpress.org/branches/5.8@50948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-06 12:41:02 +00:00
desrosj
474bb753b3 Twenty Twenty: Add missing documentation for some filters.
Add missing `@since` tags for some functions.

Correct alignment of some `@param` tags.

Follow-up to [46271], [46278], [51304].

Props SergeyBiryukov.
Merges [51322] to the 5.8 branch.
See #52628, #53461.
Built from https://develop.svn.wordpress.org/branches/5.8@51338


git-svn-id: http://core.svn.wordpress.org/branches/5.8@50947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-06 12:35:57 +00:00
desrosj
6641ddca11 Twenty Twenty-One: Ensure the dropdown arrow displays for <select> elements when focused.
Props isabel_brison, zieladam, poena.
Merges [51296] to the 5.8 branch.
Fixes #53560.
Built from https://develop.svn.wordpress.org/branches/5.8@51336


git-svn-id: http://core.svn.wordpress.org/branches/5.8@50945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-06 12:29:57 +00:00
desrosj
0d0a8817d6 Update the IRC link from Freenode to Libera.chat.
Update follows the update to https://make.wordpress.org/support/handbook/appendix/other-support-locations/introduction-to-irc/.

Fixes #53590.
Props empatogen, audrasjb, jorbin.
Built from https://develop.svn.wordpress.org/branches/5.8@51334


git-svn-id: http://core.svn.wordpress.org/branches/5.8@50943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-06 12:23:58 +00:00
Aaron Jorbin
782af9f9d5 Remove unnecessary function_exists check in get_the_block_template_html
Merges [51321] to the 5.8 branch. Reviewed by SergeyBiryukov.

WordPress can be confident that WordPress functions exist.

I forgot this function existed.
And I thought that it would fatal, but it didn't
And it was so nice
So peaceful and quiet
I forgot this function existed
It isn't love, it isn't hate, it's just indifference

Introduced in [51003].

Props walbo.
Fixes #53578. See #53176.


Built from https://develop.svn.wordpress.org/branches/5.8@51325


git-svn-id: http://core.svn.wordpress.org/branches/5.8@50934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-03 15:15:56 +00:00
desrosj
47c74865db Twenty Twenty-One: Add missing documentation for some filters.
Add missing `@since` tags for some functions.

Follow-up to [49216], [49220], [49854], [51294].

Props SergeyBiryukov.
Merges [51304] to the 5.8 branch.
See #52628, #53461.
Built from https://develop.svn.wordpress.org/branches/5.8@51320


git-svn-id: http://core.svn.wordpress.org/branches/5.8@50929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-02 19:08:57 +00:00
desrosj
b6c637f5d4 Twenty Twenty-One: Improve documentation per the documentation standards:
- Remove unnecessary `@access` tags that were previously removed from core.
- Remove an empty line between `@param` and `@return` tags.
- Correct alignment of `@param` tags. 

Follow-up to [41161], [41162], [41168], [49216], [49220].

Props SergeyBiryukov.
Merges [51294] to the 5.8 branch.
See #52628, #53461.
Built from https://develop.svn.wordpress.org/branches/5.8@51319


git-svn-id: http://core.svn.wordpress.org/branches/5.8@50928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-02 19:06:57 +00:00
desrosj
23805b2511 Docs: Improve documentation for optional parameters in WP_Theme_JSON methods per the documentation standards.
Additionally:

- Remove an empty line between `@param` and `@return` tags.
- Correct alignment of `@param` tags. 

Follow-up to [50959], [50973], [51149], [51284], [51289].

Props SergeyBiryukov.
Merges [51292] to the 5.8 branch.
See #52628, #53461.
Built from https://develop.svn.wordpress.org/branches/5.8@51318


git-svn-id: http://core.svn.wordpress.org/branches/5.8@50927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-02 19:05:57 +00:00
desrosj
aacf626adf Docs: Remove an empty line between @param and @return tags in some newly added REST API methods, per the documentation standards.
Follow-up to [48242], [49925], [51003], [51021].

Props SergeyBiryukov.
Merges [51289] to the 5.8 branch.
See #52628, #53461.
Built from https://develop.svn.wordpress.org/branches/5.8@51317


git-svn-id: http://core.svn.wordpress.org/branches/5.8@50926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-02 19:04:56 +00:00
desrosj
f51b2d6845 Docs: List the expected type first instead of WP_Error in some REST API methods added in 5.8.
Follow-up to [46696], [49929], [50995], [51021].

Props SergeyBiryukov.
Merges [51286] to the 5.8 branch.
See #52628, #53461.
Built from https://develop.svn.wordpress.org/branches/5.8@51316


git-svn-id: http://core.svn.wordpress.org/branches/5.8@50925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-02 19:03:57 +00:00
desrosj
872b22de7a Docs: Improve documentation for optional parameters in WP_Theme_JSON_Resolver methods per the documentation standards.
Move `add_action()` call to `wp-includes/default-filters.php`.

Follow-up to [50959], [51221].

Props SergeyBiryukov.
Merges [51284] to the 5.8 branch.
See #52628, #53461.
Built from https://develop.svn.wordpress.org/branches/5.8@51315


git-svn-id: http://core.svn.wordpress.org/branches/5.8@50924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-02 19:02:58 +00:00
desrosj
9870ce6213 Docs: Add missing @since tags for some WP_Theme_JSON methods.
Docs: Update syntax for multi-line comments per the documentation standards.

Follow-up to [50959], [50967], [50973], [51051], [51089], [51149].

Props SergeyBiryukov.
Merges [51283] to the 5.8 branch.
See #52628, #53461.
Built from https://develop.svn.wordpress.org/branches/5.8@51314


git-svn-id: http://core.svn.wordpress.org/branches/5.8@50923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-02 19:00:57 +00:00
desrosj
6dafb3154f Docs: Adjust wp_dashboard_browser_nag() DocBlock per the documentation standards.
Follow-up to [51117], [51119], [51120].

Props SergeyBiryukov.
Merges [51282] to the 5.8 branch.
See #52628, #53461.
Built from https://develop.svn.wordpress.org/branches/5.8@51313


git-svn-id: http://core.svn.wordpress.org/branches/5.8@50922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-02 18:59:56 +00:00
desrosj
6673ddf2a1 Docs: Add @ticket references to some WP_Theme_JSON tests.
Follow-up to [50973], [51054].

Props SergeyBiryukov.
Merges [51280] to the 5.8 branch.
See #52628, #53461.
Built from https://develop.svn.wordpress.org/branches/5.8@51312


git-svn-id: http://core.svn.wordpress.org/branches/5.8@50921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-02 18:58:58 +00:00
desrosj
20b93039f3 Docs: Add missing @since tags for some REST API methods added in 5.8.
Follow-up to [50995], [51021].

Props SergeyBiryukov.
Merges [51280] to the 5.8 branch.
See #52628, #53461.
Built from https://develop.svn.wordpress.org/branches/5.8@51311


git-svn-id: http://core.svn.wordpress.org/branches/5.8@50920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-02 18:55:00 +00:00
desrosj
8d871746a4 Docs: Document the globals used in WP_REST_Widget_Types_Controller and WP_REST_Widgets_Controller.
Follow-up to [50995].

Props SergeyBiryukov.
Merges [51279] to the 5.8 branch.
See #52628, #53461.
Built from https://develop.svn.wordpress.org/branches/5.8@51310


git-svn-id: http://core.svn.wordpress.org/branches/5.8@50919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-02 18:53:00 +00:00
desrosj
07533bff1e Editor: Ensure the Query block pattern category is translatable.
Because the `__()` translation function was used here, the Query block pattern category string is not translatable. `_x()` is the correct function here as that passes the second parameter as context and not text domain.

Follow up to [50948].

Props walbo.
Merges [51307] to the 5.8 branch.
Fixes #53577.
Built from https://develop.svn.wordpress.org/branches/5.8@51308


git-svn-id: http://core.svn.wordpress.org/branches/5.8@50917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-02 18:38:57 +00:00
desrosj
4522b57280 Coding Standards: Add missing visibility keywords to WP_Theme, WP_Theme_JSON, and WP_Theme_JSON_Resolver tests.
Follow-up to [50959], [50960], [50967].

Props SergeyBiryukov.
Merges [51287] to the 5.8 branch.
Fixes #52627.
Built from https://develop.svn.wordpress.org/branches/5.8@51305


git-svn-id: http://core.svn.wordpress.org/branches/5.8@50914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-02 12:25:58 +00:00
desrosj
fe3ecbcade Docs: Correct documentation for rest_{$post_type}_query and rest_{$taxonomy}_query` filters.
Synchronize documentation for related `rest_{$object_type}_query` filters for consistency.

Props dlh.
Merges [51293] to the 5.8 branch.
Fixes #53568.
Built from https://develop.svn.wordpress.org/branches/5.8@51295


git-svn-id: http://core.svn.wordpress.org/branches/5.8@50904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-01 18:51:02 +00:00
desrosj
0420eac464 Script Loader: Revert [51267].
This was missed in [51268] when reverting [51259-51260,51265].

Props pbiron.
Merges [51288] to the 5.8 branch.
See #53397.
Built from https://develop.svn.wordpress.org/branches/5.8@51291


git-svn-id: http://core.svn.wordpress.org/branches/5.8@50900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-06-30 18:48:58 +00:00
desrosj
337cfb97c1 REST API: Allow multiple widgets to be deleted in a single batch request.
This resets the `WP_Widget::$updated` flag when deleting a widget, to avoid blocking all future updates in a request.

Props noisysocks, andraganescu.
Merges [51277] to the 5.8 branch.
Fixes #53557.
Built from https://develop.svn.wordpress.org/branches/5.8@51290


git-svn-id: http://core.svn.wordpress.org/branches/5.8@50899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-06-30 18:47:01 +00:00
Peter Wilson
e59db27f8c Security: Add 5.8 to the list of versions receiving security updates.
Props desrosj.
Merges [51274] to the 5.8 branch.

Built from https://develop.svn.wordpress.org/branches/5.8@51275


git-svn-id: http://core.svn.wordpress.org/branches/5.8@50884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-06-30 04:14:49 +00:00
desrosj
7df5273e8b Branch 5.8
Built from https://develop.svn.wordpress.org/branches/5.8@51271


git-svn-id: http://core.svn.wordpress.org/branches/5.8@50880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-06-30 03:53:09 +00:00
2715 changed files with 302774 additions and 426693 deletions

View File

@@ -1,6 +1,6 @@
WordPress - Web publishing software
Copyright 2011-2023 by the contributors
Copyright 2011-2021 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

@@ -13,7 +13,7 @@
<p style="text-align: center">Semantic Personal Publishing Platform</p>
<h2>First Things First</h2>
<p>Welcome. WordPress is a very special project to me. Every developer and contributor adds something unique to the mix, and together we create something beautiful that I am proud to be a part of. Thousands of hours have gone into WordPress, and we are dedicated to making it better every day. Thank you for making it part of your world.</p>
<p>Welcome. WordPress is a very special project to me. Every developer and contributor adds something unique to the mix, and together we create something beautiful that I&#8217;m proud to be a part of. Thousands of hours have gone into WordPress, and we&#8217;re dedicated to making it better every day. Thank you for making it part of your world.</p>
<p style="text-align: right">&#8212; Matt Mullenweg</p>
<h2>Installation: Famous 5-minute install</h2>
@@ -21,7 +21,7 @@
<li>Unzip the package in an empty directory and upload everything.</li>
<li>Open <span class="file"><a href="wp-admin/install.php">wp-admin/install.php</a></span> in your browser. It will take you through the process to set up a <code>wp-config.php</code> file with your database connection details.
<ol>
<li>If for some reason this does not work, do not worry. It may not work on all web hosts. Open up <code>wp-config-sample.php</code> with a text editor like WordPad or similar and fill in your database connection details.</li>
<li>If for some reason this doesn&#8217;t work, don&#8217;t worry. It doesn&#8217;t work on all web hosts. Open up <code>wp-config-sample.php</code> with a text editor like WordPad or similar and fill in your database connection details.</li>
<li>Save the file as <code>wp-config.php</code> and upload it.</li>
<li>Open <span class="file"><a href="wp-admin/install.php">wp-admin/install.php</a></span> in your browser.</li>
</ol>
@@ -47,34 +47,34 @@
</ol>
<h2>Migrating from other systems</h2>
<p>WordPress can <a href="https://wordpress.org/documentation/article/importing-content/">import from a number of systems</a>. First you need to get WordPress installed and working as described above, before using <a href="wp-admin/import.php">our import tools</a>.</p>
<p>WordPress can <a href="https://wordpress.org/support/article/importing-content/">import from a number of systems</a>. First you need to get WordPress installed and working as described above, before using <a href="wp-admin/import.php">our import tools</a>.</p>
<h2>System Requirements</h2>
<ul>
<li><a href="https://secure.php.net/">PHP</a> version <strong>5.6.20</strong> or greater.</li>
<li><a href="https://www.mysql.com/">MySQL</a> version <strong>5.0</strong> or greater.</li>
<li><a href="https://secure.php.net/">PHP</a> version <strong>5.6.20</strong> or higher.</li>
<li><a href="https://www.mysql.com/">MySQL</a> version <strong>5.0</strong> or higher.</li>
</ul>
<h3>Recommendations</h3>
<ul>
<li><a href="https://secure.php.net/">PHP</a> version <strong>7.4</strong> or greater.</li>
<li><a href="https://www.mysql.com/">MySQL</a> version <strong>5.7</strong> or greater OR <a href="https://mariadb.org/">MariaDB</a> version <strong>10.3</strong> or greater.</li>
<li><a href="https://secure.php.net/">PHP</a> version <strong>7.4</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>
<li>A link to <a href="https://wordpress.org/">wordpress.org</a> on your site.</li>
</ul>
<h2>Online Resources</h2>
<p>If you have any questions that are not addressed in this document, please take advantage of WordPress&#8217; numerous online resources:</p>
<p>If you have any questions that aren&#8217;t addressed in this document, please take advantage of WordPress&#8217; numerous online resources:</p>
<dl>
<dt><a href="https://wordpress.org/documentation/">HelpHub</a></dt>
<dd>HelpHub is the encyclopedia of all things WordPress. It is the most comprehensive source of information for WordPress available.</dd>
<dt><a href="https://codex.wordpress.org/">The WordPress Codex</a></dt>
<dd>The Codex is the encyclopedia of all things WordPress. It is the most comprehensive source of information for WordPress available.</dd>
<dt><a href="https://wordpress.org/news/">The WordPress Blog</a></dt>
<dd>This is where you&#8217;ll find the latest updates and news related to WordPress. Recent WordPress news appears in your administrative dashboard by default.</dd>
<dt><a href="https://planet.wordpress.org/">WordPress Planet</a></dt>
<dd>The WordPress Planet is a news aggregator that brings together posts from WordPress blogs around the web.</dd>
<dt><a href="https://wordpress.org/support/forums/">WordPress Support Forums</a></dt>
<dd>If you&#8217;ve looked everywhere and still cannot find an answer, the support forums are very active and have a large community ready to help. To help them help you be sure to use a descriptive thread title and describe your question in as much detail as possible.</dd>
<dd>If you&#8217;ve looked everywhere and still can&#8217;t find an answer, the support forums are very active and have a large community ready to help. To help them help you be sure to use a descriptive thread title and describe your question in as much detail as possible.</dd>
<dt><a href="https://make.wordpress.org/support/handbook/appendix/other-support-locations/introduction-to-irc/">WordPress <abbr>IRC</abbr> (Internet Relay Chat) Channel</a></dt>
<dd>There is an online chat channel that is used for discussion among people who use WordPress and occasionally support topics. The above wiki page should point you in the right direction. (<a href="https://web.libera.chat/#wordpress">irc.libera.chat #wordpress</a>)</dd>
</dl>
@@ -88,7 +88,7 @@
<h2>Share the Love</h2>
<p>WordPress has no multi-million dollar marketing campaign or celebrity sponsors, but we do have something even better&#8212;you. If you enjoy WordPress please consider telling a friend, setting it up for someone less knowledgeable than yourself, or writing the author of a media article that overlooks us.</p>
<p>WordPress is the official continuation of <a href="https://cafelog.com/">b2/caf&#233;log</a>, which came from Michel V. The work has been continued by the <a href="https://wordpress.org/about/">WordPress developers</a>. If you would like to support WordPress, please consider <a href="https://wordpress.org/donate/">donating</a>.</p>
<p>WordPress is the official continuation of <a href="http://cafelog.com/">b2/caf&#233;log</a>, which came from Michel V. The work has been continued by the <a href="https://wordpress.org/about/">WordPress developers</a>. If you would like to support WordPress, please consider <a href="https://wordpress.org/donate/">donating</a>.</p>
<h2>License</h2>
<p>WordPress is free software, and is released under the terms of the <abbr>GPL</abbr> (GNU General Public License) version 2 or (at your option) any later version. See <a href="license.txt">license.txt</a>.</p>

View File

@@ -105,11 +105,10 @@ add_action( 'wp_head', 'do_activate_header' );
function wpmu_activate_stylesheet() {
?>
<style type="text/css">
.wp-activate-container { width: 90%; margin: 0 auto; }
.wp-activate-container form { margin-top: 2em; }
#submit, #key { width: 100%; font-size: 24px; box-sizing: border-box; }
#language { margin-top: 0.5em; }
.wp-activate-container .error { background: #f66; color: #333; }
form { margin-top: 2em; }
#submit, #key { width: 90%; font-size: 24px; }
#language { margin-top: .5em; }
.error { background: #f66; }
span.h3 { padding: 0 8px; font-size: 1.3em; font-weight: 600; }
</style>
<?php
@@ -131,7 +130,7 @@ $blog_details = get_blog_details();
<form name="activateform" id="activateform" method="post" action="<?php echo network_site_url( $blog_details->path . 'wp-activate.php' ); ?>">
<p>
<label for="key"><?php _e( 'Activation Key:' ); ?></label>
<br /><input type="text" name="key" id="key" value="" size="50" autofocus="autofocus" />
<br /><input type="text" name="key" id="key" value="" size="50" />
</p>
<p class="submit">
<input id="submit" type="submit" name="Submit" class="submit" value="<?php esc_attr_e( 'Activate' ); ?>" />
@@ -214,5 +213,9 @@ $blog_details = get_blog_details();
?>
</div>
</div>
<script type="text/javascript">
var key_input = document.getElementById('key');
key_input && key_input.focus();
</script>
<?php
get_footer( 'wp-activate' );

File diff suppressed because one or more lines are too long

View File

@@ -27,8 +27,8 @@ send_origin_headers();
header( 'Content-Type: text/html; charset=' . get_option( 'blog_charset' ) );
header( 'X-Robots-Tag: noindex' );
// Require a valid action parameter.
if ( empty( $_REQUEST['action'] ) || ! is_scalar( $_REQUEST['action'] ) ) {
// Require an action parameter.
if ( empty( $_REQUEST['action'] ) ) {
wp_die( '0', 400 );
}
@@ -153,8 +153,7 @@ $core_actions_post_deprecated = array(
'health-check-background-updates',
'health-check-loopback-requests',
);
$core_actions_post = array_merge( $core_actions_post, $core_actions_post_deprecated );
$core_actions_post = array_merge( $core_actions_post, $core_actions_post_deprecated );
// Register core Ajax calls.
if ( ! empty( $_GET['action'] ) && in_array( $_GET['action'], $core_actions_get, true ) ) {
@@ -169,7 +168,7 @@ add_action( 'wp_ajax_nopriv_generate-password', 'wp_ajax_nopriv_generate_passwor
add_action( 'wp_ajax_nopriv_heartbeat', 'wp_ajax_nopriv_heartbeat', 1 );
$action = $_REQUEST['action'];
$action = ( isset( $_REQUEST['action'] ) ) ? $_REQUEST['action'] : '';
if ( is_user_logged_in() ) {
// If no action is registered, return a Bad Request response.
@@ -202,6 +201,5 @@ if ( is_user_logged_in() ) {
*/
do_action( "wp_ajax_nopriv_{$action}" );
}
// Default status.
wp_die( '0' );

View File

@@ -18,14 +18,13 @@ if ( ! defined( 'WP_ADMIN' ) ) {
* @global string $hook_suffix
* @global WP_Screen $current_screen WordPress current screen object.
* @global WP_Locale $wp_locale WordPress date and time locale object.
* @global string $pagenow The filename of the current screen.
* @global string $pagenow
* @global string $update_title
* @global int $total_update_count
* @global string $parent_file
* @global string $typenow The post type of the current screen.
*/
global $title, $hook_suffix, $current_screen, $wp_locale, $pagenow,
$update_title, $total_update_count, $parent_file, $typenow;
$update_title, $total_update_count, $parent_file;
// Catch plugins that include admin-header.php before admin.php completes.
if ( empty( $current_screen ) ) {
@@ -49,23 +48,8 @@ if ( $admin_title === $title ) {
/* translators: Admin screen title. %s: Admin screen name. */
$admin_title = sprintf( __( '%s &#8212; WordPress' ), $title );
} else {
$screen_title = $title;
if ( 'post' === $current_screen->base && 'add' !== $current_screen->action ) {
$post_title = get_the_title();
if ( ! empty( $post_title ) ) {
$post_type_obj = get_post_type_object( $typenow );
$screen_title = sprintf(
/* translators: Editor admin screen title. 1: "Edit item" text for the post type, 2: Post title. */
__( '%1$s &#8220;%2$s&#8221;' ),
$post_type_obj->labels->edit_item,
$post_title
);
}
}
/* translators: Admin screen title. 1: Admin screen name, 2: Network or site name. */
$admin_title = sprintf( __( '%1$s &lsaquo; %2$s &#8212; WordPress' ), $screen_title, $admin_title );
$admin_title = sprintf( __( '%1$s &lsaquo; %2$s &#8212; WordPress' ), $title, $admin_title );
}
if ( wp_is_recovery_mode() ) {
@@ -97,7 +81,7 @@ wp_enqueue_script( 'svg-painter' );
$admin_body_class = preg_replace( '/[^a-z0-9_-]+/i', '-', $hook_suffix );
?>
<script type="text/javascript">
addLoadEvent = function(func){if(typeof jQuery!=='undefined')jQuery(function(){func();});else if(typeof wpOnload!=='function'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}};
addLoadEvent = function(func){if(typeof jQuery!=='undefined')jQuery(document).ready(func);else if(typeof wpOnload!=='function'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}};
var ajaxurl = '<?php echo esc_js( admin_url( 'admin-ajax.php', 'relative' ) ); ?>',
pagenow = '<?php echo esc_js( $current_screen->id ); ?>',
typenow = '<?php echo esc_js( $current_screen->post_type ); ?>',
@@ -148,7 +132,7 @@ do_action( 'admin_print_scripts' );
/**
* Fires in head section for a specific admin page.
*
* The dynamic portion of the hook name, `$hook_suffix`, refers to the hook suffix
* The dynamic portion of the hook, `$hook_suffix`, refers to the hook suffix
* for the admin page.
*
* @since 2.1.0

View File

@@ -29,12 +29,7 @@ nocache_headers();
/** This action is documented in wp-admin/admin.php */
do_action( 'admin_init' );
$action = ! empty( $_REQUEST['action'] ) ? $_REQUEST['action'] : '';
// Reject invalid parameters.
if ( ! is_scalar( $action ) ) {
wp_die( '', 400 );
}
$action = empty( $_REQUEST['action'] ) ? '' : $_REQUEST['action'];
if ( ! is_user_logged_in() ) {
if ( empty( $action ) ) {
@@ -45,11 +40,6 @@ if ( ! is_user_logged_in() ) {
*/
do_action( 'admin_post_nopriv' );
} else {
// If no action is registered, return a Bad Request response.
if ( ! has_action( "admin_post_nopriv_{$action}" ) ) {
wp_die( '', 400 );
}
/**
* Fires on a non-authenticated admin post request for the given action.
*
@@ -69,11 +59,6 @@ if ( ! is_user_logged_in() ) {
*/
do_action( 'admin_post' );
} else {
// If no action is registered, return a Bad Request response.
if ( ! has_action( "admin_post_{$action}" ) ) {
wp_die( '', 400 );
}
/**
* Fires on an authenticated admin post request for the given action.
*

View File

@@ -116,16 +116,16 @@ $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.
* The remaining variables are imported as globals elsewhere, declared as globals here.
* $pagenow is set in vars.php
* $wp_importers is sometimes set in wp-admin/includes/import.php
* The remaining variables are imported as globals elsewhere, declared as globals here
*
* @global string $pagenow The filename of the current screen.
* @global string $pagenow
* @global array $wp_importers
* @global string $hook_suffix
* @global string $plugin_page
* @global string $typenow The post type of the current screen.
* @global string $taxnow The taxonomy of the current screen.
* @global string $typenow
* @global string $taxnow
*/
global $pagenow, $wp_importers, $hook_suffix, $plugin_page, $typenow, $taxnow;
@@ -320,24 +320,13 @@ if ( isset( $plugin_page ) ) {
*
* The dynamic portion of the hook name, `$importer`, refers to the importer slug.
*
* Possible hook names include:
*
* - `load-importer-blogger`
* - `load-importer-wpcat2tag`
* - `load-importer-livejournal`
* - `load-importer-mt`
* - `load-importer-rss`
* - `load-importer-tumblr`
* - `load-importer-wordpress`
*
* @since 3.5.0
*/
do_action( "load-importer-{$importer}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
// Used in the HTML title tag.
$title = __( 'Import' );
$parent_file = 'tools.php';
$submenu_file = 'import.php';
$title = __( 'Import' );
if ( ! isset( $_GET['noheader'] ) ) {
require_once ABSPATH . 'wp-admin/admin-header.php';
@@ -376,7 +365,7 @@ if ( isset( $plugin_page ) ) {
* The load-* hook fires in a number of contexts. This hook is for core screens.
*
* The dynamic portion of the hook name, `$pagenow`, is a global variable
* referring to the filename of the current screen, such as 'admin.php',
* referring to the filename of the current page, such as 'admin.php',
* 'post-new.php' etc. A complete hook for the latter would be
* 'load-post-new.php'.
*

View File

@@ -74,7 +74,7 @@ if ( isset( $_REQUEST['attachment_id'] ) && (int) $_REQUEST['attachment_id'] &&
</span>
<?php
if ( current_user_can( 'edit_post', $id ) ) {
echo '<a class="edit-attachment" href="' . esc_url( get_edit_post_link( $id ) ) . '">' . _x( 'Edit', 'media item' ) . '</a>';
echo '<a class="edit-attachment" href="' . esc_url( get_edit_post_link( $id ) ) . '" target="_blank">' . _x( 'Edit', 'media item' ) . '</a>';
} else {
echo '<span class="edit-attachment">' . _x( 'Success', 'media item' ) . '</span>';
}

View File

@@ -62,7 +62,6 @@ if ( isset( $_POST['action'] ) && 'authorize_application_password' === $_POST['a
}
}
// Used in the HTML title tag.
$title = __( 'Authorize Application' );
$app_name = ! empty( $_REQUEST['app_name'] ) ? $_REQUEST['app_name'] : '';
@@ -91,7 +90,7 @@ if ( is_wp_error( $is_valid ) ) {
if ( wp_is_site_protected_by_basic_auth( 'front' ) ) {
wp_die(
__( 'Your website appears to use Basic Authentication, which is not currently compatible with application passwords.' ),
__( 'Your website appears to use Basic Authentication, which is not currently compatible with Application Passwords.' ),
__( 'Cannot Authorize Application' ),
array(
'response' => 501,
@@ -148,42 +147,30 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<?php
printf(
/* translators: %s: Application name. */
__( 'Would you like to give the application identifying itself as %s access to your account? You should only do this if you trust the application in question.' ),
__( 'Would you like to give the application identifying itself as %s access to your account? You should only do this if you trust the app in question.' ),
'<strong>' . esc_html( $app_name ) . '</strong>'
);
?>
</p>
<?php else : ?>
<p><?php _e( 'Would you like to give this application access to your account? You should only do this if you trust the application in question.' ); ?></p>
<p><?php _e( 'Would you like to give this application access to your account? You should only do this if you trust the app in question.' ); ?></p>
<?php endif; ?>
<?php
if ( is_multisite() ) {
$blogs = get_blogs_of_user( $user->ID, true );
$blogs_count = count( $blogs );
if ( $blogs_count > 1 ) {
?>
<p>
<?php
/* translators: 1: URL to my-sites.php, 2: Number of sites the user has. */
$message = _n(
'This will grant access to <a href="%1$s">the %2$s site in this installation that you have permissions on</a>.',
'This will grant access to <a href="%1$s">all %2$s sites in this installation that you have permissions on</a>.',
$blogs_count
);
if ( is_super_admin() ) {
/* translators: 1: URL to my-sites.php, 2: Number of sites the user has. */
$message = _n(
'This will grant access to <a href="%1$s">the %2$s site on the network as you have Super Admin rights</a>.',
'This will grant access to <a href="%1$s">all %2$s sites on the network as you have Super Admin rights</a>.',
$blogs_count
);
}
printf(
$message,
/* translators: 1: URL to my-sites.php, 2: Number of sites the user has. */
_n(
'This will grant access to <a href="%1$s">the %2$s site in this installation that you have permissions on</a>.',
'This will grant access to <a href="%1$s">all %2$s sites in this installation that you have permissions on</a>.',
$blogs_count
),
admin_url( 'my-sites.php' ),
number_format_i18n( $blogs_count )
);
@@ -237,7 +224,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<div class="form-field">
<label for="app_name"><?php _e( 'New Application Password Name' ); ?></label>
<input type="text" id="app_name" name="app_name" value="<?php echo esc_attr( $app_name ); ?>" required />
<input type="text" id="app_name" name="app_name" value="<?php echo esc_attr( $app_name ); ?>" placeholder="<?php esc_attr_e( 'WordPress App on My Phone' ); ?>" required />
</div>
<?php
@@ -250,8 +237,8 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
* The array of request data. All arguments are optional and may be empty.
*
* @type string $app_name The suggested name of the application.
* @type string $success_url The URL the user will be redirected to after approving the application.
* @type string $reject_url The URL the user will be redirected to after rejecting the application.
* @type string $success_url The url the user will be redirected to after approving the application.
* @type string $reject_url The url the user will be redirected to after rejecting the application.
* }
* @param WP_User $user The user authorizing the application.
*/
@@ -260,7 +247,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<?php
submit_button(
__( 'Yes, I approve of this connection' ),
__( 'Yes, I approve of this connection.' ),
'primary',
'approve',
false,
@@ -275,7 +262,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
printf(
/* translators: %s: The URL the user is being redirected to. */
__( 'You will be sent to %s' ),
'<strong><code>' . esc_html(
'<strong><kbd>' . esc_html(
add_query_arg(
array(
'site_url' => site_url(),
@@ -284,7 +271,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
),
$success_url
)
) . '</code></strong>'
) . '</kbd></strong>'
);
} else {
_e( 'You will be given a password to manually enter into the application in question.' );
@@ -294,7 +281,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<?php
submit_button(
__( 'No, I do not approve of this connection' ),
__( 'No, I do not approve of this connection.' ),
'secondary',
'reject',
false,
@@ -309,7 +296,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
printf(
/* translators: %s: The URL the user is being redirected to. */
__( 'You will be sent to %s' ),
'<strong><code>' . esc_html( $reject_url ) . '</code></strong>'
'<strong><kbd>' . esc_html( $reject_url ) . '</kbd></strong>'
);
} else {
_e( 'You will be returned to the WordPress Dashboard, and no changes will be made.' );

View File

@@ -43,7 +43,7 @@ if ( isset( $_REQUEST['c'] ) ) {
// Prevent actions on a comment associated with a trashed post.
if ( $comment && 'trash' === get_post_status( $comment->comment_post_ID ) ) {
wp_die(
__( 'You cannot edit this comment because the associated post is in the Trash. Please restore the post first, then try again.' )
__( 'You can&#8217;t edit this comment because the associated post is in the Trash. Please restore the post first, then try again.' )
);
}
} else {
@@ -53,7 +53,6 @@ if ( isset( $_REQUEST['c'] ) ) {
switch ( $action ) {
case 'editcomment':
// Used in the HTML title tag.
$title = __( 'Edit Comment' );
get_current_screen()->add_help_tab(
@@ -68,8 +67,8 @@ switch ( $action ) {
get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/documentation/article/comments-screen/">Documentation on Comments</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
'<p>' . __( '<a href="https://wordpress.org/support/article/comments-screen/">Documentation on Comments</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
);
wp_enqueue_script( 'comment' );
@@ -97,7 +96,6 @@ switch ( $action ) {
case 'approve':
case 'trash':
case 'spam':
// Used in the HTML title tag.
$title = __( 'Moderate Comment' );
if ( ! $comment ) {

View File

@@ -10,7 +10,6 @@
require_once __DIR__ . '/admin.php';
require_once __DIR__ . '/includes/credits.php';
// Used in the HTML title tag.
$title = __( 'Credits' );
list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
@@ -29,24 +28,18 @@ $credits = wp_credits();
</div>
<div class="about__header-text">
<?php
printf(
/* translators: %s: Version number. */
__( 'WordPress %s was created by a worldwide team of passionate individuals' ),
$display_version
);
?>
<?php _e( 'WordPress 5.8 was created by a worldwide team of passionate individuals' ); ?>
</div>
<nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
<a href="about.php" class="nav-tab"><?php _e( 'What&#8217;s New' ); ?></a>
<a href="credits.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'Credits' ); ?></a>
<a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
<a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
</nav>
</div>
<nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
<a href="about.php" class="nav-tab"><?php _e( 'What&#8217;s New' ); ?></a>
<a href="credits.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'Credits' ); ?></a>
<a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
<a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
</nav>
<div class="about__section has-1-column has-gutters">
<div class="about__section has-1-column">
<div class="column aligncenter">
<?php if ( ! $credits ) : ?>
@@ -82,7 +75,7 @@ if ( ! $credits ) {
}
?>
<hr class="is-large" />
<hr />
<div class="about__section">
<div class="column is-edge-to-edge">

View File

@@ -8,7 +8,6 @@
1.3 Header
2.0 Credits Page
3.0 Freedoms Page
4.0 Privacy Page
x.2.0 Legacy About Styles: Global
x.2.1 Typography
x.2.2 Structure
@@ -22,16 +21,16 @@
.about__container {
/* Section backgrounds */
--background: #1d35b4;
--subtle-background: #eff2ff;
--background: transparent;
--subtle-background: #def;
/* Main text color */
--text: #000;
--text-light: #fff;
/* Accent colors: used in header, on special classes. */
--accent-1: #1d35b4; /* Link color, credit image overlay */
--accent-2: #33f078; /* Accent background */
--accent-1: #3858e9; /* Accent background, link color */
--accent-2: #2d46ba; /* Header background */
/* Navigation colors. */
--nav-background: #fff;
@@ -50,14 +49,14 @@
.credits-php,
.freedoms-php,
.privacy-php {
background: #fff;
background: #f0f7ff;
}
.about-php #wpcontent,
.credits-php #wpcontent,
.freedoms-php #wpcontent,
.privacy-php #wpcontent {
background: #fff;
background: linear-gradient(-180deg, #fff 50%, #f0f7ff 100%);
padding: 0 24px;
}
@@ -101,12 +100,17 @@
}
.about__section {
background: transparent;
background: var(--background);
clear: both;
}
.about__container .has-accent-background-color {
background-color: var(--accent-2);
background-color: var(--accent-1);
color: var(--text-light);
}
.about__container .has-accent-background-color a {
color: var(--text-light);
}
.about__container .has-transparent-background-color {
@@ -114,7 +118,7 @@
}
.about__container .has-accent-color {
color: var(--accent-2);
color: var(--accent-1);
}
.about__container .has-border {
@@ -134,22 +138,28 @@
/* 1.1 - Layout */
.about__section {
margin: 0;
margin: 0 0 var(--gap);
}
.about__section .column:not(.is-edge-to-edge) {
.about__section .column {
padding: var(--gap);
}
.about__section + .about__section .column {
padding-top: 0;
}
.about__section + .about__section .is-section-header {
padding-bottom: var(--gap);
}
.about__section .column[class*="background-color"]:not(.is-edge-to-edge),
.about__section:where([class*="background-color"]) .column:not(.is-edge-to-edge),
.about__section .column.has-border:not(.is-edge-to-edge) {
.about__section .column[class*="background-color"],
.about__section .column.has-border {
padding-top: var(--gap);
padding-bottom: var(--gap);
}
.about__section .column.is-edge-to-edge {
padding: 0;
}
.about__section .column p:first-of-type {
@@ -205,8 +215,7 @@
}
.about__section.has-gutters {
gap: var(--gap);
margin-bottom: var(--gap);
gap: calc(var(--gap) / 2);
}
.about__section.has-2-columns {
@@ -214,26 +223,83 @@
}
.about__section.has-2-columns.is-wider-right {
grid-template-columns: 2fr 3fr;
grid-template-columns: 1fr 2fr;
}
.about__section.has-2-columns.is-wider-left {
grid-template-columns: 3fr 2fr;
grid-template-columns: 2fr 1fr;
}
.about__section .is-section-header {
.about__section.has-2-columns .is-section-header {
grid-column-start: 1;
grid-column-end: -1;
-ms-grid-column-span: 2;
grid-column-end: span 2;
}
.about__section.has-2-columns .column:nth-of-type(2n+1) {
grid-column-start: 1;
}
.about__section.has-2-columns .column:nth-of-type(2n) {
grid-column-start: 2;
}
.about__section.has-3-columns {
grid-template-columns: repeat(3, 1fr);
}
.about__section.has-3-columns .is-section-header {
grid-column-start: 1;
-ms-grid-column-span: 3;
grid-column-end: span 3;
}
.about__section.has-3-columns .column:nth-of-type(3n+1) {
grid-column-start: 1;
}
.about__section.has-3-columns .column:nth-of-type(3n+2) {
grid-column-start: 2;
}
.about__section.has-3-columns .column:nth-of-type(3n) {
grid-column-start: 3;
}
.about__section.has-4-columns {
grid-template-columns: repeat(4, 1fr);
}
.about__section.has-4-columns .is-section-header {
grid-column-start: 1;
-ms-grid-column-span: 4;
grid-column-end: span 4;
}
.about__section.has-4-columns .column:nth-of-type(4n+1) {
grid-column-start: 1;
}
.about__section.has-4-columns .column:nth-of-type(4n+2) {
grid-column-start: 2;
}
.about__section.has-4-columns .column:nth-of-type(4n+3) {
grid-column-start: 3;
}
.about__section.has-4-columns .column:nth-of-type(4n) {
grid-column-start: 4;
}
/* Any columns following a section header need to be expicitly put into the second row, for IE support. */
.about__section.has-2-columns .is-section-header ~ .column,
.about__section.has-3-columns .is-section-header ~ .column,
.about__section.has-4-columns .is-section-header ~ .column,
.about__section.has-overlap-style .is-section-header ~ .column {
grid-row-start: 2;
}
.about__section.has-overlap-style {
grid-template-columns: repeat(7, 1fr);
}
@@ -244,11 +310,13 @@
.about__section.has-overlap-style .column:nth-of-type(2n+1) {
grid-column-start: 2;
-ms-grid-column-span: 3;
grid-column-end: span 3;
}
.about__section.has-overlap-style .column:nth-of-type(2n) {
grid-column-start: 4;
-ms-grid-column-span: 3;
grid-column-end: span 3;
}
@@ -261,24 +329,13 @@
.about__section.has-2-columns.is-wider-left,
.about__section.has-3-columns {
display: block;
margin-bottom: calc(var(--gap) / 2);
}
.about__section .column:not(.is-edge-to-edge) {
padding-top: var(--gap);
padding-bottom: var(--gap);
}
.about__section.has-2-columns.has-gutters.is-wider-right,
.about__section.has-2-columns.has-gutters.is-wider-left,
.about__section.has-3-columns.has-gutters {
margin-bottom: calc(var(--gap) * 2);
padding-bottom: calc(var(--gap) / 2);
}
.about__section.has-2-columns.has-gutters .column,
.about__section.has-2-columns.has-gutters .column,
.about__section.has-3-columns.has-gutters .column {
margin-bottom: var(--gap);
margin-bottom: calc(var(--gap) / 2);
}
.about__section.has-2-columns.has-gutters .column:last-child,
@@ -296,6 +353,29 @@
grid-template-columns: repeat(2, 1fr);
}
.about__section.has-4-columns .column:nth-of-type(2n+1) {
grid-column-start: 1;
}
.about__section.has-4-columns .column:nth-of-type(2n) {
grid-column-start: 2;
}
.about__section.has-4-columns .column:nth-of-type(4n+3),
.about__section.has-4-columns .column:nth-of-type(4n) {
grid-row-start: 2;
}
.about__section.has-4-columns .is-section-header {
-ms-grid-column-span: 2;
grid-column-end: span 2;
}
.about__section.has-4-columns .is-section-header ~ .column:nth-of-type(4n+3),
.about__section.has-4-columns .is-section-header ~ .column:nth-of-type(4n) {
grid-row-start: 3;
}
.about__section.has-overlap-style {
grid-template-columns: 1fr;
}
@@ -303,8 +383,10 @@
/* At this size, the two columns fully overlap */
.about__section.has-overlap-style .column.column {
grid-column-start: 1;
-ms-grid-column-span: 1;
grid-column-end: 2;
grid-row-start: 1;
-ms-grid-row-span: 1;
grid-row-end: 2;
}
}
@@ -312,25 +394,21 @@
@media screen and (max-width: 600px) {
.about__section.has-2-columns {
display: block;
margin-bottom: var(--gap);
}
.about__section.has-2-columns:not(.has-gutters) .column:nth-of-type(n) {
padding-top: calc(var(--gap) / 2);
padding-bottom: calc(var(--gap) / 2);
}
.about__section.has-2-columns.has-gutters {
margin-bottom: calc(var(--gap) * 2);
}
.about__section.has-2-columns.has-gutters .column {
margin-bottom: var(--gap);
margin-bottom: calc(var(--gap) / 2);
}
.about__section.has-2-columns.has-gutters .column:last-child {
margin-bottom: 0;
}
.about__section.has-2-columns .column:nth-of-type(n) {
padding-top: calc(var(--gap) / 2);
padding-bottom: calc(var(--gap) / 2);
}
}
@media screen and (max-width: 480px) {
@@ -374,26 +452,18 @@
.about__container h3.is-larger-heading {
margin-top: 0;
margin-bottom: 0.5em;
font-size: 2rem;
font-size: 2em;
line-height: 1.2;
font-weight: 700;
line-height: 1.16;
}
.about__container h3,
.about__container h1.is-smaller-heading,
.about__container h2.is-smaller-heading {
margin-top: 0;
font-size: 1.625rem;
font-weight: 700;
line-height: 1.4;
}
.about__container h4,
.about__container h3.is-smaller-heading {
margin-top: 0;
font-size: 1.125rem;
font-weight: 600;
line-height: 1.6;
font-size: 1.6em;
line-height: 1.3;
font-weight: 400;
}
.about__container p {
@@ -401,13 +471,6 @@
line-height: inherit;
}
.about__container p.is-subheading {
margin-top: 0;
font-size: 1.5rem;
font-weight: 300;
line-height: 160%;
}
.about__section a {
color: var(--accent-1);
text-decoration: underline;
@@ -435,10 +498,6 @@
margin-right: calc(var(--gap) / 2);
}
.about__container li {
margin-bottom: 0.5rem;
}
.about__container img {
margin: 0;
max-width: 100%;
@@ -465,23 +524,54 @@
margin-left: auto;
}
.about__container .about__image svg {
vertical-align: middle;
.about__container .about__image-comparison {
position: relative;
display: inline-block;
max-width: 100%;
}
.about__container .about__image-comparison img {
-webkit-user-select: none;
user-select: none;
width: auto;
max-width: none;
max-height: 100%;
}
.about__container .about__image-comparison > img {
max-width: 100%;
}
.about__container .about__image-comparison-resize {
position: absolute !important; /* Needed to override inline style on ResizableBox */
top: 0;
bottom: 0;
right: 0;
width: 50%;
max-width: 100%;
}
.about__container .about__image-comparison.no-js .about__image-comparison-resize {
overflow: hidden;
border-left: 2px solid var(--wp-admin-theme-color);
}
.about__container .about__image-comparison-resize .components-resizable-box__side-handle::before {
width: 4px;
left: calc(50% - 2px);
transition: none;
animation: none;
opacity: 1;
}
.about__container .about__image + h3 {
margin-top: 1.5em;
}
.about__container .column .about__image {
margin-bottom: calc(var(--gap) / 2);
}
.about__container hr {
margin: 0 var(--gap);
margin: 0;
height: var(--gap);
border: none;
border-top: 4px solid var(--accent-2);
}
.about__container hr.is-small {
@@ -500,19 +590,13 @@
}
.about__section {
font-size: 1.125rem;
line-height: 1.55;
font-size: 1.2em;
}
.about__section.is-feature {
font-size: 1.6em;
}
.about__section.has-3-columns,
.about__section.has-4-columns {
font-size: 1rem;
}
@media screen and (max-width: 480px) {
.about__section.is-feature {
font-size: 1.4em;
@@ -528,30 +612,26 @@
/* 1.3 - Header */
.about__header {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
box-sizing: border-box;
padding: calc(var(--gap) * 2) 0;
min-height: 420px;
color: var(--text-light);
background: var(--background) url('../images/about-header-about.svg?ver=6.2') no-repeat;
background-size: cover;
margin-bottom: var(--gap);
padding-top: 0;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
background-image: url('../images/about-header-about.svg');
background-color: var(--accent-2);
color: var(--text-light);
}
.credits-php .about__header {
background-image: url('../images/about-header-credits.svg?ver=6.2');
background-image: url('../images/about-header-credits.svg');
}
.freedoms-php .about__header {
background-image: url('../images/about-header-freedoms.svg?ver=6.2');
background-image: url('../images/about-header-freedoms.svg');
}
.privacy-php .about__header {
background-image: url('../images/about-header-privacy.svg?ver=6.2');
background-image: url('../images/about-header-privacy.svg');
}
.about__header-image {
@@ -559,49 +639,30 @@
}
.about__header-title {
box-sizing: border-box;
margin: 0 var(--gap);
padding: 0;
text-align: center;
padding: 2rem 0 0;
margin: 0 2rem;
}
.about__header-title h1 {
margin: 0 0 1rem;
margin: 0 0 0.5rem;
padding: 0;
/* Fluid font size scales on browser size 960px - 1200px. */
font-size: clamp(3rem, 20vw - 9rem, 6rem);
font-size: 4.5rem;
line-height: 1;
font-weight: 600;
}
.credits-php .about__header-title h1,
.privacy-php .about__header-title h1,
.freedoms-php .about__header-title h1 {
/* Fluid font size scales on browser size 960px - 1200px. */
font-size: clamp(3rem, 10vw - 3rem, 4.5rem);
}
.about__header-title h1 span {
color: var(--accent-2);
font-weight: 400;
}
.about__header-text {
box-sizing: border-box;
max-width: 22em;
margin: 0 auto;
padding: 0;
font-size: 1.6rem;
max-width: 42rem;
margin: 0 0 5em;
padding: 0 2rem;
font-size: 2rem;
line-height: 1.15;
text-align: center;
}
.about__header-navigation {
position: relative;
z-index: 1;
display: flex;
justify-content: center;
padding-top: 0;
margin-bottom: var(--gap);
background: var(--nav-background);
color: var(--nav-color);
border-bottom: 3px solid var(--nav-border);
@@ -640,17 +701,9 @@
border-color: var(--nav-current);
}
@media screen and (max-width: 960px) {
@media screen and (max-width: 960px){
.about__header-title h1 {
/* Fluid font size scales on browser size 600px - 960px. */
font-size: clamp(3rem, 13.33vw - 2rem, 6rem);
}
.credits-php .about__header-title h1,
.privacy-php .about__header-title h1,
.freedoms-php .about__header-title h1 {
/* Fluid font size scales on browser size 600px - 960px. */
font-size: clamp(3rem, 6.67vw - 0.5rem, 4.5rem);
font-size: 4.8em;
}
}
@@ -669,10 +722,7 @@
margin-left: calc(var(--gap) / 2);
}
.about__header-text {
margin-top: 0;
}
.about__header-text,
.about__header-navigation .nav-tab {
margin-top: 0;
margin-left: 0;
@@ -681,27 +731,13 @@
}
}
@media screen and (max-width: 600px) {
.about__header {
min-height: auto;
}
}
@media screen and (max-width: 480px) {
.about__header,
.credits-php .about__header,
.privacy-php .about__header,
.freedoms-php .about__header {
background-image: none;
}
.about__header-title p {
font-size: 2.4em;
}
.about__header-text {
margin-right: calc(var(--gap) / 2);
margin-left: calc(var(--gap) / 2);
margin-bottom: 1em;
}
.about__header-navigation {
@@ -846,19 +882,7 @@
.about__section .column .freedom-image {
margin-bottom: var(--gap);
max-height: 180px;
}
/*------------------------------------------------------------------------------
4.0 - Privacy Page
------------------------------------------------------------------------------*/
.about__section .column .privacy-image {
display: block;
margin-right: auto;
margin-left: auto;
max-width: 25rem;
max-height: 140px;
}

File diff suppressed because one or more lines are too long

View File

@@ -7,7 +7,6 @@
1.3 Header
2.0 Credits Page
3.0 Freedoms Page
4.0 Privacy Page
x.2.0 Legacy About Styles: Global
x.2.1 Typography
x.2.2 Structure
@@ -21,16 +20,16 @@
.about__container {
/* Section backgrounds */
--background: #1d35b4;
--subtle-background: #eff2ff;
--background: transparent;
--subtle-background: #def;
/* Main text color */
--text: #000;
--text-light: #fff;
/* Accent colors: used in header, on special classes. */
--accent-1: #1d35b4; /* Link color, credit image overlay */
--accent-2: #33f078; /* Accent background */
--accent-1: #3858e9; /* Accent background, link color */
--accent-2: #2d46ba; /* Header background */
/* Navigation colors. */
--nav-background: #fff;
@@ -49,14 +48,14 @@
.credits-php,
.freedoms-php,
.privacy-php {
background: #fff;
background: #f0f7ff;
}
.about-php #wpcontent,
.credits-php #wpcontent,
.freedoms-php #wpcontent,
.privacy-php #wpcontent {
background: #fff;
background: linear-gradient(180deg, #fff 50%, #f0f7ff 100%);
padding: 0 24px;
}
@@ -100,12 +99,17 @@
}
.about__section {
background: transparent;
background: var(--background);
clear: both;
}
.about__container .has-accent-background-color {
background-color: var(--accent-2);
background-color: var(--accent-1);
color: var(--text-light);
}
.about__container .has-accent-background-color a {
color: var(--text-light);
}
.about__container .has-transparent-background-color {
@@ -113,7 +117,7 @@
}
.about__container .has-accent-color {
color: var(--accent-2);
color: var(--accent-1);
}
.about__container .has-border {
@@ -133,22 +137,28 @@
/* 1.1 - Layout */
.about__section {
margin: 0;
margin: 0 0 var(--gap);
}
.about__section .column:not(.is-edge-to-edge) {
.about__section .column {
padding: var(--gap);
}
.about__section + .about__section .column {
padding-top: 0;
}
.about__section + .about__section .is-section-header {
padding-bottom: var(--gap);
}
.about__section .column[class*="background-color"]:not(.is-edge-to-edge),
.about__section:where([class*="background-color"]) .column:not(.is-edge-to-edge),
.about__section .column.has-border:not(.is-edge-to-edge) {
.about__section .column[class*="background-color"],
.about__section .column.has-border {
padding-top: var(--gap);
padding-bottom: var(--gap);
}
.about__section .column.is-edge-to-edge {
padding: 0;
}
.about__section .column p:first-of-type {
@@ -204,8 +214,7 @@
}
.about__section.has-gutters {
gap: var(--gap);
margin-bottom: var(--gap);
gap: calc(var(--gap) / 2);
}
.about__section.has-2-columns {
@@ -213,26 +222,83 @@
}
.about__section.has-2-columns.is-wider-right {
grid-template-columns: 2fr 3fr;
grid-template-columns: 1fr 2fr;
}
.about__section.has-2-columns.is-wider-left {
grid-template-columns: 3fr 2fr;
grid-template-columns: 2fr 1fr;
}
.about__section .is-section-header {
.about__section.has-2-columns .is-section-header {
grid-column-start: 1;
grid-column-end: -1;
-ms-grid-column-span: 2;
grid-column-end: span 2;
}
.about__section.has-2-columns .column:nth-of-type(2n+1) {
grid-column-start: 1;
}
.about__section.has-2-columns .column:nth-of-type(2n) {
grid-column-start: 2;
}
.about__section.has-3-columns {
grid-template-columns: repeat(3, 1fr);
}
.about__section.has-3-columns .is-section-header {
grid-column-start: 1;
-ms-grid-column-span: 3;
grid-column-end: span 3;
}
.about__section.has-3-columns .column:nth-of-type(3n+1) {
grid-column-start: 1;
}
.about__section.has-3-columns .column:nth-of-type(3n+2) {
grid-column-start: 2;
}
.about__section.has-3-columns .column:nth-of-type(3n) {
grid-column-start: 3;
}
.about__section.has-4-columns {
grid-template-columns: repeat(4, 1fr);
}
.about__section.has-4-columns .is-section-header {
grid-column-start: 1;
-ms-grid-column-span: 4;
grid-column-end: span 4;
}
.about__section.has-4-columns .column:nth-of-type(4n+1) {
grid-column-start: 1;
}
.about__section.has-4-columns .column:nth-of-type(4n+2) {
grid-column-start: 2;
}
.about__section.has-4-columns .column:nth-of-type(4n+3) {
grid-column-start: 3;
}
.about__section.has-4-columns .column:nth-of-type(4n) {
grid-column-start: 4;
}
/* Any columns following a section header need to be expicitly put into the second row, for IE support. */
.about__section.has-2-columns .is-section-header ~ .column,
.about__section.has-3-columns .is-section-header ~ .column,
.about__section.has-4-columns .is-section-header ~ .column,
.about__section.has-overlap-style .is-section-header ~ .column {
grid-row-start: 2;
}
.about__section.has-overlap-style {
grid-template-columns: repeat(7, 1fr);
}
@@ -243,11 +309,13 @@
.about__section.has-overlap-style .column:nth-of-type(2n+1) {
grid-column-start: 2;
-ms-grid-column-span: 3;
grid-column-end: span 3;
}
.about__section.has-overlap-style .column:nth-of-type(2n) {
grid-column-start: 4;
-ms-grid-column-span: 3;
grid-column-end: span 3;
}
@@ -260,24 +328,13 @@
.about__section.has-2-columns.is-wider-left,
.about__section.has-3-columns {
display: block;
margin-bottom: calc(var(--gap) / 2);
}
.about__section .column:not(.is-edge-to-edge) {
padding-top: var(--gap);
padding-bottom: var(--gap);
}
.about__section.has-2-columns.has-gutters.is-wider-right,
.about__section.has-2-columns.has-gutters.is-wider-left,
.about__section.has-3-columns.has-gutters {
margin-bottom: calc(var(--gap) * 2);
padding-bottom: calc(var(--gap) / 2);
}
.about__section.has-2-columns.has-gutters .column,
.about__section.has-2-columns.has-gutters .column,
.about__section.has-3-columns.has-gutters .column {
margin-bottom: var(--gap);
margin-bottom: calc(var(--gap) / 2);
}
.about__section.has-2-columns.has-gutters .column:last-child,
@@ -295,6 +352,29 @@
grid-template-columns: repeat(2, 1fr);
}
.about__section.has-4-columns .column:nth-of-type(2n+1) {
grid-column-start: 1;
}
.about__section.has-4-columns .column:nth-of-type(2n) {
grid-column-start: 2;
}
.about__section.has-4-columns .column:nth-of-type(4n+3),
.about__section.has-4-columns .column:nth-of-type(4n) {
grid-row-start: 2;
}
.about__section.has-4-columns .is-section-header {
-ms-grid-column-span: 2;
grid-column-end: span 2;
}
.about__section.has-4-columns .is-section-header ~ .column:nth-of-type(4n+3),
.about__section.has-4-columns .is-section-header ~ .column:nth-of-type(4n) {
grid-row-start: 3;
}
.about__section.has-overlap-style {
grid-template-columns: 1fr;
}
@@ -302,8 +382,10 @@
/* At this size, the two columns fully overlap */
.about__section.has-overlap-style .column.column {
grid-column-start: 1;
-ms-grid-column-span: 1;
grid-column-end: 2;
grid-row-start: 1;
-ms-grid-row-span: 1;
grid-row-end: 2;
}
}
@@ -311,25 +393,21 @@
@media screen and (max-width: 600px) {
.about__section.has-2-columns {
display: block;
margin-bottom: var(--gap);
}
.about__section.has-2-columns:not(.has-gutters) .column:nth-of-type(n) {
padding-top: calc(var(--gap) / 2);
padding-bottom: calc(var(--gap) / 2);
}
.about__section.has-2-columns.has-gutters {
margin-bottom: calc(var(--gap) * 2);
}
.about__section.has-2-columns.has-gutters .column {
margin-bottom: var(--gap);
margin-bottom: calc(var(--gap) / 2);
}
.about__section.has-2-columns.has-gutters .column:last-child {
margin-bottom: 0;
}
.about__section.has-2-columns .column:nth-of-type(n) {
padding-top: calc(var(--gap) / 2);
padding-bottom: calc(var(--gap) / 2);
}
}
@media screen and (max-width: 480px) {
@@ -373,26 +451,18 @@
.about__container h3.is-larger-heading {
margin-top: 0;
margin-bottom: 0.5em;
font-size: 2rem;
font-size: 2em;
line-height: 1.2;
font-weight: 700;
line-height: 1.16;
}
.about__container h3,
.about__container h1.is-smaller-heading,
.about__container h2.is-smaller-heading {
margin-top: 0;
font-size: 1.625rem;
font-weight: 700;
line-height: 1.4;
}
.about__container h4,
.about__container h3.is-smaller-heading {
margin-top: 0;
font-size: 1.125rem;
font-weight: 600;
line-height: 1.6;
font-size: 1.6em;
line-height: 1.3;
font-weight: 400;
}
.about__container p {
@@ -400,13 +470,6 @@
line-height: inherit;
}
.about__container p.is-subheading {
margin-top: 0;
font-size: 1.5rem;
font-weight: 300;
line-height: 160%;
}
.about__section a {
color: var(--accent-1);
text-decoration: underline;
@@ -434,10 +497,6 @@
margin-left: calc(var(--gap) / 2);
}
.about__container li {
margin-bottom: 0.5rem;
}
.about__container img {
margin: 0;
max-width: 100%;
@@ -464,23 +523,54 @@
margin-right: auto;
}
.about__container .about__image svg {
vertical-align: middle;
.about__container .about__image-comparison {
position: relative;
display: inline-block;
max-width: 100%;
}
.about__container .about__image-comparison img {
-webkit-user-select: none;
user-select: none;
width: auto;
max-width: none;
max-height: 100%;
}
.about__container .about__image-comparison > img {
max-width: 100%;
}
.about__container .about__image-comparison-resize {
position: absolute !important; /* Needed to override inline style on ResizableBox */
top: 0;
bottom: 0;
left: 0;
width: 50%;
max-width: 100%;
}
.about__container .about__image-comparison.no-js .about__image-comparison-resize {
overflow: hidden;
border-right: 2px solid var(--wp-admin-theme-color);
}
.about__container .about__image-comparison-resize .components-resizable-box__side-handle::before {
width: 4px;
right: calc(50% - 2px);
transition: none;
animation: none;
opacity: 1;
}
.about__container .about__image + h3 {
margin-top: 1.5em;
}
.about__container .column .about__image {
margin-bottom: calc(var(--gap) / 2);
}
.about__container hr {
margin: 0 var(--gap);
margin: 0;
height: var(--gap);
border: none;
border-top: 4px solid var(--accent-2);
}
.about__container hr.is-small {
@@ -499,19 +589,13 @@
}
.about__section {
font-size: 1.125rem;
line-height: 1.55;
font-size: 1.2em;
}
.about__section.is-feature {
font-size: 1.6em;
}
.about__section.has-3-columns,
.about__section.has-4-columns {
font-size: 1rem;
}
@media screen and (max-width: 480px) {
.about__section.is-feature {
font-size: 1.4em;
@@ -527,30 +611,26 @@
/* 1.3 - Header */
.about__header {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
box-sizing: border-box;
padding: calc(var(--gap) * 2) 0;
min-height: 420px;
color: var(--text-light);
background: var(--background) url('../images/about-header-about.svg?ver=6.2') no-repeat;
background-size: cover;
margin-bottom: var(--gap);
padding-top: 0;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
background-image: url('../images/about-header-about.svg');
background-color: var(--accent-2);
color: var(--text-light);
}
.credits-php .about__header {
background-image: url('../images/about-header-credits.svg?ver=6.2');
background-image: url('../images/about-header-credits.svg');
}
.freedoms-php .about__header {
background-image: url('../images/about-header-freedoms.svg?ver=6.2');
background-image: url('../images/about-header-freedoms.svg');
}
.privacy-php .about__header {
background-image: url('../images/about-header-privacy.svg?ver=6.2');
background-image: url('../images/about-header-privacy.svg');
}
.about__header-image {
@@ -558,49 +638,30 @@
}
.about__header-title {
box-sizing: border-box;
margin: 0 var(--gap);
padding: 0;
text-align: center;
padding: 2rem 0 0;
margin: 0 2rem;
}
.about__header-title h1 {
margin: 0 0 1rem;
margin: 0 0 0.5rem;
padding: 0;
/* Fluid font size scales on browser size 960px - 1200px. */
font-size: clamp(3rem, 20vw - 9rem, 6rem);
font-size: 4.5rem;
line-height: 1;
font-weight: 600;
}
.credits-php .about__header-title h1,
.privacy-php .about__header-title h1,
.freedoms-php .about__header-title h1 {
/* Fluid font size scales on browser size 960px - 1200px. */
font-size: clamp(3rem, 10vw - 3rem, 4.5rem);
}
.about__header-title h1 span {
color: var(--accent-2);
font-weight: 400;
}
.about__header-text {
box-sizing: border-box;
max-width: 22em;
margin: 0 auto;
padding: 0;
font-size: 1.6rem;
max-width: 42rem;
margin: 0 0 5em;
padding: 0 2rem;
font-size: 2rem;
line-height: 1.15;
text-align: center;
}
.about__header-navigation {
position: relative;
z-index: 1;
display: flex;
justify-content: center;
padding-top: 0;
margin-bottom: var(--gap);
background: var(--nav-background);
color: var(--nav-color);
border-bottom: 3px solid var(--nav-border);
@@ -639,17 +700,9 @@
border-color: var(--nav-current);
}
@media screen and (max-width: 960px) {
@media screen and (max-width: 960px){
.about__header-title h1 {
/* Fluid font size scales on browser size 600px - 960px. */
font-size: clamp(3rem, 13.33vw - 2rem, 6rem);
}
.credits-php .about__header-title h1,
.privacy-php .about__header-title h1,
.freedoms-php .about__header-title h1 {
/* Fluid font size scales on browser size 600px - 960px. */
font-size: clamp(3rem, 6.67vw - 0.5rem, 4.5rem);
font-size: 4.8em;
}
}
@@ -668,10 +721,7 @@
margin-right: calc(var(--gap) / 2);
}
.about__header-text {
margin-top: 0;
}
.about__header-text,
.about__header-navigation .nav-tab {
margin-top: 0;
margin-right: 0;
@@ -680,27 +730,13 @@
}
}
@media screen and (max-width: 600px) {
.about__header {
min-height: auto;
}
}
@media screen and (max-width: 480px) {
.about__header,
.credits-php .about__header,
.privacy-php .about__header,
.freedoms-php .about__header {
background-image: none;
}
.about__header-title p {
font-size: 2.4em;
}
.about__header-text {
margin-left: calc(var(--gap) / 2);
margin-right: calc(var(--gap) / 2);
margin-bottom: 1em;
}
.about__header-navigation {
@@ -845,19 +881,7 @@
.about__section .column .freedom-image {
margin-bottom: var(--gap);
max-height: 180px;
}
/*------------------------------------------------------------------------------
4.0 - Privacy Page
------------------------------------------------------------------------------*/
.about__section .column .privacy-image {
display: block;
margin-left: auto;
margin-right: auto;
max-width: 25rem;
max-height: 140px;
}

File diff suppressed because one or more lines are too long

View File

@@ -37,21 +37,108 @@
width: 36px;
}
.icon16 {
height: 18px;
width: 18px;
padding: 6px 6px;
margin: -6px -8px 0 0;
float: right;
}
/* New Menu icons */
.icon16:before {
color: #8c8f94; /* same as new icons */
font: normal 20px/1 dashicons;
speak: never;
padding: 6px 0;
height: 34px;
width: 20px;
display: inline-block;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
transition: all .1s ease-in-out;
}
.icon16.icon-dashboard:before {
content: "\f226";
}
.icon16.icon-post:before {
content: "\f109";
}
.icon16.icon-media:before {
content: "\f104";
}
.icon16.icon-links:before {
content: "\f103";
}
.icon16.icon-page:before {
content: "\f105";
}
.icon16.icon-comments:before {
content: "\f101";
margin-top: 1px;
}
.icon16.icon-appearance:before {
content: "\f100";
}
.icon16.icon-plugins:before {
content: "\f106";
}
.icon16.icon-users:before {
content: "\f110";
}
.icon16.icon-tools:before {
content: "\f107";
}
.icon16.icon-settings:before {
content: "\f108";
}
.icon16.icon-site:before {
content: "\f541";
}
.icon16.icon-generic:before {
content: "\f111";
}
/* hide background-image for icons above */
.icon16.icon-dashboard,
.menu-icon-dashboard div.wp-menu-image,
.icon16.icon-post,
.menu-icon-post div.wp-menu-image,
.icon16.icon-media,
.menu-icon-media div.wp-menu-image,
.icon16.icon-links,
.menu-icon-links div.wp-menu-image,
.icon16.icon-page,
.menu-icon-page div.wp-menu-image,
.icon16.icon-comments,
.menu-icon-comments div.wp-menu-image,
.icon16.icon-appearance,
.menu-icon-appearance div.wp-menu-image,
.icon16.icon-plugins,
.menu-icon-plugins div.wp-menu-image,
.icon16.icon-users,
.menu-icon-users div.wp-menu-image,
.icon16.icon-tools,
.menu-icon-tools div.wp-menu-image,
.icon16.icon-settings,
.menu-icon-settings div.wp-menu-image,
.icon16.icon-site,
.menu-icon-site div.wp-menu-image,
.icon16.icon-generic,
.menu-icon-generic div.wp-menu-image {
background-image: none !important;
}
@@ -75,6 +162,7 @@
#adminmenu li {
margin: 0;
padding: 0;
cursor: pointer;
}
#adminmenu a {
@@ -258,7 +346,7 @@
}
#adminmenu .wp-menu-image img {
padding: 9px 0 0;
padding: 9px 0 0 0;
opacity: 0.6;
filter: alpha(opacity=60);
}
@@ -401,7 +489,7 @@ ul#adminmenu > li.current > a.current:after {
#adminmenu li.wp-menu-separator {
height: 5px;
padding: 0;
margin: 0 0 6px;
margin: 0 0 6px 0;
cursor: inherit;
}
@@ -416,7 +504,7 @@ ul#adminmenu > li.current > a.current:after {
font-weight: 400;
font-size: 14px;
padding: 5px 11px 5px 4px;
margin: -7px -5px 4px 0;
margin: -7px -5px 4px 0px;
border-width: 3px 5px 3px 0;
border-style: solid;
border-color: transparent;
@@ -428,7 +516,6 @@ ul#adminmenu > li.current > a.current:after {
}
/* @todo: consider to use a single rule for these counters and the list table comments counters. */
#adminmenu .menu-counter,
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
display: inline-block;
@@ -568,7 +655,7 @@ li#wp-admin-bar-menu-toggle {
.auto-fold #adminmenu .wp-has-current-submenu.opensub .wp-submenu,
.auto-fold #adminmenu a.menu-top:focus + .wp-submenu,
.auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus + .wp-submenu {
top: 0;
top: 0px;
right: 36px;
}

File diff suppressed because one or more lines are too long

View File

@@ -36,21 +36,108 @@
width: 36px;
}
.icon16 {
height: 18px;
width: 18px;
padding: 6px 6px;
margin: -6px 0 0 -8px;
float: left;
}
/* New Menu icons */
.icon16:before {
color: #8c8f94; /* same as new icons */
font: normal 20px/1 dashicons;
speak: never;
padding: 6px 0;
height: 34px;
width: 20px;
display: inline-block;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
transition: all .1s ease-in-out;
}
.icon16.icon-dashboard:before {
content: "\f226";
}
.icon16.icon-post:before {
content: "\f109";
}
.icon16.icon-media:before {
content: "\f104";
}
.icon16.icon-links:before {
content: "\f103";
}
.icon16.icon-page:before {
content: "\f105";
}
.icon16.icon-comments:before {
content: "\f101";
margin-top: 1px;
}
.icon16.icon-appearance:before {
content: "\f100";
}
.icon16.icon-plugins:before {
content: "\f106";
}
.icon16.icon-users:before {
content: "\f110";
}
.icon16.icon-tools:before {
content: "\f107";
}
.icon16.icon-settings:before {
content: "\f108";
}
.icon16.icon-site:before {
content: "\f541";
}
.icon16.icon-generic:before {
content: "\f111";
}
/* hide background-image for icons above */
.icon16.icon-dashboard,
.menu-icon-dashboard div.wp-menu-image,
.icon16.icon-post,
.menu-icon-post div.wp-menu-image,
.icon16.icon-media,
.menu-icon-media div.wp-menu-image,
.icon16.icon-links,
.menu-icon-links div.wp-menu-image,
.icon16.icon-page,
.menu-icon-page div.wp-menu-image,
.icon16.icon-comments,
.menu-icon-comments div.wp-menu-image,
.icon16.icon-appearance,
.menu-icon-appearance div.wp-menu-image,
.icon16.icon-plugins,
.menu-icon-plugins div.wp-menu-image,
.icon16.icon-users,
.menu-icon-users div.wp-menu-image,
.icon16.icon-tools,
.menu-icon-tools div.wp-menu-image,
.icon16.icon-settings,
.menu-icon-settings div.wp-menu-image,
.icon16.icon-site,
.menu-icon-site div.wp-menu-image,
.icon16.icon-generic,
.menu-icon-generic div.wp-menu-image {
background-image: none !important;
}
@@ -74,6 +161,7 @@
#adminmenu li {
margin: 0;
padding: 0;
cursor: pointer;
}
#adminmenu a {
@@ -257,7 +345,7 @@
}
#adminmenu .wp-menu-image img {
padding: 9px 0 0;
padding: 9px 0 0 0;
opacity: 0.6;
filter: alpha(opacity=60);
}
@@ -400,7 +488,7 @@ ul#adminmenu > li.current > a.current:after {
#adminmenu li.wp-menu-separator {
height: 5px;
padding: 0;
margin: 0 0 6px;
margin: 0 0 6px 0;
cursor: inherit;
}
@@ -415,7 +503,7 @@ ul#adminmenu > li.current > a.current:after {
font-weight: 400;
font-size: 14px;
padding: 5px 4px 5px 11px;
margin: -7px 0 4px -5px;
margin: -7px 0px 4px -5px;
border-width: 3px 0 3px 5px;
border-style: solid;
border-color: transparent;
@@ -427,7 +515,6 @@ ul#adminmenu > li.current > a.current:after {
}
/* @todo: consider to use a single rule for these counters and the list table comments counters. */
#adminmenu .menu-counter,
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
display: inline-block;
@@ -567,7 +654,7 @@ li#wp-admin-bar-menu-toggle {
.auto-fold #adminmenu .wp-has-current-submenu.opensub .wp-submenu,
.auto-fold #adminmenu a.menu-top:focus + .wp-submenu,
.auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus + .wp-submenu {
top: 0;
top: 0px;
left: 36px;
}

File diff suppressed because one or more lines are too long

View File

@@ -12,7 +12,7 @@
/* Needs higher specificiity. */
.wp-picker-container .wp-color-result.button {
min-height: 30px;
margin: 0 0 6px 6px;
margin: 0 0px 6px 6px;
padding: 0 30px 0 0;
font-size: 11px;
}

View File

@@ -11,7 +11,7 @@
/* Needs higher specificiity. */
.wp-picker-container .wp-color-result.button {
min-height: 30px;
margin: 0 6px 6px 0;
margin: 0 6px 6px 0px;
padding: 0 0 0 30px;
font-size: 11px;
}

View File

@@ -2,10 +2,6 @@
@import 'variables';
@import 'mixins';
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
@function url-friendly-colour( $color ) {
@return '%23' + str-slice( '#{ $color }', 2, -1 );
}
@@ -354,7 +350,6 @@ ul#adminmenu > li.current > a.current:after {
/* Admin Menu: bubble */
#adminmenu .menu-counter,
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
color: $menu-bubble-text;
@@ -786,19 +781,3 @@ div#wp-responsive-toggle a:before {
color: $link;
}
}
/* Welcome Panel */
@if ( $custom-welcome-panel == "true" ) {
.welcome-panel {
background-color: $dashboard-accent-1;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: $dashboard-accent-2;
}
[class*="welcome-panel-icon"] {
background-color: $dashboard-icon-background;
}
}

View File

@@ -1,6 +1,5 @@
// assign default value to all undefined variables
$scheme-name: "default" !default;
// core variables
@@ -63,11 +62,4 @@ $adminbar-recovery-exit-background-alt: mix(black, $adminbar-recovery-exit-backg
$menu-customizer-text: mix( $base-color, $text-color, 40% ) !default;
// Dashboard Colors
$custom-welcome-panel: "true" !default;
$dashboard-accent-1: $menu-submenu-background !default;
$dashboard-accent-2: $menu-background !default;
$dashboard-icon-background: $dashboard-accent-2 !default;
$low-contrast-theme: "false" !default;

View File

@@ -3,10 +3,6 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f1f1f1;
}
@@ -329,7 +325,6 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: bubble */
#adminmenu .menu-counter,
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
color: #fff;
@@ -707,18 +702,4 @@ div#wp-responsive-toggle a:before {
.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover {
border-bottom-color: #e1a948;
color: #0073aa;
}
/* Welcome Panel */
.welcome-panel {
background-color: #4796b3;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #52accc;
}
[class*=welcome-panel-icon] {
background-color: #096484;
}

File diff suppressed because one or more lines are too long

View File

@@ -3,10 +3,6 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f1f1f1;
}
@@ -329,7 +325,6 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: bubble */
#adminmenu .menu-counter,
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
color: #fff;
@@ -707,18 +702,4 @@ div#wp-responsive-toggle a:before {
.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover {
border-bottom-color: #e1a948;
color: #0073aa;
}
/* Welcome Panel */
.welcome-panel {
background-color: #4796b3;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #52accc;
}
[class*=welcome-panel-icon] {
background-color: #096484;
}

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,3 @@
$scheme-name: "blue";
$base-color: #52accc;
$icon-color: #e5f8ff;
$highlight-color: #096484;
@@ -9,6 +8,4 @@ $menu-submenu-text: #e2ecf1;
$menu-submenu-focus-text: #fff;
$menu-submenu-background: #4796b3;
$dashboard-icon-background: $highlight-color;
@import "../_admin.scss";

View File

@@ -3,10 +3,6 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f1f1f1;
}
@@ -171,7 +167,7 @@ textarea:focus {
color: #9ea476;
}
.wp-core-ui .wp-ui-text-icon {
color: hsl(27.6923076923deg, 7%, 95%);
color: #f3f2f1;
}
/* List tables */
@@ -200,7 +196,7 @@ textarea:focus {
}
#adminmenu div.wp-menu-image:before {
color: hsl(27.6923076923deg, 7%, 95%);
color: #f3f2f1;
}
#adminmenu a:hover,
@@ -296,7 +292,6 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: bubble */
#adminmenu .menu-counter,
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
color: #fff;
@@ -313,7 +308,7 @@ ul#adminmenu > li.current > a.current:after {
/* Admin Menu: collapse button */
#collapse-button {
color: hsl(27.6923076923deg, 7%, 95%);
color: #f3f2f1;
}
#collapse-button:hover,
@@ -338,7 +333,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .ab-icon:before,
#wpadminbar .ab-item:before,
#wpadminbar .ab-item:after {
color: hsl(27.6923076923deg, 7%, 95%);
color: #f3f2f1;
}
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
@@ -382,7 +377,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .quicklinks li .blavatar,
#wpadminbar .menupop .menupop > .ab-item:before {
color: hsl(27.6923076923deg, 7%, 95%);
color: #f3f2f1;
}
#wpadminbar .quicklinks .menupop ul li a:hover,
@@ -417,12 +412,12 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
color: hsl(27.6923076923deg, 7%, 95%);
color: #f3f2f1;
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: hsl(27.6923076923deg, 7%, 95%);
color: #f3f2f1;
}
#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus {
@@ -558,7 +553,7 @@ body.more-filters-opened .more-filters:focus:before {
/* Responsive Component */
div#wp-responsive-toggle a:before {
color: hsl(27.6923076923deg, 7%, 95%);
color: #f3f2f1;
}
.wp-responsive-open div#wp-responsive-toggle a {
@@ -571,7 +566,7 @@ div#wp-responsive-toggle a:before {
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
color: hsl(27.6923076923deg, 7%, 95%);
color: #f3f2f1;
}
/* TinyMCE */
@@ -674,18 +669,4 @@ div#wp-responsive-toggle a:before {
.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover {
border-bottom-color: #c7a589;
color: #0073aa;
}
/* Welcome Panel */
.welcome-panel {
background-color: #46403c;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #59524c;
}
[class*=welcome-panel-icon] {
background-color: #59524c;
}

File diff suppressed because one or more lines are too long

View File

@@ -3,10 +3,6 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f1f1f1;
}
@@ -171,7 +167,7 @@ textarea:focus {
color: #9ea476;
}
.wp-core-ui .wp-ui-text-icon {
color: hsl(27.6923076923deg, 7%, 95%);
color: #f3f2f1;
}
/* List tables */
@@ -200,7 +196,7 @@ textarea:focus {
}
#adminmenu div.wp-menu-image:before {
color: hsl(27.6923076923deg, 7%, 95%);
color: #f3f2f1;
}
#adminmenu a:hover,
@@ -296,7 +292,6 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: bubble */
#adminmenu .menu-counter,
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
color: #fff;
@@ -313,7 +308,7 @@ ul#adminmenu > li.current > a.current:after {
/* Admin Menu: collapse button */
#collapse-button {
color: hsl(27.6923076923deg, 7%, 95%);
color: #f3f2f1;
}
#collapse-button:hover,
@@ -338,7 +333,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .ab-icon:before,
#wpadminbar .ab-item:before,
#wpadminbar .ab-item:after {
color: hsl(27.6923076923deg, 7%, 95%);
color: #f3f2f1;
}
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
@@ -382,7 +377,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .quicklinks li .blavatar,
#wpadminbar .menupop .menupop > .ab-item:before {
color: hsl(27.6923076923deg, 7%, 95%);
color: #f3f2f1;
}
#wpadminbar .quicklinks .menupop ul li a:hover,
@@ -417,12 +412,12 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
color: hsl(27.6923076923deg, 7%, 95%);
color: #f3f2f1;
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: hsl(27.6923076923deg, 7%, 95%);
color: #f3f2f1;
}
#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus {
@@ -558,7 +553,7 @@ body.more-filters-opened .more-filters:focus:before {
/* Responsive Component */
div#wp-responsive-toggle a:before {
color: hsl(27.6923076923deg, 7%, 95%);
color: #f3f2f1;
}
.wp-responsive-open div#wp-responsive-toggle a {
@@ -571,7 +566,7 @@ div#wp-responsive-toggle a:before {
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
color: hsl(27.6923076923deg, 7%, 95%);
color: #f3f2f1;
}
/* TinyMCE */
@@ -674,18 +669,4 @@ div#wp-responsive-toggle a:before {
.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover {
border-bottom-color: #c7a589;
color: #0073aa;
}
/* Welcome Panel */
.welcome-panel {
background-color: #46403c;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #59524c;
}
[class*=welcome-panel-icon] {
background-color: #59524c;
}

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,3 @@
$scheme-name: "coffee";
$base-color: #59524c;
$highlight-color: #c7a589;
$notification-color: #9ea476;

View File

@@ -3,10 +3,6 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f1f1f1;
}
@@ -329,7 +325,6 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: bubble */
#adminmenu .menu-counter,
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
color: #fff;
@@ -707,18 +702,4 @@ div#wp-responsive-toggle a:before {
.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover {
border-bottom-color: #a3b745;
color: #0073aa;
}
/* Welcome Panel */
.welcome-panel {
background-color: #413256;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #523f6d;
}
[class*=welcome-panel-icon] {
background-color: #523f6d;
}

File diff suppressed because one or more lines are too long

View File

@@ -3,10 +3,6 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f1f1f1;
}
@@ -329,7 +325,6 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: bubble */
#adminmenu .menu-counter,
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
color: #fff;
@@ -707,18 +702,4 @@ div#wp-responsive-toggle a:before {
.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover {
border-bottom-color: #a3b745;
color: #0073aa;
}
/* Welcome Panel */
.welcome-panel {
background-color: #413256;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #523f6d;
}
[class*=welcome-panel-icon] {
background-color: #523f6d;
}

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,3 @@
$scheme-name: "ectoplasm";
$base-color: #523f6d;
$icon-color: #ece6f6;
$highlight-color: #a3b745;

View File

@@ -3,10 +3,6 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f5f5f5;
}
@@ -329,7 +325,6 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: bubble */
#adminmenu .menu-counter,
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
color: #fff;
@@ -709,20 +704,6 @@ div#wp-responsive-toggle a:before {
color: #0073aa;
}
/* Welcome Panel */
.welcome-panel {
background-color: #04a4cc;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #17b5dd;
}
[class*=welcome-panel-icon] {
background-color: #333;
}
/* Override the theme filter highlight color for this scheme */
.theme-section.current,
.theme-filter.current {

File diff suppressed because one or more lines are too long

View File

@@ -3,10 +3,6 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f5f5f5;
}
@@ -329,7 +325,6 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: bubble */
#adminmenu .menu-counter,
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
color: #fff;
@@ -709,20 +704,6 @@ div#wp-responsive-toggle a:before {
color: #0073aa;
}
/* Welcome Panel */
.welcome-panel {
background-color: #04a4cc;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #17b5dd;
}
[class*=welcome-panel-icon] {
background-color: #333;
}
/* Override the theme filter highlight color for this scheme */
.theme-section.current,
.theme-filter.current {

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,3 @@
$scheme-name: "light";
$base-color: #e5e5e5;
$icon-color: #999;
$text-color: #333;
@@ -18,10 +17,6 @@ $menu-submenu-background: #fff;
$menu-collapse-text: #777;
$menu-collapse-focus-icon: #555;
$dashboard-accent-1: $highlight-color;
$dashboard-accent-2: desaturate( lighten( $highlight-color, 7% ), 15% );
$dashboard-icon-background: $text-color;
@import "../_admin.scss";
/* Override the theme filter highlight color for this scheme */

View File

@@ -3,10 +3,6 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f1f1f1;
}
@@ -192,7 +188,7 @@ textarea:focus {
color: #69a8bb;
}
.wp-core-ui .wp-ui-text-icon {
color: hsl(206.6666666667deg, 7%, 95%);
color: #f1f2f3;
}
/* List tables */
@@ -233,7 +229,7 @@ textarea:focus {
}
#adminmenu div.wp-menu-image:before {
color: hsl(206.6666666667deg, 7%, 95%);
color: #f1f2f3;
}
#adminmenu a:hover,
@@ -329,7 +325,6 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: bubble */
#adminmenu .menu-counter,
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
color: #fff;
@@ -346,7 +341,7 @@ ul#adminmenu > li.current > a.current:after {
/* Admin Menu: collapse button */
#collapse-button {
color: hsl(206.6666666667deg, 7%, 95%);
color: #f1f2f3;
}
#collapse-button:hover,
@@ -371,7 +366,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .ab-icon:before,
#wpadminbar .ab-item:before,
#wpadminbar .ab-item:after {
color: hsl(206.6666666667deg, 7%, 95%);
color: #f1f2f3;
}
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
@@ -415,7 +410,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .quicklinks li .blavatar,
#wpadminbar .menupop .menupop > .ab-item:before {
color: hsl(206.6666666667deg, 7%, 95%);
color: #f1f2f3;
}
#wpadminbar .quicklinks .menupop ul li a:hover,
@@ -450,12 +445,12 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
color: hsl(206.6666666667deg, 7%, 95%);
color: #f1f2f3;
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: hsl(206.6666666667deg, 7%, 95%);
color: #f1f2f3;
}
#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus {
@@ -591,7 +586,7 @@ body.more-filters-opened .more-filters:focus:before {
/* Responsive Component */
div#wp-responsive-toggle a:before {
color: hsl(206.6666666667deg, 7%, 95%);
color: #f1f2f3;
}
.wp-responsive-open div#wp-responsive-toggle a {
@@ -604,7 +599,7 @@ div#wp-responsive-toggle a:before {
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
color: hsl(206.6666666667deg, 7%, 95%);
color: #f1f2f3;
}
/* TinyMCE */
@@ -707,18 +702,4 @@ div#wp-responsive-toggle a:before {
.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover {
border-bottom-color: #e14d43;
color: #0073aa;
}
/* Welcome Panel */
.welcome-panel {
background-color: #26292c;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #3b464b;
}
[class*=welcome-panel-icon] {
background-color: #3b464b;
}

File diff suppressed because one or more lines are too long

View File

@@ -3,10 +3,6 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f1f1f1;
}
@@ -192,7 +188,7 @@ textarea:focus {
color: #69a8bb;
}
.wp-core-ui .wp-ui-text-icon {
color: hsl(206.6666666667deg, 7%, 95%);
color: #f1f2f3;
}
/* List tables */
@@ -233,7 +229,7 @@ textarea:focus {
}
#adminmenu div.wp-menu-image:before {
color: hsl(206.6666666667deg, 7%, 95%);
color: #f1f2f3;
}
#adminmenu a:hover,
@@ -329,7 +325,6 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: bubble */
#adminmenu .menu-counter,
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
color: #fff;
@@ -346,7 +341,7 @@ ul#adminmenu > li.current > a.current:after {
/* Admin Menu: collapse button */
#collapse-button {
color: hsl(206.6666666667deg, 7%, 95%);
color: #f1f2f3;
}
#collapse-button:hover,
@@ -371,7 +366,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .ab-icon:before,
#wpadminbar .ab-item:before,
#wpadminbar .ab-item:after {
color: hsl(206.6666666667deg, 7%, 95%);
color: #f1f2f3;
}
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
@@ -415,7 +410,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .quicklinks li .blavatar,
#wpadminbar .menupop .menupop > .ab-item:before {
color: hsl(206.6666666667deg, 7%, 95%);
color: #f1f2f3;
}
#wpadminbar .quicklinks .menupop ul li a:hover,
@@ -450,12 +445,12 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
color: hsl(206.6666666667deg, 7%, 95%);
color: #f1f2f3;
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: hsl(206.6666666667deg, 7%, 95%);
color: #f1f2f3;
}
#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus {
@@ -591,7 +586,7 @@ body.more-filters-opened .more-filters:focus:before {
/* Responsive Component */
div#wp-responsive-toggle a:before {
color: hsl(206.6666666667deg, 7%, 95%);
color: #f1f2f3;
}
.wp-responsive-open div#wp-responsive-toggle a {
@@ -604,7 +599,7 @@ div#wp-responsive-toggle a:before {
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
color: hsl(206.6666666667deg, 7%, 95%);
color: #f1f2f3;
}
/* TinyMCE */
@@ -707,18 +702,4 @@ div#wp-responsive-toggle a:before {
.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover {
border-bottom-color: #e14d43;
color: #0073aa;
}
/* Welcome Panel */
.welcome-panel {
background-color: #26292c;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #3b464b;
}
[class*=welcome-panel-icon] {
background-color: #3b464b;
}

File diff suppressed because one or more lines are too long

View File

@@ -1,8 +1,5 @@
$scheme-name: "midnight";
$base-color: #363b3f;
$highlight-color: #e14d43;
$notification-color: #69a8bb;
$dashboard-accent-2: mix($base-color, $notification-color, 90%);
@import "../_admin.scss";

View File

@@ -3,10 +3,6 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f1f1f1;
}
@@ -192,7 +188,7 @@ textarea:focus {
color: #3858e9;
}
.wp-core-ui .wp-ui-text-icon {
color: hsl(0deg, 7%, 95%);
color: #f3f1f1;
}
/* List tables */
@@ -233,7 +229,7 @@ textarea:focus {
}
#adminmenu div.wp-menu-image:before {
color: hsl(0deg, 7%, 95%);
color: #f3f1f1;
}
#adminmenu a:hover,
@@ -329,7 +325,6 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: bubble */
#adminmenu .menu-counter,
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
color: #fff;
@@ -346,7 +341,7 @@ ul#adminmenu > li.current > a.current:after {
/* Admin Menu: collapse button */
#collapse-button {
color: hsl(0deg, 7%, 95%);
color: #f3f1f1;
}
#collapse-button:hover,
@@ -371,7 +366,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .ab-icon:before,
#wpadminbar .ab-item:before,
#wpadminbar .ab-item:after {
color: hsl(0deg, 7%, 95%);
color: #f3f1f1;
}
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
@@ -415,7 +410,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .quicklinks li .blavatar,
#wpadminbar .menupop .menupop > .ab-item:before {
color: hsl(0deg, 7%, 95%);
color: #f3f1f1;
}
#wpadminbar .quicklinks .menupop ul li a:hover,
@@ -450,12 +445,12 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
color: hsl(0deg, 7%, 95%);
color: #f3f1f1;
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: hsl(0deg, 7%, 95%);
color: #f3f1f1;
}
#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus {
@@ -591,7 +586,7 @@ body.more-filters-opened .more-filters:focus:before {
/* Responsive Component */
div#wp-responsive-toggle a:before {
color: hsl(0deg, 7%, 95%);
color: #f3f1f1;
}
.wp-responsive-open div#wp-responsive-toggle a {
@@ -604,7 +599,7 @@ div#wp-responsive-toggle a:before {
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
color: hsl(0deg, 7%, 95%);
color: #f3f1f1;
}
/* TinyMCE */
@@ -707,6 +702,4 @@ div#wp-responsive-toggle a:before {
.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover {
border-bottom-color: #3858e9;
color: #3858e9;
}
/* Welcome Panel */
}

File diff suppressed because one or more lines are too long

View File

@@ -3,10 +3,6 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f1f1f1;
}
@@ -192,7 +188,7 @@ textarea:focus {
color: #3858e9;
}
.wp-core-ui .wp-ui-text-icon {
color: hsl(0deg, 7%, 95%);
color: #f3f1f1;
}
/* List tables */
@@ -233,7 +229,7 @@ textarea:focus {
}
#adminmenu div.wp-menu-image:before {
color: hsl(0deg, 7%, 95%);
color: #f3f1f1;
}
#adminmenu a:hover,
@@ -329,7 +325,6 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: bubble */
#adminmenu .menu-counter,
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
color: #fff;
@@ -346,7 +341,7 @@ ul#adminmenu > li.current > a.current:after {
/* Admin Menu: collapse button */
#collapse-button {
color: hsl(0deg, 7%, 95%);
color: #f3f1f1;
}
#collapse-button:hover,
@@ -371,7 +366,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .ab-icon:before,
#wpadminbar .ab-item:before,
#wpadminbar .ab-item:after {
color: hsl(0deg, 7%, 95%);
color: #f3f1f1;
}
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
@@ -415,7 +410,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .quicklinks li .blavatar,
#wpadminbar .menupop .menupop > .ab-item:before {
color: hsl(0deg, 7%, 95%);
color: #f3f1f1;
}
#wpadminbar .quicklinks .menupop ul li a:hover,
@@ -450,12 +445,12 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
color: hsl(0deg, 7%, 95%);
color: #f3f1f1;
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: hsl(0deg, 7%, 95%);
color: #f3f1f1;
}
#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus {
@@ -591,7 +586,7 @@ body.more-filters-opened .more-filters:focus:before {
/* Responsive Component */
div#wp-responsive-toggle a:before {
color: hsl(0deg, 7%, 95%);
color: #f3f1f1;
}
.wp-responsive-open div#wp-responsive-toggle a {
@@ -604,7 +599,7 @@ div#wp-responsive-toggle a:before {
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
color: hsl(0deg, 7%, 95%);
color: #f3f1f1;
}
/* TinyMCE */
@@ -707,6 +702,4 @@ div#wp-responsive-toggle a:before {
.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover {
border-bottom-color: #3858e9;
color: #3858e9;
}
/* Welcome Panel */
}

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,3 @@
$scheme-name: "modern";
$base-color: #1e1e1e;
$highlight-color: #3858e9;
$menu-submenu-focus-text: #33f078;
@@ -7,6 +6,4 @@ $notification-color: $highlight-color;
$link: $highlight-color;
$link-focus: darken($highlight-color, 10%);
$custom-welcome-panel: "false";
@import "../_admin.scss";

View File

@@ -3,10 +3,6 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f1f1f1;
}
@@ -296,7 +292,6 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: bubble */
#adminmenu .menu-counter,
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
color: #fff;
@@ -674,18 +669,4 @@ div#wp-responsive-toggle a:before {
.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover {
border-bottom-color: #9ebaa0;
color: #0073aa;
}
/* Welcome Panel */
.welcome-panel {
background-color: #627c83;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #738e96;
}
[class*=welcome-panel-icon] {
background-color: #738e96;
}

File diff suppressed because one or more lines are too long

View File

@@ -3,10 +3,6 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f1f1f1;
}
@@ -296,7 +292,6 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: bubble */
#adminmenu .menu-counter,
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
color: #fff;
@@ -674,18 +669,4 @@ div#wp-responsive-toggle a:before {
.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover {
border-bottom-color: #9ebaa0;
color: #0073aa;
}
/* Welcome Panel */
.welcome-panel {
background-color: #627c83;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #738e96;
}
[class*=welcome-panel-icon] {
background-color: #738e96;
}

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,3 @@
$scheme-name: "ocean";
$base-color: #738e96;
$icon-color: #f2fcff;
$highlight-color: #9ebaa0;

View File

@@ -3,10 +3,6 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f1f1f1;
}
@@ -192,7 +188,7 @@ textarea:focus {
color: #ccaf0b;
}
.wp-core-ui .wp-ui-text-icon {
color: hsl(2.1582733813deg, 7%, 95%);
color: #f3f1f1;
}
/* List tables */
@@ -233,7 +229,7 @@ textarea:focus {
}
#adminmenu div.wp-menu-image:before {
color: hsl(2.1582733813deg, 7%, 95%);
color: #f3f1f1;
}
#adminmenu a:hover,
@@ -329,7 +325,6 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: bubble */
#adminmenu .menu-counter,
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
color: #fff;
@@ -346,7 +341,7 @@ ul#adminmenu > li.current > a.current:after {
/* Admin Menu: collapse button */
#collapse-button {
color: hsl(2.1582733813deg, 7%, 95%);
color: #f3f1f1;
}
#collapse-button:hover,
@@ -371,7 +366,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .ab-icon:before,
#wpadminbar .ab-item:before,
#wpadminbar .ab-item:after {
color: hsl(2.1582733813deg, 7%, 95%);
color: #f3f1f1;
}
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
@@ -415,7 +410,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .quicklinks li .blavatar,
#wpadminbar .menupop .menupop > .ab-item:before {
color: hsl(2.1582733813deg, 7%, 95%);
color: #f3f1f1;
}
#wpadminbar .quicklinks .menupop ul li a:hover,
@@ -450,12 +445,12 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
color: hsl(2.1582733813deg, 7%, 95%);
color: #f3f1f1;
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: hsl(2.1582733813deg, 7%, 95%);
color: #f3f1f1;
}
#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus {
@@ -591,7 +586,7 @@ body.more-filters-opened .more-filters:focus:before {
/* Responsive Component */
div#wp-responsive-toggle a:before {
color: hsl(2.1582733813deg, 7%, 95%);
color: #f3f1f1;
}
.wp-responsive-open div#wp-responsive-toggle a {
@@ -604,7 +599,7 @@ div#wp-responsive-toggle a:before {
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
color: hsl(2.1582733813deg, 7%, 95%);
color: #f3f1f1;
}
/* TinyMCE */
@@ -707,18 +702,4 @@ div#wp-responsive-toggle a:before {
.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover {
border-bottom-color: #dd823b;
color: #0073aa;
}
/* Welcome Panel */
.welcome-panel {
background-color: #be3631;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #cf4944;
}
[class*=welcome-panel-icon] {
background-color: #cf4944;
}

File diff suppressed because one or more lines are too long

View File

@@ -3,10 +3,6 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f1f1f1;
}
@@ -192,7 +188,7 @@ textarea:focus {
color: #ccaf0b;
}
.wp-core-ui .wp-ui-text-icon {
color: hsl(2.1582733813deg, 7%, 95%);
color: #f3f1f1;
}
/* List tables */
@@ -233,7 +229,7 @@ textarea:focus {
}
#adminmenu div.wp-menu-image:before {
color: hsl(2.1582733813deg, 7%, 95%);
color: #f3f1f1;
}
#adminmenu a:hover,
@@ -329,7 +325,6 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: bubble */
#adminmenu .menu-counter,
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
color: #fff;
@@ -346,7 +341,7 @@ ul#adminmenu > li.current > a.current:after {
/* Admin Menu: collapse button */
#collapse-button {
color: hsl(2.1582733813deg, 7%, 95%);
color: #f3f1f1;
}
#collapse-button:hover,
@@ -371,7 +366,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .ab-icon:before,
#wpadminbar .ab-item:before,
#wpadminbar .ab-item:after {
color: hsl(2.1582733813deg, 7%, 95%);
color: #f3f1f1;
}
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
@@ -415,7 +410,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .quicklinks li .blavatar,
#wpadminbar .menupop .menupop > .ab-item:before {
color: hsl(2.1582733813deg, 7%, 95%);
color: #f3f1f1;
}
#wpadminbar .quicklinks .menupop ul li a:hover,
@@ -450,12 +445,12 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
color: hsl(2.1582733813deg, 7%, 95%);
color: #f3f1f1;
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: hsl(2.1582733813deg, 7%, 95%);
color: #f3f1f1;
}
#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus {
@@ -591,7 +586,7 @@ body.more-filters-opened .more-filters:focus:before {
/* Responsive Component */
div#wp-responsive-toggle a:before {
color: hsl(2.1582733813deg, 7%, 95%);
color: #f3f1f1;
}
.wp-responsive-open div#wp-responsive-toggle a {
@@ -604,7 +599,7 @@ div#wp-responsive-toggle a:before {
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
color: hsl(2.1582733813deg, 7%, 95%);
color: #f3f1f1;
}
/* TinyMCE */
@@ -707,18 +702,4 @@ div#wp-responsive-toggle a:before {
.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover {
border-bottom-color: #dd823b;
color: #0073aa;
}
/* Welcome Panel */
.welcome-panel {
background-color: #be3631;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #cf4944;
}
[class*=welcome-panel-icon] {
background-color: #cf4944;
}

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,3 @@
$scheme-name: "sunrise";
$base-color: #cf4944;
$highlight-color: #dd823b;
$notification-color: #ccaf0b;

View File

@@ -142,24 +142,21 @@
.screen-reader-shortcut {
position: absolute;
top: -1000em;
}
.screen-reader-shortcut:focus {
right: 6px;
top: -25px;
height: auto;
width: auto;
display: block;
font-size: 14px;
font-weight: 600;
padding: 15px 23px 14px;
/* Background and color set to prevent false positives in automated accessibility tests. */
background: #f0f0f1;
color: #2271b1;
z-index: 100000;
line-height: normal;
}
.screen-reader-shortcut:focus {
top: -25px;
/* Overrides a:focus in the admin. See ticket #56789. */
color: #2271b1;
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
text-decoration: none;
/* Only visible in Windows High Contrast mode */
@@ -274,7 +271,6 @@ a:active {
a:focus,
a:focus .media-icon img,
a:focus .plugin-icon,
.wp-person a:focus .gravatar {
color: #043959;
box-shadow:
@@ -422,7 +418,7 @@ code {
kbd,
code {
padding: 3px 5px 2px;
padding: 3px 5px 2px 5px;
margin: 0 1px;
background: #f0f0f1;
background: rgba(0, 0, 0, 0.07);
@@ -587,7 +583,7 @@ code {
font-size: 23px;
font-weight: 400;
margin: 0;
padding: 9px 0 4px;
padding: 9px 0 4px 0;
line-height: 1.3;
}
@@ -793,7 +789,7 @@ img.emoji {
/* @todo can we combine these into a class or use an existing dashicon one? */
.welcome-panel .welcome-panel-close:before,
.tagchecklist .ntdelbutton .remove-tag-icon:before,
#bulk-titles .ntdelbutton:before,
#bulk-titles div a:before,
.notice-dismiss:before {
background: none;
color: #787c82;
@@ -812,6 +808,10 @@ img.emoji {
margin: 0;
}
#bulk-titles div a:before {
margin: 1px 0;
}
.tagchecklist .ntdelbutton .remove-tag-icon:before {
margin-right: 2px;
border-radius: 50%;
@@ -824,10 +824,12 @@ img.emoji {
outline: 0;
}
.welcome-panel .welcome-panel-close:hover:before,
.welcome-panel .welcome-panel-close:focus:before,
.tagchecklist .ntdelbutton:hover .remove-tag-icon:before,
.tagchecklist .ntdelbutton:focus .remove-tag-icon:before,
#bulk-titles .ntdelbutton:hover:before,
#bulk-titles .ntdelbutton:focus:before {
#bulk-titles div a:hover:before,
#bulk-titles div a:focus:before {
color: #d63638;
}
@@ -882,8 +884,7 @@ hr {
#media-items a.delete-permanently,
#nav-menu-footer .menu-delete,
#delete-link a.delete,
a#remove-post-thumbnail,
.privacy_requests .remove-personal-data .remove-personal-data-handle {
a#remove-post-thumbnail {
color: #b32d2e;
}
@@ -901,8 +902,7 @@ span.required,
#media-items a.delete-permanently:hover,
#nav-menu-footer .menu-delete:hover,
#delete-link a.delete:hover,
a#remove-post-thumbnail:hover,
.privacy_requests .remove-personal-data .remove-personal-data-handle:hover {
a#remove-post-thumbnail:hover {
color: #b32d2e;
border: none;
}
@@ -953,13 +953,12 @@ a#remove-post-thumbnail:hover,
padding: 6px 10px 8px;
}
.word-wrap-break-word,
.misc-pub-filename {
word-wrap: break-word;
}
#minor-publishing-actions {
padding: 10px 10px 0;
padding: 10px 10px 0 10px;
text-align: left;
}
@@ -1234,7 +1233,7 @@ th.action-links {
.filter-group .filter-group-feature label {
display: block;
margin: 14px 23px 14px 0;
margin: 14px 23px 14px 0px;
}
.filter-drawer .buttons {
@@ -1579,9 +1578,6 @@ div.error {
.wrap .notice p:before,
.import-php .updating-message:before {
margin-left: 6px;
}
.import-php .updating-message:before {
vertical-align: bottom;
}
@@ -1614,7 +1610,7 @@ form.upgrade {
form.upgrade .hint {
font-style: italic;
font-size: 85%;
margin: -0.5em 0 2em;
margin: -0.5em 0 2em 0;
}
.update-php .spinner {
@@ -1712,7 +1708,7 @@ p.auto-update-status {
/* screen options and help tabs revert */
#screen-meta {
display: none;
margin: 0 0 -1px 20px;
margin: 0 0px -1px 20px;
position: relative;
background-color: #fff;
border: 1px solid #c3c4c7;
@@ -1842,7 +1838,6 @@ p.auto-update-status {
.metabox-prefs .screen-options .screen-per-page {
margin-left: 15px;
padding-left: 0;
}
.metabox-prefs .screen-options label {
@@ -3034,17 +3029,11 @@ div.action-links {
.plugin-details-modal #TB_closeWindowButton:hover,
.plugin-details-modal #TB_closeWindowButton:focus {
color: #135e96;
outline: none;
box-shadow: none;
}
.plugin-details-modal #TB_closeWindowButton:hover::after,
.plugin-details-modal #TB_closeWindowButton:focus::after {
outline: 2px solid;
outline-offset: -4px;
border-radius: 4px;
}
.plugin-details-modal .tb-close-icon {
display: none;
}
@@ -3155,7 +3144,7 @@ img {
width: 300px;
}
/* Theme/Plugin file editor */
/* Theme/Plugin Editor */
.alignleft h2 {
margin: 0;
}
@@ -3164,6 +3153,8 @@ img {
font-family: Consolas, Monaco, monospace;
font-size: 13px;
background: #f6f7f7;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
}
@@ -3206,7 +3197,7 @@ img {
}
/*
* Styles for Theme and Plugin file editors.
* Styles for Theme and Plugin editors.
*/
/* Hide collapsed items. */
@@ -3295,7 +3286,7 @@ img {
.tree-folder > .current-file::before {
right: 4px;
height: 15px;
width: 0;
width: 0px;
border-right: none;
top: 3px;
}
@@ -3390,7 +3381,7 @@ img {
}
#templateside li.howto {
padding: 6px 12px 12px;
padding: 6px 12px 12px 12px;
}
.theme-editor-php .highlight {
@@ -3442,7 +3433,7 @@ img {
}
.widget-top .widget-action .toggle-indicator:before {
padding: 1px 0 1px 2px;
padding: 1px 0px 1px 2px;
border-radius: 50%;
}
@@ -3837,7 +3828,7 @@ img {
.wrap div.updated,
.wrap div.error,
.media-upload-form div.error {
margin: 20px 0 10px;
margin: 20px 0 10px 0;
padding: 5px 10px;
font-size: 14px;
line-height: 175%;
@@ -3947,7 +3938,7 @@ img {
right: -8px;
}
.tree-folder > li::before {
top: 0;
top: 0px;
height: 13px;
}
.tree-folder > .current-file::before {

File diff suppressed because one or more lines are too long

View File

@@ -141,24 +141,21 @@
.screen-reader-shortcut {
position: absolute;
top: -1000em;
}
.screen-reader-shortcut:focus {
left: 6px;
top: -25px;
height: auto;
width: auto;
display: block;
font-size: 14px;
font-weight: 600;
padding: 15px 23px 14px;
/* Background and color set to prevent false positives in automated accessibility tests. */
background: #f0f0f1;
color: #2271b1;
z-index: 100000;
line-height: normal;
}
.screen-reader-shortcut:focus {
top: -25px;
/* Overrides a:focus in the admin. See ticket #56789. */
color: #2271b1;
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
text-decoration: none;
/* Only visible in Windows High Contrast mode */
@@ -273,7 +270,6 @@ a:active {
a:focus,
a:focus .media-icon img,
a:focus .plugin-icon,
.wp-person a:focus .gravatar {
color: #043959;
box-shadow:
@@ -421,7 +417,7 @@ code {
kbd,
code {
padding: 3px 5px 2px;
padding: 3px 5px 2px 5px;
margin: 0 1px;
background: #f0f0f1;
background: rgba(0, 0, 0, 0.07);
@@ -586,7 +582,7 @@ code {
font-size: 23px;
font-weight: 400;
margin: 0;
padding: 9px 0 4px;
padding: 9px 0 4px 0;
line-height: 1.3;
}
@@ -792,7 +788,7 @@ img.emoji {
/* @todo can we combine these into a class or use an existing dashicon one? */
.welcome-panel .welcome-panel-close:before,
.tagchecklist .ntdelbutton .remove-tag-icon:before,
#bulk-titles .ntdelbutton:before,
#bulk-titles div a:before,
.notice-dismiss:before {
background: none;
color: #787c82;
@@ -811,6 +807,10 @@ img.emoji {
margin: 0;
}
#bulk-titles div a:before {
margin: 1px 0;
}
.tagchecklist .ntdelbutton .remove-tag-icon:before {
margin-left: 2px;
border-radius: 50%;
@@ -823,10 +823,12 @@ img.emoji {
outline: 0;
}
.welcome-panel .welcome-panel-close:hover:before,
.welcome-panel .welcome-panel-close:focus:before,
.tagchecklist .ntdelbutton:hover .remove-tag-icon:before,
.tagchecklist .ntdelbutton:focus .remove-tag-icon:before,
#bulk-titles .ntdelbutton:hover:before,
#bulk-titles .ntdelbutton:focus:before {
#bulk-titles div a:hover:before,
#bulk-titles div a:focus:before {
color: #d63638;
}
@@ -881,8 +883,7 @@ hr {
#media-items a.delete-permanently,
#nav-menu-footer .menu-delete,
#delete-link a.delete,
a#remove-post-thumbnail,
.privacy_requests .remove-personal-data .remove-personal-data-handle {
a#remove-post-thumbnail {
color: #b32d2e;
}
@@ -900,8 +901,7 @@ span.required,
#media-items a.delete-permanently:hover,
#nav-menu-footer .menu-delete:hover,
#delete-link a.delete:hover,
a#remove-post-thumbnail:hover,
.privacy_requests .remove-personal-data .remove-personal-data-handle:hover {
a#remove-post-thumbnail:hover {
color: #b32d2e;
border: none;
}
@@ -952,13 +952,12 @@ a#remove-post-thumbnail:hover,
padding: 6px 10px 8px;
}
.word-wrap-break-word,
.misc-pub-filename {
word-wrap: break-word;
}
#minor-publishing-actions {
padding: 10px 10px 0;
padding: 10px 10px 0 10px;
text-align: right;
}
@@ -1233,7 +1232,7 @@ th.action-links {
.filter-group .filter-group-feature label {
display: block;
margin: 14px 0 14px 23px;
margin: 14px 0px 14px 23px;
}
.filter-drawer .buttons {
@@ -1578,9 +1577,6 @@ div.error {
.wrap .notice p:before,
.import-php .updating-message:before {
margin-right: 6px;
}
.import-php .updating-message:before {
vertical-align: bottom;
}
@@ -1613,7 +1609,7 @@ form.upgrade {
form.upgrade .hint {
font-style: italic;
font-size: 85%;
margin: -0.5em 0 2em;
margin: -0.5em 0 2em 0;
}
.update-php .spinner {
@@ -1711,7 +1707,7 @@ p.auto-update-status {
/* screen options and help tabs revert */
#screen-meta {
display: none;
margin: 0 20px -1px 0;
margin: 0 20px -1px 0px;
position: relative;
background-color: #fff;
border: 1px solid #c3c4c7;
@@ -1841,7 +1837,6 @@ p.auto-update-status {
.metabox-prefs .screen-options .screen-per-page {
margin-right: 15px;
padding-right: 0;
}
.metabox-prefs .screen-options label {
@@ -3033,17 +3028,11 @@ div.action-links {
.plugin-details-modal #TB_closeWindowButton:hover,
.plugin-details-modal #TB_closeWindowButton:focus {
color: #135e96;
outline: none;
box-shadow: none;
}
.plugin-details-modal #TB_closeWindowButton:hover::after,
.plugin-details-modal #TB_closeWindowButton:focus::after {
outline: 2px solid;
outline-offset: -4px;
border-radius: 4px;
}
.plugin-details-modal .tb-close-icon {
display: none;
}
@@ -3154,7 +3143,7 @@ img {
width: 300px;
}
/* Theme/Plugin file editor */
/* Theme/Plugin Editor */
.alignleft h2 {
margin: 0;
}
@@ -3163,6 +3152,8 @@ img {
font-family: Consolas, Monaco, monospace;
font-size: 13px;
background: #f6f7f7;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
}
@@ -3205,7 +3196,7 @@ img {
}
/*
* Styles for Theme and Plugin file editors.
* Styles for Theme and Plugin editors.
*/
/* Hide collapsed items. */
@@ -3294,7 +3285,7 @@ img {
.tree-folder > .current-file::before {
left: 4px;
height: 15px;
width: 0;
width: 0px;
border-left: none;
top: 3px;
}
@@ -3389,7 +3380,7 @@ img {
}
#templateside li.howto {
padding: 6px 12px 12px;
padding: 6px 12px 12px 12px;
}
.theme-editor-php .highlight {
@@ -3441,7 +3432,7 @@ img {
}
.widget-top .widget-action .toggle-indicator:before {
padding: 1px 2px 1px 0;
padding: 1px 2px 1px 0px;
border-radius: 50%;
}
@@ -3836,7 +3827,7 @@ img {
.wrap div.updated,
.wrap div.error,
.media-upload-form div.error {
margin: 20px 0 10px;
margin: 20px 0 10px 0;
padding: 5px 10px;
font-size: 14px;
line-height: 175%;
@@ -3946,7 +3937,7 @@ img {
left: -8px;
}
.tree-folder > li::before {
top: 0;
top: 0px;
height: 13px;
}
.tree-folder > .current-file::before {

File diff suppressed because one or more lines are too long

View File

@@ -106,12 +106,6 @@ body:not(.ready) #customize-save-button-wrapper .save {
height: 100%;
}
@media (prefers-reduced-motion: reduce) {
#customize-sidebar-outer-content {
transition: none;
}
}
#customize-theme-controls .control-section-outer {
display: none !important;
}
@@ -130,12 +124,6 @@ body:not(.ready) #customize-save-button-wrapper .save {
transition: right .18s;
}
@media (prefers-reduced-motion: reduce) {
.outer-section-open .wp-full-overlay.expanded #customize-sidebar-outer-content {
transition: none;
}
}
.customize-outer-pane-parent {
margin: 0;
}
@@ -473,6 +461,7 @@ body.trashing #publish-settings {
height: 20px;
cursor: pointer;
box-shadow: none;
-webkit-appearance: none;
background: transparent;
color: #50575e;
border: none;
@@ -549,13 +538,6 @@ body.trashing #publish-settings {
.15s border-color ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
#customize-theme-controls .accordion-section-title,
#customize-outer-theme-controls .accordion-section-title {
transition: none;
}
}
#customize-controls #customize-theme-controls .customize-themes-panel .accordion-section-title {
color: #50575e;
background-color: #fff;
@@ -654,14 +636,6 @@ body.trashing #publish-settings {
transition: 0.18s transform cubic-bezier(0.645, 0.045, 0.355, 1); /* easeInOutCubic */
}
@media (prefers-reduced-motion: reduce) {
#customize-info,
#customize-theme-controls .customize-pane-parent,
#customize-theme-controls .customize-pane-child {
transition: none;
}
}
#customize-theme-controls .customize-pane-child.skip-transition {
transition: none;
}
@@ -743,7 +717,7 @@ body.trashing #publish-settings {
}
.customize-section-title {
margin: -12px -12px 0;
margin: -12px -12px 0 -12px;
border-bottom: 1px solid #dcdcde;
background: #fff;
}
@@ -766,11 +740,11 @@ div.customize-section-description p:last-child {
#customize-theme-controls .customize-themes-panel h3.customize-section-title:first-child {
border-bottom: 1px solid #dcdcde;
padding: 12px;
padding: 12px 12px 12px 12px;
}
.ios #customize-theme-controls .customize-themes-panel h3.customize-section-title:first-child {
padding: 12px 12px 13px;
padding: 12px 12px 13px 12px;
}
.customize-section-title h3,
@@ -949,8 +923,7 @@ p.customize-section-description {
.customize-control input[type="number"],
.customize-control input[type="search"],
.customize-control input[type="tel"],
.customize-control input[type="url"],
.customize-control input[type="range"] {
.customize-control input[type="url"] {
width: 100%;
margin: 0;
}
@@ -990,7 +963,7 @@ p.customize-section-description {
.customize-section-description a.external-link:after {
font: 16px/11px dashicons;
content: "\f504";
content: "\f310";
top: 3px;
position: relative;
padding-right: 3px;
@@ -1141,7 +1114,7 @@ p.customize-section-description {
*/
#customize-controls .customize-control-notifications-container { /* Scoped to #customize-controls for specificity over notification styles in common.css. */
margin: 4px 0 8px;
margin: 4px 0 8px 0;
padding: 0;
cursor: default;
}
@@ -1154,7 +1127,7 @@ p.customize-section-description {
#customize-controls .customize-control-notifications-container li.notice {
list-style: none;
margin: 0 0 6px;
margin: 0 0 6px 0;
padding: 9px 14px;
overflow: hidden;
}
@@ -1456,7 +1429,7 @@ p.customize-section-description {
}
.customize-control-header .header-view:last-child {
margin-bottom: 0;
margin-bottom: 0px;
}
/* Convoluted, but 'outline' support isn't good enough yet */
@@ -1605,6 +1578,8 @@ p.customize-section-description {
font-family: Consolas, Monaco, monospace;
font-size: 12px;
padding: 6px 8px;
-moz-tab-size: 2;
-o-tab-size: 2;
tab-size: 2;
}
.customize-control-code_editor textarea,
@@ -1690,7 +1665,7 @@ p.customize-section-description {
border-bottom: 1px solid #dcdcde;
border-right: none;
border-left: none;
margin: 0 0 15px;
margin: 0 0 15px 0;
padding-left: 100px; /* Space for the button */
}
@@ -1731,12 +1706,6 @@ p.customize-section-description {
font-weight: 400;
}
#customize-notifications-area .notification-message button.switch-to-editor {
display: block;
margin-top: 6px;
font-weight: 400;
}
#customize-theme-controls .control-panel-themes > .accordion-section-title:after {
display: none;
}
@@ -1755,12 +1724,6 @@ p.customize-section-description {
z-index: 20;
}
@media (prefers-reduced-motion: reduce) {
.control-panel-themes .customize-themes-full-container {
transition: none;
}
}
@media screen and (min-width: 1670px) {
.control-panel-themes .customize-themes-full-container {
width: 82%;
@@ -1898,7 +1861,7 @@ p.customize-section-description {
}
.control-panel-themes .customize-themes-notifications .notice {
margin: 0 0 25px;
margin: 0 0 25px 0;
}
.customize-themes-full-container .customize-themes-section {
@@ -1912,7 +1875,7 @@ p.customize-section-description {
.control-section .customize-section-text-before {
padding: 0 15px 8px 0;
margin: 15px 0 0;
margin: 15px 0 0 0;
line-height: 16px;
border-bottom: 1px solid #dcdcde;
color: #50575e;
@@ -2133,7 +2096,7 @@ p.customize-section-description {
position: relative;
right: 0;
width: 100%;
margin: 0 0 25px;
margin: 0 0 25px 0;
}
.filter-drawer {
top: 46px;
@@ -2243,7 +2206,7 @@ p.customize-section-description {
width: 26px;
display: block;
line-height: 2.3;
padding: 0 8px;
padding: 0 8px 0 8px;
border-left: 1px solid #dcdcde;
}
@@ -2404,7 +2367,7 @@ body.cheatin h1 {
color: #50575e;
font-size: 24px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
margin: 30px 0 0;
margin: 30px 0 0 0;
padding: 0 0 7px;
}

File diff suppressed because one or more lines are too long

View File

@@ -105,12 +105,6 @@ body:not(.ready) #customize-save-button-wrapper .save {
height: 100%;
}
@media (prefers-reduced-motion: reduce) {
#customize-sidebar-outer-content {
transition: none;
}
}
#customize-theme-controls .control-section-outer {
display: none !important;
}
@@ -129,12 +123,6 @@ body:not(.ready) #customize-save-button-wrapper .save {
transition: left .18s;
}
@media (prefers-reduced-motion: reduce) {
.outer-section-open .wp-full-overlay.expanded #customize-sidebar-outer-content {
transition: none;
}
}
.customize-outer-pane-parent {
margin: 0;
}
@@ -472,6 +460,7 @@ body.trashing #publish-settings {
height: 20px;
cursor: pointer;
box-shadow: none;
-webkit-appearance: none;
background: transparent;
color: #50575e;
border: none;
@@ -548,13 +537,6 @@ body.trashing #publish-settings {
.15s border-color ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
#customize-theme-controls .accordion-section-title,
#customize-outer-theme-controls .accordion-section-title {
transition: none;
}
}
#customize-controls #customize-theme-controls .customize-themes-panel .accordion-section-title {
color: #50575e;
background-color: #fff;
@@ -653,14 +635,6 @@ body.trashing #publish-settings {
transition: 0.18s transform cubic-bezier(0.645, 0.045, 0.355, 1); /* easeInOutCubic */
}
@media (prefers-reduced-motion: reduce) {
#customize-info,
#customize-theme-controls .customize-pane-parent,
#customize-theme-controls .customize-pane-child {
transition: none;
}
}
#customize-theme-controls .customize-pane-child.skip-transition {
transition: none;
}
@@ -742,7 +716,7 @@ body.trashing #publish-settings {
}
.customize-section-title {
margin: -12px -12px 0;
margin: -12px -12px 0 -12px;
border-bottom: 1px solid #dcdcde;
background: #fff;
}
@@ -765,11 +739,11 @@ div.customize-section-description p:last-child {
#customize-theme-controls .customize-themes-panel h3.customize-section-title:first-child {
border-bottom: 1px solid #dcdcde;
padding: 12px;
padding: 12px 12px 12px 12px;
}
.ios #customize-theme-controls .customize-themes-panel h3.customize-section-title:first-child {
padding: 12px 12px 13px;
padding: 12px 12px 13px 12px;
}
.customize-section-title h3,
@@ -948,8 +922,7 @@ p.customize-section-description {
.customize-control input[type="number"],
.customize-control input[type="search"],
.customize-control input[type="tel"],
.customize-control input[type="url"],
.customize-control input[type="range"] {
.customize-control input[type="url"] {
width: 100%;
margin: 0;
}
@@ -989,7 +962,7 @@ p.customize-section-description {
.customize-section-description a.external-link:after {
font: 16px/11px dashicons;
content: "\f504";
content: "\f310";
top: 3px;
position: relative;
padding-left: 3px;
@@ -1140,7 +1113,7 @@ p.customize-section-description {
*/
#customize-controls .customize-control-notifications-container { /* Scoped to #customize-controls for specificity over notification styles in common.css. */
margin: 4px 0 8px;
margin: 4px 0 8px 0;
padding: 0;
cursor: default;
}
@@ -1153,7 +1126,7 @@ p.customize-section-description {
#customize-controls .customize-control-notifications-container li.notice {
list-style: none;
margin: 0 0 6px;
margin: 0 0 6px 0;
padding: 9px 14px;
overflow: hidden;
}
@@ -1455,7 +1428,7 @@ p.customize-section-description {
}
.customize-control-header .header-view:last-child {
margin-bottom: 0;
margin-bottom: 0px;
}
/* Convoluted, but 'outline' support isn't good enough yet */
@@ -1604,6 +1577,8 @@ p.customize-section-description {
font-family: Consolas, Monaco, monospace;
font-size: 12px;
padding: 6px 8px;
-moz-tab-size: 2;
-o-tab-size: 2;
tab-size: 2;
}
.customize-control-code_editor textarea,
@@ -1689,7 +1664,7 @@ p.customize-section-description {
border-bottom: 1px solid #dcdcde;
border-left: none;
border-right: none;
margin: 0 0 15px;
margin: 0 0 15px 0;
padding-right: 100px; /* Space for the button */
}
@@ -1730,12 +1705,6 @@ p.customize-section-description {
font-weight: 400;
}
#customize-notifications-area .notification-message button.switch-to-editor {
display: block;
margin-top: 6px;
font-weight: 400;
}
#customize-theme-controls .control-panel-themes > .accordion-section-title:after {
display: none;
}
@@ -1754,12 +1723,6 @@ p.customize-section-description {
z-index: 20;
}
@media (prefers-reduced-motion: reduce) {
.control-panel-themes .customize-themes-full-container {
transition: none;
}
}
@media screen and (min-width: 1670px) {
.control-panel-themes .customize-themes-full-container {
width: 82%;
@@ -1897,7 +1860,7 @@ p.customize-section-description {
}
.control-panel-themes .customize-themes-notifications .notice {
margin: 0 0 25px;
margin: 0 0 25px 0;
}
.customize-themes-full-container .customize-themes-section {
@@ -1911,7 +1874,7 @@ p.customize-section-description {
.control-section .customize-section-text-before {
padding: 0 0 8px 15px;
margin: 15px 0 0;
margin: 15px 0 0 0;
line-height: 16px;
border-bottom: 1px solid #dcdcde;
color: #50575e;
@@ -2132,7 +2095,7 @@ p.customize-section-description {
position: relative;
left: 0;
width: 100%;
margin: 0 0 25px;
margin: 0 0 25px 0;
}
.filter-drawer {
top: 46px;
@@ -2242,7 +2205,7 @@ p.customize-section-description {
width: 26px;
display: block;
line-height: 2.3;
padding: 0 8px;
padding: 0 8px 0 8px;
border-right: 1px solid #dcdcde;
}
@@ -2403,7 +2366,7 @@ body.cheatin h1 {
color: #50575e;
font-size: 24px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
margin: 30px 0 0;
margin: 30px 0 0 0;
padding: 0 0 7px;
}

File diff suppressed because one or more lines are too long

View File

@@ -12,7 +12,7 @@
#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;
padding: 0 12px 0 12px;
}
#customize-theme-controls .customize-control-description.customize-section-title-menu_locations-description {
@@ -101,7 +101,7 @@
.wp-customizer .menu-item-settings .description-thin {
width: 100%;
height: auto;
margin: 0 0 8px;
margin: 0 0 8px 0;
}
.wp-customizer .menu-item-settings input[type="text"] {
@@ -186,7 +186,7 @@
}
.wp-customizer .menu-settings dl {
margin: 12px 0 0;
margin: 12px 0 0 0;
padding: 0;
}
@@ -323,7 +323,7 @@
#available-menu-items .accordion-section-title .toggle-indicator:before {
content: "\f140";
display: block;
padding: 1px 0 1px 2px;
padding: 1px 0px 1px 2px;
speak: never;
border-radius: 50%;
color: #787c82;
@@ -582,8 +582,8 @@
}
#available-menu-items .accordion-section-content .available-menu-items-list {
margin: 0 0 45px;
padding: 1px 15px 15px;
margin: 0 0 45px 0;
padding: 1px 15px 15px 15px;
}
#available-menu-items .accordion-section-content .available-menu-items-list:only-child { /* Types that do not support new items for the current user */
@@ -591,7 +591,7 @@
}
#new-custom-menu-item .accordion-section-content {
padding: 0 15px 15px;
padding: 0 15px 15px 15px;
}
#available-menu-items .menu-item-tpl {
@@ -691,7 +691,7 @@
position: absolute;
right: 0;
top: 60px; /* below title div / search input */
bottom: 0; /* 100% height that still triggers lazy load */
bottom: 0px; /* 100% height that still triggers lazy load */
max-height: none;
width: 100%;
padding: 1px 15px 15px;
@@ -796,7 +796,7 @@ body.adding-menu-items #customize-preview iframe {
#create-new-menu-submit {
float: left;
margin: 0 0 12px;
margin: 0 0 12px 0;
}
.menu-delete-item {
@@ -806,7 +806,7 @@ body.adding-menu-items #customize-preview iframe {
}
.assigned-menu-locations-title p {
margin: 0 0 8px;
margin: 0 0 8px 0;
}
li.assigned-to-menu-location .menu-delete-item {

File diff suppressed because one or more lines are too long

View File

@@ -11,7 +11,7 @@
#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;
padding: 0 12px 0 12px;
}
#customize-theme-controls .customize-control-description.customize-section-title-menu_locations-description {
@@ -100,7 +100,7 @@
.wp-customizer .menu-item-settings .description-thin {
width: 100%;
height: auto;
margin: 0 0 8px;
margin: 0 0 8px 0;
}
.wp-customizer .menu-item-settings input[type="text"] {
@@ -185,7 +185,7 @@
}
.wp-customizer .menu-settings dl {
margin: 12px 0 0;
margin: 12px 0 0 0;
padding: 0;
}
@@ -322,7 +322,7 @@
#available-menu-items .accordion-section-title .toggle-indicator:before {
content: "\f140";
display: block;
padding: 1px 2px 1px 0;
padding: 1px 2px 1px 0px;
speak: never;
border-radius: 50%;
color: #787c82;
@@ -581,8 +581,8 @@
}
#available-menu-items .accordion-section-content .available-menu-items-list {
margin: 0 0 45px;
padding: 1px 15px 15px;
margin: 0 0 45px 0;
padding: 1px 15px 15px 15px;
}
#available-menu-items .accordion-section-content .available-menu-items-list:only-child { /* Types that do not support new items for the current user */
@@ -590,7 +590,7 @@
}
#new-custom-menu-item .accordion-section-content {
padding: 0 15px 15px;
padding: 0 15px 15px 15px;
}
#available-menu-items .menu-item-tpl {
@@ -690,7 +690,7 @@
position: absolute;
left: 0;
top: 60px; /* below title div / search input */
bottom: 0; /* 100% height that still triggers lazy load */
bottom: 0px; /* 100% height that still triggers lazy load */
max-height: none;
width: 100%;
padding: 1px 15px 15px;
@@ -795,7 +795,7 @@ body.adding-menu-items #customize-preview iframe {
#create-new-menu-submit {
float: right;
margin: 0 0 12px;
margin: 0 0 12px 0;
}
.menu-delete-item {
@@ -805,7 +805,7 @@ body.adding-menu-items #customize-preview iframe {
}
.assigned-menu-locations-title p {
margin: 0 0 8px;
margin: 0 0 8px 0;
}
li.assigned-to-menu-location .menu-delete-item {

File diff suppressed because one or more lines are too long

View File

@@ -82,7 +82,7 @@
}
.widget-inside {
padding: 1px 10px 10px;
padding: 1px 10px 10px 10px;
border-top: none;
line-height: 1.23076923;
}

File diff suppressed because one or more lines are too long

View File

@@ -81,7 +81,7 @@
}
.widget-inside {
padding: 1px 10px 10px;
padding: 1px 10px 10px 10px;
border-top: none;
line-height: 1.23076923;
}

File diff suppressed because one or more lines are too long

View File

@@ -111,101 +111,56 @@
max-width: 100%;
}
/* Screen meta exception for when the "Dashboard" heading is missing or located below the Welcome Panel. */
.index-php #screen-meta-links {
margin: 0 0 8px 20px;
}
/* Welcome Panel */
.welcome-panel {
position: relative;
overflow: auto;
margin: 16px 0;
background-color: #1d35b4;
font-size: 14px;
line-height: 1.3;
clear: both;
padding: 23px 10px 0;
border: 1px solid #c3c4c7;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
background: #fff;
font-size: 13px;
line-height: 1.7;
}
.welcome-panel h2 {
margin: 0;
font-size: 48px;
font-weight: 600;
line-height: 1.25;
font-size: 21px;
font-weight: 400;
line-height: 1.2;
}
.welcome-panel h3 {
margin: 0;
font-size: 20px;
font-weight: 400;
line-height: 1.4;
margin: 1.33em 0 0;
font-size: 16px;
}
.welcome-panel li {
font-size: 14px;
}
.welcome-panel p {
font-size: inherit;
line-height: inherit;
color: #646970;
}
.welcome-panel-header {
position: relative;
color: #fff;
}
.welcome-panel-header-image {
position: absolute !important;
top: 0;
left: 0;
bottom: 0;
right: 0;
z-index: 0 !important;
overflow: hidden;
}
.welcome-panel-header-image svg {
display: block;
margin: auto;
width: 100%;
height: 100%;
}
.rtl .welcome-panel-header-image svg {
transform: scaleX(-1);
}
.welcome-panel-header * {
color: inherit;
position: relative;
z-index: 1;
}
.welcome-panel-header a:focus,
.welcome-panel-header a:hover {
color: inherit;
.welcome-panel li a {
text-decoration: none;
}
.welcome-panel-header a:focus,
.welcome-panel .welcome-panel-close:focus {
outline-color: currentColor;
outline-offset: 1px;
box-shadow: none;
}
.welcome-panel-header p {
margin: 0.5em 0 0;
font-size: 20px;
line-height: 1.4;
.welcome-panel .about-description {
font-size: 16px;
margin: 0;
}
.welcome-panel .welcome-panel-close {
position: absolute;
top: 10px;
left: 10px;
padding: 10px 24px 10px 15px;
padding: 10px 21px 10px 15px;
font-size: 13px;
line-height: 1.23076923; /* Chrome rounding, needs to be 16px equivalent */
text-decoration: none;
z-index: 1; /* Raise above the version image. */
}
.welcome-panel .welcome-panel-close:before {
@@ -213,23 +168,8 @@
top: 8px;
right: 0;
transition: all .1s ease-in-out;
content: '\f335';
font-size: 24px;
color: #fff;
}
.welcome-panel .welcome-panel-close {
color: #fff;
}
.welcome-panel .welcome-panel-close:hover,
.welcome-panel .welcome-panel-close:focus,
.welcome-panel .welcome-panel-close:hover::before,
.welcome-panel .welcome-panel-close:focus::before {
color: #fff972;
}
/* @deprecated 5.9.0 -- Button removed from panel. */
.wp-core-ui .welcome-panel .button.button-hero {
margin: 15px 0 3px 13px;
padding: 12px 36px;
@@ -239,100 +179,54 @@
}
.welcome-panel-content {
min-height: 400px;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.welcome-panel-header {
box-sizing: border-box;
margin-right: auto;
margin-left: auto;
margin-right: 13px;
max-width: 1500px;
width: 100%;
padding: 48px 48px 80px 0;
}
.welcome-panel .welcome-panel-column-container {
box-sizing: border-box;
width: 100%;
clear: both;
display: grid;
z-index: 1;
padding: 48px;
grid-template-columns: repeat(3, 1fr);
gap: 32px;
align-self: flex-end;
background: #fff;
position: relative;
}
[class*="welcome-panel-icon"] {
height: 60px;
width: 60px;
background-position: center;
background-size: 24px 24px;
background-repeat: no-repeat;
border-radius: 100%;
.welcome-panel .welcome-panel-column {
width: 32%;
min-width: 200px;
float: right;
}
.welcome-panel-column > svg {
margin-top: 4px;
.welcome-panel .welcome-panel-column:first-child {
width: 36%;
}
.welcome-panel-column {
display: grid;
grid-template-columns: min-content 1fr;
gap: 24px;
.welcome-panel-column p.hide-if-no-customize {
margin-top: 10px;
}
.welcome-panel-icon-pages {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M7 13.8h6v-1.5H7v1.5zM18 16V4c0-1.1-.9-2-2-2H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2zM5.5 16V4c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v12c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5zM7 10.5h8V9H7v1.5zm0-3.3h8V5.8H7v1.4zM20.2 6v13c0 .7-.6 1.2-1.2 1.2H8v1.5h11c1.5 0 2.7-1.2 2.7-2.8V6h-1.5z' /%3E%3C/svg%3E");
.welcome-panel-column p {
margin-top: 7px;
color: #3c434a;
}
.welcome-panel-icon-layout {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z' /%3E%3C/svg%3E");
}
.welcome-panel-icon-styles {
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23fff' d='M12 4c-4.4 0-8 3.6-8 8v.1c0 4.1 3.2 7.5 7.2 7.9h.8c4.4 0 8-3.6 8-8s-3.6-8-8-8zm0 15V5c3.9 0 7 3.1 7 7s-3.1 7-7 7z' /%3E%3C/svg%3E");
}
/* @deprecated 5.9.0 -- Section removed from welcome panel. */
.welcome-panel .welcome-widgets-menus {
line-height: 1.14285714;
}
/* @deprecated 5.9.0 -- Lists removed from welcome panel. */
.welcome-panel .welcome-panel-column ul {
margin: 0.8em 0 1em 1em;
}
/* @deprecated 5.9.0 -- Lists removed from welcome panel. */
.welcome-panel li {
font-size: 14px;
}
/* @deprecated 5.9.0 -- Lists removed from welcome panel. */
.welcome-panel li a {
text-decoration: none;
}
/* @deprecated 5.9.0 -- Lists removed from welcome panel. */
.welcome-panel .welcome-panel-column li {
line-height: 1.14285714;
list-style-type: none;
padding: 0 0 8px;
}
/* @deprecated 5.9.0 -- Icons removed from welcome panel. */
.welcome-panel .welcome-icon {
background: transparent !important;
}
/* Welcome Panel and Right Now common Icons style */
/* @deprecated 5.9.0 -- Icons removed from welcome panel. */
.welcome-panel .welcome-icon:before,
#dashboard_right_now li a:before,
#dashboard_right_now li span:before,
@@ -351,56 +245,47 @@
/* Welcome Panel specific Icons styles */
/* @deprecated 5.9.0 -- Icons removed from welcome panel. */
.welcome-panel .welcome-write-blog:before,
.welcome-panel .welcome-edit-page:before {
content: "\f119";
top: -3px;
}
/* @deprecated 5.9.0 -- Icons removed from welcome panel. */
.welcome-panel .welcome-add-page:before {
content: "\f132";
top: -1px;
}
/* @deprecated 5.9.0 -- Icons removed from welcome panel. */
.welcome-panel .welcome-setup-home:before {
content: "\f102";
top: -1px;
}
/* @deprecated 5.9.0 -- Icons removed from welcome panel. */
.welcome-panel .welcome-view-site:before {
content: "\f115";
top: -2px;
}
/* @deprecated 5.9.0 -- Icons removed from welcome panel. */
.welcome-panel .welcome-widgets-menus:before {
content: "\f116";
top: -2px;
}
/* @deprecated 5.9.0 -- Icons removed from welcome panel. */
.welcome-panel .welcome-widgets:before {
content: "\f538";
top: -2px;
}
/* @deprecated 5.9.0 -- Icons removed from welcome panel. */
.welcome-panel .welcome-menus:before {
content: "\f163";
top: -2px;
}
/* @deprecated 5.9.0 -- Icons removed from welcome panel. */
.welcome-panel .welcome-comments:before {
content: "\f117";
top: -1px;
}
/* @deprecated 5.9.0 -- Icons removed from welcome panel. */
.welcome-panel .welcome-learn-more:before {
content: "\f118";
top: -1px;
@@ -470,7 +355,7 @@
.community-events-errors [aria-hidden="true"],
.community-events-loading[aria-hidden="true"],
.community-events[aria-hidden="true"],
.community-events form[aria-hidden="true"] {
.community-events [aria-hidden="true"] {
display: none;
}
@@ -634,7 +519,7 @@ body #dashboard-widgets .postbox form .submit {
#dashboard_primary .rss-widget {
font-size: 13px;
padding: 0 12px;
padding: 0 12px 0;
}
#dashboard_primary .rss-widget:last-child {
@@ -715,7 +600,7 @@ body #dashboard-widgets .postbox form .submit {
color: #50575e;
background: #f6f7f7;
border-top: 1px solid #f0f0f1;
padding: 10px 12px 6px;
padding: 10px 12px 6px 12px;
}
#dashboard_right_now .sub h3 {
@@ -951,7 +836,7 @@ body #dashboard-widgets .postbox form .submit {
}
#activity-widget #the-comment-list .comment-item p.row-actions {
margin: 4px 0 0;
margin: 4px 0 0 0;
}
#activity-widget #the-comment-list .comment-item:first-child {
@@ -1195,8 +1080,7 @@ a.rsswidget {
padding-left: 6px;
}
#dashboard_php_nag.php-no-security-updates .dashicons-warning,
#dashboard_php_nag.php-version-lower-than-future-minimum .dashicons-warning {
#dashboard_php_nag.php-insecure .dashicons-warning {
color: #d63638;
}
@@ -1208,30 +1092,17 @@ a.rsswidget {
margin: 12px 0;
}
#dashboard_php_nag h3 {
font-weight: 600;
}
#dashboard_php_nag .button .dashicons-external {
line-height: 25px;
}
.bigger-bolder-text {
font-weight: 600;
font-size: 14px;
}
/* =Media Queries
-------------------------------------------------------------- */
@media only screen and (min-width: 1600px) {
.welcome-panel .welcome-panel-column-container {
display: flex;
justify-content: center;
}
.welcome-panel-column {
width: 100%;
max-width: 460px;
}
}
/* one column on the dash */
@media only screen and (max-width: 799px) {
#wpbody-content #dashboard-widgets .postbox-container {
@@ -1343,59 +1214,25 @@ a.rsswidget {
}
@media screen and (max-width: 870px) {
/* @deprecated 5.9.0 -- Lists removed from welcome panel. */
.welcome-panel .welcome-panel-column,
.welcome-panel .welcome-panel-column:first-child {
display: block;
float: none;
width: 100%;
}
.welcome-panel .welcome-panel-column li {
display: inline-block;
margin-left: 13px;
}
/* @deprecated 5.9.0 -- Lists removed from welcome panel. */
.welcome-panel .welcome-panel-column ul {
margin: 0.4em 0 0;
}
}
@media screen and (max-width: 1180px) and (min-width: 783px) {
.welcome-panel-column {
grid-template-columns: 1fr;
}
[class*="welcome-panel-icon"],
.welcome-panel-column > svg {
display: none;
}
}
@media screen and (max-width: 782px) {
.welcome-panel .welcome-panel-column-container {
grid-template-columns: 1fr;
box-sizing: border-box;
padding: 32px;
width: 100%;
}
.welcome-panel .welcome-panel-column-content {
max-width: 520px;
}
/* Keep the close icon from overlapping the Welcome text. */
.welcome-panel .welcome-panel-close {
overflow: hidden;
text-indent: 40px;
white-space: nowrap;
width: 20px;
height: 20px;
padding: 5px;
top: 5px;
left: 5px;
}
.welcome-panel .welcome-panel-close::before {
top: 5px;
right: -35px;
}
#dashboard-widgets h2 {
padding: 12px;
}
@@ -1438,29 +1275,23 @@ a.rsswidget {
/* Smartphone */
@media screen and (max-width: 600px) {
.welcome-panel-header {
padding: 32px 32px 64px;
/* Keep the close icon from overlapping the Welcome text. */
.welcome-panel .welcome-panel-close {
overflow: hidden;
text-indent: 40px;
white-space: nowrap;
width: 20px;
height: 20px;
padding: 5px;
top: 5px;
left: 5px;
}
.welcome-panel-header-image {
display: none;
}
}
@media screen and (max-width: 480px) {
.welcome-panel-column {
gap: 16px;
}
}
@media screen and (max-width: 360px) {
.welcome-panel-column {
grid-template-columns: 1fr;
}
[class*="welcome-panel-icon"],
.welcome-panel-column > svg {
display: none;
/* Make the close icon larger for tappability. */
.welcome-panel .welcome-panel-close:before {
font-size: 20px;
top: 5px;
right: -35px;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -110,101 +110,56 @@
max-width: 100%;
}
/* Screen meta exception for when the "Dashboard" heading is missing or located below the Welcome Panel. */
.index-php #screen-meta-links {
margin: 0 20px 8px 0;
}
/* Welcome Panel */
.welcome-panel {
position: relative;
overflow: auto;
margin: 16px 0;
background-color: #1d35b4;
font-size: 14px;
line-height: 1.3;
clear: both;
padding: 23px 10px 0;
border: 1px solid #c3c4c7;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
background: #fff;
font-size: 13px;
line-height: 1.7;
}
.welcome-panel h2 {
margin: 0;
font-size: 48px;
font-weight: 600;
line-height: 1.25;
font-size: 21px;
font-weight: 400;
line-height: 1.2;
}
.welcome-panel h3 {
margin: 0;
font-size: 20px;
font-weight: 400;
line-height: 1.4;
margin: 1.33em 0 0;
font-size: 16px;
}
.welcome-panel li {
font-size: 14px;
}
.welcome-panel p {
font-size: inherit;
line-height: inherit;
color: #646970;
}
.welcome-panel-header {
position: relative;
color: #fff;
}
.welcome-panel-header-image {
position: absolute !important;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 0 !important;
overflow: hidden;
}
.welcome-panel-header-image svg {
display: block;
margin: auto;
width: 100%;
height: 100%;
}
.rtl .welcome-panel-header-image svg {
transform: scaleX(-1);
}
.welcome-panel-header * {
color: inherit;
position: relative;
z-index: 1;
}
.welcome-panel-header a:focus,
.welcome-panel-header a:hover {
color: inherit;
.welcome-panel li a {
text-decoration: none;
}
.welcome-panel-header a:focus,
.welcome-panel .welcome-panel-close:focus {
outline-color: currentColor;
outline-offset: 1px;
box-shadow: none;
}
.welcome-panel-header p {
margin: 0.5em 0 0;
font-size: 20px;
line-height: 1.4;
.welcome-panel .about-description {
font-size: 16px;
margin: 0;
}
.welcome-panel .welcome-panel-close {
position: absolute;
top: 10px;
right: 10px;
padding: 10px 15px 10px 24px;
padding: 10px 15px 10px 21px;
font-size: 13px;
line-height: 1.23076923; /* Chrome rounding, needs to be 16px equivalent */
text-decoration: none;
z-index: 1; /* Raise above the version image. */
}
.welcome-panel .welcome-panel-close:before {
@@ -212,23 +167,8 @@
top: 8px;
left: 0;
transition: all .1s ease-in-out;
content: '\f335';
font-size: 24px;
color: #fff;
}
.welcome-panel .welcome-panel-close {
color: #fff;
}
.welcome-panel .welcome-panel-close:hover,
.welcome-panel .welcome-panel-close:focus,
.welcome-panel .welcome-panel-close:hover::before,
.welcome-panel .welcome-panel-close:focus::before {
color: #fff972;
}
/* @deprecated 5.9.0 -- Button removed from panel. */
.wp-core-ui .welcome-panel .button.button-hero {
margin: 15px 13px 3px 0;
padding: 12px 36px;
@@ -238,100 +178,54 @@
}
.welcome-panel-content {
min-height: 400px;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.welcome-panel-header {
box-sizing: border-box;
margin-left: auto;
margin-right: auto;
margin-left: 13px;
max-width: 1500px;
width: 100%;
padding: 48px 0 80px 48px;
}
.welcome-panel .welcome-panel-column-container {
box-sizing: border-box;
width: 100%;
clear: both;
display: grid;
z-index: 1;
padding: 48px;
grid-template-columns: repeat(3, 1fr);
gap: 32px;
align-self: flex-end;
background: #fff;
position: relative;
}
[class*="welcome-panel-icon"] {
height: 60px;
width: 60px;
background-position: center;
background-size: 24px 24px;
background-repeat: no-repeat;
border-radius: 100%;
.welcome-panel .welcome-panel-column {
width: 32%;
min-width: 200px;
float: left;
}
.welcome-panel-column > svg {
margin-top: 4px;
.welcome-panel .welcome-panel-column:first-child {
width: 36%;
}
.welcome-panel-column {
display: grid;
grid-template-columns: min-content 1fr;
gap: 24px;
.welcome-panel-column p.hide-if-no-customize {
margin-top: 10px;
}
.welcome-panel-icon-pages {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M7 13.8h6v-1.5H7v1.5zM18 16V4c0-1.1-.9-2-2-2H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2zM5.5 16V4c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v12c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5zM7 10.5h8V9H7v1.5zm0-3.3h8V5.8H7v1.4zM20.2 6v13c0 .7-.6 1.2-1.2 1.2H8v1.5h11c1.5 0 2.7-1.2 2.7-2.8V6h-1.5z' /%3E%3C/svg%3E");
.welcome-panel-column p {
margin-top: 7px;
color: #3c434a;
}
.welcome-panel-icon-layout {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z' /%3E%3C/svg%3E");
}
.welcome-panel-icon-styles {
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23fff' d='M12 4c-4.4 0-8 3.6-8 8v.1c0 4.1 3.2 7.5 7.2 7.9h.8c4.4 0 8-3.6 8-8s-3.6-8-8-8zm0 15V5c3.9 0 7 3.1 7 7s-3.1 7-7 7z' /%3E%3C/svg%3E");
}
/* @deprecated 5.9.0 -- Section removed from welcome panel. */
.welcome-panel .welcome-widgets-menus {
line-height: 1.14285714;
}
/* @deprecated 5.9.0 -- Lists removed from welcome panel. */
.welcome-panel .welcome-panel-column ul {
margin: 0.8em 1em 1em 0;
}
/* @deprecated 5.9.0 -- Lists removed from welcome panel. */
.welcome-panel li {
font-size: 14px;
}
/* @deprecated 5.9.0 -- Lists removed from welcome panel. */
.welcome-panel li a {
text-decoration: none;
}
/* @deprecated 5.9.0 -- Lists removed from welcome panel. */
.welcome-panel .welcome-panel-column li {
line-height: 1.14285714;
list-style-type: none;
padding: 0 0 8px;
}
/* @deprecated 5.9.0 -- Icons removed from welcome panel. */
.welcome-panel .welcome-icon {
background: transparent !important;
}
/* Welcome Panel and Right Now common Icons style */
/* @deprecated 5.9.0 -- Icons removed from welcome panel. */
.welcome-panel .welcome-icon:before,
#dashboard_right_now li a:before,
#dashboard_right_now li span:before,
@@ -350,56 +244,47 @@
/* Welcome Panel specific Icons styles */
/* @deprecated 5.9.0 -- Icons removed from welcome panel. */
.welcome-panel .welcome-write-blog:before,
.welcome-panel .welcome-edit-page:before {
content: "\f119";
top: -3px;
}
/* @deprecated 5.9.0 -- Icons removed from welcome panel. */
.welcome-panel .welcome-add-page:before {
content: "\f132";
top: -1px;
}
/* @deprecated 5.9.0 -- Icons removed from welcome panel. */
.welcome-panel .welcome-setup-home:before {
content: "\f102";
top: -1px;
}
/* @deprecated 5.9.0 -- Icons removed from welcome panel. */
.welcome-panel .welcome-view-site:before {
content: "\f115";
top: -2px;
}
/* @deprecated 5.9.0 -- Icons removed from welcome panel. */
.welcome-panel .welcome-widgets-menus:before {
content: "\f116";
top: -2px;
}
/* @deprecated 5.9.0 -- Icons removed from welcome panel. */
.welcome-panel .welcome-widgets:before {
content: "\f538";
top: -2px;
}
/* @deprecated 5.9.0 -- Icons removed from welcome panel. */
.welcome-panel .welcome-menus:before {
content: "\f163";
top: -2px;
}
/* @deprecated 5.9.0 -- Icons removed from welcome panel. */
.welcome-panel .welcome-comments:before {
content: "\f117";
top: -1px;
}
/* @deprecated 5.9.0 -- Icons removed from welcome panel. */
.welcome-panel .welcome-learn-more:before {
content: "\f118";
top: -1px;
@@ -469,7 +354,7 @@
.community-events-errors [aria-hidden="true"],
.community-events-loading[aria-hidden="true"],
.community-events[aria-hidden="true"],
.community-events form[aria-hidden="true"] {
.community-events [aria-hidden="true"] {
display: none;
}
@@ -633,7 +518,7 @@ body #dashboard-widgets .postbox form .submit {
#dashboard_primary .rss-widget {
font-size: 13px;
padding: 0 12px;
padding: 0 12px 0;
}
#dashboard_primary .rss-widget:last-child {
@@ -714,7 +599,7 @@ body #dashboard-widgets .postbox form .submit {
color: #50575e;
background: #f6f7f7;
border-top: 1px solid #f0f0f1;
padding: 10px 12px 6px;
padding: 10px 12px 6px 12px;
}
#dashboard_right_now .sub h3 {
@@ -950,7 +835,7 @@ body #dashboard-widgets .postbox form .submit {
}
#activity-widget #the-comment-list .comment-item p.row-actions {
margin: 4px 0 0;
margin: 4px 0 0 0;
}
#activity-widget #the-comment-list .comment-item:first-child {
@@ -1194,8 +1079,7 @@ a.rsswidget {
padding-right: 6px;
}
#dashboard_php_nag.php-no-security-updates .dashicons-warning,
#dashboard_php_nag.php-version-lower-than-future-minimum .dashicons-warning {
#dashboard_php_nag.php-insecure .dashicons-warning {
color: #d63638;
}
@@ -1207,30 +1091,17 @@ a.rsswidget {
margin: 12px 0;
}
#dashboard_php_nag h3 {
font-weight: 600;
}
#dashboard_php_nag .button .dashicons-external {
line-height: 25px;
}
.bigger-bolder-text {
font-weight: 600;
font-size: 14px;
}
/* =Media Queries
-------------------------------------------------------------- */
@media only screen and (min-width: 1600px) {
.welcome-panel .welcome-panel-column-container {
display: flex;
justify-content: center;
}
.welcome-panel-column {
width: 100%;
max-width: 460px;
}
}
/* one column on the dash */
@media only screen and (max-width: 799px) {
#wpbody-content #dashboard-widgets .postbox-container {
@@ -1342,59 +1213,25 @@ a.rsswidget {
}
@media screen and (max-width: 870px) {
/* @deprecated 5.9.0 -- Lists removed from welcome panel. */
.welcome-panel .welcome-panel-column,
.welcome-panel .welcome-panel-column:first-child {
display: block;
float: none;
width: 100%;
}
.welcome-panel .welcome-panel-column li {
display: inline-block;
margin-right: 13px;
}
/* @deprecated 5.9.0 -- Lists removed from welcome panel. */
.welcome-panel .welcome-panel-column ul {
margin: 0.4em 0 0;
}
}
@media screen and (max-width: 1180px) and (min-width: 783px) {
.welcome-panel-column {
grid-template-columns: 1fr;
}
[class*="welcome-panel-icon"],
.welcome-panel-column > svg {
display: none;
}
}
@media screen and (max-width: 782px) {
.welcome-panel .welcome-panel-column-container {
grid-template-columns: 1fr;
box-sizing: border-box;
padding: 32px;
width: 100%;
}
.welcome-panel .welcome-panel-column-content {
max-width: 520px;
}
/* Keep the close icon from overlapping the Welcome text. */
.welcome-panel .welcome-panel-close {
overflow: hidden;
text-indent: 40px;
white-space: nowrap;
width: 20px;
height: 20px;
padding: 5px;
top: 5px;
right: 5px;
}
.welcome-panel .welcome-panel-close::before {
top: 5px;
left: -35px;
}
#dashboard-widgets h2 {
padding: 12px;
}
@@ -1437,29 +1274,23 @@ a.rsswidget {
/* Smartphone */
@media screen and (max-width: 600px) {
.welcome-panel-header {
padding: 32px 32px 64px;
/* Keep the close icon from overlapping the Welcome text. */
.welcome-panel .welcome-panel-close {
overflow: hidden;
text-indent: 40px;
white-space: nowrap;
width: 20px;
height: 20px;
padding: 5px;
top: 5px;
right: 5px;
}
.welcome-panel-header-image {
display: none;
}
}
@media screen and (max-width: 480px) {
.welcome-panel-column {
gap: 16px;
}
}
@media screen and (max-width: 360px) {
.welcome-panel-column {
grid-template-columns: 1fr;
}
[class*="welcome-panel-icon"],
.welcome-panel-column > svg {
display: none;
/* Make the close icon larger for tappability. */
.welcome-panel .welcome-panel-close:before {
font-size: 20px;
top: 5px;
left: -35px;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -101,7 +101,7 @@ th {
width: 100%;
border: none;
text-align: justify;
margin: 0 0 1em;
margin: 0 0 1em 0;
padding: 0;
}

File diff suppressed because one or more lines are too long

View File

@@ -100,7 +100,7 @@ th {
width: 100%;
border: none;
text-align: justify;
margin: 0 0 1em;
margin: 0 0 1em 0;
padding: 0;
}

File diff suppressed because one or more lines are too long

View File

@@ -98,12 +98,6 @@ input#link_url {
color: #646970;
}
#sample-permalink {
display: inline-block;
max-width: 100%;
word-wrap: break-word;
}
#edit-slug-box .cancel {
margin-left: 10px;
padding: 0;
@@ -153,11 +147,6 @@ body.post-new-php .submitbox .submitdelete {
margin-top: 3px;
}
body.post-type-wp_navigation div#minor-publishing,
body.post-type-wp_navigation .inline-edit-status {
display: none;
}
/* Post Screen */
/* Only highlight drop zones when dragging and only in the 2 columns layout. */
@@ -462,7 +451,7 @@ form#tags-filter {
}
.curtime #timestamp {
padding: 2px 0 1px;
padding: 2px 0 1px 0;
display: inline !important;
height: auto !important;
}
@@ -662,7 +651,7 @@ form#tags-filter {
}
#poststuff .inside {
margin: 6px 0 0;
margin: 6px 0 0 0;
}
.link-php #poststuff .inside,
@@ -726,17 +715,6 @@ form#tags-filter {
padding-right: 0;
}
/* Better position for the WordPress admin notices. */
.privacy-settings .notice,
.site-health .notice {
margin: 25px 22px 15px 20px;
}
.privacy-settings .notice ~ .notice,
.site-health .notice ~ .notice {
margin-top: 5px;
}
/* Emulates .wrap h1 styling */
.privacy-settings-header h1,
.health-check-header h1 {
@@ -744,7 +722,7 @@ form#tags-filter {
font-weight: 600;
margin: 0 0.8rem 1rem;
font-size: 23px;
padding: 9px 0 4px;
padding: 9px 0 4px 0;
line-height: 1.3;
}
@@ -1386,7 +1364,7 @@ p.description code {
}
#poststuff .tagsdiv .howto {
margin: 1em 0 6px;
margin: 1em 0 6px 0;
}
.ajaxtag .newtag {
@@ -1795,7 +1773,7 @@ table.links-table {
}
#titlediv #title-prompt-text {
padding: 10px;
padding: 10px 10px;
}
#poststuff .stuffbox .inside {
@@ -1978,7 +1956,12 @@ table.links-table {
}
.misc-pub-section {
padding: 20px 10px;
padding: 20px 10px 20px;
}
.misc-pub-section > a {
float: left;
font-size: 16px;
}
#delete-action,

File diff suppressed because one or more lines are too long

View File

@@ -97,12 +97,6 @@ input#link_url {
color: #646970;
}
#sample-permalink {
display: inline-block;
max-width: 100%;
word-wrap: break-word;
}
#edit-slug-box .cancel {
margin-right: 10px;
padding: 0;
@@ -152,11 +146,6 @@ body.post-new-php .submitbox .submitdelete {
margin-top: 3px;
}
body.post-type-wp_navigation div#minor-publishing,
body.post-type-wp_navigation .inline-edit-status {
display: none;
}
/* Post Screen */
/* Only highlight drop zones when dragging and only in the 2 columns layout. */
@@ -461,7 +450,7 @@ form#tags-filter {
}
.curtime #timestamp {
padding: 2px 0 1px;
padding: 2px 0 1px 0;
display: inline !important;
height: auto !important;
}
@@ -661,7 +650,7 @@ form#tags-filter {
}
#poststuff .inside {
margin: 6px 0 0;
margin: 6px 0 0 0;
}
.link-php #poststuff .inside,
@@ -725,17 +714,6 @@ form#tags-filter {
padding-left: 0;
}
/* Better position for the WordPress admin notices. */
.privacy-settings .notice,
.site-health .notice {
margin: 25px 20px 15px 22px;
}
.privacy-settings .notice ~ .notice,
.site-health .notice ~ .notice {
margin-top: 5px;
}
/* Emulates .wrap h1 styling */
.privacy-settings-header h1,
.health-check-header h1 {
@@ -743,7 +721,7 @@ form#tags-filter {
font-weight: 600;
margin: 0 0.8rem 1rem;
font-size: 23px;
padding: 9px 0 4px;
padding: 9px 0 4px 0;
line-height: 1.3;
}
@@ -1385,7 +1363,7 @@ p.description code {
}
#poststuff .tagsdiv .howto {
margin: 1em 0 6px;
margin: 1em 0 6px 0;
}
.ajaxtag .newtag {
@@ -1794,7 +1772,7 @@ table.links-table {
}
#titlediv #title-prompt-text {
padding: 10px;
padding: 10px 10px;
}
#poststuff .stuffbox .inside {
@@ -1977,7 +1955,12 @@ table.links-table {
}
.misc-pub-section {
padding: 20px 10px;
padding: 20px 10px 20px;
}
.misc-pub-section > a {
float: right;
font-size: 16px;
}
#delete-action,

File diff suppressed because one or more lines are too long

View File

@@ -33,7 +33,7 @@ select {
}
textarea.code {
padding: 4px 6px 1px;
padding: 4px 6px 1px 6px;
}
input[type="text"],
@@ -777,12 +777,6 @@ ul#add-to-blog-users {
.form-table p.timezone-info {
margin: 1em 0;
display: flex;
flex-direction: column;
}
#local-time {
margin-top: 0.5em;
}
.form-table td fieldset label {
@@ -892,7 +886,6 @@ table.form-table td .updated p {
#application-passwords-section .notice {
margin-top: 20px;
margin-bottom: 0;
word-wrap: break-word;
}
.application-password-display input.code {
@@ -1007,8 +1000,8 @@ table.form-table td .updated p {
.pressthis-bookmarklet span {
display: inline-block;
margin: 0;
padding: 0 9px 8px 12px;
margin: 0px 0 0;
padding: 0px 9px 8px 12px;
}
.pressthis-bookmarklet span:before {
@@ -1070,49 +1063,16 @@ table.form-table td .updated p {
}
.settings-php .language-install-spinner,
.options-general-php .language-install-spinner,
.user-edit-php .language-install-spinner,
.profile-php .language-install-spinner {
.options-general-php .language-install-spinner {
display: inline-block;
float: none;
margin: -3px 5px 0;
vertical-align: middle;
}
.form-table.permalink-structure .available-structure-tags {
margin-top: 8px;
}
.form-table.permalink-structure .available-structure-tags ul {
display: flex;
flex-wrap: wrap;
margin: 8px 0 0;
}
.form-table.permalink-structure .available-structure-tags li {
margin: 6px 0 0 5px;
}
.form-table.permalink-structure .available-structure-tags li:last-child {
margin-left: 0;
}
.form-table.permalink-structure .structure-selection .row {
margin-bottom: 16px;
}
.form-table.permalink-structure .structure-selection .row > div {
max-width: calc(100% - 24px);
display: inline-flex;
flex-direction: column;
}
.form-table.permalink-structure .structure-selection .row label {
font-weight: 600;
}
.form-table.permalink-structure .structure-selection .row p {
margin-top: 0;
float: right;
margin-left: 5px;
}
/*------------------------------------------------------------------------------
@@ -1148,11 +1108,6 @@ table.form-table td .updated p {
max-width: 60%;
}
.configuration-rules-label {
font-weight: 600;
margin-bottom: 4px;
}
/*------------------------------------------------------------------------------
Credentials check dialog for Install and Updates
------------------------------------------------------------------------------*/
@@ -1271,7 +1226,7 @@ table.form-table td .updated p {
}
.request-filesystem-credentials-form .notice {
margin: 0 0 20px;
margin: 0 0 20px 0;
clear: both;
}
@@ -1282,12 +1237,9 @@ table.form-table td .updated p {
margin-bottom: 1.3em;
}
.tools-privacy-policy-page input.button {
margin: 0 6px 0 1px;
}
.tools-privacy-policy-page input.button,
.tools-privacy-policy-page select {
margin: 0 6px 0.5em 1px;
margin: 0 6px 0 1px;
}
.tools-privacy-edit {
@@ -1574,10 +1526,6 @@ table.form-table td .updated p {
margin: 0 3px;
}
.form-table .regular-text ~ input[type="text"].small-text {
margin-top: 5px;
}
#pass-strength-result {
width: 100%;
box-sizing: border-box;
@@ -1612,30 +1560,24 @@ table.form-table td .updated p {
}
.form-table th {
padding: 10px 0 0;
padding: 10px 0 0 0;
border-bottom: 0;
}
.form-table td {
margin-bottom: 0;
padding: 4px 0 6px;
padding: 4px 0 6px 0;
}
.form-table.permalink-structure td code {
margin-right: 32px;
display: inline-block;
}
.form-table.permalink-structure .structure-selection {
margin-top: 8px;
}
.form-table.permalink-structure .structure-selection .row > div {
max-width: calc(100% - 36px);
width: 100%;
}
.form-table.permalink-structure td input[type="text"] {
margin-right: 32px;
margin-top: 4px;
width: 96%;
}
.form-table input.regular-text {
@@ -1654,6 +1596,13 @@ table.form-table td .updated p {
display: block;
}
#utc-time,
#local-time {
display: block;
float: none;
margin-top: 0.5em;
}
.form-field #domain {
max-width: none;
}
@@ -1688,10 +1637,6 @@ table.form-table td .updated p {
left: 2.5rem;
}
body.user-new-php .wp-pwd button.wp-hide-pw {
left: 0;
}
.wp-pwd button.button:hover,
.wp-pwd button.button:focus {
background: transparent;
@@ -1713,11 +1658,6 @@ table.form-table td .updated p {
padding-left: 5rem;
}
body.user-new-php .wp-pwd [type="text"],
body.user-new-php .wp-pwd [type="password"] {
padding-left: 2.5rem;
}
.wp-cancel-pw .dashicons-no {
display: inline-block;
}

File diff suppressed because one or more lines are too long

View File

@@ -32,7 +32,7 @@ select {
}
textarea.code {
padding: 4px 6px 1px;
padding: 4px 6px 1px 6px;
}
input[type="text"],
@@ -776,12 +776,6 @@ ul#add-to-blog-users {
.form-table p.timezone-info {
margin: 1em 0;
display: flex;
flex-direction: column;
}
#local-time {
margin-top: 0.5em;
}
.form-table td fieldset label {
@@ -891,7 +885,6 @@ table.form-table td .updated p {
#application-passwords-section .notice {
margin-top: 20px;
margin-bottom: 0;
word-wrap: break-word;
}
.application-password-display input.code {
@@ -1006,8 +999,8 @@ table.form-table td .updated p {
.pressthis-bookmarklet span {
display: inline-block;
margin: 0;
padding: 0 12px 8px 9px;
margin: 0px 0 0;
padding: 0px 12px 8px 9px;
}
.pressthis-bookmarklet span:before {
@@ -1069,49 +1062,16 @@ table.form-table td .updated p {
}
.settings-php .language-install-spinner,
.options-general-php .language-install-spinner,
.user-edit-php .language-install-spinner,
.profile-php .language-install-spinner {
.options-general-php .language-install-spinner {
display: inline-block;
float: none;
margin: -3px 5px 0;
vertical-align: middle;
}
.form-table.permalink-structure .available-structure-tags {
margin-top: 8px;
}
.form-table.permalink-structure .available-structure-tags ul {
display: flex;
flex-wrap: wrap;
margin: 8px 0 0;
}
.form-table.permalink-structure .available-structure-tags li {
margin: 6px 5px 0 0;
}
.form-table.permalink-structure .available-structure-tags li:last-child {
margin-right: 0;
}
.form-table.permalink-structure .structure-selection .row {
margin-bottom: 16px;
}
.form-table.permalink-structure .structure-selection .row > div {
max-width: calc(100% - 24px);
display: inline-flex;
flex-direction: column;
}
.form-table.permalink-structure .structure-selection .row label {
font-weight: 600;
}
.form-table.permalink-structure .structure-selection .row p {
margin-top: 0;
float: left;
margin-right: 5px;
}
/*------------------------------------------------------------------------------
@@ -1147,11 +1107,6 @@ table.form-table td .updated p {
max-width: 60%;
}
.configuration-rules-label {
font-weight: 600;
margin-bottom: 4px;
}
/*------------------------------------------------------------------------------
Credentials check dialog for Install and Updates
------------------------------------------------------------------------------*/
@@ -1270,7 +1225,7 @@ table.form-table td .updated p {
}
.request-filesystem-credentials-form .notice {
margin: 0 0 20px;
margin: 0 0 20px 0;
clear: both;
}
@@ -1281,12 +1236,9 @@ table.form-table td .updated p {
margin-bottom: 1.3em;
}
.tools-privacy-policy-page input.button {
margin: 0 1px 0 6px;
}
.tools-privacy-policy-page input.button,
.tools-privacy-policy-page select {
margin: 0 1px 0.5em 6px;
margin: 0 1px 0 6px;
}
.tools-privacy-edit {
@@ -1573,10 +1525,6 @@ table.form-table td .updated p {
margin: 0 3px;
}
.form-table .regular-text ~ input[type="text"].small-text {
margin-top: 5px;
}
#pass-strength-result {
width: 100%;
box-sizing: border-box;
@@ -1611,30 +1559,24 @@ table.form-table td .updated p {
}
.form-table th {
padding: 10px 0 0;
padding: 10px 0 0 0;
border-bottom: 0;
}
.form-table td {
margin-bottom: 0;
padding: 4px 0 6px;
padding: 4px 0 6px 0;
}
.form-table.permalink-structure td code {
margin-left: 32px;
display: inline-block;
}
.form-table.permalink-structure .structure-selection {
margin-top: 8px;
}
.form-table.permalink-structure .structure-selection .row > div {
max-width: calc(100% - 36px);
width: 100%;
}
.form-table.permalink-structure td input[type="text"] {
margin-left: 32px;
margin-top: 4px;
width: 96%;
}
.form-table input.regular-text {
@@ -1653,6 +1595,13 @@ table.form-table td .updated p {
display: block;
}
#utc-time,
#local-time {
display: block;
float: none;
margin-top: 0.5em;
}
.form-field #domain {
max-width: none;
}
@@ -1687,10 +1636,6 @@ table.form-table td .updated p {
right: 2.5rem;
}
body.user-new-php .wp-pwd button.wp-hide-pw {
right: 0;
}
.wp-pwd button.button:hover,
.wp-pwd button.button:focus {
background: transparent;
@@ -1712,11 +1657,6 @@ table.form-table td .updated p {
padding-right: 5rem;
}
body.user-new-php .wp-pwd [type="text"],
body.user-new-php .wp-pwd [type="password"] {
padding-right: 2.5rem;
}
.wp-cancel-pw .dashicons-no {
display: inline-block;
}

File diff suppressed because one or more lines are too long

View File

@@ -10,7 +10,7 @@ body {
color: #3c434a;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
margin: 140px auto 25px;
padding: 20px 20px 10px;
padding: 20px 20px 10px 20px;
max-width: 700px;
-webkit-font-smoothing: subpixel-antialiased;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
@@ -79,7 +79,7 @@ label {
#logo {
margin: -130px auto 25px;
padding: 0 0 25px;
padding: 0 0 25px 0;
width: 84px;
height: 84px;
overflow: hidden;
@@ -142,7 +142,7 @@ textarea {
}
.form-table p {
margin: 4px 0 0;
margin: 4px 0 0 0;
font-size: 11px;
}

View File

@@ -1,2 +1,2 @@
/*! This file is auto-generated */
html{background:#f0f0f1;margin:0 20px}body{background:#fff;border:1px solid #c3c4c7;color:#3c434a;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;margin:140px auto 25px;padding:20px 20px 10px;max-width:700px;-webkit-font-smoothing:subpixel-antialiased;box-shadow:0 1px 1px rgba(0,0,0,.04)}a{color:#2271b1}a:active,a:hover{color:#135e96}a:focus{color:#043959;box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8)}h1,h2{border-bottom:1px solid #dcdcde;clear:both;color:#646970;font-size:24px;padding:0 0 7px;font-weight:400}h3{font-size:16px}dd,dt,li,p{padding-bottom:2px;font-size:14px;line-height:1.5}.code,code{font-family:Consolas,Monaco,monospace}dl,ol,ul{padding:5px 22px 5px 5px}a img{border:0}abbr{border:0;font-variant:normal}fieldset{border:0;padding:0;margin:0}label{cursor:pointer}#logo{margin:-130px auto 25px;padding:0 0 25px;width:84px;height:84px;overflow:hidden;background-image:url(../images/w-logo-blue.png?ver=20131202);background-image:none,url(../images/wordpress-logo.svg?ver=20131107);background-size:84px;background-position:center top;background-repeat:no-repeat;color:#3c434a;font-size:20px;font-weight:400;line-height:1.3em;text-decoration:none;text-align:center;text-indent:-9999px;outline:0}.step{margin:20px 0 15px}.step,th{text-align:right;padding:0}.language-chooser.wp-core-ui .step .button.button-large{font-size:14px}textarea{border:1px solid #dcdcde;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;width:100%;box-sizing:border-box}.form-table{border-collapse:collapse;margin-top:1em;width:100%}.form-table td{margin-bottom:9px;padding:10px 0 10px 20px;font-size:14px;vertical-align:top}.form-table th{font-size:14px;text-align:right;padding:10px 0 10px 20px;width:140px;vertical-align:top}.form-table code{line-height:1.28571428;font-size:14px}.form-table p{margin:4px 0 0;font-size:11px}.form-table input{line-height:1.33333333;font-size:15px;padding:3px 5px}input,submit{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif}#pass-strength-result,.form-table input[type=email],.form-table input[type=password],.form-table input[type=text],.form-table input[type=url]{width:218px}.form-table th p{font-weight:400}.form-table.install-success td,.form-table.install-success th{vertical-align:middle;padding:16px 0 16px 20px}.form-table.install-success td p{margin:0;font-size:14px}.form-table.install-success td code{margin:0;font-size:18px}#error-page{margin-top:50px}#error-page p{font-size:14px;line-height:1.28571428;margin:25px 0 20px}#error-page code,.code{font-family:Consolas,Monaco,monospace}.message{border-right:4px solid #d63638;padding:.7em .6em;background-color:#fcf0f1}#admin_email,#dbhost,#dbname,#pass1,#pass2,#prefix,#pwd,#uname,#user_login{direction:ltr}.rtl input,.rtl submit,.rtl textarea,body.rtl{font-family:Tahoma,sans-serif}:lang(he-il) .rtl input,:lang(he-il) .rtl submit,:lang(he-il) .rtl textarea,:lang(he-il) body.rtl{font-family:Arial,sans-serif}@media only screen and (max-width:799px){body{margin-top:115px}#logo a{margin:-125px auto 30px}}@media screen and (max-width:782px){.form-table{margin-top:0}.form-table td,.form-table th{display:block;width:auto;vertical-align:middle}.form-table th{padding:20px 0 0}.form-table td{padding:5px 0;border:0;margin:0}input,textarea{font-size:16px}.form-table span.description,.form-table td input[type=email],.form-table td input[type=password],.form-table td input[type=text],.form-table td input[type=url],.form-table td select,.form-table td textarea{width:100%;font-size:16px;line-height:1.5;padding:7px 10px;display:block;max-width:none;box-sizing:border-box}.wp-pwd #pass1{padding-left:50px}.wp-pwd .button.wp-hide-pw{left:0}#pass-strength-result{width:100%}}body.language-chooser{max-width:300px}.language-chooser select{padding:8px;width:100%;display:block;border:1px solid #dcdcde;background:#fff;color:#2c3338;font-size:16px;font-family:Arial,sans-serif;font-weight:400}.language-chooser select:focus{color:#2c3338}.language-chooser select option:focus,.language-chooser select option:hover{color:#0a4b78}.language-chooser .step{text-align:left}.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;width:1px;word-wrap:normal!important}.spinner{background:url(../images/spinner.gif) no-repeat;background-size:20px 20px;visibility:hidden;opacity:.7;width:20px;height:20px;margin:2px 5px 0}.step .spinner{display:inline-block;vertical-align:middle;margin-left:15px}.button.hide-if-no-js,.hide-if-no-js{display:none}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.spinner{background-image:url(../images/spinner-2x.gif)}}
html{background:#f0f0f1;margin:0 20px}body{background:#fff;border:1px solid #c3c4c7;color:#3c434a;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;margin:140px auto 25px;padding:20px 20px 10px 20px;max-width:700px;-webkit-font-smoothing:subpixel-antialiased;box-shadow:0 1px 1px rgba(0,0,0,.04)}a{color:#2271b1}a:active,a:hover{color:#135e96}a:focus{color:#043959;box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8)}h1,h2{border-bottom:1px solid #dcdcde;clear:both;color:#646970;font-size:24px;padding:0 0 7px;font-weight:400}h3{font-size:16px}dd,dt,li,p{padding-bottom:2px;font-size:14px;line-height:1.5}.code,code{font-family:Consolas,Monaco,monospace}dl,ol,ul{padding:5px 22px 5px 5px}a img{border:0}abbr{border:0;font-variant:normal}fieldset{border:0;padding:0;margin:0}label{cursor:pointer}#logo{margin:-130px auto 25px;padding:0 0 25px 0;width:84px;height:84px;overflow:hidden;background-image:url(../images/w-logo-blue.png?ver=20131202);background-image:none,url(../images/wordpress-logo.svg?ver=20131107);background-size:84px;background-position:center top;background-repeat:no-repeat;color:#3c434a;font-size:20px;font-weight:400;line-height:1.3em;text-decoration:none;text-align:center;text-indent:-9999px;outline:0}.step{margin:20px 0 15px}.step,th{text-align:right;padding:0}.language-chooser.wp-core-ui .step .button.button-large{font-size:14px}textarea{border:1px solid #dcdcde;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;width:100%;box-sizing:border-box}.form-table{border-collapse:collapse;margin-top:1em;width:100%}.form-table td{margin-bottom:9px;padding:10px 0 10px 20px;font-size:14px;vertical-align:top}.form-table th{font-size:14px;text-align:right;padding:10px 0 10px 20px;width:140px;vertical-align:top}.form-table code{line-height:1.28571428;font-size:14px}.form-table p{margin:4px 0 0 0;font-size:11px}.form-table input{line-height:1.33333333;font-size:15px;padding:3px 5px}input,submit{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif}#pass-strength-result,.form-table input[type=email],.form-table input[type=password],.form-table input[type=text],.form-table input[type=url]{width:218px}.form-table th p{font-weight:400}.form-table.install-success td,.form-table.install-success th{vertical-align:middle;padding:16px 0 16px 20px}.form-table.install-success td p{margin:0;font-size:14px}.form-table.install-success td code{margin:0;font-size:18px}#error-page{margin-top:50px}#error-page p{font-size:14px;line-height:1.28571428;margin:25px 0 20px}#error-page code,.code{font-family:Consolas,Monaco,monospace}.message{border-right:4px solid #d63638;padding:.7em .6em;background-color:#fcf0f1}#admin_email,#dbhost,#dbname,#pass1,#pass2,#prefix,#pwd,#uname,#user_login{direction:ltr}.rtl input,.rtl submit,.rtl textarea,body.rtl{font-family:Tahoma,sans-serif}:lang(he-il) .rtl input,:lang(he-il) .rtl submit,:lang(he-il) .rtl textarea,:lang(he-il) body.rtl{font-family:Arial,sans-serif}@media only screen and (max-width:799px){body{margin-top:115px}#logo a{margin:-125px auto 30px}}@media screen and (max-width:782px){.form-table{margin-top:0}.form-table td,.form-table th{display:block;width:auto;vertical-align:middle}.form-table th{padding:20px 0 0}.form-table td{padding:5px 0;border:0;margin:0}input,textarea{font-size:16px}.form-table span.description,.form-table td input[type=email],.form-table td input[type=password],.form-table td input[type=text],.form-table td input[type=url],.form-table td select,.form-table td textarea{width:100%;font-size:16px;line-height:1.5;padding:7px 10px;display:block;max-width:none;box-sizing:border-box}.wp-pwd #pass1{padding-left:50px}.wp-pwd .button.wp-hide-pw{left:0}#pass-strength-result{width:100%}}body.language-chooser{max-width:300px}.language-chooser select{padding:8px;width:100%;display:block;border:1px solid #dcdcde;background:#fff;color:#2c3338;font-size:16px;font-family:Arial,sans-serif;font-weight:400}.language-chooser select:focus{color:#2c3338}.language-chooser select option:focus,.language-chooser select option:hover{color:#0a4b78}.language-chooser .step{text-align:left}.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;width:1px;word-wrap:normal!important}.spinner{background:url(../images/spinner.gif) no-repeat;background-size:20px 20px;visibility:hidden;opacity:.7;width:20px;height:20px;margin:2px 5px 0}.step .spinner{display:inline-block;vertical-align:middle;margin-left:15px}.button.hide-if-no-js,.hide-if-no-js{display:none}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.spinner{background-image:url(../images/spinner-2x.gif)}}

View File

@@ -9,7 +9,7 @@ body {
color: #3c434a;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
margin: 140px auto 25px;
padding: 20px 20px 10px;
padding: 20px 20px 10px 20px;
max-width: 700px;
-webkit-font-smoothing: subpixel-antialiased;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
@@ -78,7 +78,7 @@ label {
#logo {
margin: -130px auto 25px;
padding: 0 0 25px;
padding: 0 0 25px 0;
width: 84px;
height: 84px;
overflow: hidden;
@@ -141,7 +141,7 @@ textarea {
}
.form-table p {
margin: 4px 0 0;
margin: 4px 0 0 0;
font-size: 11px;
}

View File

@@ -1,2 +1,2 @@
/*! This file is auto-generated */
html{background:#f0f0f1;margin:0 20px}body{background:#fff;border:1px solid #c3c4c7;color:#3c434a;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;margin:140px auto 25px;padding:20px 20px 10px;max-width:700px;-webkit-font-smoothing:subpixel-antialiased;box-shadow:0 1px 1px rgba(0,0,0,.04)}a{color:#2271b1}a:active,a:hover{color:#135e96}a:focus{color:#043959;box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8)}h1,h2{border-bottom:1px solid #dcdcde;clear:both;color:#646970;font-size:24px;padding:0 0 7px;font-weight:400}h3{font-size:16px}dd,dt,li,p{padding-bottom:2px;font-size:14px;line-height:1.5}.code,code{font-family:Consolas,Monaco,monospace}dl,ol,ul{padding:5px 5px 5px 22px}a img{border:0}abbr{border:0;font-variant:normal}fieldset{border:0;padding:0;margin:0}label{cursor:pointer}#logo{margin:-130px auto 25px;padding:0 0 25px;width:84px;height:84px;overflow:hidden;background-image:url(../images/w-logo-blue.png?ver=20131202);background-image:none,url(../images/wordpress-logo.svg?ver=20131107);background-size:84px;background-position:center top;background-repeat:no-repeat;color:#3c434a;font-size:20px;font-weight:400;line-height:1.3em;text-decoration:none;text-align:center;text-indent:-9999px;outline:0}.step{margin:20px 0 15px}.step,th{text-align:left;padding:0}.language-chooser.wp-core-ui .step .button.button-large{font-size:14px}textarea{border:1px solid #dcdcde;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;width:100%;box-sizing:border-box}.form-table{border-collapse:collapse;margin-top:1em;width:100%}.form-table td{margin-bottom:9px;padding:10px 20px 10px 0;font-size:14px;vertical-align:top}.form-table th{font-size:14px;text-align:left;padding:10px 20px 10px 0;width:140px;vertical-align:top}.form-table code{line-height:1.28571428;font-size:14px}.form-table p{margin:4px 0 0;font-size:11px}.form-table input{line-height:1.33333333;font-size:15px;padding:3px 5px}input,submit{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif}#pass-strength-result,.form-table input[type=email],.form-table input[type=password],.form-table input[type=text],.form-table input[type=url]{width:218px}.form-table th p{font-weight:400}.form-table.install-success td,.form-table.install-success th{vertical-align:middle;padding:16px 20px 16px 0}.form-table.install-success td p{margin:0;font-size:14px}.form-table.install-success td code{margin:0;font-size:18px}#error-page{margin-top:50px}#error-page p{font-size:14px;line-height:1.28571428;margin:25px 0 20px}#error-page code,.code{font-family:Consolas,Monaco,monospace}.message{border-left:4px solid #d63638;padding:.7em .6em;background-color:#fcf0f1}#admin_email,#dbhost,#dbname,#pass1,#pass2,#prefix,#pwd,#uname,#user_login{direction:ltr}.rtl input,.rtl submit,.rtl textarea,body.rtl{font-family:Tahoma,sans-serif}:lang(he-il) .rtl input,:lang(he-il) .rtl submit,:lang(he-il) .rtl textarea,:lang(he-il) body.rtl{font-family:Arial,sans-serif}@media only screen and (max-width:799px){body{margin-top:115px}#logo a{margin:-125px auto 30px}}@media screen and (max-width:782px){.form-table{margin-top:0}.form-table td,.form-table th{display:block;width:auto;vertical-align:middle}.form-table th{padding:20px 0 0}.form-table td{padding:5px 0;border:0;margin:0}input,textarea{font-size:16px}.form-table span.description,.form-table td input[type=email],.form-table td input[type=password],.form-table td input[type=text],.form-table td input[type=url],.form-table td select,.form-table td textarea{width:100%;font-size:16px;line-height:1.5;padding:7px 10px;display:block;max-width:none;box-sizing:border-box}.wp-pwd #pass1{padding-right:50px}.wp-pwd .button.wp-hide-pw{right:0}#pass-strength-result{width:100%}}body.language-chooser{max-width:300px}.language-chooser select{padding:8px;width:100%;display:block;border:1px solid #dcdcde;background:#fff;color:#2c3338;font-size:16px;font-family:Arial,sans-serif;font-weight:400}.language-chooser select:focus{color:#2c3338}.language-chooser select option:focus,.language-chooser select option:hover{color:#0a4b78}.language-chooser .step{text-align:right}.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;width:1px;word-wrap:normal!important}.spinner{background:url(../images/spinner.gif) no-repeat;background-size:20px 20px;visibility:hidden;opacity:.7;width:20px;height:20px;margin:2px 5px 0}.step .spinner{display:inline-block;vertical-align:middle;margin-right:15px}.button.hide-if-no-js,.hide-if-no-js{display:none}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.spinner{background-image:url(../images/spinner-2x.gif)}}
html{background:#f0f0f1;margin:0 20px}body{background:#fff;border:1px solid #c3c4c7;color:#3c434a;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;margin:140px auto 25px;padding:20px 20px 10px 20px;max-width:700px;-webkit-font-smoothing:subpixel-antialiased;box-shadow:0 1px 1px rgba(0,0,0,.04)}a{color:#2271b1}a:active,a:hover{color:#135e96}a:focus{color:#043959;box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8)}h1,h2{border-bottom:1px solid #dcdcde;clear:both;color:#646970;font-size:24px;padding:0 0 7px;font-weight:400}h3{font-size:16px}dd,dt,li,p{padding-bottom:2px;font-size:14px;line-height:1.5}.code,code{font-family:Consolas,Monaco,monospace}dl,ol,ul{padding:5px 5px 5px 22px}a img{border:0}abbr{border:0;font-variant:normal}fieldset{border:0;padding:0;margin:0}label{cursor:pointer}#logo{margin:-130px auto 25px;padding:0 0 25px 0;width:84px;height:84px;overflow:hidden;background-image:url(../images/w-logo-blue.png?ver=20131202);background-image:none,url(../images/wordpress-logo.svg?ver=20131107);background-size:84px;background-position:center top;background-repeat:no-repeat;color:#3c434a;font-size:20px;font-weight:400;line-height:1.3em;text-decoration:none;text-align:center;text-indent:-9999px;outline:0}.step{margin:20px 0 15px}.step,th{text-align:left;padding:0}.language-chooser.wp-core-ui .step .button.button-large{font-size:14px}textarea{border:1px solid #dcdcde;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;width:100%;box-sizing:border-box}.form-table{border-collapse:collapse;margin-top:1em;width:100%}.form-table td{margin-bottom:9px;padding:10px 20px 10px 0;font-size:14px;vertical-align:top}.form-table th{font-size:14px;text-align:left;padding:10px 20px 10px 0;width:140px;vertical-align:top}.form-table code{line-height:1.28571428;font-size:14px}.form-table p{margin:4px 0 0 0;font-size:11px}.form-table input{line-height:1.33333333;font-size:15px;padding:3px 5px}input,submit{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif}#pass-strength-result,.form-table input[type=email],.form-table input[type=password],.form-table input[type=text],.form-table input[type=url]{width:218px}.form-table th p{font-weight:400}.form-table.install-success td,.form-table.install-success th{vertical-align:middle;padding:16px 20px 16px 0}.form-table.install-success td p{margin:0;font-size:14px}.form-table.install-success td code{margin:0;font-size:18px}#error-page{margin-top:50px}#error-page p{font-size:14px;line-height:1.28571428;margin:25px 0 20px}#error-page code,.code{font-family:Consolas,Monaco,monospace}.message{border-left:4px solid #d63638;padding:.7em .6em;background-color:#fcf0f1}#admin_email,#dbhost,#dbname,#pass1,#pass2,#prefix,#pwd,#uname,#user_login{direction:ltr}.rtl input,.rtl submit,.rtl textarea,body.rtl{font-family:Tahoma,sans-serif}:lang(he-il) .rtl input,:lang(he-il) .rtl submit,:lang(he-il) .rtl textarea,:lang(he-il) body.rtl{font-family:Arial,sans-serif}@media only screen and (max-width:799px){body{margin-top:115px}#logo a{margin:-125px auto 30px}}@media screen and (max-width:782px){.form-table{margin-top:0}.form-table td,.form-table th{display:block;width:auto;vertical-align:middle}.form-table th{padding:20px 0 0}.form-table td{padding:5px 0;border:0;margin:0}input,textarea{font-size:16px}.form-table span.description,.form-table td input[type=email],.form-table td input[type=password],.form-table td input[type=text],.form-table td input[type=url],.form-table td select,.form-table td textarea{width:100%;font-size:16px;line-height:1.5;padding:7px 10px;display:block;max-width:none;box-sizing:border-box}.wp-pwd #pass1{padding-right:50px}.wp-pwd .button.wp-hide-pw{right:0}#pass-strength-result{width:100%}}body.language-chooser{max-width:300px}.language-chooser select{padding:8px;width:100%;display:block;border:1px solid #dcdcde;background:#fff;color:#2c3338;font-size:16px;font-family:Arial,sans-serif;font-weight:400}.language-chooser select:focus{color:#2c3338}.language-chooser select option:focus,.language-chooser select option:hover{color:#0a4b78}.language-chooser .step{text-align:right}.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;width:1px;word-wrap:normal!important}.spinner{background:url(../images/spinner.gif) no-repeat;background-size:20px 20px;visibility:hidden;opacity:.7;width:20px;height:20px;margin:2px 5px 0}.step .spinner{display:inline-block;vertical-align:middle;margin-right:15px}.button.hide-if-no-js,.hide-if-no-js{display:none}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.spinner{background-image:url(../images/spinner-2x.gif)}}

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