Compare commits

..

108 Commits
5.8.8 ... 5.7.9

Author SHA1 Message Date
Sergey Biryukov
61abfb6611 Tag 5.7.9
Built from https://develop.svn.wordpress.org/tags/5.7.9@55798


git-svn-id: http://core.svn.wordpress.org/tags/5.7.9@55310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-05-16 16:59:08 +00:00
audrasjb
5bb7ee0fba Grouped backports to the 5.7 branch.
- Media: Prevent CSRF setting attachment thumbnails.
- Embeds: Add protocol validation for WordPress Embed code.
- I18N: Introduce sanitization function for locale.
- Editor: Ensure block comments are of a valid form.

Merges [55760-55764] to the 5.7 branch.
Props dd32, isabel_brison, martinkrcho, matveb, ocean90, paulkevan, peterwilsoncc, timothyblynjacobs, xknown, youknowriad.


Built from https://develop.svn.wordpress.org/branches/5.7@55778


git-svn-id: http://core.svn.wordpress.org/branches/5.7@55290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-05-16 15:37:10 +00:00
Peter Wilson
f5446e9f65 I18N: Add new strings to about.php for use with end-of-life updates.
This changeset adds two additional translation strings in the changelog file, for use when releasing the final version of WordPress on a particular branch.

Props peterwilsoncc, audrasjb, mukesh27.
Merges [55350] to the 5.7 branch.
Fixes #57216.

Built from https://develop.svn.wordpress.org/branches/5.7@55375


git-svn-id: http://core.svn.wordpress.org/branches/5.7@54908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-02-21 02:47:03 +00:00
audrasjb
7f80a3cb4e WordPress 5.7.8.
Built from https://develop.svn.wordpress.org/branches/5.7@54585


git-svn-id: http://core.svn.wordpress.org/branches/5.7@54139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-10-17 19:49:23 +00:00
desrosj
79d65f25db Editor: Bump @wordpress packages for 5.7.7.
Package updates for bug fixes:

* @wordpress/block-directory: 1.18.16
* @wordpress/block-library: 2.28.13
* @wordpress/edit-post: 3.26.16
Built from https://develop.svn.wordpress.org/branches/5.7@54567


git-svn-id: http://core.svn.wordpress.org/branches/5.7@54121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-10-17 18:13:22 +00:00
audrasjb
f28c97fa8c Grouped backports to the 5.7 branch.
- Editor: Bump @wordpress packages for the branch,
- Media: Refactor search by filename within the admin,
- REST API: Lockdown post parameter of the terms endpoint,
- Customize: Escape blogname option in underscores templates,
- Query: Validate relation in `WP_Date_Query`,
- Posts, Post types: Apply KSES to post-by-email content,
- General: Validate host on "Are you sure?" screen,
- Posts, Post types: Remove emails from post-by-email logs,
- Pings/trackbacks: Apply KSES to all trackbacks,
- Mail: Reset PHPMailer properties between use,
- Comments: Apply kses when editing comments,
- Widgets: Escape RSS error messages for display.

Merges [54521-54530] to the 5.7 branch.
Props audrasjb, costdev, cu121, dd32, davidbaumwald, ehtis, johnbillion, johnjamesjacoby, martinkrcho, matveb, oztaser, paulkevan, peterwilsoncc, ravipatel, SergeyBiryukov, talldanwp, timothyblynjacobs, tykoted, voldemortensen, vortfu, xknown.

Built from https://develop.svn.wordpress.org/branches/5.7@54553


git-svn-id: http://core.svn.wordpress.org/branches/5.7@54108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-10-17 17:55:21 +00:00
Peter Wilson
e5a1534aee Security: Introduce strings to indicate support status.
Add strings for use in future maintenance/security releases to indicate the security support status of the version of WordPress.

Two strings are introduced:

* indicating the version of WordPress is not receiving security updates, and,
* indicating the version of WordPress will shortly stop receiving security updates.

This change does not make use of the strings, the purpose is to make them available to translators prior to dropping support of selected versions of WordPress.

Props costdev, chesio, robinwpdeveloper, desrosj, rudlinkon, mukesh27, sumitbagthariya16.
Merges [54322] to the 5.7 branch.
See #56532.


Built from https://develop.svn.wordpress.org/branches/5.7@54433


git-svn-id: http://core.svn.wordpress.org/branches/5.7@53992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-10-10 04:53:10 +00:00
desrosj
1feee50c15 WordPress 5.7.7.
Built from https://develop.svn.wordpress.org/branches/5.7@53990


git-svn-id: http://core.svn.wordpress.org/branches/5.7@53549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-08-30 17:28:10 +00:00
Sergey Biryukov
8b87e45e69 Grouped backports to the 5.7 branch.
- Posts, Post Types: Escape output within `the_meta()`.
- General: Ensure bookmark query limits are numeric.
- Plugins: Escape output in error messages.
- Build/Test Tools: Allow the PHPCS plugin in Composer configuration.

Merges [52412,53958-53960] to the 5.7 branch.
Props tykoted, martinkrcho, xknown, dd32, peterwilsoncc, paulkevan, timothyblynjacobs.

Built from https://develop.svn.wordpress.org/branches/5.7@53966


git-svn-id: http://core.svn.wordpress.org/branches/5.7@53525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-08-30 15:32:03 +00:00
audrasjb
361bcac2b9 WordPress 5.7.6.
Built from https://develop.svn.wordpress.org/branches/5.7@52893


git-svn-id: http://core.svn.wordpress.org/branches/5.7@52482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-03-10 22:30:03 +00:00
audrasjb
3c2e859ac7 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.7 branch.

Built from https://develop.svn.wordpress.org/branches/5.7@52849


git-svn-id: http://core.svn.wordpress.org/branches/5.7@52438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-03-10 20:51:01 +00:00
jorgefilipecosta
9c065b7134 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.7@52847


git-svn-id: http://core.svn.wordpress.org/branches/5.7@52436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-03-10 20:27:21 +00:00
desrosj
072d23667d WordPress 5.7.5.
Built from https://develop.svn.wordpress.org/branches/5.7@52488


git-svn-id: http://core.svn.wordpress.org/branches/5.7@52080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-06 18:47:02 +00:00
desrosj
5030de2e76 Grouped backports to the 5.7 branch.
- Query: Improve sanitization within `WP_Tax_Query`.
- Query: Improve sanitization within `WP_Meta_Query`.
- Upgrade/Install: Avoid using `unserialize()` unnecessarily.
- Formatting: Correctly encode ASCII characters in post slugs.

Merges [52454-52457] to the 5.7 branch.
Props vortfu, dd32, ehtis, zieladam, whyisjake, xknown, peterwilsoncc, desrosj, iandunn.
Built from https://develop.svn.wordpress.org/branches/5.7@52466


git-svn-id: http://core.svn.wordpress.org/branches/5.7@52058 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-06 17:56:05 +00:00
desrosj
3ad4c815cd WordPress 5.7.4.
Built from https://develop.svn.wordpress.org/branches/5.7@52114


git-svn-id: http://core.svn.wordpress.org/branches/5.7@51706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-11-10 17:06:59 +00:00
desrosj
242bd3b338 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, peterwilsoncc.
Merges [51883] to the 5.7 branch.
Fixes #54207. See #50828.
Built from https://develop.svn.wordpress.org/branches/5.7@52097


git-svn-id: http://core.svn.wordpress.org/branches/5.7@51689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-11-10 02:10:01 +00:00
desrosj
b06d0d90b4 WordPress 5.7.3.
Built from https://develop.svn.wordpress.org/branches/5.7@51759


git-svn-id: http://core.svn.wordpress.org/branches/5.7@51366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-09-08 21:28:58 +00:00
desrosj
709e3315f3 Grouped merges for 5.7.3.
- Update `lodash` to the latest version `4.17.21`.
- Disable some attributes for rich text.

Merges [51426,50941] to the 5.7 branch.
Props ellatrix, peterwilsoncc, get_dave, mcsf, talldanwp, youknowriad, desrosj, nerrad.
Built from https://develop.svn.wordpress.org/branches/5.7@51750


git-svn-id: http://core.svn.wordpress.org/branches/5.7@51358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-09-08 21:06:23 +00:00
Sergey Biryukov
e3554a9aa7 General: Only use _jsonp_wp_die_handler() for JSONP REST API requests.
Props mdawaffe, peterwilsoncc.
Merges [51740] to the 5.7 branch.
Built from https://develop.svn.wordpress.org/branches/5.7@51742


git-svn-id: http://core.svn.wordpress.org/branches/5.7@51350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-09-08 17:24:01 +00:00
Sergey Biryukov
9ca0faa204 Upgrade/Install: Update sodium_compat to v1.16.1.
The latest version of sodium_compat includes polyfills for new features slated to land in PHP 8.1:
https://paragonie.com/blog/2021/05/ristretto255-for-php-community

It also fixes a race condition with the autoloader that caused an "undefined constant" error on some systems:
https://github.com/paragonie/sodium_compat/issues/122

A full list of changes in this update can be found on GitHub:
https://github.com/paragonie/sodium_compat/compare/v1.14.0...v1.16.1

Follow-up to [49741].

Props paragoninitiativeenterprises, oxyrealm.
Merges [51002] to the 5.7 branch.
Fixes #53274.
Built from https://develop.svn.wordpress.org/branches/5.7@51171


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-06-16 17:29:58 +00:00
Sergey Biryukov
82b478b0be External Libraries: Upgrade PHPMailer to version 6.5.0.
Release notes: https://github.com/PHPMailer/PHPMailer/releases/tag/v6.5.0

For a full list of changes in this update, see the PHPMailer GitHub:
https://github.com/PHPMailer/PHPMailer/compare/v6.4.1...v6.5.0

Props ayeshrajans, Synchro.
Merges [51169] to the 5.7 branch.
Fixes #53430.
Built from https://develop.svn.wordpress.org/branches/5.7@51170


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-06-16 17:27:02 +00:00
Peter Wilson
eae23abd88 Build tools: Use hashed module IDs for minified files.
Further improves webpack configuration for editor files to use hashed module IDs in the compressed (`*.min.js`) production files.

Follow up to [50940].

Props @gziolo.
Merges [51035] to the 5.7 branch.
Fixes #53192.


Built from https://develop.svn.wordpress.org/branches/5.7@51036


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-05-27 00:29:10 +00:00
Peter Wilson
5a721be794 Build: Use hashed/deterministic moduleIDs in webpack config
Props peterwilsoncc, desrosj, gziolo.
Merges [50940] in to the 5.7 branch.
Fixes #53192.


Built from https://develop.svn.wordpress.org/branches/5.7@50990


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-05-25 05:22:08 +00:00
Peter Wilson
43ac82a96f XML-RPC: Set HTTP status code in accordance with the spec.
When the XML-RPC endpoint is enabled, always return a HTTP `200 OK` status code in accordance with the XML-RPC specification. Continue to return an HTTP `405 Method Not Allowed` status code when the endpoint is disabled.

Props ariskataoka, johnbillion.
Merges [50954] in to the 5.7 branch.
Fixes #52958.


Built from https://develop.svn.wordpress.org/branches/5.7@50989


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-05-25 05:21:00 +00:00
Peter Wilson
1cdead833e Menus: Do not auto-set locations for new menus.
Do not auto-set new menus to all vacant locations on the Appearance > Menus screen in the dashboard.

Follow up to [48051].

Props Chouby, audrasjb, davidbaumwald, mukesh27.
Merges [50938] in to the 5.7 branch.
Fixes #52949.

Built from https://develop.svn.wordpress.org/branches/5.7@50988


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-05-25 05:19:05 +00:00
Peter Wilson
a6d9325574 Help/About: Reduce space below minor release log.
Reduce the size of the space below the maintenance and security release log of the WP 5.7 about page.

Props dhrumil12, audrasjb, sabernhardt, ryelle.
Fixes #53067.


Built from https://develop.svn.wordpress.org/branches/5.7@50937


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-05-20 04:08:01 +00:00
Peter Wilson
6688af8108 WordPress 5.7.2 post-release version bump.
Built from https://develop.svn.wordpress.org/branches/5.7@50911


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-05-13 01:13:02 +00:00
Peter Wilson
b6b214a557 WordPress 5.7.2.
Built from https://develop.svn.wordpress.org/branches/5.7@50869


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-05-12 23:11:59 +00:00
Peter Wilson
bf12394dbd About page for WordPress 5.7.2.
Built from https://develop.svn.wordpress.org/branches/5.7@50868


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-05-12 23:08:00 +00:00
Sergey Biryukov
962a6c6888 External Libraries: Upgrade PHPMailer to version 6.4.1.
Release notes: https://github.com/PHPMailer/PHPMailer/releases/tag/v6.4.1

For a full list of changes in this update, see the PHPMailer GitHub:
https://github.com/PHPMailer/PHPMailer/compare/v6.4.0...v6.4.1

Props ayeshrajans.
Merges [50799] to the 5.7 branch.
Fixes #53114.
Built from https://develop.svn.wordpress.org/branches/5.7@50800


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-29 20:33:13 +00:00
Peter Wilson
5ba41bd4f0 Post 5.7.1 version bump.
Built from https://develop.svn.wordpress.org/branches/5.7@50758


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-15 03:33:06 +00:00
Peter Wilson
d19b84afba Version bump for 5.7.1.
Built from https://develop.svn.wordpress.org/branches/5.7@50736


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-15 01:32:02 +00:00
Peter Wilson
42730aa8a9 About page update for 5.7.1.
Props audrasjb.

Built from https://develop.svn.wordpress.org/branches/5.7@50735


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-15 01:20:05 +00:00
Peter Wilson
1e36365912 Editor: Finalise update of @wordpress npm packages for 5.7.1.
Commit built files stored in repo following package updates.

Props gziolo, noisysocks, isabel_brison, peterwilsoncc.
Follow up to [50719].
Fixes #52912.

Built from https://develop.svn.wordpress.org/branches/5.7@50720


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-14 23:52:02 +00:00
Peter Wilson
ffc9a87780 Editor: Update @wordpress npm packages for 5.7.1.
Update @wordpress npm packages to the latest published versions for the 5.7 branch. This includes block editor bug fixes for WordPress 5.7.1.

Props gziolo, noisysocks, isabel_brison, peterwilsoncc.
Fixes #52912.

Built from https://develop.svn.wordpress.org/branches/5.7@50719


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-14 23:40:18 +00:00
desrosj
18f802b860 REST API: Allow authors to read their own password protected posts.
Allow authenticated users to read the contents of password protected posts if they have the `edit_post` meta capability for the post.

Merges [50717] to the 5.7 branch.
Props xknown, zieladam, peterwilsoncc, swissspidy, timothyblynjacobs.
Built from https://develop.svn.wordpress.org/branches/5.7@50718


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-14 23:27:00 +00:00
desrosj
c29db9c1e3 External libraries: Include upstream GetID3 fix for PHP 8.
Merges [50714] to the 5.7 branch.
Props jrf, xknown.
Built from https://develop.svn.wordpress.org/branches/5.7@50715


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-14 23:16:03 +00:00
Sergey Biryukov
5162106aa1 Site Health: Correct test result status for the HTTPS test.
The supported status values for Site Health tests are `good`, `recommended`, and `critical`.

Follow-up to [50660].

Props TimothyBlynJacobs.
Merges [50710] to the 5.7 branch.
Fixes #52783.
Built from https://develop.svn.wordpress.org/branches/5.7@50711


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-14 13:15:05 +00:00
Peter Wilson
bf8239a30c Bundled Themes: Bump versions for WordPress 5.7.1.
Twenty Twenty-One: Bump version to 1.3
Twenty Seventeen: Bump version to 2.7

Props desrosj, mukesh27, peterwilsoncc.
Merges [50708] to the 5.7 branch.
Fixes #52859.


Built from https://develop.svn.wordpress.org/branches/5.7@50709


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-14 00:00:05 +00:00
Peter Wilson
70c6bb2d83 5.7 branch post 5.7.1 RC1 version bump.
Built from https://develop.svn.wordpress.org/branches/5.7@50691


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-07 23:33:02 +00:00
Peter Wilson
6689f11a42 5.7 branch is now 5.7.1 RC1.
Built from https://develop.svn.wordpress.org/branches/5.7@50690


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-07 23:08:09 +00:00
ryelle
f5e008b193 Accessibility: Administration: Update various background colors for increased contrast.
This ensures that contrast between text color and background meets the WCAG 2.0 AA recommended value. The following locations were changed:

 - Network List Tables: Use lighter background colors for site status indicator.
 - Nav Menus: Use a lighter background color for invalid menu items.
 - Pointers: Use a darker background for pointer header.
 - Themes: Use darker background on filter button hover.
 - Customizer: Use darker background for selected widget.

Follow-up to [50025], [50571].
Props kebbet, melchoyce, peterwilsoncc.
Merges [50687] to the 5.7 branch.
Fixes #52760.


Built from https://develop.svn.wordpress.org/branches/5.7@50688


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-07 17:44:09 +00:00
Peter Wilson
bc8b720e01 Media: Do not lazy load hidden images or embeds.
Improve the check for sourceless or dimensionless media when determining if the lazy loading attribute should be added to iframes and images. Never include the lazy loading attribute on embeds of WordPress posts as the iframe is initially hidden.

Including `loading="lazy"` on initially hidden iframes and images can prevent the media from loading in some browsers.

Props adamsilverstein, fabianpimminger, flixos90, johnbillion, jonkastonka, joyously, peterwilsoncc, SergeyBiryukov, SirStuey, swissspidy.
Merges [50682], [50683] to the 5.7 branch.
Fixes #52768.


Built from https://develop.svn.wordpress.org/branches/5.7@50684


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-07 01:52:02 +00:00
Peter Wilson
fcbd087303 Bundled Themes: Update the “Tested up to” value.
“Tested up to” is not displayed on the theme directory or within the WordPress dashboard, but should be updated to be accurate for anyone reading the theme’s source code.

Follow up to [50508].

Props desrosj.
Merges [50669] to the 5.7 branch.
Fixes #52982.

Built from https://develop.svn.wordpress.org/branches/5.7@50681


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-06 23:56:02 +00:00
Peter Wilson
eff1fa7e1e Twenty Twenty-One: Rebuild IE specific editor stylesheet.
This was not updated to include the changes from [50493].

Props desrosj.
Merges [50667] to the 5.7 branch.
Fixes #52981. See #52702.

Built from https://develop.svn.wordpress.org/branches/5.7@50680


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-06 23:54:03 +00:00
Peter Wilson
4a193e9847 Options, Meta APIs: Update default color scheme swatch to match CSS changes.
Update the default/fresh theme color swatch displayed on user profile pages to match CSS changes made during the 5.7 release cycle.

Props audrasjb, desrosj, ninetyninew, ryelle.
Merges [50663] to the 5.7 branch.
Fixes #52750.


Built from https://develop.svn.wordpress.org/branches/5.7@50679


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-06 23:52:03 +00:00
Peter Wilson
6587ec5372 Editor: Update @wordpress npm packages for 5.7.1 RC1.
Update @wordpress npm packages to the latest published versions for the 5.7 branch. This includes block editor bug fixes for WordPress 5.7.1.

Props gziolo, noisysocks, youknowriad.
See #52912.


Built from https://develop.svn.wordpress.org/branches/5.7@50678


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-06 23:50:28 +00:00
desrosj
0a0f6dfb77 Build/Test Tools: Prevent PHPUnit tests on push for forks/private mirrors.
The reorganization of the PHPUnit workflow in [50441] unintentionally caused the tests to be run for every `push` event, even for forks and private mirrors.

Previously, the second job required the first one to pass, and the conditional check on the first prevented both from running. Because the first job is no longer required for the second, both jobs must have the appropriate conditional check.

Merges [50670] to the 5.7 branch.
Fixes #52983.
Built from https://develop.svn.wordpress.org/branches/5.7@50671


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-06 15:26:07 +00:00
Peter Wilson
2c8182fcba Media: Conditionally pass 2nd parameter to getimagesize().
In the wrapper function `wp_getimagesize()` check if the second parameter was passed before sending it to the PHP function `getimagesize()`.

The PHP function has a different execution path depending on the number of parameters passed, this ensures the wrapper function follows the appropriate path.

Follow up to [50552].
Props azaozz, hellofromtonya, Mista-Flo, peterwilsoncc, rinatkhaziev, RogerTheriault, SergeyBiryukov, terriann, whyisjake.
Merges [50586] to the 5.7 branch.
Fixes #52826.

Built from https://develop.svn.wordpress.org/branches/5.7@50662


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-06 03:44:02 +00:00
Peter Wilson
894f140b12 Script Loader: Escape HTML5 boolean attribute names.
Add escaping of boolean attribute names in `wp_sanitize_script_attributes()` for themes supporting HTML5 script elements.

Props tmatsuur, johnbillion, joyously.
Merges [50575] to the 5.7 branch.
Fixes #52894.

Built from https://develop.svn.wordpress.org/branches/5.7@50661


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-06 03:42:01 +00:00
Peter Wilson
1d0be627a9 Site Health: Reduce false reports of HTTPS failures.
Reduce severity of failing HTTPS tests from critical to warning. Stop reporting failures if the site is being accessed over HTTPS but `wp_is_https_supported()` indicates a lack of support.

Props annalamprou, AnotherDave, ayeshrajans, bobbingwide, Clorith, dragongate, eatsleepcode, gab81, geoffrey1963, Ipstenu, k3nsai, mmuyskens, nicegamer7, peterwilsoncc, pwallner, SergeyBiryukov, TimothyBlynJacobs, Toru.
Merges [50659] to the 5.7 branch.
Fixes #52783.

Built from https://develop.svn.wordpress.org/branches/5.7@50660


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-06 03:40:06 +00:00
Sergey Biryukov
551b6260da REST API: Correct enum validation for numeric values.
When validating `enum` values as `integer` or `number`, consider a number with a zero fractional part to be equivalent to an integer of the same value.

In `rest_are_values_equal()`, when comparing two values of type `int` or `float` (in any combination), first cast both of them to `float` and then compare.

This matches some test cases from the official JSON Schema test suite.

Follow-up to [50010].

Props yakimun, stefanjoebstl, TimothyBlynJacobs, rachelbaker.
Merges [50653] to the 5.7 branch.
Fixes #52932.
Built from https://develop.svn.wordpress.org/branches/5.7@50656


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-04 19:13:03 +00:00
Sergey Biryukov
69bfd1ff63 Coding Standards: Move some translator comments to the correct place.
Follow-up to [46273], [50060], [50117].

Merges [50654] to the 5.7 branch.
See #52627.
Built from https://develop.svn.wordpress.org/branches/5.7@50655


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-04 18:34:04 +00:00
Sergey Biryukov
8bda8b2847 KSES: Add object-position to the list of safe CSS properties.
This resolves an issue with the Cover block, where the `object-position` property is removed from the content when a non-admin user saves the post, leading to block recovery loop.

Props Mamaduka, aristath.
Merges [50634] to the 5.7 branch.
Fixes #52961.
Built from https://develop.svn.wordpress.org/branches/5.7@50649


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-02 19:31:06 +00:00
Sergey Biryukov
4fa46b8d14 External Libraries: Upgrade PHPMailer from 6.3.0 to 6.4.0.
6.4.0 reverts a change that made the `mail()` and sendmail transports set the envelope sender if one isn't explicitly provided, as it was causing problems in specific PHP/server configurations.

Release post: https://github.com/PHPMailer/PHPMailer/releases/tag/v6.4.0
Changelog: https://github.com/PHPMailer/PHPMailer/compare/v6.3.0...v6.4.0

Props Synchro, tigertech, ayeshrajans, galbaras, audrasjb, SergeyBiryukov, desrosj, ocean90.
Merges [50628] to the 5.7 branch.
Fixes #52822.
Built from https://develop.svn.wordpress.org/branches/5.7@50630


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-01 13:01:06 +00:00
davidbaumwald
35592e1ffa Privacy: Print screen reader text for the "Copy suggested policy text..." action button.
This change switches out sprintf for printf on the "Copy suggested policy text from..." button screen reader text. Also, wrap the actual button text in a <span aria-hidden="true"> to prevent both the button text and the screen reader text from being spoken.

Props mukesh27, SergeyBiryukov, sabernhardt, desrosj.
Merges [50585] to the 5.7 branch.
Fixes #52891.
Built from https://develop.svn.wordpress.org/branches/5.7@50609


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-26 20:32:04 +00:00
davidbaumwald
6e556a478a Revert [50607].
Unprops davidbaumwald.
Built from https://develop.svn.wordpress.org/branches/5.7@50608


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-26 20:18:02 +00:00
davidbaumwald
0a198192c7 Built from https://develop.svn.wordpress.org/branches/5.7@50607
git-svn-id: http://core.svn.wordpress.org/branches/5.7@50220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-26 20:09:03 +00:00
desrosj
d59cfc17b6 Build/Test Tools: Backport several build tool fixes & improvements.
This backports a handful of test fixes related to generating code coverage reporting, as well as some `devDependency` updates.

Backports [50591-50595,50597-50598] to the 5.7 branch.
See #52624, #52786, #51734.
Built from https://develop.svn.wordpress.org/branches/5.7@50601


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-26 16:09:18 +00:00
desrosj
fe2ee5b8cd Revert [50599].
Unprops desrosj.
Built from https://develop.svn.wordpress.org/branches/5.7@50600


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-26 15:56:17 +00:00
desrosj
12ba6aa8ed Built from https://develop.svn.wordpress.org/branches/5.7@50599
git-svn-id: http://core.svn.wordpress.org/branches/5.7@50212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-26 15:52:16 +00:00
desrosj
14b4fdff54 Twenty Twelve: Change theme version back to 3.3.
Because the changes in Twenty Twelve did not impact site look or functionality, version 3.4 of Twenty Twelve was not released in coordination with WordPress 5.7.

This reverts the portion of [50508] relevant to Twenty Twelve, changing the version back to 3.3 so that version 3.4 is not skipped accidentally when there are changes that should be released.

Merges [50596] to the 5.7 branch.
See #52704.
Built from https://develop.svn.wordpress.org/branches/5.7@50597


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-26 15:30:01 +00:00
desrosj
eaf88218f3 Build/Test Tools: Run test workflows on old branches on a schedule.
On TravisCI, old branches still receiving security updates were tested on a regular basis. This ensured tests continued to pass as time passed even if updates were not made to these branches.

On GitHub Actions, there is no interface to configure this (TravisCI had a UI), but there is a `schedule` event that can trigger workflow runs on cron that can be used to accomplish the same thing.

This introduces a workflow file that runs twice a month (on the 1st and 15th) to verify the tests within older branches.

Because the `schedule` event only runs within the primary branch, the appropriate workflows in each old branch will be triggered manually through the `workflow_dispatch` trigger using the GitHub REST API. `workflow_dispatch` will need to be added to all workflows in all old branches in order for the event to dispatch successfully.

Merges [50590] to the 5.7 branch.
See #52653.
Built from https://develop.svn.wordpress.org/branches/5.7@50591


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-26 13:18:03 +00:00
Peter Wilson
37dc8f3fc0 Twenty Seventeen: Remove extra space around post editor.
The editor uses the full height of its container, so the added margins cause the visual editor to break out of the container. This removes the top & bottom margins, and makes the left & right margins consistent with the meta box area.

Follow-up to [50465].

Props joseeyoast, audrasjb, SergeyBiryukov.
Merges [50534] to the 5.7 branch.
Fixes #52816.

Built from https://develop.svn.wordpress.org/branches/5.7@50588


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-26 04:10:06 +00:00
Peter Wilson
6c5e9f3656 Robots: Remove contradictory directive check in wp_robots().
Removes the mutually exclusive directives check in `wp_robots()`, ie allow both `follow` and `nofollow` to be specified and for `archive` and `noarchive` to be specified.

This fixes a bug in which WordPress would defer to the most permissive over the least permissive. When contradictory instructions are included, WordPress will defer to the search engine's or archivist's resolution policy: generally this is to observe the least, not most permissive.

Props Cybr, flixos90, SergeyBiryukov.
Merges [50566] to the 5.7 branch.
Fixes #52713.

Built from https://develop.svn.wordpress.org/branches/5.7@50587


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-26 00:28:03 +00:00
desrosj
12ecbce0b2 Build/Test Tools: Backport several GitHub Action improvements and dependency updates.
This backports several GitHub Action improvements and `devDependency` updates to the 5.7 branch.

Backports [50432,50435-50436,50479,50485-50487,50545,50579] to the 5.7 branch.
See #52667, #52643, #52658, #52660, #52624, #52625.
Built from https://develop.svn.wordpress.org/branches/5.7@50584


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-25 20:02:19 +00:00
ryelle
8df014b082 Pointers: Make pointer border darker to match arrow tip.
Props johnjamesjacoby, melchoyce, SergeyBiryukov.
Merges [50551] to the 5.7 branch.
Fixes #52670.


Built from https://develop.svn.wordpress.org/branches/5.7@50581


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-25 15:38:02 +00:00
ryelle
6bc61cc749 Login, Registration: Prevent button misalignment on login screen.
Replace the CSS removed in [50569], which is used to align the login & register buttons.

Props mukesh27, audrasjb.
Reviewed by SergeyBiryukov.
Merges [50577] to the 5.7 branch.
Fixes #52834.


Built from https://develop.svn.wordpress.org/branches/5.7@50580


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-25 15:33:02 +00:00
Sergey Biryukov
85bde2e551 Accessibility: Administration: Use a darker gray color for various admin UI items.
This ensures that the color meets the WCAG 2.0 AA recommended contrast ratio.

Follow-up to [50025], [50525].

Props sabernhardt, ryelle.
Merges [50571] to the 5.7 branch.
Fixes #52760.
Built from https://develop.svn.wordpress.org/branches/5.7@50578


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-25 14:44:06 +00:00
Peter Wilson
7d19c6d338 Privacy: Wrap text in buttons on privacy policy guide.
On narrow screens allow the text to wrap in the copy buttons on the privacy policy guide screen to avoid horizontal overflow of the parent container.

Props audrasjb, davidbaumwald, jaymanpandya, paaljoachim, palmiak, sabernhardt, SergeyBiryukov, sumitsingh.
Merges [50568] to the 5.7 branch.
Fixes #52751.

Built from https://develop.svn.wordpress.org/branches/5.7@50574


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-25 00:07:04 +00:00
Peter Wilson
a37595b941 REST API: Prevent database error when deleting meta data.
Add a check to `WP_REST_Meta_Fields::delete_meta_value()` ensuring meta data is set before attempting to delete it from the database. If the data does not exist, the delete is considered successful as the data matches the desired state.

Props BrechtVds, goaroundagain, TimothyBlynJacobs.
Merges [50567] to the 5.7 branch.
Fixes #52787.

Built from https://develop.svn.wordpress.org/branches/5.7@50573


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-25 00:04:02 +00:00
Peter Wilson
59e1fddb58 Login, Registration: Prevent button misalignment on password reset screen.
Prevent misalignment of "generate password" and "save password" buttons on the password reset screen on narrow screens and in languages requiring longer text than English.

Props audrasjb, grapplerulrich, ryelle.
Merges [50569] to the 5.7 branch.
Fixes #52834.

Built from https://develop.svn.wordpress.org/branches/5.7@50572


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-25 00:01:05 +00:00
Peter Wilson
37d01e0346 Media: Pass the appropriate reference into wp_getimagesize.
With changes that were introduced in #49889 the second parameter for getimagesize() function is expecting a a reference.

Previously, most calls did not pass the 2nd param, and as a result, we are getting unexpected results.

This was only a problem with applications that are using a custom stream wrapper, and the image contained EXIF data.

For more see:

    https://github.com/humanmade/S3-Uploads/issues/496
    https://github.com/aws/aws-sdk-php/issues/1923 

Fixes #52826.
Merges [50552] to the 5.7 branch.
Props terriann, SergeyBiryukov, Mista-Flo, hellofromTonya, rinatkhaziev, whyisjake.

Built from https://develop.svn.wordpress.org/branches/5.7@50553


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-19 02:13:05 +00:00
desrosj
b1855cb9d0 Build/Test Tools: Pin NodeJS 14.x in the .nvmrc file for the 5.7 branch.
See #52341.
Built from https://develop.svn.wordpress.org/branches/5.7@50539


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-17 19:46:04 +00:00
ryelle
ef272f47a3 Help/About: Run image comparison script after all assets have loaded.
If the callback is called before the images are loaded, the comparison doesn't work. `wp.domReady` uses `DOMContentLoaded`, which does not guarantee that the images are loaded. This switches to use the `load` event, which waits for all resources to load.

Props vladytimy, joyously, sergeybiryukov.
Merges [50535] to the 5.7 branch.
Fixes #52758.


Built from https://develop.svn.wordpress.org/branches/5.7@50536


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-15 19:57:05 +00:00
Sergey Biryukov
c46deb4cb6 Accessibility: Administration: Use a darker color for post dates in the Activity and Quick Draft dashboard widgets.
This ensures that the color meets the WCAG 2.0 AA recommended contrast ratio.

Follow-up to [50025].

Props sabernhardt, Otshelnik-Fm, audrasjb.
Merges [50525] to the 5.7 branch.
Fixes #52760.
Built from https://develop.svn.wordpress.org/branches/5.7@50526


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-12 12:08:13 +00:00
ryelle
e78b4f2b69 Help/About: Use absolute URLs for inline images on About pages.
This ensures the images are loaded correctly from both single site and network About pages.

Props TobiasBg, audrasjb.
Merges [50523] to the 5.7 branch.
Fixes #52743.


Built from https://develop.svn.wordpress.org/branches/5.7@50524


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-11 21:50:08 +00:00
Sergey Biryukov
f3a89c4ee8 Help/About: Correct the WebM video URL on About page.
Props mihdan, audrasjb.
Merges [50518] to the 5.7 branch.
Fixes #52756.
Built from https://develop.svn.wordpress.org/branches/5.7@50519


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-10 10:30:05 +00:00
desrosj
4d8d6310ec Post WordPress 5.7 version bump.
The 5.7 branch is now 5.7.1 alpha.
Built from https://develop.svn.wordpress.org/branches/5.7@50515


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-09 21:09:05 +00:00
Sergey Biryukov
9072030480 WordPress 5.7.
Built from https://develop.svn.wordpress.org/branches/5.7@50513


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-09 20:15:12 +00:00
Sergey Biryukov
c63ebe7525 Update $_old_files for 5.7.
Follow up to [50066].

Props desrosj.
Reviewed by davidbaumwald, SergeyBiryukov.
Fixes #52334.
Built from https://develop.svn.wordpress.org/branches/5.7@50511


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-08 19:05:07 +00:00
desrosj
6137b9efe0 Build/Test Tools: Ensure the test_php_and_js_shortcode_attribute_regexes_match() test can run when testing using either the src or build directory.
Reviewed by desrosj, johnbillion.
Props alexstine, desrosj.
Merges [50501] to the 5.7 branch.
Fixes #51734.
Built from https://develop.svn.wordpress.org/branches/5.7@50509


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-08 15:16:02 +00:00
desrosj
a9d4c88ff1 Bundled Themes: Bump theme version numbers for WordPres 5.7.
This updates all new default themes to new versions, which will be released shortly after WordPress 5.7. The new versions are:

- Twenty Twenty-One: 1.2
- Twenty Twenty: 1.7
- Twenty Nineteen: 2.0
- Twenty Seventeen: 2.6
- Twenty Sixteen: 2.4
- Twenty Fifteen: 2.9
- Twenty Fourteen: 3.1
- Twenty Thirteen: 3.3
- Twenty Twelve: 3.4
- Twenty Eleven: 3.7
- Twenty Ten: 3.3

Reviewed by desrosj, williampatton.
Merges [50507] to the 5.7 branch.
Fixes #52704.
Built from https://develop.svn.wordpress.org/branches/5.7@50508


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-08 14:56:04 +00:00
Sergey Biryukov
95694600e8 Post WordPress 5.7 RC3 version bump.
Built from https://develop.svn.wordpress.org/branches/5.7@50503


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-05 20:25:02 +00:00
Sergey Biryukov
5737a63b49 WordPress 5.7 RC3.
Built from https://develop.svn.wordpress.org/branches/5.7@50502


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-05 20:11:03 +00:00
Sergey Biryukov
c696886f57 XML-RPC: Pass an empty array to the xmlrpc_call action in methods that have no arguments.
This avoids an "Undefined variable" PHP notice in the `::mt_supportedMethods()` and `::mt_supportedTextFilters()` methods.

Follow-up to [50353].

Props dd32.
Reviewed by dd32, SergeyBiryukov.
Merges [50499] to the 5.7 branch.
Fixes #52524.
Built from https://develop.svn.wordpress.org/branches/5.7@50500


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-05 11:06:03 +00:00
Sergey Biryukov
7bb43234fb Help/About: Clarify two strings.
The intro text has been updated for accuracy and to make it easier for translation. The button text has been updated for accuracy.

Props jdy68, audrasjb, marybaum, davidbaumwald.
Reviewed by ryelle, SergeyBiryukov.
Merges [50495] to the 5.7 branch.
See #52347.
Built from https://develop.svn.wordpress.org/branches/5.7@50498


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-05 10:42:02 +00:00
noisysocks
eed48e29b8 Editor: Update @wordpress npm packages
Update @wordpress npm packages to the latest published versions. This includes
block editor bug fixes for WordPress 5.7 RC 3.

See #52718.

Built from https://develop.svn.wordpress.org/branches/5.7@50497


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-05 04:13:27 +00:00
desrosj
8538424c7f Twenty Twenty-One: Make text readable when dark background is selected for the Media & Text block.
This change ensures that the text in the Media & Text block is readable when dark background colors are selected.

This is a regression that was introduced in [49987].

Props hellofromTonya, poena, paaljoachim, ryelle.
Merges [50493] to the 5.7 branch.
Fixes #52702.
Built from https://develop.svn.wordpress.org/branches/5.7@50494


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-04 17:00:03 +00:00
desrosj
ad6d163cfa Help/About: Clarify a string about lazy-loading iframes.
Props davidbaumwald, audrasjb, hellofromTonya.
See #52347.
Built from https://develop.svn.wordpress.org/branches/5.7@50492


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-04 16:46:05 +00:00
noisysocks
8d05380afc Block Editor: Fix color support for dynamic blocks
Changes wp_apply_colors_support to check for for color instead of
experimentalColor when determining block support for color.

Props nosolosw, rafhun, youknowriad.
See #52709.

Built from https://develop.svn.wordpress.org/branches/5.7@50489


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-03 23:33:06 +00:00
Dion Hulse
cd0cb23aca Bump Akismet external to 4.1.9.
See #52245.


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-03 00:46:24 +00:00
desrosj
0447adfdbf Post WordPress 5.7 RC2 version bump.
Built from https://develop.svn.wordpress.org/branches/5.7@50482


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-02 20:47:03 +00:00
desrosj
64d9828155 WordPress 5.7 RC2.
Built from https://develop.svn.wordpress.org/branches/5.7@50481


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-02 20:33:03 +00:00
ryelle
b5e412fc3e Help/About: Iterate on the 5.7 About Page.
Adds a more obviously interactive comparison for viewing the color scheme differences. Improvements on RTL and IE11. Update strings to be more clear and consistent. Switch to the CDN for loading images.

Props sarahricker, desrosj, melchoyce, SergeyBiryukov, tikifez, clorith, marybaum, audrasjb, francina, hellofromTonya.
Reviewed by SergeyBiryukov.
Merges [50478] to the 5.7 branch.
Fixes #52693. See #52347.


Built from https://develop.svn.wordpress.org/branches/5.7@50480


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-02 20:14:04 +00:00
Mike Schroder
41f4aae738 Upgrade/Install: Invalidate OPcache for version.php during update.
Invalidate OPcache for wp-content/version.php on update individually, since it's copied separately.

Props stodorovic, krstarica, cenay, desrosj, pbiron, sergeybiryukov, mikeschroder.

Reviewed by mikeschroder, SergeyBiryukov.
Merges [50460] and [50475] to the 5.7 branch.
Fixes #51686, #51281.
See #36455.



Built from https://develop.svn.wordpress.org/branches/5.7@50477


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-02 18:21:03 +00:00
Sergey Biryukov
1adcc5bb83 Security, Site Health: Do not store HTTPS request error messages in an option.
This changes the logic in `update_https_detection_errors()` to never store error messages from the actual request since they could use a different encoding, which would make storing them in an option potentially fail, leading WordPress to then falsely assume that HTTPS is supported.

While this doesn't actually fix the encoding issue, it is not crucial to do so anyway, since these messages are not used anywhere. A simple differentiation between whether the overall HTTPS request or only the SSL verification failed should be sufficient for the purpose of this function.

Props flixos90, tmatsuur, lukecarbis.
Reviewed by flixos90, SergeyBiryukov.
Merges [50471] to the 5.7 branch.
Fixes #52484.
Built from https://develop.svn.wordpress.org/branches/5.7@50472


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-02 15:16:02 +00:00
Sergey Biryukov
b18d2e5fda REST API: Correct error code for the maxItems keyword.
Follow-up to [50007].

Props TimothyBlynJacobs.
Reviewed by desrosj, SergeyBiryukov.
Merges [50461] to the 5.7 branch.
Fixes #52317.
Built from https://develop.svn.wordpress.org/branches/5.7@50470


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-02 12:55:03 +00:00
Sergey Biryukov
e0058af83d Twenty Twenty-One: Correct inner container background color for Cover Blocks.
Adjust the background color palette rules so they don't show up on inner containers when they're not supposed to:
- When an inner container block is present, it only applies them to direct children of the block with the background color assigned.
- Since the background color should only be applied to the Cover block's overlay, not to the inner container, it opts that specific block out of this rule.

Props dianeco, kjellr, paaljoachim.
Reviewed by ryelle, SergeyBiryukov.
Merges [50466] to the 5.7 branch.
Fixes #52676.
Built from https://develop.svn.wordpress.org/branches/5.7@50469


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-02 12:52:03 +00:00
Sergey Biryukov
11ce2fe256 Twenty Fifteen & Twenty Sixteen: Remove extra space around post editor.
The editor uses the full height of its container, so the added margins cause the visual editor to break out of the container. This removes the top & bottom margins, and makes the left & right margins consistent with the meta box area.

Props antonlukin, paaljoachim, felipeelia.
Reviewed by ryelle, SergeyBiryukov.
Merges [50465] to the 5.7 branch.
Fixes #52646.
Built from https://develop.svn.wordpress.org/branches/5.7@50468


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50079 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-02 12:47:06 +00:00
noisysocks
9588f78d86 Editor: Update @wordpress npm packages
Update @wordpress npm packages to the latest published versions. This includes
block editor bug fixes for WordPress 5.7 RC 2.

Fixes #52680.

Built from https://develop.svn.wordpress.org/branches/5.7@50467


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-02 00:46:20 +00:00
John Blackbourn
23f58f8af4 Build/Test Tools: PHPUnit test improvements:
* Switch back to running the PHPUnit test suite against the `src` directory instead of `build`
* Increase the reliability of backing up the `mu-plugins` directory during tests
* Split the PHPUnit tests for PHP versions below 7.0 in half, allowing them to run in parallel and reduce the overall test run duration on GitHub Actions

Merges [50441-50444] to the 5.7 branch.

Fixes #51734, #51735, #52645

Built from https://develop.svn.wordpress.org/branches/5.7@50464


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-01 20:23:03 +00:00
Peter Wilson
b997fb4eac External Libraries: Install jQuery via NPM.
Previously, jQuery 1.12.4 was added to the WordPress SVN repo in order to backport an upstream security patch from jQuery 3.4.0.

Now that WordPress includes an unmodified version of jQuery 3.5.1 and no longer needs to maintain a fork, it can be removed from the SVN repo and installed via NPM again as part of the build.

Follow-up to [45342], [49101].

Props peterwilsoncc, SergeyBiryukov.
Merges [50445] to the 5.7 branch.
Fixes #52647.


Built from https://develop.svn.wordpress.org/branches/5.7@50457


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-01 00:54:18 +00:00
Sergey Biryukov
fea7422a14 Users: Use localized site title for password reset emails.
When sending password reset emails, switch to the user's locale prior to obtaining the site title to allow for plugins filtering based on locale.

Follow up to [50129,50139-50141,50152,50415].

Props chouby.
Merges [50439] to the 5.7 branch.
Fixes #52605. See #34281.
Built from https://develop.svn.wordpress.org/branches/5.7@50440


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-26 11:17:05 +00:00
Peter Wilson
6072eb4497 Help/About: Remove extra space in the 5.7 About page copy.
Props tobifjellner, audrasjb, desrosj, ryelle.
Merges [50430] to the 5.7 branch.
Fixes #52632.

Built from https://develop.svn.wordpress.org/branches/5.7@50438


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-25 23:37:04 +00:00
Peter Wilson
a531b8f403 Administration: Revert the change to click event handler for fly-out submenus.
The `click()` method there is not the jQuery method, but is an HTML DOM method instead.

This makes the fly-out submenu header clickable again when the menu is folded.

Follow-up to [50420].

Props peterwilsoncc, SergeyBiryukov.
Merges [50429] to the 5.7 branch.
Fixes #52638. See #51812.

Built from https://develop.svn.wordpress.org/branches/5.7@50437


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-25 22:52:04 +00:00
desrosj
6d6beaec8c Security: Update the Security Policy to include WordPress 5.7.
Reviewed by desrosj, SergeyBiryukov.
Merges [50428] to the 5.7 branch.
Fixes #52633.
Built from https://develop.svn.wordpress.org/branches/5.7@50431


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-24 15:57:54 +00:00
desrosj
932518e519 Branch 5.7
Built from https://develop.svn.wordpress.org/branches/5.7@50426


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-23 21:02:09 +00:00
1362 changed files with 101909 additions and 157997 deletions

View File

@@ -76,7 +76,7 @@
<dt><a href="https://wordpress.org/support/forums/">WordPress Support Forums</a></dt>
<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>
<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="irc://irc.freenode.net/wordpress">irc.freenode.net #wordpress</a>)</dd>
</dl>
<h2>Final Notes</h2>

View File

@@ -9,6 +9,9 @@
/** WordPress Administration Bootstrap */
require_once __DIR__ . '/admin.php';
wp_enqueue_script( 'wp-components' );
wp_enqueue_style( 'wp-components' );
/* translators: Page title of the About WordPress page in the admin. */
$title = _x( 'About', 'page title' );
@@ -19,15 +22,19 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<div class="wrap about__container">
<div class="about__header">
<div class="about__header-image">
<img alt="<?php _e( 'Code is Poetry' ); ?>" src="<?php echo admin_url( 'images/about-badge.svg' ); ?>" />
</div>
<div class="about__header-title">
<h1>
<p>
<?php _e( 'WordPress' ); ?>
<?php echo $display_version; ?>
</h1>
</p>
</div>
<div class="about__header-text">
<?php _e( 'The next stop on the road to full site editing' ); ?>
<?php _e( 'Jazz up your stories in an editor thats cleaner, crisper, and does more to get out of your way.' ); ?>
</div>
<nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
@@ -38,17 +45,36 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
</nav>
</div>
<div class="about__section is-feature has-subtle-background-color">
<div class="column">
<h1 class="is-smaller-heading">
<?php
printf(
/* translators: %s: The current WordPress version number. */
__( 'Step into WordPress %s.' ),
$display_version
);
?>
</h1>
<p>
<?php
_e( 'With this new version, WordPress brings you fresh colors. The editor helps you work in a few places you couldnt before—at least, not without getting into code or hiring a pro. The controls you use most, like changing font sizes, are in more places—right where you need them. And layout changes that should be simple, like full-height images, are even simpler to make.' );
?>
</p>
</div>
</div>
<hr />
<div class="about__section changelog">
<div class="column">
<h2><?php _e( 'Maintenance and Security Releases' ); ?></h2>
<div class="column has-border has-subtle-background-color">
<h2 class="is-smaller-heading"><?php _e( 'Maintenance and Security Releases' ); ?></h2>
<p>
<?php
printf(
/* translators: %s: WordPress version number. */
__( '<strong>Version %s</strong> addressed some security issues.' ),
'5.8.8'
'5.7.9'
);
?>
<?php
@@ -58,17 +84,18 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
sprintf(
/* translators: %s: WordPress version. */
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
sanitize_title( '5.8.8' )
sanitize_title( '5.7.9' )
)
);
?>
</p>
<p>
<?php
printf(
/* translators: %s: WordPress version number. */
__( '<strong>Version %s</strong> addressed some security issues.' ),
'5.8.7'
'5.7.8'
);
?>
<?php
@@ -78,17 +105,18 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
sprintf(
/* translators: %s: WordPress version. */
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
sanitize_title( '5.8.7' )
sanitize_title( '5.7.8' )
)
);
?>
</p>
<p>
<?php
printf(
/* translators: %s: WordPress version number. */
__( '<strong>Version %s</strong> addressed some security issues.' ),
'5.8.6'
'5.7.7'
);
?>
<?php
@@ -98,17 +126,18 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
sprintf(
/* translators: %s: WordPress version. */
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
sanitize_title( '5.8.6' )
sanitize_title( '5.7.7' )
)
);
?>
</p>
<p>
<?php
printf(
/* translators: %s: WordPress version number. */
__( '<strong>Version %s</strong> addressed some security issues.' ),
'5.8.5'
'5.7.6'
);
?>
<?php
@@ -118,17 +147,18 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
sprintf(
/* translators: %s: WordPress version. */
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
sanitize_title( '5.8.5' )
sanitize_title( '5.7.6' )
)
);
?>
</p>
<p>
<?php
printf(
/* translators: %s: WordPress version number. */
__( '<strong>Version %s</strong> addressed some security issues.' ),
'5.8.4'
'5.7.5'
);
?>
<?php
@@ -138,17 +168,18 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
sprintf(
/* translators: %s: WordPress version. */
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
sanitize_title( '5.8.4' )
sanitize_title( '5.7.5' )
)
);
?>
</p>
<p>
<?php
printf(
/* translators: %s: WordPress version number. */
__( '<strong>Version %s</strong> addressed some security issues.' ),
'5.8.3'
__( '<strong>Version %s</strong> addressed one security issue.' ),
'5.7.4'
);
?>
<?php
@@ -158,57 +189,80 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
sprintf(
/* translators: %s: WordPress version. */
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
sanitize_title( '5.8.3' )
sanitize_title( '5.7.4' )
)
);
?>
</p>
<p>
<?php
printf(
/* translators: 1: WordPress version number, 2: plural number of bugs. */
/* translators: 1: WordPress version number, 2: Plural number of bugs. More than one security issue. */
_n(
'<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bug.',
'<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bugs.',
2
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.',
5
),
'5.8.2',
number_format_i18n( 2 )
'5.7.3',
number_format_i18n( 5 )
);
?>
<?php
printf(
/* translators: %s: HelpHub URL */
/* translators: %s: HelpHub URL. */
__( 'For more information, see <a href="%s">the release notes</a>.' ),
sprintf(
/* translators: %s: WordPress version */
/* translators: %s: WordPress version. */
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
sanitize_title( '5.8.2' )
sanitize_title( '5.7.3' )
)
);
?>
</p>
<p>
<?php
printf(
/* translators: 1: WordPress version number, 2: plural number of bugs. */
/* translators: %s: WordPress version number. */
__( '<strong>Version %s</strong> addressed one security issue.' ),
'5.7.2'
);
?>
<?php
printf(
/* translators: %s: HelpHub URL. */
__( 'For more information, see <a href="%s">the release notes</a>.' ),
sprintf(
/* translators: %s: WordPress version. */
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
sanitize_title( '5.7.2' )
)
);
?>
</p>
<p>
<?php
printf(
/* translators: 1: WordPress version number, 2: Plural number of bugs. More than one security issue. */
_n(
'<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bug.',
'<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bugs.',
60
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.',
26
),
'5.8.1',
number_format_i18n( 60 )
'5.7.1',
number_format_i18n( 26 )
);
?>
<?php
printf(
/* translators: %s: HelpHub URL */
/* translators: %s: HelpHub URL. */
__( 'For more information, see <a href="%s">the release notes</a>.' ),
sprintf(
/* translators: %s: WordPress version */
/* translators: %s: WordPress version. */
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
sanitize_title( '5.8.1' )
sanitize_title( '5.7.1' )
)
);
?>
@@ -216,191 +270,146 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
</div>
</div>
<hr class="is-large" />
<hr />
<div class="about__section">
<h2 class="aligncenter">
<?php _e( 'Three Essential Powerhouses' ); ?>
<div class="about__section has-2-columns">
<h2 class="is-section-header is-smaller-heading">
<?php _e( 'Now the editor is easier to use' ); ?>
</h2>
<div class="column">
<p>
<?php
_e( '<strong>Font-size adjustment in more places:</strong> now, font-size controls are right where you need them in the List and Code blocks. No more trekking to another screen to make that single change!' );
?>
</p>
<p>
<?php
_e( '<strong>Reusable blocks:</strong> several enhancements make reusable blocks more stable and easier to use. And now they save automatically with the post when you click the Update button.' );
?>
</p>
<p>
<?php
_e( '<strong>Inserter drag-and-drop:</strong> drag blocks and block patterns from the inserter right into your post.' );
?>
</p>
</div>
<div class="column about__image">
<video controls>
<source src="https://s.w.org/images/core/5.7/about-57-drag-drop-image.mp4" type="video/mp4" />
<source src="https://s.w.org/images/core/5.7/about-57-drag-drop-image.webm" type="video/webm" />
</video>
</div>
</div>
<div class="about__section has-2-columns is-wider-left">
<div class="column about__image is-vertically-aligned-center">
<img src="https://s.w.org/images/core/5.8/about-widgets-blocks.png" alt="" />
</div>
<div class="about__section has-2-columns">
<h2 class="is-section-header is-smaller-heading">
<?php _e( 'You can do more without writing custom code' ); ?>
</h2>
<div class="column">
<p>
<?php
_e( '<strong>Full-height alignment:</strong> have you ever wanted to make a block, like the Cover block, fill the whole window? Now you can.' );
?>
</p>
<p>
<?php
_e( '<strong>Buttons block:</strong> now you can choose a vertical or a horizontal layout. And you can set the width of a button to a preset percentage.' );
?>
</p>
<p>
<?php
_e( '<strong>Social Icons block:</strong> now you can change the size of the icons.' );
?>
</p>
</div>
<div class="column about__image">
<img src="https://s.w.org/images/core/5.7/about-57-cover.jpg" alt="" />
</div>
</div>
<hr />
<div class="about__section has-subtle-background-color">
<div class="column">
<h2 class="is-smaller-heading"><?php _e( 'A Simpler Default Color Palette' ); ?></h2>
</div>
</div>
<div class="about__section has-subtle-background-color">
<figure class="column about__image" id="about-image-comparison">
<div class="about__image-comparison no-js">
<img src="https://s.w.org/images/core/5.7/about-57-color-old.png" alt="<?php esc_attr_e( 'Dashboard with old color scheme.' ); ?>" />
<div class="about__image-comparison-resize">
<img src="https://s.w.org/images/core/5.7/about-57-color-new.png" alt="<?php esc_attr_e( 'Dashboard with new color scheme.' ); ?>" />
</div>
</div>
<figcaption><?php _e( 'Above, the Dashboard before and after the color update in 5.7.' ); ?></figcaption>
</figure>
</div>
<div class="about__section has-2-columns has-subtle-background-color">
<div class="column">
<h3>
<?php _e( 'Manage Widgets with Blocks' ); ?>
</h3>
<p>
<?php
printf(
/* translators: %s: Widgets dev note link. */
__( 'After months of hard work, the power of blocks has come to both the Block Widgets Editor and the Customizer. Now you can add blocks both in widget areas across your site and with live preview through the Customizer. This opens up new possibilities to create content: from no-code mini layouts to the vast library of core and third-party blocks. For our developers, you can find more details in the <a href="%s">Widgets dev note</a>.' ),
'https://make.wordpress.org/core/2021/06/29/block-based-widgets-editor-in-wordpress-5-8/'
/* translators: %s: WCAG information link. */
__( 'This new streamlined color palette collapses all the colors that used to be in the WordPress source code down to seven core colors and a range of 56 shades that meet the <a href="%s">WCAG 2.0 AA recommended contrast ratio</a> against white or black.' ),
'https://www.w3.org/WAI/WCAG2AAA-Conformance'
);
?>
</p>
<p>
<?php
_e( 'The colors are perceptually uniform from light to dark in each range, which means they start at white and get darker by the same amount with each step.' );
?>
</p>
</div>
<div class="column">
<p>
<?php
_e( 'Half the range has a 4.5 or higher contrast ratio against black, and the other half maintains the same contrast against white.' );
?>
</p>
<p>
<?php
printf(
/* translators: %s: Color palette dev note link. */
__( 'Find the new palette in the default WordPress Dashboard color scheme, and use it when youre building themes, plugins, or any other components. For all the details, <a href="%s">check out the Color Palette dev note</a>.' ),
'https://make.wordpress.org/core/2021/02/23/standardization-of-wp-admin-colors-in-wordpress-5-7'
);
?>
</p>
</div>
</div>
<div class="about__section has-2-columns is-wider-right">
<div class="column">
<h3>
<?php _e( 'Display Posts with New Blocks and Patterns' ); ?>
</h3>
<p>
<?php _e( 'The Query Loop Block makes it possible to display posts based on specified parameters; like a PHP loop without the code. Easily display posts from a specific category, to do things like create a portfolio or a page full of your favorite recipes. Think of it as a more complex and powerful Latest Posts Block! Plus, pattern suggestions make it easier than ever to create a list of posts with the design you want.' ); ?>
</p>
</div>
<div class="column about__image is-vertically-aligned-center">
<img src="https://s.w.org/images/core/5.8/about-query-loop.png" alt="" />
</div>
</div>
<div class="about__section has-2-columns is-wider-left">
<div class="column about__image is-vertically-aligned-center">
<img src="https://s.w.org/images/core/5.8/about-template.png" alt="" />
</div>
<div class="column">
<h3>
<?php _e( 'Edit the Templates Around Posts' ); ?>
</h3>
<p>
<?php
_e( 'You can use the familiar block editor to edit templates that hold your content—simply activate a block theme or a theme that has opted in for this feature. Switch from editing your posts to editing your pages and back again, all while using a familiar block editor. There are more than 20 new blocks available within compatible themes. Read more about this feature and how to experiment with it in the release notes.' );
?>
</p>
</div>
</div>
<hr class="is-large" />
<div class="about__section">
<h2 class="aligncenter">
<?php _e( 'Three Workflow Helpers' ); ?>
</h2>
</div>
<div class="about__section has-2-columns is-wider-left">
<div class="column about__image is-vertically-aligned-center">
<img src="https://s.w.org/images/core/5.8/about-list-view.png" alt="" />
</div>
<div class="column">
<h3>
<?php _e( 'Overview of the Page Structure' ); ?>
</h3>
<p>
<?php
_e( 'Sometimes you need a simple landing page, but sometimes you need something a little more robust. As blocks increase, patterns emerge, and content creation gets easier, new solutions are needed to make complex content easy to navigate. List View is the best way to jump between layers of content and nested blocks. Since the List View gives you an overview of all the blocks in your content, you can now navigate quickly to the precise block you need. Ready to focus completely on your content? Toggle it on or off to suit your workflow.' );
?>
</p>
</div>
</div>
<div class="about__section has-2-columns is-wider-right">
<div class="column">
<h3>
<?php _e( 'Suggested Patterns for Blocks' ); ?>
</h3>
<p>
<?php
_e( 'Starting in this release the Pattern Transformations tool will suggest block patterns based on the block you are using. Right now, you can give it a try in the Query Block and Social Icon Block. As more patterns are added, you will be able to get inspiration for how to style your site without ever leaving the editor!' );
?>
</p>
</div>
<div class="column about__image is-vertically-aligned-center">
<img src="https://s.w.org/images/core/5.8/about-pattern-suggestions.png" alt="" />
</div>
</div>
<div class="about__section has-2-columns is-wider-left">
<div class="column about__image is-vertically-aligned-center">
<img src="https://s.w.org/images/core/5.8/about-duotone.png" alt="" />
</div>
<div class="column">
<h3>
<?php _e( 'Style and Colorize Images' ); ?>
</h3>
<p>
<?php
_e( 'Colorize your image and cover blocks with duotone filters! Duotone can add a pop of color to your designs and style your images (or videos in the cover block) to integrate well with your themes. You can think of the duotone effect as a black and white filter, but instead of the shadows being black and the highlights being white, you pick your own colors for the shadows and highlights. Theres more to learn about how it works in the documentation.' );
?>
</p>
</div>
</div>
<hr class="is-large" />
<div class="about__section">
<h2 class="aligncenter" style="margin-bottom:0;">
<?php _e( 'For Developers to Explore' ); ?>
</h2>
<div class="column about__image is-vertically-aligned-center">
<div class="about__section has-subtle-background-color">
<div class="column about__image">
<picture>
<source srcset="https://s.w.org/images/core/5.8/about-theme-json.png, https://s.w.org/images/core/5.8/about-theme-json-2x.png 2x" />
<img src="https://s.w.org/images/core/5.8/about-theme-json.png" alt="" />
<source media="(max-width: 600px)" srcset="<?php echo admin_url( 'images/about-color-palette-vert.svg' ); ?>" />
<img alt="" src="<?php echo admin_url( 'images/about-color-palette.svg' ); ?>" />
</picture>
</div>
</div>
<div class="about__section has-1-column">
<div class="column">
<h3>
<?php _e( 'Theme.json' ); ?>
</h3>
<p>
<?php
printf(
/* translators: %s: Theme.json dev note link. */
__( 'Introducing the Global Styles and Global Settings APIs: control the editor settings, available customization tools, and style blocks using a theme.json file in the active theme. This configuration file enables or disables features and sets default styles for both a website and blocks. If you build themes, you can experiment with this early iteration of a useful new feature. For more about what is currently available and how it works, <a href="%s">check out this dev note</a>.' ),
'https://make.wordpress.org/core/2021/06/25/introducing-theme-json-in-wordpress-5-8/'
);
?>
</p>
</div>
</div>
<hr />
<div class="about__section has-3-columns">
<div class="about__section has-2-columns">
<div class="column">
<h3>
<?php _e( 'Dropping support for Internet Explorer 11' ); ?>
</h3>
<h3><?php _e( 'From HTTP to HTTPS in a single click' ); ?></h3>
<p><?php _e( 'Starting now, switching a site from HTTP to HTTPS is a one-click move. WordPress will automatically update database URLs when you make the switch. No more hunting and guessing!' ); ?></p>
<h3><?php _e( 'New Robots API' ); ?></h3>
<p>
<?php
printf(
/* translators: %s: Link to Browse Happy. */
__( 'Support for Internet Explorer 11 has been dropped as of this release. This means you may have issues managing your site that will not be fixed in the future. If you are currently using IE11, it is strongly recommended that you <a href="%s">switch to a more modern browser</a>.' ),
'https://browsehappy.com/'
);
_e( 'The new Robots API lets you include the filter directives in the robots meta tag, and the API includes the <code>max-image-preview: large</code> directive by default. That means search engines can show bigger image previews, which can boost your traffic (unless the site is marked <em>not-public</em>).' );
?>
</p>
</div>
<div class="column">
<h3>
<?php _e( 'Adding support for WebP' ); ?>
</h3>
<p>
<?php
_e( 'WebP is a modern image format that provides improved lossless and lossy compression for images on the web. WebP images are around 30% smaller on average than their JPEG or PNG equivalents, resulting in sites that are faster and use less bandwidth.' );
?>
</p>
</div>
<div class="column">
<h3>
<?php _e( 'Adding Additional Block Supports' ); ?>
</h3>
<p>
<?php
printf(
/* translators: %1$s: Link to 5.6's block dev notes. %2$s: Link to 5.7's block dev notes. %3$s: Link to 5.8's block dev notes. */
__( 'Expanding on previously implemented block supports in WordPress <a href="%1$s">5.6</a> and <a href="%2$s">5.7</a>, WordPress 5.8 introduces several new block support flags and new options to customize your registered blocks. More information is available in the <a href="%3$s">block supports dev note</a>.' ),
'https://make.wordpress.org/core/2020/11/18/block-supports-in-wordpress-5-6/',
'https://make.wordpress.org/core/2021/02/24/changes-to-block-editor-components-and-blocks/',
'https://make.wordpress.org/core/2021/06/25/block-supports-api-updates-for-wordpress-5-8/'
);
?>
</p>
<h3><?php _e( 'Ongoing cleanup after update to jQuery 3.5.1' ); ?></h3>
<p><?php _e( 'For years jQuery helped make things move on the screen in ways the basic tools couldnt—but that keeps changing, and so does jQuery.' ); ?></p>
<p><?php _e( 'In 5.7, jQuery gets more focused and less intrusive, with fewer messages in the console.' ); ?></p>
<h3><?php _e( 'Lazy-load your iframes' ); ?></h3>
<p><?php _e( 'Now its simple to let iframes lazy-load. By default, WordPress will add a <code>loading="lazy"</code> attribute to iframe tags when both width and height are specified.' ); ?></p>
</div>
</div>
@@ -412,9 +421,9 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<p>
<?php
printf(
/* translators: %s: WordPress 5.8 Field Guide link. */
__( 'Check out the latest version of the WordPress Field Guide. It highlights developer notes for each change you may want to be aware of. <a href="%s">WordPress 5.8 Field Guide.</a>' ),
'https://make.wordpress.org/core/2021/07/03/wordpress-5-8-field-guide/'
/* translators: %s: WordPress 5.7 Field Guide link. */
__( 'Check out the latest version of the WordPress Field Guide. It highlights developer notes for each change you may want to be aware of. <a href="%s">WordPress 5.7 Field Guide.</a>' ),
'https://make.wordpress.org/core/2021/02/23/wordpress-5-7-field-guide'
);
?>
</p>
@@ -435,6 +444,83 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<?php require_once ABSPATH . 'wp-admin/admin-footer.php'; ?>
<script>
window.addEventListener( 'load', function() {
var createElement = wp.element.createElement;
var Fragment = wp.element.Fragment;
var render = wp.element.render;
var useState = wp.element.useState;
var ResizableBox = wp.components.ResizableBox;
var container = document.getElementById( 'about-image-comparison' );
var images = container ? container.querySelectorAll( 'img' ) : [];
if ( ! images.length ) {
// Something's wrong, return early.
return;
}
var beforeImage = images.item( 0 );
var afterImage = images.item( 1 );
var caption = container.querySelector( 'figcaption' ).innerText;
function ImageComparison( props ) {
var stateHelper = useState( props.width );
var width = stateHelper[0];
var setWidth = stateHelper[1];
return createElement(
'div',
{
className: 'about__image-comparison'
},
createElement( 'img', { src: beforeImage.src, alt: beforeImage.alt } ),
createElement(
ResizableBox,
{
size: {
width: width,
height: props.height
},
onResizeStop: function( event, direction, elt, delta ) {
setWidth( parseInt( width + delta.width, 10 ) );
},
showHandle: true,
enable: {
top: false,
right: ! wp.i18n.isRTL(),
bottom: false,
left: wp.i18n.isRTL(),
},
className: 'about__image-comparison-resize'
},
createElement(
'div',
{
style: { width: '100%', height: '100%', overflow: 'hidden' }
},
createElement('img', { src: afterImage.src, alt: afterImage.alt } )
)
)
);
}
render(
createElement(
Fragment,
{},
createElement(
ImageComparison,
{
width: beforeImage.clientWidth / 2,
height: beforeImage.clientHeight
}
),
createElement( 'figcaption', {}, caption )
),
container
);
} );
</script>
<?php
// These are strings we may use to describe maintenance/security releases, where we aim for no new strings.

View File

@@ -105,15 +105,15 @@ do_action( 'admin_print_footer_scripts' );
do_action( "admin_footer-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
// get_site_option() won't exist when auto upgrading from <= 2.7.
if ( function_exists( 'get_site_option' )
&& false === get_site_option( 'can_compress_scripts' )
) {
compression_test();
if ( function_exists( 'get_site_option' ) ) {
if ( false === get_site_option( 'can_compress_scripts' ) ) {
compression_test();
}
}
?>
<div class="clear"></div></div><!-- wpwrap -->
<script type="text/javascript">if(typeof wpOnload==='function')wpOnload();</script>
<script type="text/javascript">if(typeof wpOnload=='function')wpOnload();</script>
</body>
</html>

View File

@@ -190,7 +190,8 @@ if ( is_network_admin() ) {
$admin_body_class .= ' no-customize-support no-svg';
if ( $current_screen->is_block_editor() ) {
$admin_body_class .= ' block-editor-page wp-embed-responsive';
// Default to is-fullscreen-mode to avoid jumps in the UI.
$admin_body_class .= ' block-editor-page is-fullscreen-mode wp-embed-responsive';
}
$error_get_last = error_get_last();

View File

@@ -48,40 +48,20 @@ if ( isset( $_REQUEST['attachment_id'] ) && (int) $_REQUEST['attachment_id'] &&
switch ( $_REQUEST['fetch'] ) {
case 3:
?>
<div class="media-item-wrapper">
<div class="attachment-details">
<?php
$thumb_url = wp_get_attachment_image_src( $id, 'thumbnail', true );
if ( $thumb_url ) {
echo '<img class="pinkynail" src="' . esc_url( $thumb_url[0] ) . '" alt="" />';
}
$thumb_url = wp_get_attachment_image_src( $id, 'thumbnail', true );
if ( $thumb_url ) {
echo '<img class="pinkynail" src="' . esc_url( $thumb_url[0] ) . '" alt="" />';
}
if ( current_user_can( 'edit_post', $id ) ) {
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>';
}
// Title shouldn't ever be empty, but use filename just in case.
$file = get_attached_file( $post->ID );
$file_url = wp_get_attachment_url( $post->ID );
$title = $post->post_title ? $post->post_title : wp_basename( $file );
?>
<div class="filename new">
<span class="media-list-title"><strong><?php echo esc_html( wp_html_excerpt( $title, 60, '&hellip;' ) ); ?></strong></span>
<span class="media-list-subtitle"><?php echo wp_basename( $file ); ?></span>
</div>
</div>
<div class="attachment-tools">
<span class="media-item-copy-container copy-to-clipboard-container edit-attachment">
<button type="button" class="button button-small copy-attachment-url" data-clipboard-text="<?php echo $file_url; ?>"><?php _e( 'Copy URL to clipboard' ); ?></button>
<span class="success hidden" aria-hidden="true"><?php _e( 'Copied!' ); ?></span>
</span>
<?php
if ( current_user_can( 'edit_post', $id ) ) {
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>';
}
?>
</div>
</div>
<?php
// Title shouldn't ever be empty, but use filename just in case.
$file = get_attached_file( $post->ID );
$title = $post->post_title ? $post->post_title : wp_basename( $file );
echo '<div class="filename new"><span class="title">' . esc_html( wp_html_excerpt( $title, 60, '&hellip;' ) ) . '</span></div>';
break;
case 2:
add_filter( 'attachment_fields_to_edit', 'media_single_attachment_fields_to_edit', 10, 2 );
@@ -139,14 +119,8 @@ if ( $_REQUEST['short'] ) {
/**
* Filters the returned ID of an uploaded attachment.
*
* The dynamic portion of the hook name, `$type`, refers to the attachment type.
*
* Possible hook names include:
*
* - `async_upload_audio`
* - `async_upload_file`
* - `async_upload_image`
* - `async_upload_video`
* The dynamic portion of the hook name, `$type`, refers to the attachment type,
* such as 'image', 'audio', 'video', 'file', etc.
*
* @since 2.5.0
*

View File

@@ -12,7 +12,7 @@ require_once __DIR__ . '/admin.php';
$error = null;
$new_password = '';
// This is the no-js fallback script. Generally this will all be handled by `auth-app.js`.
// This is the no-js fallback script. Generally this will all be handled by `auth-app.js`
if ( isset( $_POST['action'] ) && 'authorize_application_password' === $_POST['action'] ) {
check_admin_referer( 'authorize_application_password' );
@@ -165,10 +165,10 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<p>
<?php
printf(
/* translators: 1: URL to my-sites.php, 2: Number of sites the user has. */
/* translators: 1: URL to my-sites.php, 2: Number of blogs 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>.',
'This will grant access to <a href="%1$s">the %2$s blog in this installation that you have permissions on</a>.',
'This will grant access to <a href="%1$s">all %2$s blogs in this installation that you have permissions on</a>.',
$blogs_count
),
admin_url( 'my-sites.php' ),

View File

@@ -167,19 +167,19 @@ switch ( $action ) {
<table class="form-table comment-ays">
<tr>
<th scope="row"><?php _e( 'Author' ); ?></th>
<td><?php comment_author( $comment ); ?></td>
<th scope="row"><?php _e( 'Author' ); ?></th>
<td><?php comment_author( $comment ); ?></td>
</tr>
<?php if ( get_comment_author_email( $comment ) ) { ?>
<tr>
<th scope="row"><?php _e( 'Email' ); ?></th>
<td><?php comment_author_email( $comment ); ?></td>
<th scope="row"><?php _e( 'Email' ); ?></th>
<td><?php comment_author_email( $comment ); ?></td>
</tr>
<?php } ?>
<?php if ( get_comment_author_url( $comment ) ) { ?>
<tr>
<th scope="row"><?php _e( 'URL' ); ?></th>
<td><a href="<?php comment_author_url( $comment ); ?>"><?php comment_author_url( $comment ); ?></a></td>
<th scope="row"><?php _e( 'URL' ); ?></th>
<td><a href="<?php comment_author_url( $comment ); ?>"><?php comment_author_url( $comment ); ?></a></td>
</tr>
<?php } ?>
<tr>
@@ -207,8 +207,8 @@ switch ( $action ) {
}
?>
</td>
</tr>
<tr>
</tr>
<tr>
<th scope="row"><?php _e( 'Submitted on' ); ?></th>
<td>
<?php
@@ -226,32 +226,31 @@ switch ( $action ) {
echo $submitted;
}
?>
</td>
</tr>
<tr>
</td>
</tr>
<tr>
<th scope="row"><?php /* translators: Field name in comment form. */ _ex( 'Comment', 'noun' ); ?></th>
<td class="comment-content">
<?php comment_text( $comment ); ?>
<p class="edit-comment">
<a href="<?php echo esc_url( admin_url( "comment.php?action=editcomment&c={$comment->comment_ID}" ) ); ?>"><?php esc_html_e( 'Edit' ); ?></a>
</p>
<p class="edit-comment"><a href="<?php echo admin_url( "comment.php?action=editcomment&amp;c={$comment->comment_ID}" ); ?>"><?php esc_html_e( 'Edit' ); ?></a></p>
</td>
</tr>
</table>
</tr>
</table>
<form action="comment.php" method="get" class="comment-ays-submit">
<form action="comment.php" method="get" class="comment-ays-submit">
<p>
<?php submit_button( $button, 'primary', 'submit', false ); ?>
<a href="<?php echo esc_url( admin_url( 'edit-comments.php' ) ); ?>" class="button-cancel"><?php esc_html_e( 'Cancel' ); ?></a>
<a href="<?php echo admin_url( 'edit-comments.php' ); ?>" class="button-cancel"><?php esc_html_e( 'Cancel' ); ?></a>
</p>
<?php wp_nonce_field( $nonce_action ); ?>
<input type="hidden" name="action" value="<?php echo esc_attr( $formaction ); ?>" />
<input type="hidden" name="c" value="<?php echo esc_attr( $comment->comment_ID ); ?>" />
<input type="hidden" name="noredir" value="1" />
</form>
</form>
</div>
</div>
<?php
break;

View File

@@ -21,14 +21,21 @@ $credits = wp_credits();
<div class="wrap about__container">
<div class="about__header">
<div class="about__header-title">
<h1>
<?php _e( 'Contributors' ); ?>
</h1>
<div class="about__header-image">
<img alt="<?php _e( 'Code is Poetry' ); ?>" src="<?php echo admin_url( 'images/about-badge.svg' ); ?>" />
</div>
<div class="about__header-text">
<?php _e( 'WordPress 5.8 was created by a worldwide team of passionate individuals' ); ?>
<div class="about__header-container">
<div class="about__header-title">
<p>
<?php _e( 'WordPress' ); ?>
<?php echo $display_version; ?>
</p>
</div>
<div class="about__header-text">
<?php _e( 'Jazz up your stories in an editor thats cleaner, crisper, and does more to get out of your way.' ); ?>
</div>
</div>
<nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
@@ -39,28 +46,36 @@ $credits = wp_credits();
</nav>
</div>
<div class="about__section has-1-column">
<div class="column aligncenter">
<div class="about__section is-feature">
<div class="column">
<h1><?php _e( 'Credits' ); ?></h1>
<?php if ( ! $credits ) : ?>
<p>
<?php
printf(
/* translators: 1: https://wordpress.org/about/ */
__( 'WordPress is created by a <a href="%1$s">worldwide team</a> of passionate individuals.' ),
__( 'https://wordpress.org/about/' )
/* translators: 1: https://wordpress.org/about/, 2: https://make.wordpress.org/ */
__( 'WordPress is created by a <a href="%1$s">worldwide team</a> of passionate individuals. <a href="%2$s">Get involved in WordPress</a>.' ),
__( 'https://wordpress.org/about/' ),
__( 'https://make.wordpress.org/' )
);
?>
<br />
<a href="https://make.wordpress.org/"><?php _e( 'Get involved in WordPress.' ); ?></a>
</p>
<?php else : ?>
<p>
<?php _e( 'Want to see your name in lights on this page?' ); ?>
<br />
<a href="https://make.wordpress.org/"><?php _e( 'Get involved in WordPress.' ); ?></a>
<?php _e( 'WordPress is created by a worldwide team of passionate individuals.' ); ?>
</p>
<p>
<?php
printf(
/* translators: %s: https://make.wordpress.org/ */
__( 'Want to see your name in lights on this page? <a href="%s">Get involved in WordPress</a>.' ),
__( 'https://make.wordpress.org/' )
);
?>
</p>
<?php endif; ?>
@@ -78,7 +93,7 @@ if ( ! $credits ) {
<hr />
<div class="about__section">
<div class="column is-edge-to-edge">
<div class="column has-subtle-background-color">
<?php wp_credits_section_title( $credits['groups']['core-developers'] ); ?>
<?php wp_credits_section_list( $credits, 'core-developers' ); ?>
<?php wp_credits_section_list( $credits, 'contributing-developers' ); ?>

View File

@@ -21,24 +21,22 @@
.about__container {
/* Section backgrounds */
--background: transparent;
--subtle-background: #def;
--background: #fff;
--subtle-background: #fde4bf;
/* Main text color */
--text: #000;
--text: #00131c;
--text-light: #fff;
/* Accent colors: used in header, on special classes. */
--accent-1: #3858e9; /* Accent background, link color */
--accent-2: #2d46ba; /* Header background */
--accent-1: #0a5b89; /* Accent background */
--accent-2: #fde4bf; /* Heading subtitle */
/* Navigation colors. */
--nav-background: #fff;
--nav-border: transparent;
--nav-background: var(--background);
--nav-border: #fcc36f;
--nav-color: var(--text);
--nav-current: var(--accent-1);
--gap: 2rem;
--nav-current: #0a5b88;
}
/*------------------------------------------------------------------------------
@@ -49,14 +47,14 @@
.credits-php,
.freedoms-php,
.privacy-php {
background: #f0f7ff;
background: #fff;
}
.about-php #wpcontent,
.credits-php #wpcontent,
.freedoms-php #wpcontent,
.privacy-php #wpcontent {
background: linear-gradient(-180deg, #fff 50%, #f0f7ff 100%);
background: white;
padding: 0 24px;
}
@@ -88,28 +86,35 @@
}
.about__container .is-vertically-aligned-top {
-ms-grid-row-align: start;
align-self: start;
}
.about__container .is-vertically-aligned-center {
-ms-grid-row-align: center;
align-self: center;
}
.about__container .is-vertically-aligned-bottom {
-ms-grid-row-align: end;
align-self: end;
}
.about__section {
background: #fff;
background: var(--background);
clear: both;
}
.about__container .has-accent-background-color {
background-color: #0a5b89;
background-color: var(--accent-1);
color: #fff;
color: var(--text-light);
}
.about__container .has-accent-background-color a {
color: #fff;
color: var(--text-light);
}
@@ -118,7 +123,9 @@
}
.about__container .has-accent-color {
color: var(--accent-1);
color: #00131c;
color: var(--text);
font-weight: bold;
}
.about__container .has-border {
@@ -126,6 +133,7 @@
}
.about__container .has-subtle-background-color {
background-color: #fde4bf;
background-color: var(--subtle-background);
}
@@ -138,11 +146,11 @@
/* 1.1 - Layout */
.about__section {
margin: 0 0 var(--gap);
margin: 0;
}
.about__section .column {
padding: var(--gap);
padding: 32px;
}
.about__section + .about__section .column {
@@ -150,12 +158,12 @@
}
.about__section + .about__section .is-section-header {
padding-bottom: var(--gap);
padding-bottom: 32px;
}
.about__section .column[class*="background-color"],
.about__section .column.has-border {
padding-top: var(--gap);
padding-top: 32px;
}
.about__section .column.is-edge-to-edge {
@@ -172,12 +180,12 @@
.about__section .has-text-columns {
columns: 2;
column-gap: calc(var(--gap) * 2);
column-gap: 64px;
}
.about__section .is-section-header {
margin-bottom: 0;
padding: var(--gap) var(--gap) 0;
padding: 32px 32px 0;
}
.about__section .is-section-header p:last-child {
@@ -190,7 +198,7 @@
}
.about__section.is-feature {
padding: var(--gap);
padding: 32px;
}
.about__section.is-feature p {
@@ -198,7 +206,7 @@
}
.about__section.is-feature p + p {
margin-top: calc(var(--gap) / 2);
margin-top: 1rem;
}
.about__section.has-1-column {
@@ -211,84 +219,102 @@
.about__section.has-3-columns,
.about__section.has-4-columns,
.about__section.has-overlap-style {
display: -ms-grid;
display: grid;
}
.about__section.has-gutters {
gap: calc(var(--gap) / 2);
gap: 16px;
}
.about__section.has-2-columns {
-ms-grid-columns: 1fr 1fr;
grid-template-columns: 1fr 1fr;
}
.about__section.has-2-columns.is-wider-right {
-ms-grid-columns: 1fr 2fr;
grid-template-columns: 1fr 2fr;
}
.about__section.has-2-columns.is-wider-left {
-ms-grid-columns: 2fr 1fr;
grid-template-columns: 2fr 1fr;
}
.about__section.has-2-columns .is-section-header {
-ms-grid-column: 1;
grid-column-start: 1;
-ms-grid-column-span: 2;
grid-column-end: span 2;
}
.about__section.has-2-columns .column:nth-of-type(2n+1) {
-ms-grid-column: 1;
grid-column-start: 1;
}
.about__section.has-2-columns .column:nth-of-type(2n) {
-ms-grid-column: 2;
grid-column-start: 2;
}
.about__section.has-3-columns {
-ms-grid-columns: (1fr)[3];
grid-template-columns: repeat(3, 1fr);
}
.about__section.has-3-columns .is-section-header {
-ms-grid-column: 1;
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) {
-ms-grid-column: 1;
grid-column-start: 1;
}
.about__section.has-3-columns .column:nth-of-type(3n+2) {
-ms-grid-column: 2;
grid-column-start: 2;
}
.about__section.has-3-columns .column:nth-of-type(3n) {
-ms-grid-column: 3;
grid-column-start: 3;
}
.about__section.has-4-columns {
-ms-grid-columns: (1fr)[4];
grid-template-columns: repeat(4, 1fr);
}
.about__section.has-4-columns .is-section-header {
-ms-grid-column: 1;
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) {
-ms-grid-column: 1;
grid-column-start: 1;
}
.about__section.has-4-columns .column:nth-of-type(4n+2) {
-ms-grid-column: 2;
grid-column-start: 2;
}
.about__section.has-4-columns .column:nth-of-type(4n+3) {
-ms-grid-column: 3;
grid-column-start: 3;
}
.about__section.has-4-columns .column:nth-of-type(4n) {
-ms-grid-column: 4;
grid-column-start: 4;
}
@@ -297,24 +323,29 @@
.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 {
-ms-grid-row: 2;
grid-row-start: 2;
}
.about__section.has-overlap-style {
-ms-grid-columns: (1fr)[7];
grid-template-columns: repeat(7, 1fr);
}
.about__section.has-overlap-style .column {
-ms-grid-row: 1;
grid-row-start: 1;
}
.about__section.has-overlap-style .column:nth-of-type(2n+1) {
-ms-grid-column: 2;
grid-column-start: 2;
-ms-grid-column-span: 3;
grid-column-end: span 3;
}
.about__section.has-overlap-style .column:nth-of-type(2n) {
-ms-grid-column: 4;
grid-column-start: 4;
-ms-grid-column-span: 3;
grid-column-end: span 3;
@@ -329,13 +360,13 @@
.about__section.has-2-columns.is-wider-left,
.about__section.has-3-columns {
display: block;
padding-bottom: calc(var(--gap) / 2);
padding-bottom: 16px;
}
.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: calc(var(--gap) / 2);
margin-bottom: 16px;
}
.about__section.has-2-columns.has-gutters .column:last-child,
@@ -345,24 +376,28 @@
}
.about__section.has-3-columns .column:nth-of-type(n) {
padding-top: calc(var(--gap) / 2);
padding-bottom: calc(var(--gap) / 2);
padding-top: 16px;
padding-bottom: 16px;
}
.about__section.has-4-columns {
-ms-grid-columns: (1fr)[2];
grid-template-columns: repeat(2, 1fr);
}
.about__section.has-4-columns .column:nth-of-type(2n+1) {
-ms-grid-column: 1;
grid-column-start: 1;
}
.about__section.has-4-columns .column:nth-of-type(2n) {
-ms-grid-column: 2;
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) {
-ms-grid-row: 2;
grid-row-start: 2;
}
@@ -373,18 +408,22 @@
.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) {
-ms-grid-row: 3;
grid-row-start: 3;
}
.about__section.has-overlap-style {
-ms-grid-columns: 1fr;
grid-template-columns: 1fr;
}
/* At this size, the two columns fully overlap */
.about__section.has-overlap-style .column.column {
-ms-grid-column: 1;
grid-column-start: 1;
-ms-grid-column-span: 1;
grid-column-end: 2;
-ms-grid-row: 1;
grid-row-start: 1;
-ms-grid-row-span: 1;
grid-row-end: 2;
@@ -394,11 +433,11 @@
@media screen and (max-width: 600px) {
.about__section.has-2-columns {
display: block;
padding-bottom: calc(var(--gap) / 2);
padding-bottom: 16px;
}
.about__section.has-2-columns.has-gutters .column {
margin-bottom: calc(var(--gap) / 2);
margin-bottom: 16px;
}
.about__section.has-2-columns.has-gutters .column:last-child {
@@ -406,8 +445,8 @@
}
.about__section.has-2-columns .column:nth-of-type(n) {
padding-top: calc(var(--gap) / 2);
padding-bottom: calc(var(--gap) / 2);
padding-top: 16px;
padding-bottom: 16px;
}
}
@@ -418,11 +457,11 @@
.about__section.has-4-columns {
display: block;
padding-bottom: calc(var(--gap) / 2);
padding-bottom: 16px;
}
.about__section.has-4-columns.has-gutters .column {
margin-bottom: calc(var(--gap) / 2);
margin-bottom: 16px;
}
.about__section.has-4-columns.has-gutters .column:last-child {
@@ -430,8 +469,8 @@
}
.about__section.has-4-columns .column:nth-of-type(n) {
padding-top: calc(var(--gap) / 2);
padding-bottom: calc(var(--gap) / 2);
padding-top: 16px;
padding-bottom: 16px;
}
}
@@ -439,11 +478,14 @@
.about__container {
line-height: 1.4;
color: #00131c;
color: var(--text);
}
.about__container h1 {
margin: 0 0 1em;
padding: 0;
font-weight: 600;
color: inherit;
}
@@ -452,18 +494,17 @@
.about__container h3.is-larger-heading {
margin-top: 0;
margin-bottom: 0.5em;
font-size: 2em;
font-size: 2.9em;
line-height: 1.2;
font-weight: 700;
font-weight: 400;
}
.about__container h3,
.about__container h1.is-smaller-heading,
.about__container h2.is-smaller-heading {
margin-top: 0;
font-size: 1.6em;
line-height: 1.3;
font-weight: 400;
font-size: 1.5em;
font-weight: 700;
}
.about__container p {
@@ -472,6 +513,7 @@
}
.about__section a {
color: #0a5b89;
color: var(--accent-1);
text-decoration: underline;
}
@@ -479,6 +521,7 @@
.about__section a:hover,
.about__section a:active,
.about__section a:focus {
color: #0a5b89;
color: var(--accent-1);
text-decoration: none;
}
@@ -495,7 +538,7 @@
.about__container ul {
list-style: disc;
margin-right: calc(var(--gap) / 2);
margin-right: 16px;
}
.about__container img {
@@ -531,7 +574,6 @@
}
.about__container .about__image-comparison img {
-webkit-user-select: none;
user-select: none;
width: auto;
max-width: none;
@@ -553,6 +595,7 @@
.about__container .about__image-comparison.no-js .about__image-comparison-resize {
overflow: hidden;
border-left: 2px solid #007cba;
border-left: 2px solid var(--wp-admin-theme-color);
}
@@ -570,17 +613,17 @@
.about__container hr {
margin: 0;
height: var(--gap);
height: 32px;
border: none;
}
.about__container hr.is-small {
height: calc(var(--gap) / 4);
height: 8px;
}
.about__container hr.is-large {
height: calc(var(--gap) * 2);
margin: calc(var(--gap) / 2) auto;
height: 64px;
margin: 16px auto;
}
.about__container div.updated,
@@ -612,66 +655,62 @@
/* 1.3 - Header */
.about__header {
margin-bottom: var(--gap);
padding-top: 0;
background-position: center;
margin-bottom: 32px;
padding-top: 3em;
background-position: bottom center;
background-repeat: no-repeat;
background-size: cover;
background-image: url('../images/about-header-about.svg');
background-color: var(--accent-2);
background-image: url('../images/about-header-brushes.svg');
background-color: #0a5b89;
background-color: var(--accent-1);
color: #fff;
color: var(--text-light);
}
.credits-php .about__header {
background-image: url('../images/about-header-credits.svg');
}
.freedoms-php .about__header {
background-image: url('../images/about-header-freedoms.svg');
}
.privacy-php .about__header {
background-image: url('../images/about-header-privacy.svg');
}
.about__header-image {
margin: 0 var(--gap) 3em;
margin: 0 32px 3em;
}
.about__header-title {
padding: 2rem 0 0;
margin: 0 2rem;
padding: 1em 0;
margin: 0 32px;
text-align: center;
}
.about__header-title h1 {
margin: 0 0 0.5rem;
.about__header-title p {
margin: 0;
padding: 0;
font-size: 4.5rem;
font-size: 6em;
line-height: 1;
font-weight: 400;
font-weight: 900;
text-transform: uppercase;
}
.about__header-text {
max-width: 42rem;
margin: 0 0 5em;
padding: 0 2rem;
font-size: 2rem;
line-height: 1.15;
max-width: 25em;
margin: 0 auto 8em;
padding: 0 16px;
font-size: 1.5em;
line-height: 1.4;
color: #fde4bf;
color: var(--accent-2);
text-align: center;
}
.about__header-navigation {
display: flex;
justify-content: center;
clear: both;
padding-top: 0;
background: #fff;
background: var(--nav-background);
color: #00131c;
color: var(--nav-color);
border-bottom: 3px solid #fcc36f;
border-bottom: 3px solid var(--nav-border);
}
.about__header-navigation .nav-tab {
margin-right: 0;
padding: calc(var(--gap) * 0.75) var(--gap);
float: none;
padding: 24px 32px;
font-size: 1.4em;
line-height: 1;
border-width: 0 0 3px;
@@ -683,26 +722,33 @@
.about__header-navigation .nav-tab:hover,
.about__header-navigation .nav-tab:active {
background-color: #0a5b88;
background-color: var(--nav-current);
color: #fff;
color: var(--text-light);
}
.about__header-navigation .nav-tab-active {
margin-bottom: -3px;
color: #0a5b88;
color: var(--nav-current);
border-width: 0 0 6px;
border-color: #0a5b88;
border-color: var(--nav-current);
}
.about__header-navigation .nav-tab-active:hover,
.about__header-navigation .nav-tab-active:active {
background-color: #0a5b88;
background-color: var(--nav-current);
color: #fff;
color: var(--text-light);
border-color: #0a5b88;
border-color: var(--nav-current);
}
@media screen and (max-width: 960px){
.about__header-title h1 {
.about__header-title p {
font-size: 4.8em;
}
}
@@ -718,20 +764,22 @@
.about__header-title,
.about__header-image {
margin-right: calc(var(--gap) / 2);
margin-left: calc(var(--gap) / 2);
margin-right: 16px;
margin-left: 16px;
}
.about__header-text,
.about__header-navigation .nav-tab {
margin-top: 0;
margin-left: 0;
padding-right: calc(var(--gap) / 2);
padding-left: calc(var(--gap) / 2);
padding: 24px 16px;
}
}
@media screen and (max-width: 480px) {
.about__header {
background-image: none;
}
.about__header-title p {
font-size: 2.4em;
}
@@ -740,14 +788,11 @@
margin-bottom: 1em;
}
.about__header-navigation {
display: block;
}
.about__header-navigation .nav-tab {
float: none;
display: block;
margin-bottom: 0;
padding: calc(var(--gap) / 2);
padding: 16px 16px;
border-right-width: 6px;
border-bottom: none;
}
@@ -763,59 +808,47 @@
2.0 - Credits Page
------------------------------------------------------------------------------*/
.about__section .wp-people-group-title {
margin-bottom: calc(var(--gap) * 2);
text-align: center;
}
.about__section .wp-people-group {
margin: 0;
display: flex;
flex-wrap: wrap;
}
.about__section .wp-person {
display: inline-block;
vertical-align: top;
box-sizing: border-box;
margin-bottom: var(--gap);
width: 25%;
text-align: center;
padding: 0 0 1em 1em;
height: 6em;
width: calc( 33% - 4px );
min-width: 280px;
}
.about__section .compact .wp-person {
height: auto;
width: 20%;
}
.about__section .wp-person-avatar {
display: block;
margin: 0 auto calc(var(--gap) / 2);
width: 140px;
height: 140px;
border-radius: 100%;
overflow: hidden;
background: var(--accent-1);
width: calc( 25% - 4px );
min-width: 220px;
padding-bottom: 0.5em;
}
.about__section .wp-person .gravatar {
width: 140px;
height: 140px;
filter: grayscale(100%);
mix-blend-mode: screen;
}
.about__section .compact .wp-person-avatar,
.about__section .compact .wp-person .gravatar {
float: right;
margin: -4px 0 0.85em 0.85em;
padding: 1px;
width: 80px;
height: 80px;
border-radius: 100%;
}
.about__section .compact .wp-person .gravatar {
width: 40px;
height: 40px;
}
.about__section .wp-person .web {
font-size: 1.4em;
font-weight: 600;
text-decoration: none;
color: #00131c;
color: var(--text);
}
.about__section .wp-person .web:hover {
@@ -831,41 +864,16 @@
margin-top: 0.5em;
}
@media screen and (max-width: 782px) {
.about__section .wp-person {
width: 33%;
}
.about__section .compact .wp-person {
width: 25%;
}
.about__section .wp-person-avatar,
.about__section .wp-person .gravatar {
width: 120px;
height: 120px;
}
}
@media screen and (max-width: 600px) {
.about__section .wp-person {
width: 50%;
}
.about__section .compact .wp-person {
width: 33%;
}
.about__section .wp-person .web {
font-size: 1.2em;
}
}
@media screen and (max-width: 480px) {
.about__section .wp-person {
min-width: 100%;
}
.about__section .wp-person .gravatar {
width: 60px;
height: 60px;
}
.about__section .wp-person .web {
font-size: 1em;
}
@@ -880,9 +888,8 @@
3.0 - Freedoms Page
------------------------------------------------------------------------------*/
.about__section .column .freedom-image {
margin-bottom: var(--gap);
max-height: 140px;
.about__section .column .freedoms-image {
margin-bottom: 1em;
}
@@ -1040,6 +1047,7 @@
.about-wrap .has-2-columns,
.about-wrap .has-3-columns,
.about-wrap .has-4-columns {
display: -ms-grid;
display: grid;
max-width: 800px;
margin-top: 40px;
@@ -1067,58 +1075,72 @@
}
.about-wrap .has-2-columns {
-ms-grid-columns: 1fr 1fr;
grid-template-columns: 1fr 1fr;
}
.about-wrap .has-2-columns .column:nth-of-type(2n+1) {
-ms-grid-column: 1;
grid-column-start: 1;
}
.about-wrap .has-2-columns .column:nth-of-type(2n) {
-ms-grid-column: 2;
grid-column-start: 2;
}
.about-wrap .has-2-columns.is-wider-right {
-ms-grid-columns: 1fr 2fr;
grid-template-columns: 1fr 2fr;
}
.about-wrap .has-2-columns.is-wider-left {
-ms-grid-columns: 2fr 1fr;
grid-template-columns: 2fr 1fr;
}
.about-wrap .has-3-columns {
-ms-grid-columns: (1fr)[3];
grid-template-columns: repeat(3, 1fr);
}
.about-wrap .has-3-columns .column:nth-of-type(3n+1) {
-ms-grid-column: 1;
grid-column-start: 1;
}
.about-wrap .has-3-columns .column:nth-of-type(3n+2) {
-ms-grid-column: 2;
grid-column-start: 2;
}
.about-wrap .has-3-columns .column:nth-of-type(3n) {
-ms-grid-column: 3;
grid-column-start: 3;
}
.about-wrap .has-4-columns {
-ms-grid-columns: (1fr)[4];
grid-template-columns: repeat(4, 1fr);
}
.about-wrap .has-4-columns .column:nth-of-type(4n+1) {
-ms-grid-column: 1;
grid-column-start: 1;
}
.about-wrap .has-4-columns .column:nth-of-type(4n+2) {
-ms-grid-column: 2;
grid-column-start: 2;
}
.about-wrap .has-4-columns .column:nth-of-type(4n+3) {
-ms-grid-column: 3;
grid-column-start: 3;
}
.about-wrap .has-4-columns .column:nth-of-type(4n) {
-ms-grid-column: 4;
grid-column-start: 4;
}
@@ -1141,14 +1163,17 @@
}
.about-wrap .is-vertically-aligned-top {
-ms-grid-row-align: start;
align-self: start;
}
.about-wrap .is-vertically-aligned-center {
-ms-grid-row-align: center;
align-self: center;
}
.about-wrap .is-vertically-aligned-bottom {
-ms-grid-row-align: end;
align-self: end;
}
@@ -1333,29 +1358,38 @@
@media screen and (max-width: 782px) {
.about-wrap .has-3-columns,
.about-wrap .has-4-columns {
-ms-grid-columns: 1fr 1fr;
grid-template-columns: 1fr 1fr;
}
.about-wrap .has-3-columns .column:nth-of-type(3n+1),
.about-wrap .has-4-columns .column:nth-of-type(4n+1) {
-ms-grid-column: 1;
grid-column-start: 1;
-ms-grid-row: 1;
grid-row-start: 1;
}
.about-wrap .has-3-columns .column:nth-of-type(3n+2),
.about-wrap .has-4-columns .column:nth-of-type(4n+2) {
-ms-grid-column: 2;
grid-column-start: 2;
-ms-grid-row: 1;
grid-row-start: 1;
}
.about-wrap .has-3-columns .column:nth-of-type(3n),
.about-wrap .has-4-columns .column:nth-of-type(4n+3) {
-ms-grid-column: 1;
grid-column-start: 1;
-ms-grid-row: 2;
grid-row-start: 2;
}
.about-wrap .has-4-columns .column:nth-of-type(4n) {
-ms-grid-column: 2;
grid-column-start: 2;
-ms-grid-row: 2;
grid-row-start: 2;
}
}
@@ -1374,6 +1408,7 @@
.about-wrap .has-2-columns.is-wider-right,
.about-wrap .has-2-columns.is-wider-left {
display: -ms-grid;
display: grid;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -20,24 +20,22 @@
.about__container {
/* Section backgrounds */
--background: transparent;
--subtle-background: #def;
--background: #fff;
--subtle-background: #fde4bf;
/* Main text color */
--text: #000;
--text: #00131c;
--text-light: #fff;
/* Accent colors: used in header, on special classes. */
--accent-1: #3858e9; /* Accent background, link color */
--accent-2: #2d46ba; /* Header background */
--accent-1: #0a5b89; /* Accent background */
--accent-2: #fde4bf; /* Heading subtitle */
/* Navigation colors. */
--nav-background: #fff;
--nav-border: transparent;
--nav-background: var(--background);
--nav-border: #fcc36f;
--nav-color: var(--text);
--nav-current: var(--accent-1);
--gap: 2rem;
--nav-current: #0a5b88;
}
/*------------------------------------------------------------------------------
@@ -48,14 +46,14 @@
.credits-php,
.freedoms-php,
.privacy-php {
background: #f0f7ff;
background: #fff;
}
.about-php #wpcontent,
.credits-php #wpcontent,
.freedoms-php #wpcontent,
.privacy-php #wpcontent {
background: linear-gradient(180deg, #fff 50%, #f0f7ff 100%);
background: white;
padding: 0 24px;
}
@@ -87,28 +85,35 @@
}
.about__container .is-vertically-aligned-top {
-ms-grid-row-align: start;
align-self: start;
}
.about__container .is-vertically-aligned-center {
-ms-grid-row-align: center;
align-self: center;
}
.about__container .is-vertically-aligned-bottom {
-ms-grid-row-align: end;
align-self: end;
}
.about__section {
background: #fff;
background: var(--background);
clear: both;
}
.about__container .has-accent-background-color {
background-color: #0a5b89;
background-color: var(--accent-1);
color: #fff;
color: var(--text-light);
}
.about__container .has-accent-background-color a {
color: #fff;
color: var(--text-light);
}
@@ -117,7 +122,9 @@
}
.about__container .has-accent-color {
color: var(--accent-1);
color: #00131c;
color: var(--text);
font-weight: bold;
}
.about__container .has-border {
@@ -125,6 +132,7 @@
}
.about__container .has-subtle-background-color {
background-color: #fde4bf;
background-color: var(--subtle-background);
}
@@ -137,11 +145,11 @@
/* 1.1 - Layout */
.about__section {
margin: 0 0 var(--gap);
margin: 0;
}
.about__section .column {
padding: var(--gap);
padding: 32px;
}
.about__section + .about__section .column {
@@ -149,12 +157,12 @@
}
.about__section + .about__section .is-section-header {
padding-bottom: var(--gap);
padding-bottom: 32px;
}
.about__section .column[class*="background-color"],
.about__section .column.has-border {
padding-top: var(--gap);
padding-top: 32px;
}
.about__section .column.is-edge-to-edge {
@@ -171,12 +179,12 @@
.about__section .has-text-columns {
columns: 2;
column-gap: calc(var(--gap) * 2);
column-gap: 64px;
}
.about__section .is-section-header {
margin-bottom: 0;
padding: var(--gap) var(--gap) 0;
padding: 32px 32px 0;
}
.about__section .is-section-header p:last-child {
@@ -189,7 +197,7 @@
}
.about__section.is-feature {
padding: var(--gap);
padding: 32px;
}
.about__section.is-feature p {
@@ -197,7 +205,7 @@
}
.about__section.is-feature p + p {
margin-top: calc(var(--gap) / 2);
margin-top: 1rem;
}
.about__section.has-1-column {
@@ -210,84 +218,102 @@
.about__section.has-3-columns,
.about__section.has-4-columns,
.about__section.has-overlap-style {
display: -ms-grid;
display: grid;
}
.about__section.has-gutters {
gap: calc(var(--gap) / 2);
gap: 16px;
}
.about__section.has-2-columns {
-ms-grid-columns: 1fr 1fr;
grid-template-columns: 1fr 1fr;
}
.about__section.has-2-columns.is-wider-right {
-ms-grid-columns: 1fr 2fr;
grid-template-columns: 1fr 2fr;
}
.about__section.has-2-columns.is-wider-left {
-ms-grid-columns: 2fr 1fr;
grid-template-columns: 2fr 1fr;
}
.about__section.has-2-columns .is-section-header {
-ms-grid-column: 1;
grid-column-start: 1;
-ms-grid-column-span: 2;
grid-column-end: span 2;
}
.about__section.has-2-columns .column:nth-of-type(2n+1) {
-ms-grid-column: 1;
grid-column-start: 1;
}
.about__section.has-2-columns .column:nth-of-type(2n) {
-ms-grid-column: 2;
grid-column-start: 2;
}
.about__section.has-3-columns {
-ms-grid-columns: (1fr)[3];
grid-template-columns: repeat(3, 1fr);
}
.about__section.has-3-columns .is-section-header {
-ms-grid-column: 1;
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) {
-ms-grid-column: 1;
grid-column-start: 1;
}
.about__section.has-3-columns .column:nth-of-type(3n+2) {
-ms-grid-column: 2;
grid-column-start: 2;
}
.about__section.has-3-columns .column:nth-of-type(3n) {
-ms-grid-column: 3;
grid-column-start: 3;
}
.about__section.has-4-columns {
-ms-grid-columns: (1fr)[4];
grid-template-columns: repeat(4, 1fr);
}
.about__section.has-4-columns .is-section-header {
-ms-grid-column: 1;
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) {
-ms-grid-column: 1;
grid-column-start: 1;
}
.about__section.has-4-columns .column:nth-of-type(4n+2) {
-ms-grid-column: 2;
grid-column-start: 2;
}
.about__section.has-4-columns .column:nth-of-type(4n+3) {
-ms-grid-column: 3;
grid-column-start: 3;
}
.about__section.has-4-columns .column:nth-of-type(4n) {
-ms-grid-column: 4;
grid-column-start: 4;
}
@@ -296,24 +322,29 @@
.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 {
-ms-grid-row: 2;
grid-row-start: 2;
}
.about__section.has-overlap-style {
-ms-grid-columns: (1fr)[7];
grid-template-columns: repeat(7, 1fr);
}
.about__section.has-overlap-style .column {
-ms-grid-row: 1;
grid-row-start: 1;
}
.about__section.has-overlap-style .column:nth-of-type(2n+1) {
-ms-grid-column: 2;
grid-column-start: 2;
-ms-grid-column-span: 3;
grid-column-end: span 3;
}
.about__section.has-overlap-style .column:nth-of-type(2n) {
-ms-grid-column: 4;
grid-column-start: 4;
-ms-grid-column-span: 3;
grid-column-end: span 3;
@@ -328,13 +359,13 @@
.about__section.has-2-columns.is-wider-left,
.about__section.has-3-columns {
display: block;
padding-bottom: calc(var(--gap) / 2);
padding-bottom: 16px;
}
.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: calc(var(--gap) / 2);
margin-bottom: 16px;
}
.about__section.has-2-columns.has-gutters .column:last-child,
@@ -344,24 +375,28 @@
}
.about__section.has-3-columns .column:nth-of-type(n) {
padding-top: calc(var(--gap) / 2);
padding-bottom: calc(var(--gap) / 2);
padding-top: 16px;
padding-bottom: 16px;
}
.about__section.has-4-columns {
-ms-grid-columns: (1fr)[2];
grid-template-columns: repeat(2, 1fr);
}
.about__section.has-4-columns .column:nth-of-type(2n+1) {
-ms-grid-column: 1;
grid-column-start: 1;
}
.about__section.has-4-columns .column:nth-of-type(2n) {
-ms-grid-column: 2;
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) {
-ms-grid-row: 2;
grid-row-start: 2;
}
@@ -372,18 +407,22 @@
.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) {
-ms-grid-row: 3;
grid-row-start: 3;
}
.about__section.has-overlap-style {
-ms-grid-columns: 1fr;
grid-template-columns: 1fr;
}
/* At this size, the two columns fully overlap */
.about__section.has-overlap-style .column.column {
-ms-grid-column: 1;
grid-column-start: 1;
-ms-grid-column-span: 1;
grid-column-end: 2;
-ms-grid-row: 1;
grid-row-start: 1;
-ms-grid-row-span: 1;
grid-row-end: 2;
@@ -393,11 +432,11 @@
@media screen and (max-width: 600px) {
.about__section.has-2-columns {
display: block;
padding-bottom: calc(var(--gap) / 2);
padding-bottom: 16px;
}
.about__section.has-2-columns.has-gutters .column {
margin-bottom: calc(var(--gap) / 2);
margin-bottom: 16px;
}
.about__section.has-2-columns.has-gutters .column:last-child {
@@ -405,8 +444,8 @@
}
.about__section.has-2-columns .column:nth-of-type(n) {
padding-top: calc(var(--gap) / 2);
padding-bottom: calc(var(--gap) / 2);
padding-top: 16px;
padding-bottom: 16px;
}
}
@@ -417,11 +456,11 @@
.about__section.has-4-columns {
display: block;
padding-bottom: calc(var(--gap) / 2);
padding-bottom: 16px;
}
.about__section.has-4-columns.has-gutters .column {
margin-bottom: calc(var(--gap) / 2);
margin-bottom: 16px;
}
.about__section.has-4-columns.has-gutters .column:last-child {
@@ -429,8 +468,8 @@
}
.about__section.has-4-columns .column:nth-of-type(n) {
padding-top: calc(var(--gap) / 2);
padding-bottom: calc(var(--gap) / 2);
padding-top: 16px;
padding-bottom: 16px;
}
}
@@ -438,11 +477,14 @@
.about__container {
line-height: 1.4;
color: #00131c;
color: var(--text);
}
.about__container h1 {
margin: 0 0 1em;
padding: 0;
font-weight: 600;
color: inherit;
}
@@ -451,18 +493,17 @@
.about__container h3.is-larger-heading {
margin-top: 0;
margin-bottom: 0.5em;
font-size: 2em;
font-size: 2.9em;
line-height: 1.2;
font-weight: 700;
font-weight: 400;
}
.about__container h3,
.about__container h1.is-smaller-heading,
.about__container h2.is-smaller-heading {
margin-top: 0;
font-size: 1.6em;
line-height: 1.3;
font-weight: 400;
font-size: 1.5em;
font-weight: 700;
}
.about__container p {
@@ -471,6 +512,7 @@
}
.about__section a {
color: #0a5b89;
color: var(--accent-1);
text-decoration: underline;
}
@@ -478,6 +520,7 @@
.about__section a:hover,
.about__section a:active,
.about__section a:focus {
color: #0a5b89;
color: var(--accent-1);
text-decoration: none;
}
@@ -494,7 +537,7 @@
.about__container ul {
list-style: disc;
margin-left: calc(var(--gap) / 2);
margin-left: 16px;
}
.about__container img {
@@ -530,7 +573,6 @@
}
.about__container .about__image-comparison img {
-webkit-user-select: none;
user-select: none;
width: auto;
max-width: none;
@@ -552,6 +594,7 @@
.about__container .about__image-comparison.no-js .about__image-comparison-resize {
overflow: hidden;
border-right: 2px solid #007cba;
border-right: 2px solid var(--wp-admin-theme-color);
}
@@ -569,17 +612,17 @@
.about__container hr {
margin: 0;
height: var(--gap);
height: 32px;
border: none;
}
.about__container hr.is-small {
height: calc(var(--gap) / 4);
height: 8px;
}
.about__container hr.is-large {
height: calc(var(--gap) * 2);
margin: calc(var(--gap) / 2) auto;
height: 64px;
margin: 16px auto;
}
.about__container div.updated,
@@ -611,66 +654,62 @@
/* 1.3 - Header */
.about__header {
margin-bottom: var(--gap);
padding-top: 0;
background-position: center;
margin-bottom: 32px;
padding-top: 3em;
background-position: bottom center;
background-repeat: no-repeat;
background-size: cover;
background-image: url('../images/about-header-about.svg');
background-color: var(--accent-2);
background-image: url('../images/about-header-brushes.svg');
background-color: #0a5b89;
background-color: var(--accent-1);
color: #fff;
color: var(--text-light);
}
.credits-php .about__header {
background-image: url('../images/about-header-credits.svg');
}
.freedoms-php .about__header {
background-image: url('../images/about-header-freedoms.svg');
}
.privacy-php .about__header {
background-image: url('../images/about-header-privacy.svg');
}
.about__header-image {
margin: 0 var(--gap) 3em;
margin: 0 32px 3em;
}
.about__header-title {
padding: 2rem 0 0;
margin: 0 2rem;
padding: 1em 0;
margin: 0 32px;
text-align: center;
}
.about__header-title h1 {
margin: 0 0 0.5rem;
.about__header-title p {
margin: 0;
padding: 0;
font-size: 4.5rem;
font-size: 6em;
line-height: 1;
font-weight: 400;
font-weight: 900;
text-transform: uppercase;
}
.about__header-text {
max-width: 42rem;
margin: 0 0 5em;
padding: 0 2rem;
font-size: 2rem;
line-height: 1.15;
max-width: 25em;
margin: 0 auto 8em;
padding: 0 16px;
font-size: 1.5em;
line-height: 1.4;
color: #fde4bf;
color: var(--accent-2);
text-align: center;
}
.about__header-navigation {
display: flex;
justify-content: center;
clear: both;
padding-top: 0;
background: #fff;
background: var(--nav-background);
color: #00131c;
color: var(--nav-color);
border-bottom: 3px solid #fcc36f;
border-bottom: 3px solid var(--nav-border);
}
.about__header-navigation .nav-tab {
margin-left: 0;
padding: calc(var(--gap) * 0.75) var(--gap);
float: none;
padding: 24px 32px;
font-size: 1.4em;
line-height: 1;
border-width: 0 0 3px;
@@ -682,26 +721,33 @@
.about__header-navigation .nav-tab:hover,
.about__header-navigation .nav-tab:active {
background-color: #0a5b88;
background-color: var(--nav-current);
color: #fff;
color: var(--text-light);
}
.about__header-navigation .nav-tab-active {
margin-bottom: -3px;
color: #0a5b88;
color: var(--nav-current);
border-width: 0 0 6px;
border-color: #0a5b88;
border-color: var(--nav-current);
}
.about__header-navigation .nav-tab-active:hover,
.about__header-navigation .nav-tab-active:active {
background-color: #0a5b88;
background-color: var(--nav-current);
color: #fff;
color: var(--text-light);
border-color: #0a5b88;
border-color: var(--nav-current);
}
@media screen and (max-width: 960px){
.about__header-title h1 {
.about__header-title p {
font-size: 4.8em;
}
}
@@ -717,20 +763,22 @@
.about__header-title,
.about__header-image {
margin-left: calc(var(--gap) / 2);
margin-right: calc(var(--gap) / 2);
margin-left: 16px;
margin-right: 16px;
}
.about__header-text,
.about__header-navigation .nav-tab {
margin-top: 0;
margin-right: 0;
padding-left: calc(var(--gap) / 2);
padding-right: calc(var(--gap) / 2);
padding: 24px 16px;
}
}
@media screen and (max-width: 480px) {
.about__header {
background-image: none;
}
.about__header-title p {
font-size: 2.4em;
}
@@ -739,14 +787,11 @@
margin-bottom: 1em;
}
.about__header-navigation {
display: block;
}
.about__header-navigation .nav-tab {
float: none;
display: block;
margin-bottom: 0;
padding: calc(var(--gap) / 2);
padding: 16px 16px;
border-left-width: 6px;
border-bottom: none;
}
@@ -762,59 +807,47 @@
2.0 - Credits Page
------------------------------------------------------------------------------*/
.about__section .wp-people-group-title {
margin-bottom: calc(var(--gap) * 2);
text-align: center;
}
.about__section .wp-people-group {
margin: 0;
display: flex;
flex-wrap: wrap;
}
.about__section .wp-person {
display: inline-block;
vertical-align: top;
box-sizing: border-box;
margin-bottom: var(--gap);
width: 25%;
text-align: center;
padding: 0 1em 1em 0;
height: 6em;
width: calc( 33% - 4px );
min-width: 280px;
}
.about__section .compact .wp-person {
height: auto;
width: 20%;
}
.about__section .wp-person-avatar {
display: block;
margin: 0 auto calc(var(--gap) / 2);
width: 140px;
height: 140px;
border-radius: 100%;
overflow: hidden;
background: var(--accent-1);
width: calc( 25% - 4px );
min-width: 220px;
padding-bottom: 0.5em;
}
.about__section .wp-person .gravatar {
width: 140px;
height: 140px;
filter: grayscale(100%);
mix-blend-mode: screen;
}
.about__section .compact .wp-person-avatar,
.about__section .compact .wp-person .gravatar {
float: left;
margin: -4px 0.85em 0.85em 0;
padding: 1px;
width: 80px;
height: 80px;
border-radius: 100%;
}
.about__section .compact .wp-person .gravatar {
width: 40px;
height: 40px;
}
.about__section .wp-person .web {
font-size: 1.4em;
font-weight: 600;
text-decoration: none;
color: #00131c;
color: var(--text);
}
.about__section .wp-person .web:hover {
@@ -830,41 +863,16 @@
margin-top: 0.5em;
}
@media screen and (max-width: 782px) {
.about__section .wp-person {
width: 33%;
}
.about__section .compact .wp-person {
width: 25%;
}
.about__section .wp-person-avatar,
.about__section .wp-person .gravatar {
width: 120px;
height: 120px;
}
}
@media screen and (max-width: 600px) {
.about__section .wp-person {
width: 50%;
}
.about__section .compact .wp-person {
width: 33%;
}
.about__section .wp-person .web {
font-size: 1.2em;
}
}
@media screen and (max-width: 480px) {
.about__section .wp-person {
min-width: 100%;
}
.about__section .wp-person .gravatar {
width: 60px;
height: 60px;
}
.about__section .wp-person .web {
font-size: 1em;
}
@@ -879,9 +887,8 @@
3.0 - Freedoms Page
------------------------------------------------------------------------------*/
.about__section .column .freedom-image {
margin-bottom: var(--gap);
max-height: 140px;
.about__section .column .freedoms-image {
margin-bottom: 1em;
}
@@ -1039,6 +1046,7 @@
.about-wrap .has-2-columns,
.about-wrap .has-3-columns,
.about-wrap .has-4-columns {
display: -ms-grid;
display: grid;
max-width: 800px;
margin-top: 40px;
@@ -1066,58 +1074,72 @@
}
.about-wrap .has-2-columns {
-ms-grid-columns: 1fr 1fr;
grid-template-columns: 1fr 1fr;
}
.about-wrap .has-2-columns .column:nth-of-type(2n+1) {
-ms-grid-column: 1;
grid-column-start: 1;
}
.about-wrap .has-2-columns .column:nth-of-type(2n) {
-ms-grid-column: 2;
grid-column-start: 2;
}
.about-wrap .has-2-columns.is-wider-right {
-ms-grid-columns: 1fr 2fr;
grid-template-columns: 1fr 2fr;
}
.about-wrap .has-2-columns.is-wider-left {
-ms-grid-columns: 2fr 1fr;
grid-template-columns: 2fr 1fr;
}
.about-wrap .has-3-columns {
-ms-grid-columns: (1fr)[3];
grid-template-columns: repeat(3, 1fr);
}
.about-wrap .has-3-columns .column:nth-of-type(3n+1) {
-ms-grid-column: 1;
grid-column-start: 1;
}
.about-wrap .has-3-columns .column:nth-of-type(3n+2) {
-ms-grid-column: 2;
grid-column-start: 2;
}
.about-wrap .has-3-columns .column:nth-of-type(3n) {
-ms-grid-column: 3;
grid-column-start: 3;
}
.about-wrap .has-4-columns {
-ms-grid-columns: (1fr)[4];
grid-template-columns: repeat(4, 1fr);
}
.about-wrap .has-4-columns .column:nth-of-type(4n+1) {
-ms-grid-column: 1;
grid-column-start: 1;
}
.about-wrap .has-4-columns .column:nth-of-type(4n+2) {
-ms-grid-column: 2;
grid-column-start: 2;
}
.about-wrap .has-4-columns .column:nth-of-type(4n+3) {
-ms-grid-column: 3;
grid-column-start: 3;
}
.about-wrap .has-4-columns .column:nth-of-type(4n) {
-ms-grid-column: 4;
grid-column-start: 4;
}
@@ -1140,14 +1162,17 @@
}
.about-wrap .is-vertically-aligned-top {
-ms-grid-row-align: start;
align-self: start;
}
.about-wrap .is-vertically-aligned-center {
-ms-grid-row-align: center;
align-self: center;
}
.about-wrap .is-vertically-aligned-bottom {
-ms-grid-row-align: end;
align-self: end;
}
@@ -1332,29 +1357,38 @@
@media screen and (max-width: 782px) {
.about-wrap .has-3-columns,
.about-wrap .has-4-columns {
-ms-grid-columns: 1fr 1fr;
grid-template-columns: 1fr 1fr;
}
.about-wrap .has-3-columns .column:nth-of-type(3n+1),
.about-wrap .has-4-columns .column:nth-of-type(4n+1) {
-ms-grid-column: 1;
grid-column-start: 1;
-ms-grid-row: 1;
grid-row-start: 1;
}
.about-wrap .has-3-columns .column:nth-of-type(3n+2),
.about-wrap .has-4-columns .column:nth-of-type(4n+2) {
-ms-grid-column: 2;
grid-column-start: 2;
-ms-grid-row: 1;
grid-row-start: 1;
}
.about-wrap .has-3-columns .column:nth-of-type(3n),
.about-wrap .has-4-columns .column:nth-of-type(4n+3) {
-ms-grid-column: 1;
grid-column-start: 1;
-ms-grid-row: 2;
grid-row-start: 2;
}
.about-wrap .has-4-columns .column:nth-of-type(4n) {
-ms-grid-column: 2;
grid-column-start: 2;
-ms-grid-row: 2;
grid-row-start: 2;
}
}
@@ -1373,6 +1407,7 @@
.about-wrap .has-2-columns.is-wider-right,
.about-wrap .has-2-columns.is-wider-left {
display: -ms-grid;
display: grid;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -156,6 +156,7 @@
/* side admin menu */
#adminmenu * {
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}
@@ -213,6 +214,11 @@
right: 160px;
overflow: visible;
word-wrap: break-word;
}
#adminmenu .wp-submenu,
.folded #adminmenu a.wp-has-current-submenu:focus + .wp-submenu,
.folded #adminmenu .wp-has-current-submenu .wp-submenu {
padding: 7px 0 8px;
z-index: 9999;
background-color: #2c3338;
@@ -226,12 +232,9 @@
top: -1px;
}
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
top: 0;
}
#adminmenu .wp-has-current-submenu .wp-submenu,
.no-js li.wp-has-current-submenu:hover .wp-submenu,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu,
#adminmenu .wp-has-current-submenu .wp-submenu.sub-open,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu {
position: relative;
@@ -243,10 +246,7 @@
border: 0 none;
margin-top: 0;
box-shadow: none;
}
.folded #adminmenu .wp-has-current-submenu .wp-submenu {
box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
background-color: #2c3338;
}
/* ensure that wp-submenu's box shadow doesn't appear on top of the focused menu item's background. */
@@ -266,6 +266,8 @@
#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,
#adminmenu li.current a.menu-top,
.folded #adminmenu li.wp-has-current-submenu,
.folded #adminmenu li.current.menu-top,
#adminmenu .wp-menu-arrow,
#adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head,
#adminmenu .wp-menu-arrow div {
@@ -357,6 +359,7 @@
word-wrap: break-word;
-ms-word-break: break-all;
word-break: break-word;
-ms-hyphens: auto;
-webkit-hyphens: auto;
hyphens: auto;
}
@@ -443,8 +446,7 @@ ul#adminmenu > li.current > a.current:after {
margin-top: -8px;
}
.folded ul#adminmenu li:hover a.wp-has-current-submenu:after,
.folded ul#adminmenu li.wp-has-current-submenu:focus-within a.wp-has-current-submenu:after {
.folded ul#adminmenu li:hover a.wp-has-current-submenu:after {
display: none;
}
@@ -455,8 +457,7 @@ ul#adminmenu > li.current > a.current:after {
}
/* flyout menu arrow */
#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after,
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after {
left: 0;
border: 8px solid transparent;
content: " ";
@@ -468,15 +469,13 @@ ul#adminmenu > li.current > a.current:after {
z-index: 10000;
}
.folded ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after,
.folded ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
.folded ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after {
border-width: 4px;
margin-top: -4px;
top: 18px;
}
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
border-left-color: #2c3338;
}
@@ -711,13 +710,11 @@ li#wp-admin-bar-menu-toggle {
margin-bottom: 0;
}
.auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after,
.auto-fold ul#adminmenu li:focus-within a.wp-has-current-submenu:after {
.auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after {
display: none;
}
.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after,
.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after {
border-width: 4px;
margin-top: -4px;
top: 16px;
@@ -812,8 +809,7 @@ li#wp-admin-bar-menu-toggle {
margin-top: -8px;
}
.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after,
.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after {
display: none;
}
@@ -845,8 +841,7 @@ li#wp-admin-bar-menu-toggle {
display: block;
}
.auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after,
.auto-fold ul#adminmenu li:focus-within a.wp-has-current-submenu:after {
.auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after {
display: block;
}

File diff suppressed because one or more lines are too long

View File

@@ -155,6 +155,7 @@
/* side admin menu */
#adminmenu * {
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}
@@ -212,6 +213,11 @@
left: 160px;
overflow: visible;
word-wrap: break-word;
}
#adminmenu .wp-submenu,
.folded #adminmenu a.wp-has-current-submenu:focus + .wp-submenu,
.folded #adminmenu .wp-has-current-submenu .wp-submenu {
padding: 7px 0 8px;
z-index: 9999;
background-color: #2c3338;
@@ -225,12 +231,9 @@
top: -1px;
}
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
top: 0;
}
#adminmenu .wp-has-current-submenu .wp-submenu,
.no-js li.wp-has-current-submenu:hover .wp-submenu,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu,
#adminmenu .wp-has-current-submenu .wp-submenu.sub-open,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu {
position: relative;
@@ -242,10 +245,7 @@
border: 0 none;
margin-top: 0;
box-shadow: none;
}
.folded #adminmenu .wp-has-current-submenu .wp-submenu {
box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
background-color: #2c3338;
}
/* ensure that wp-submenu's box shadow doesn't appear on top of the focused menu item's background. */
@@ -265,6 +265,8 @@
#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,
#adminmenu li.current a.menu-top,
.folded #adminmenu li.wp-has-current-submenu,
.folded #adminmenu li.current.menu-top,
#adminmenu .wp-menu-arrow,
#adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head,
#adminmenu .wp-menu-arrow div {
@@ -356,6 +358,7 @@
word-wrap: break-word;
-ms-word-break: break-all;
word-break: break-word;
-ms-hyphens: auto;
-webkit-hyphens: auto;
hyphens: auto;
}
@@ -442,8 +445,7 @@ ul#adminmenu > li.current > a.current:after {
margin-top: -8px;
}
.folded ul#adminmenu li:hover a.wp-has-current-submenu:after,
.folded ul#adminmenu li.wp-has-current-submenu:focus-within a.wp-has-current-submenu:after {
.folded ul#adminmenu li:hover a.wp-has-current-submenu:after {
display: none;
}
@@ -454,8 +456,7 @@ ul#adminmenu > li.current > a.current:after {
}
/* flyout menu arrow */
#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after,
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after {
right: 0;
border: 8px solid transparent;
content: " ";
@@ -467,15 +468,13 @@ ul#adminmenu > li.current > a.current:after {
z-index: 10000;
}
.folded ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after,
.folded ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
.folded ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after {
border-width: 4px;
margin-top: -4px;
top: 18px;
}
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
border-right-color: #2c3338;
}
@@ -710,13 +709,11 @@ li#wp-admin-bar-menu-toggle {
margin-bottom: 0;
}
.auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after,
.auto-fold ul#adminmenu li:focus-within a.wp-has-current-submenu:after {
.auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after {
display: none;
}
.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after,
.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after {
border-width: 4px;
margin-top: -4px;
top: 16px;
@@ -811,8 +808,7 @@ li#wp-admin-bar-menu-toggle {
margin-top: -8px;
}
.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after,
.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after {
display: none;
}
@@ -844,8 +840,7 @@ li#wp-admin-bar-menu-toggle {
display: block;
}
.auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after,
.auto-fold ul#adminmenu li:focus-within a.wp-has-current-submenu:after {
.auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after {
display: block;
}

File diff suppressed because one or more lines are too long

View File

@@ -286,12 +286,12 @@ textarea:focus {
#adminmenu .wp-submenu,
#adminmenu .wp-has-current-submenu .wp-submenu,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu,
.folded #adminmenu .wp-has-current-submenu .wp-submenu,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
background: $menu-submenu-background;
}
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
border-right-color: $menu-submenu-background;
}
@@ -301,6 +301,7 @@ textarea:focus {
#adminmenu .wp-submenu a,
#adminmenu .wp-has-current-submenu .wp-submenu a,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
color: $menu-submenu-text;

View File

@@ -257,12 +257,12 @@ textarea:focus {
#adminmenu .wp-submenu,
#adminmenu .wp-has-current-submenu .wp-submenu,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu,
.folded #adminmenu .wp-has-current-submenu .wp-submenu,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
background: #4796b3;
}
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
border-left-color: #4796b3;
}
@@ -272,6 +272,7 @@ textarea:focus {
#adminmenu .wp-submenu a,
#adminmenu .wp-has-current-submenu .wp-submenu a,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
color: #e2ecf1;
@@ -279,6 +280,8 @@ textarea:focus {
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,

File diff suppressed because one or more lines are too long

View File

@@ -257,12 +257,12 @@ textarea:focus {
#adminmenu .wp-submenu,
#adminmenu .wp-has-current-submenu .wp-submenu,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu,
.folded #adminmenu .wp-has-current-submenu .wp-submenu,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
background: #4796b3;
}
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
border-right-color: #4796b3;
}
@@ -272,6 +272,7 @@ textarea:focus {
#adminmenu .wp-submenu a,
#adminmenu .wp-has-current-submenu .wp-submenu a,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
color: #e2ecf1;
@@ -279,6 +280,8 @@ textarea:focus {
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,

File diff suppressed because one or more lines are too long

View File

@@ -224,12 +224,12 @@ textarea:focus {
#adminmenu .wp-submenu,
#adminmenu .wp-has-current-submenu .wp-submenu,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu,
.folded #adminmenu .wp-has-current-submenu .wp-submenu,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
background: #46403c;
}
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
border-left-color: #46403c;
}
@@ -239,6 +239,7 @@ textarea:focus {
#adminmenu .wp-submenu a,
#adminmenu .wp-has-current-submenu .wp-submenu a,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
color: #cdcbc9;
@@ -246,6 +247,8 @@ textarea:focus {
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,

File diff suppressed because one or more lines are too long

View File

@@ -224,12 +224,12 @@ textarea:focus {
#adminmenu .wp-submenu,
#adminmenu .wp-has-current-submenu .wp-submenu,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu,
.folded #adminmenu .wp-has-current-submenu .wp-submenu,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
background: #46403c;
}
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
border-right-color: #46403c;
}
@@ -239,6 +239,7 @@ textarea:focus {
#adminmenu .wp-submenu a,
#adminmenu .wp-has-current-submenu .wp-submenu a,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
color: #cdcbc9;
@@ -246,6 +247,8 @@ textarea:focus {
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,

File diff suppressed because one or more lines are too long

View File

@@ -257,12 +257,12 @@ textarea:focus {
#adminmenu .wp-submenu,
#adminmenu .wp-has-current-submenu .wp-submenu,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu,
.folded #adminmenu .wp-has-current-submenu .wp-submenu,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
background: #413256;
}
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
border-left-color: #413256;
}
@@ -272,6 +272,7 @@ textarea:focus {
#adminmenu .wp-submenu a,
#adminmenu .wp-has-current-submenu .wp-submenu a,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
color: #cbc5d3;
@@ -279,6 +280,8 @@ textarea:focus {
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,

File diff suppressed because one or more lines are too long

View File

@@ -257,12 +257,12 @@ textarea:focus {
#adminmenu .wp-submenu,
#adminmenu .wp-has-current-submenu .wp-submenu,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu,
.folded #adminmenu .wp-has-current-submenu .wp-submenu,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
background: #413256;
}
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
border-right-color: #413256;
}
@@ -272,6 +272,7 @@ textarea:focus {
#adminmenu .wp-submenu a,
#adminmenu .wp-has-current-submenu .wp-submenu a,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
color: #cbc5d3;
@@ -279,6 +280,8 @@ textarea:focus {
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,

File diff suppressed because one or more lines are too long

View File

@@ -257,12 +257,12 @@ textarea:focus {
#adminmenu .wp-submenu,
#adminmenu .wp-has-current-submenu .wp-submenu,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu,
.folded #adminmenu .wp-has-current-submenu .wp-submenu,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
background: #fff;
}
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
border-left-color: #fff;
}
@@ -272,6 +272,7 @@ textarea:focus {
#adminmenu .wp-submenu a,
#adminmenu .wp-has-current-submenu .wp-submenu a,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
color: #686868;
@@ -279,6 +280,8 @@ textarea:focus {
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,

File diff suppressed because one or more lines are too long

View File

@@ -257,12 +257,12 @@ textarea:focus {
#adminmenu .wp-submenu,
#adminmenu .wp-has-current-submenu .wp-submenu,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu,
.folded #adminmenu .wp-has-current-submenu .wp-submenu,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
background: #fff;
}
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
border-right-color: #fff;
}
@@ -272,6 +272,7 @@ textarea:focus {
#adminmenu .wp-submenu a,
#adminmenu .wp-has-current-submenu .wp-submenu a,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
color: #686868;
@@ -279,6 +280,8 @@ textarea:focus {
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,

File diff suppressed because one or more lines are too long

View File

@@ -257,12 +257,12 @@ textarea:focus {
#adminmenu .wp-submenu,
#adminmenu .wp-has-current-submenu .wp-submenu,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu,
.folded #adminmenu .wp-has-current-submenu .wp-submenu,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
background: #26292c;
}
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
border-left-color: #26292c;
}
@@ -272,6 +272,7 @@ textarea:focus {
#adminmenu .wp-submenu a,
#adminmenu .wp-has-current-submenu .wp-submenu a,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
color: #c3c4c5;
@@ -279,6 +280,8 @@ textarea:focus {
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,

File diff suppressed because one or more lines are too long

View File

@@ -257,12 +257,12 @@ textarea:focus {
#adminmenu .wp-submenu,
#adminmenu .wp-has-current-submenu .wp-submenu,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu,
.folded #adminmenu .wp-has-current-submenu .wp-submenu,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
background: #26292c;
}
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
border-right-color: #26292c;
}
@@ -272,6 +272,7 @@ textarea:focus {
#adminmenu .wp-submenu a,
#adminmenu .wp-has-current-submenu .wp-submenu a,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
color: #c3c4c5;
@@ -279,6 +280,8 @@ textarea:focus {
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,

File diff suppressed because one or more lines are too long

View File

@@ -257,12 +257,12 @@ textarea:focus {
#adminmenu .wp-submenu,
#adminmenu .wp-has-current-submenu .wp-submenu,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu,
.folded #adminmenu .wp-has-current-submenu .wp-submenu,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
background: #0c0c0c;
}
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
border-left-color: #0c0c0c;
}
@@ -272,6 +272,7 @@ textarea:focus {
#adminmenu .wp-submenu a,
#adminmenu .wp-has-current-submenu .wp-submenu a,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
color: #bcbcbc;
@@ -279,6 +280,8 @@ textarea:focus {
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,

File diff suppressed because one or more lines are too long

View File

@@ -257,12 +257,12 @@ textarea:focus {
#adminmenu .wp-submenu,
#adminmenu .wp-has-current-submenu .wp-submenu,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu,
.folded #adminmenu .wp-has-current-submenu .wp-submenu,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
background: #0c0c0c;
}
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
border-right-color: #0c0c0c;
}
@@ -272,6 +272,7 @@ textarea:focus {
#adminmenu .wp-submenu a,
#adminmenu .wp-has-current-submenu .wp-submenu a,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
color: #bcbcbc;
@@ -279,6 +280,8 @@ textarea:focus {
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,

File diff suppressed because one or more lines are too long

View File

@@ -224,12 +224,12 @@ textarea:focus {
#adminmenu .wp-submenu,
#adminmenu .wp-has-current-submenu .wp-submenu,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu,
.folded #adminmenu .wp-has-current-submenu .wp-submenu,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
background: #627c83;
}
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
border-left-color: #627c83;
}
@@ -239,6 +239,7 @@ textarea:focus {
#adminmenu .wp-submenu a,
#adminmenu .wp-has-current-submenu .wp-submenu a,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
color: #d5dde0;
@@ -246,6 +247,8 @@ textarea:focus {
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,

File diff suppressed because one or more lines are too long

View File

@@ -224,12 +224,12 @@ textarea:focus {
#adminmenu .wp-submenu,
#adminmenu .wp-has-current-submenu .wp-submenu,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu,
.folded #adminmenu .wp-has-current-submenu .wp-submenu,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
background: #627c83;
}
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
border-right-color: #627c83;
}
@@ -239,6 +239,7 @@ textarea:focus {
#adminmenu .wp-submenu a,
#adminmenu .wp-has-current-submenu .wp-submenu a,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
color: #d5dde0;
@@ -246,6 +247,8 @@ textarea:focus {
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,

File diff suppressed because one or more lines are too long

View File

@@ -257,12 +257,12 @@ textarea:focus {
#adminmenu .wp-submenu,
#adminmenu .wp-has-current-submenu .wp-submenu,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu,
.folded #adminmenu .wp-has-current-submenu .wp-submenu,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
background: #be3631;
}
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
border-left-color: #be3631;
}
@@ -272,6 +272,7 @@ textarea:focus {
#adminmenu .wp-submenu a,
#adminmenu .wp-has-current-submenu .wp-submenu a,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
color: #f1c8c7;
@@ -279,6 +280,8 @@ textarea:focus {
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,

File diff suppressed because one or more lines are too long

View File

@@ -257,12 +257,12 @@ textarea:focus {
#adminmenu .wp-submenu,
#adminmenu .wp-has-current-submenu .wp-submenu,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu,
.folded #adminmenu .wp-has-current-submenu .wp-submenu,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
background: #be3631;
}
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
border-right-color: #be3631;
}
@@ -272,6 +272,7 @@ textarea:focus {
#adminmenu .wp-submenu a,
#adminmenu .wp-has-current-submenu .wp-submenu a,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
color: #f1c8c7;
@@ -279,6 +280,8 @@ textarea:focus {
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,

File diff suppressed because one or more lines are too long

View File

@@ -606,10 +606,6 @@ code {
line-height: 1;
}
.subtitle strong {
word-break: break-all;
}
.wrap .add-new-h2, /* deprecated */
.wrap .add-new-h2:active, /* deprecated */
.wrap .page-title-action,
@@ -883,8 +879,7 @@ hr {
#media-items a.delete,
#media-items a.delete-permanently,
#nav-menu-footer .menu-delete,
#delete-link a.delete,
a#remove-post-thumbnail {
#delete-link a.delete {
color: #b32d2e;
}
@@ -901,8 +896,7 @@ span.required,
#media-items a.delete:hover,
#media-items a.delete-permanently:hover,
#nav-menu-footer .menu-delete:hover,
#delete-link a.delete:hover,
a#remove-post-thumbnail:hover {
#delete-link a.delete:hover {
color: #b32d2e;
border: none;
}
@@ -2135,6 +2129,7 @@ html.wp-toolbar {
.postbox .hndle,
.stuffbox .hndle {
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}
@@ -3527,6 +3522,7 @@ img {
border-right: 1px solid #dcdcde;
border-left: 1px solid #dcdcde;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}
@@ -3758,6 +3754,10 @@ img {
}
@-ms-viewport {
width: device-width;
}
@media screen and (max-width: 782px) {
html.wp-toolbar {
padding-top: 46px;

File diff suppressed because one or more lines are too long

View File

@@ -605,10 +605,6 @@ code {
line-height: 1;
}
.subtitle strong {
word-break: break-all;
}
.wrap .add-new-h2, /* deprecated */
.wrap .add-new-h2:active, /* deprecated */
.wrap .page-title-action,
@@ -882,8 +878,7 @@ hr {
#media-items a.delete,
#media-items a.delete-permanently,
#nav-menu-footer .menu-delete,
#delete-link a.delete,
a#remove-post-thumbnail {
#delete-link a.delete {
color: #b32d2e;
}
@@ -900,8 +895,7 @@ span.required,
#media-items a.delete:hover,
#media-items a.delete-permanently:hover,
#nav-menu-footer .menu-delete:hover,
#delete-link a.delete:hover,
a#remove-post-thumbnail:hover {
#delete-link a.delete:hover {
color: #b32d2e;
border: none;
}
@@ -2134,6 +2128,7 @@ html.wp-toolbar {
.postbox .hndle,
.stuffbox .hndle {
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}
@@ -3526,6 +3521,7 @@ img {
border-left: 1px solid #dcdcde;
border-right: 1px solid #dcdcde;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}
@@ -3757,6 +3753,10 @@ img {
}
@-ms-viewport {
width: device-width;
}
@media screen and (max-width: 782px) {
html.wp-toolbar {
padding-top: 46px;

File diff suppressed because one or more lines are too long

View File

@@ -1266,6 +1266,7 @@ p.customize-section-description {
padding: 4px 5px;
border: 2px solid #f0f0f1;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}
@@ -2389,6 +2390,7 @@ body.cheatin p {
margin: 0 10px 0 0;
transition: all 0.2s;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
outline: none;
}

File diff suppressed because one or more lines are too long

View File

@@ -1265,6 +1265,7 @@ p.customize-section-description {
padding: 4px 5px;
border: 2px solid #f0f0f1;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}
@@ -2388,6 +2389,7 @@ body.cheatin p {
margin: 0 0 0 10px;
transition: all 0.2s;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
outline: none;
}

File diff suppressed because one or more lines are too long

View File

@@ -513,6 +513,7 @@
transition: background-color 0.15s;
/* Reset the value inherited from the base .accordion-section-title style. Ticket #37589. */
-webkit-user-select: auto;
-ms-user-select: auto;
user-select: auto;
}

File diff suppressed because one or more lines are too long

View File

@@ -512,6 +512,7 @@
transition: background-color 0.15s;
/* Reset the value inherited from the base .accordion-section-title style. Ticket #37589. */
-webkit-user-select: auto;
-ms-user-select: auto;
user-select: auto;
}

File diff suppressed because one or more lines are too long

View File

@@ -55,6 +55,7 @@
opacity: 0.7;
pointer-events: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}
@@ -166,6 +167,7 @@
border-top: 1px solid #c3c4c7;
cursor: pointer;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}

File diff suppressed because one or more lines are too long

View File

@@ -54,6 +54,7 @@
opacity: 0.7;
pointer-events: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}
@@ -165,6 +166,7 @@
border-top: 1px solid #c3c4c7;
cursor: pointer;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}

File diff suppressed because one or more lines are too long

View File

@@ -1027,23 +1027,33 @@ a.rsswidget {
}
#dashboard_browser_nag p.browser-update-nag.has-browser-icon {
padding-left: 128px;
padding-left: 125px;
}
#dashboard_browser_nag .browser-icon {
margin-top: -32px;
margin-top: -35px;
}
#dashboard_browser_nag.postbox.browser-insecure {
background-color: #b32d2e;
border-color: #b32d2e;
}
#dashboard_browser_nag.postbox {
background-color: #b32d2e;
background-color: #dba617;
background-image: none;
border-color: #b32d2e;
border-color: #f0c33c;
color: #fff;
box-shadow: none;
}
#dashboard_browser_nag.postbox.browser-insecure h2 {
border-bottom-color: #e65054;
color: #fff;
}
#dashboard_browser_nag.postbox h2 {
border-bottom-color: transparent;
border-bottom-color: #f5e6ab;
background: transparent none;
color: #fff;
box-shadow: none;
@@ -1053,10 +1063,6 @@ a.rsswidget {
color: #fff;
}
#dashboard_browser_nag.postbox .postbox-header {
border-color: transparent;
}
#dashboard_browser_nag h2.hndle {
border: none;
font-weight: 600;

File diff suppressed because one or more lines are too long

View File

@@ -1026,23 +1026,33 @@ a.rsswidget {
}
#dashboard_browser_nag p.browser-update-nag.has-browser-icon {
padding-right: 128px;
padding-right: 125px;
}
#dashboard_browser_nag .browser-icon {
margin-top: -32px;
margin-top: -35px;
}
#dashboard_browser_nag.postbox.browser-insecure {
background-color: #b32d2e;
border-color: #b32d2e;
}
#dashboard_browser_nag.postbox {
background-color: #b32d2e;
background-color: #dba617;
background-image: none;
border-color: #b32d2e;
border-color: #f0c33c;
color: #fff;
box-shadow: none;
}
#dashboard_browser_nag.postbox.browser-insecure h2 {
border-bottom-color: #e65054;
color: #fff;
}
#dashboard_browser_nag.postbox h2 {
border-bottom-color: transparent;
border-bottom-color: #f5e6ab;
background: transparent none;
color: #fff;
box-shadow: none;
@@ -1052,10 +1062,6 @@ a.rsswidget {
color: #fff;
}
#dashboard_browser_nag.postbox .postbox-header {
border-color: transparent;
}
#dashboard_browser_nag h2.hndle {
border: none;
font-weight: 600;

File diff suppressed because one or more lines are too long

View File

@@ -364,6 +364,7 @@ form#tags-filter {
}
#wp-word-count {
display: block;
padding: 2px 10px;
}
@@ -702,22 +703,15 @@ form#tags-filter {
/**
* Privacy Settings section
*
* Note: This section includes selectors from
* Site Health where duplicate styling is used.
*/
/* General */
.privacy-settings #wpcontent,
.privacy-settings.auto-fold #wpcontent,
.site-health #wpcontent,
.site-health.auto-fold #wpcontent {
.privacy-settings.auto-fold #wpcontent {
padding-right: 0;
}
/* Emulates .wrap h1 styling */
.privacy-settings-header h1,
.health-check-header h1 {
.privacy-settings-header h1 {
display: inline-block;
font-weight: 600;
margin: 0 0.8rem 1rem;
@@ -727,21 +721,18 @@ form#tags-filter {
}
/* Header */
.privacy-settings-header,
.health-check-header {
.privacy-settings-header {
text-align: center;
margin: 0 0 1rem;
background: #fff;
border-bottom: 1px solid #dcdcde;
}
.privacy-settings-title-section,
.health-check-title-section {
.privacy-settings-title-section {
display: flex;
align-items: center;
justify-content: center;
clear: both;
padding-top: 8px;
}
.privacy-settings-tabs-wrapper {
@@ -763,32 +754,27 @@ form#tags-filter {
transition: box-shadow 0.5s ease-in-out;
}
.privacy-settings-tab:nth-child(1),
.health-check-tab:nth-child(1) {
.privacy-settings-tab:nth-child(1) {
-ms-grid-column: 1; /* IE 11 */
}
.privacy-settings-tab:nth-child(2),
.health-check-tab:nth-child(2) {
.privacy-settings-tab:nth-child(2) {
-ms-grid-column: 2; /* IE 11 */
}
.privacy-settings-tab:focus,
.health-check-tab:focus {
.privacy-settings-tab:focus {
color: #1d2327;
outline: 1px solid #787c82;
box-shadow: none;
}
.privacy-settings-tab.active,
.health-check-tab.active {
.privacy-settings-tab.active {
box-shadow: inset 0 -3px #3582c4;
font-weight: 600;
}
/* Body */
.privacy-settings-body,
.health-check-body {
.privacy-settings-body {
max-width: 800px;
margin: 0 auto;
}
@@ -803,13 +789,11 @@ form#tags-filter {
}
/* Accordions */
.privacy-settings-accordion,
.health-check-accordion {
.privacy-settings-accordion {
border: 1px solid #c3c4c7;
}
.privacy-settings-accordion-heading,
.health-check-accordion-heading {
.privacy-settings-accordion-heading {
margin: 0;
border-top: 1px solid #c3c4c7;
font-size: inherit;
@@ -818,13 +802,11 @@ form#tags-filter {
color: inherit;
}
.privacy-settings-accordion-heading:first-child,
.health-check-accordion-heading:first-child {
.privacy-settings-accordion-heading:first-child {
border-top: none;
}
.privacy-settings-accordion-trigger,
.health-check-accordion-trigger {
.privacy-settings-accordion-trigger {
background: #fff;
border: 0;
color: #2c3338;
@@ -839,19 +821,14 @@ form#tags-filter {
width: 100%;
align-items: center;
justify-content: space-between;
-webkit-user-select: auto;
user-select: auto;
}
.privacy-settings-accordion-trigger:hover,
.privacy-settings-accordion-trigger:active,
.health-check-accordion-trigger:hover,
.health-check-accordion-trigger:active {
.privacy-settings-accordion-trigger:active {
background: #f6f7f7;
}
.privacy-settings-accordion-trigger:focus,
.health-check-accordion-trigger:focus {
.privacy-settings-accordion-trigger:focus {
color: #1d2327;
border: none;
box-shadow: none;
@@ -860,17 +837,14 @@ form#tags-filter {
background-color: #f6f7f7;
}
.privacy-settings-accordion-trigger .title,
.health-check-accordion-trigger .title {
.privacy-settings-accordion-trigger .title {
pointer-events: none;
font-weight: 600;
flex-grow: 1;
}
.privacy-settings-accordion-trigger .icon,
.privacy-settings-view-read .icon,
.health-check-accordion-trigger .icon,
.site-health-view-passed .icon {
.privacy-settings-view-read .icon {
border: solid #50575e;
border-width: 0 0 2px 2px;
height: 0.5rem;
@@ -882,68 +856,53 @@ form#tags-filter {
width: 0.5rem;
}
.privacy-settings-accordion-trigger .badge,
.health-check-accordion-trigger .badge {
.privacy-settings-accordion-trigger .badge {
padding: 0.1rem 0.5rem 0.15rem;
color: #2c3338;
font-weight: 600;
}
.privacy-settings-accordion-trigger .badge {
margin-right: 0.5rem;
}
.privacy-settings-accordion-trigger .badge.blue,
.health-check-accordion-trigger .badge.blue {
.privacy-settings-accordion-trigger .badge.blue {
border: 1px solid #72aee6;
}
.privacy-settings-accordion-trigger .badge.orange,
.health-check-accordion-trigger .badge.orange {
.privacy-settings-accordion-trigger .badge.orange {
border: 1px solid #dba617;
}
.privacy-settings-accordion-trigger .badge.red,
.health-check-accordion-trigger .badge.red {
.privacy-settings-accordion-trigger .badge.red {
border: 1px solid #e65054;
}
.privacy-settings-accordion-trigger .badge.green,
.health-check-accordion-trigger .badge.green {
.privacy-settings-accordion-trigger .badge.green {
border: 1px solid #00ba37;
}
.privacy-settings-accordion-trigger .badge.purple,
.health-check-accordion-trigger .badge.purple {
.privacy-settings-accordion-trigger .badge.purple {
border: 1px solid #2271b1;
}
.privacy-settings-accordion-trigger .badge.gray,
.health-check-accordion-trigger .badge.gray {
.privacy-settings-accordion-trigger .badge.gray {
border: 1px solid #c3c4c7;
}
.privacy-settings-accordion-trigger[aria-expanded="true"] .icon,
.privacy-settings-view-passed[aria-expanded="true"] .icon,
.health-check-accordion-trigger[aria-expanded="true"] .icon,
.site-health-view-passed[aria-expanded="true"] .icon {
.privacy-settings-view-passed[aria-expanded="true"] .icon {
transform: translateY(-30%) rotate(135deg)
}
.privacy-settings-accordion-panel,
.health-check-accordion-panel {
.privacy-settings-accordion-panel {
margin: 0;
padding: 1em 1.5em;
background: #fff;
}
.privacy-settings-accordion-panel[hidden],
.health-check-accordion-panel[hidden] {
.privacy-settings-accordion-panel[hidden] {
display: none;
}
.privacy-settings-accordion-panel a .dashicons,
.health-check-accordion-panel a .dashicons {
.privacy-settings-accordion-panel a .dashicons {
text-decoration: none;
}
@@ -976,10 +935,6 @@ form#tags-filter {
margin: 0 0 1em;
}
.privacy-text-copy span {
pointer-events: none;
}
.privacy-settings-accordion-panel .wp-suggested-text > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help):not(.privacy-text-copy):not(span.success):not(.notice p),
.privacy-settings-accordion-panel .wp-suggested-text div > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help):not(.privacy-text-copy):not(span.success):not(.notice p),
.privacy-settings-accordion-panel > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help):not(.privacy-text-copy):not(span.success):not(.notice p),
@@ -992,19 +947,16 @@ form#tags-filter {
/* Media queries */
@media screen and (max-width: 782px) {
.privacy-settings-body,
.health-check-body {
.privacy-settings-body {
margin: 0 12px;
width: auto;
}
.privacy-settings .notice,
.site-health .notice {
.privacy-settings .notice {
margin: 5px 10px 15px;
}
.privacy-settings .update-nag,
.site-health .update-nag {
.privacy-settings .update-nag {
margin-left: 10px;
margin-right: 10px;
}
@@ -1021,8 +973,7 @@ form#tags-filter {
@media only screen and (max-width: 1004px) {
.privacy-settings-body,
.health-check-body {
.privacy-settings-body {
margin: 0 22px;
width: auto;
}

File diff suppressed because one or more lines are too long

View File

@@ -363,6 +363,7 @@ form#tags-filter {
}
#wp-word-count {
display: block;
padding: 2px 10px;
}
@@ -701,22 +702,15 @@ form#tags-filter {
/**
* Privacy Settings section
*
* Note: This section includes selectors from
* Site Health where duplicate styling is used.
*/
/* General */
.privacy-settings #wpcontent,
.privacy-settings.auto-fold #wpcontent,
.site-health #wpcontent,
.site-health.auto-fold #wpcontent {
.privacy-settings.auto-fold #wpcontent {
padding-left: 0;
}
/* Emulates .wrap h1 styling */
.privacy-settings-header h1,
.health-check-header h1 {
.privacy-settings-header h1 {
display: inline-block;
font-weight: 600;
margin: 0 0.8rem 1rem;
@@ -726,21 +720,18 @@ form#tags-filter {
}
/* Header */
.privacy-settings-header,
.health-check-header {
.privacy-settings-header {
text-align: center;
margin: 0 0 1rem;
background: #fff;
border-bottom: 1px solid #dcdcde;
}
.privacy-settings-title-section,
.health-check-title-section {
.privacy-settings-title-section {
display: flex;
align-items: center;
justify-content: center;
clear: both;
padding-top: 8px;
}
.privacy-settings-tabs-wrapper {
@@ -762,32 +753,27 @@ form#tags-filter {
transition: box-shadow 0.5s ease-in-out;
}
.privacy-settings-tab:nth-child(1),
.health-check-tab:nth-child(1) {
.privacy-settings-tab:nth-child(1) {
-ms-grid-column: 1; /* IE 11 */
}
.privacy-settings-tab:nth-child(2),
.health-check-tab:nth-child(2) {
.privacy-settings-tab:nth-child(2) {
-ms-grid-column: 2; /* IE 11 */
}
.privacy-settings-tab:focus,
.health-check-tab:focus {
.privacy-settings-tab:focus {
color: #1d2327;
outline: 1px solid #787c82;
box-shadow: none;
}
.privacy-settings-tab.active,
.health-check-tab.active {
.privacy-settings-tab.active {
box-shadow: inset 0 -3px #3582c4;
font-weight: 600;
}
/* Body */
.privacy-settings-body,
.health-check-body {
.privacy-settings-body {
max-width: 800px;
margin: 0 auto;
}
@@ -802,13 +788,11 @@ form#tags-filter {
}
/* Accordions */
.privacy-settings-accordion,
.health-check-accordion {
.privacy-settings-accordion {
border: 1px solid #c3c4c7;
}
.privacy-settings-accordion-heading,
.health-check-accordion-heading {
.privacy-settings-accordion-heading {
margin: 0;
border-top: 1px solid #c3c4c7;
font-size: inherit;
@@ -817,13 +801,11 @@ form#tags-filter {
color: inherit;
}
.privacy-settings-accordion-heading:first-child,
.health-check-accordion-heading:first-child {
.privacy-settings-accordion-heading:first-child {
border-top: none;
}
.privacy-settings-accordion-trigger,
.health-check-accordion-trigger {
.privacy-settings-accordion-trigger {
background: #fff;
border: 0;
color: #2c3338;
@@ -838,19 +820,14 @@ form#tags-filter {
width: 100%;
align-items: center;
justify-content: space-between;
-webkit-user-select: auto;
user-select: auto;
}
.privacy-settings-accordion-trigger:hover,
.privacy-settings-accordion-trigger:active,
.health-check-accordion-trigger:hover,
.health-check-accordion-trigger:active {
.privacy-settings-accordion-trigger:active {
background: #f6f7f7;
}
.privacy-settings-accordion-trigger:focus,
.health-check-accordion-trigger:focus {
.privacy-settings-accordion-trigger:focus {
color: #1d2327;
border: none;
box-shadow: none;
@@ -859,17 +836,14 @@ form#tags-filter {
background-color: #f6f7f7;
}
.privacy-settings-accordion-trigger .title,
.health-check-accordion-trigger .title {
.privacy-settings-accordion-trigger .title {
pointer-events: none;
font-weight: 600;
flex-grow: 1;
}
.privacy-settings-accordion-trigger .icon,
.privacy-settings-view-read .icon,
.health-check-accordion-trigger .icon,
.site-health-view-passed .icon {
.privacy-settings-view-read .icon {
border: solid #50575e;
border-width: 0 2px 2px 0;
height: 0.5rem;
@@ -881,68 +855,53 @@ form#tags-filter {
width: 0.5rem;
}
.privacy-settings-accordion-trigger .badge,
.health-check-accordion-trigger .badge {
.privacy-settings-accordion-trigger .badge {
padding: 0.1rem 0.5rem 0.15rem;
color: #2c3338;
font-weight: 600;
}
.privacy-settings-accordion-trigger .badge {
margin-left: 0.5rem;
}
.privacy-settings-accordion-trigger .badge.blue,
.health-check-accordion-trigger .badge.blue {
.privacy-settings-accordion-trigger .badge.blue {
border: 1px solid #72aee6;
}
.privacy-settings-accordion-trigger .badge.orange,
.health-check-accordion-trigger .badge.orange {
.privacy-settings-accordion-trigger .badge.orange {
border: 1px solid #dba617;
}
.privacy-settings-accordion-trigger .badge.red,
.health-check-accordion-trigger .badge.red {
.privacy-settings-accordion-trigger .badge.red {
border: 1px solid #e65054;
}
.privacy-settings-accordion-trigger .badge.green,
.health-check-accordion-trigger .badge.green {
.privacy-settings-accordion-trigger .badge.green {
border: 1px solid #00ba37;
}
.privacy-settings-accordion-trigger .badge.purple,
.health-check-accordion-trigger .badge.purple {
.privacy-settings-accordion-trigger .badge.purple {
border: 1px solid #2271b1;
}
.privacy-settings-accordion-trigger .badge.gray,
.health-check-accordion-trigger .badge.gray {
.privacy-settings-accordion-trigger .badge.gray {
border: 1px solid #c3c4c7;
}
.privacy-settings-accordion-trigger[aria-expanded="true"] .icon,
.privacy-settings-view-passed[aria-expanded="true"] .icon,
.health-check-accordion-trigger[aria-expanded="true"] .icon,
.site-health-view-passed[aria-expanded="true"] .icon {
.privacy-settings-view-passed[aria-expanded="true"] .icon {
transform: translateY(-30%) rotate(-135deg)
}
.privacy-settings-accordion-panel,
.health-check-accordion-panel {
.privacy-settings-accordion-panel {
margin: 0;
padding: 1em 1.5em;
background: #fff;
}
.privacy-settings-accordion-panel[hidden],
.health-check-accordion-panel[hidden] {
.privacy-settings-accordion-panel[hidden] {
display: none;
}
.privacy-settings-accordion-panel a .dashicons,
.health-check-accordion-panel a .dashicons {
.privacy-settings-accordion-panel a .dashicons {
text-decoration: none;
}
@@ -975,10 +934,6 @@ form#tags-filter {
margin: 0 0 1em;
}
.privacy-text-copy span {
pointer-events: none;
}
.privacy-settings-accordion-panel .wp-suggested-text > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help):not(.privacy-text-copy):not(span.success):not(.notice p),
.privacy-settings-accordion-panel .wp-suggested-text div > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help):not(.privacy-text-copy):not(span.success):not(.notice p),
.privacy-settings-accordion-panel > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help):not(.privacy-text-copy):not(span.success):not(.notice p),
@@ -991,19 +946,16 @@ form#tags-filter {
/* Media queries */
@media screen and (max-width: 782px) {
.privacy-settings-body,
.health-check-body {
.privacy-settings-body {
margin: 0 12px;
width: auto;
}
.privacy-settings .notice,
.site-health .notice {
.privacy-settings .notice {
margin: 5px 10px 15px;
}
.privacy-settings .update-nag,
.site-health .update-nag {
.privacy-settings .update-nag {
margin-right: 10px;
margin-left: 10px;
}
@@ -1020,8 +972,7 @@ form#tags-filter {
@media only screen and (max-width: 1004px) {
.privacy-settings-body,
.health-check-body {
.privacy-settings-body {
margin: 0 22px;
width: auto;
}

File diff suppressed because one or more lines are too long

View File

@@ -594,10 +594,6 @@ fieldset label,
opacity: 1;
}
.password-input-wrapper input {
font-family: Consolas, Monaco, monospace;
}
#pass1.short, #pass1-text.short {
border-color: #e65054;
}

File diff suppressed because one or more lines are too long

View File

@@ -593,10 +593,6 @@ fieldset label,
opacity: 1;
}
.password-input-wrapper input {
font-family: Consolas, Monaco, monospace;
}
#pass1.short, #pass1-text.short {
border-color: #e65054;
}

File diff suppressed because one or more lines are too long

View File

@@ -325,7 +325,7 @@ body.language-chooser {
color: #0a4b78;
}
.language-chooser .step {
.language-chooser p {
text-align: left;
}

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 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)}}
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 p{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

@@ -324,7 +324,7 @@ body.language-chooser {
color: #0a4b78;
}
.language-chooser .step {
.language-chooser p {
text-align: right;
}

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 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)}}
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 p{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)}}

View File

@@ -319,6 +319,7 @@ table.fixed {
.fixed .column-role,
.fixed .column-posts {
-webkit-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
}
@@ -1872,24 +1873,23 @@ div.action-links,
padding-top: 10px;
}
.row-actions {
margin-right: -8px;
margin-left: -8px;
padding-top: 4px;
}
/* Make row actions more easy to select on mobile */
body:not(.plugins-php) .row-actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
display: -ms-grid;
display: grid;
-ms-grid-columns: auto auto auto;
grid-template-columns: auto auto auto;
color: transparent;
}
.row-actions span {
padding: 4px 0;
}
.row-actions span a,
.row-actions span .button-link {
display: inline-block;
padding: 4px 8px;
padding: 4px 0;
line-height: 1.5;
}
@@ -2139,11 +2139,6 @@ div.action-links,
margin-left: 0;
width: 100%;
}
table.media .column-title .has-media-icon ~ .row-actions {
margin-right: 0;
clear: both;
}
}
@media screen and (max-width: 480px) {
@@ -2151,6 +2146,12 @@ div.action-links,
margin: 0;
}
/* Drop row actions to two columns on a small screen */
.row-actions:not(.plugins-php) {
-ms-grid-columns: auto auto;
grid-template-columns: auto auto;
}
.tablenav.bottom .displaying-num {
position: relative;
top: 0;

File diff suppressed because one or more lines are too long

View File

@@ -318,6 +318,7 @@ table.fixed {
.fixed .column-role,
.fixed .column-posts {
-webkit-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
}
@@ -1871,24 +1872,23 @@ div.action-links,
padding-top: 10px;
}
.row-actions {
margin-left: -8px;
margin-right: -8px;
padding-top: 4px;
}
/* Make row actions more easy to select on mobile */
body:not(.plugins-php) .row-actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
display: -ms-grid;
display: grid;
-ms-grid-columns: auto auto auto;
grid-template-columns: auto auto auto;
color: transparent;
}
.row-actions span {
padding: 4px 0;
}
.row-actions span a,
.row-actions span .button-link {
display: inline-block;
padding: 4px 8px;
padding: 4px 0;
line-height: 1.5;
}
@@ -2138,11 +2138,6 @@ div.action-links,
margin-right: 0;
width: 100%;
}
table.media .column-title .has-media-icon ~ .row-actions {
margin-left: 0;
clear: both;
}
}
@media screen and (max-width: 480px) {
@@ -2150,6 +2145,12 @@ div.action-links,
margin: 0;
}
/* Drop row actions to two columns on a small screen */
.row-actions:not(.plugins-php) {
-ms-grid-columns: auto auto;
grid-template-columns: auto auto;
}
.tablenav.bottom .displaying-num {
position: relative;
top: 0;

File diff suppressed because one or more lines are too long

View File

@@ -298,7 +298,6 @@ p {
#backtoblog {
margin: 16px 0;
word-break: break-word;
}
.login #nav a,
@@ -338,10 +337,6 @@ p {
max-height: none;
}
.login input.password-input {
font-family: Consolas, Monaco, monospace;
}
.js.login input.password-input,
.js.login-action-rp form .input,
.js.login-action-rp input[type="text"] {
@@ -410,6 +405,10 @@ input::-ms-reveal {
display: none;
}
@-ms-viewport {
width: device-width;
}
@media screen and (max-height: 550px) {
#login {
padding: 20px 0;

File diff suppressed because one or more lines are too long

View File

@@ -297,7 +297,6 @@ p {
#backtoblog {
margin: 16px 0;
word-break: break-word;
}
.login #nav a,
@@ -337,10 +336,6 @@ p {
max-height: none;
}
.login input.password-input {
font-family: Consolas, Monaco, monospace;
}
.js.login input.password-input,
.js.login-action-rp form .input,
.js.login-action-rp input[type="text"] {
@@ -409,6 +404,10 @@ input::-ms-reveal {
display: none;
}
@-ms-viewport {
width: device-width;
}
@media screen and (max-height: 550px) {
#login {
padding: 20px 0;

File diff suppressed because one or more lines are too long

View File

@@ -52,14 +52,6 @@
max-width: 128px;
}
.media-list-subtitle {
display: block;
}
.media-list-title {
display: block;
}
#wpbody-content #async-upload-wrap a {
display: none;
}
@@ -105,6 +97,7 @@
padding: 0 5px 0 0;
}
.media-item .edit-attachment,
.describe-toggle-on,
.describe-toggle-off {
display: block;
@@ -113,39 +106,6 @@
margin-left: 10px;
}
.media-item-wrapper {
display: grid;
grid-template-columns: 1fr 1fr;
}
.media-item .attachment-tools {
display: flex;
justify-content: flex-end;
align-items: center;
}
.media-item .edit-attachment {
padding: 14px 0;
display: block;
margin-left: 10px;
}
.media-item .edit-attachment.copy-to-clipboard-container {
margin-top: 0;
}
.media-item-copy-container .success {
line-height: 0;
}
.media-item button .copy-attachment-url {
margin-top: 14px;
}
.media-item .copy-to-clipboard-container {
margin-top: 7px;
}
.media-item .describe-toggle-off,
.media-item.open .describe-toggle-on {
display: none;
@@ -156,7 +116,7 @@
}
.media-upload-form .media-item {
min-height: 70px;
min-height: 36px;
margin-bottom: 1px;
position: relative;
width: 100%;
@@ -173,16 +133,16 @@
}
.media-item .filename {
padding: 14px 0;
line-height: 2.76923076;
overflow: hidden;
margin-right: 6px;
}
.media-item .pinkynail {
float: right;
margin: 0 0 0 10px;
max-height: 70px;
max-width: 70px;
margin: 2px 3px 0 10px;
max-width: 40px;
max-height: 32px;
}
.media-item .startopen,
@@ -254,7 +214,6 @@
.media-upload-form .media-item .error {
padding: 10px 14px 10px 0;
min-height: 50px;
}
.media-item .error-div button.dismiss {
@@ -462,8 +421,7 @@ border color while dragging a file over the uploader drop area */
.media-frame.mode-grid,
.media-frame.mode-grid .media-frame-content,
.media-frame.mode-grid .attachments-browser:not(.has-load-more) .attachments,
.media-frame.mode-grid .attachments-browser.has-load-more .attachments-wrapper,
.media-frame.mode-grid .attachments-browser .attachments,
.media-frame.mode-grid .uploader-inline-content {
position: static;
}
@@ -541,8 +499,7 @@ border color while dragging a file over the uploader drop area */
border: 4px dashed #c3c4c7;
}
.media-frame.mode-select .attachments-browser.fixed:not(.has-load-more) .attachments,
.media-frame.mode-select .attachments-browser.has-load-more.fixed .attachments-wrapper {
.media-frame.mode-select .attachments-browser.fixed .attachments {
position: relative;
top: 94px; /* prevent jumping up when the toolbar becomes fixed */
padding-bottom: 94px; /* offset for above so the bottom doesn't get cut off */
@@ -1289,12 +1246,6 @@ audio, video {
}
}
@media only screen and (max-width: 600px) {
.media-item-wrapper {
grid-template-columns: 1fr;
}
}
/**
* Media queries for media grid.
*/

File diff suppressed because one or more lines are too long

View File

@@ -51,14 +51,6 @@
max-width: 128px;
}
.media-list-subtitle {
display: block;
}
.media-list-title {
display: block;
}
#wpbody-content #async-upload-wrap a {
display: none;
}
@@ -104,6 +96,7 @@
padding: 0 0 0 5px;
}
.media-item .edit-attachment,
.describe-toggle-on,
.describe-toggle-off {
display: block;
@@ -112,39 +105,6 @@
margin-right: 10px;
}
.media-item-wrapper {
display: grid;
grid-template-columns: 1fr 1fr;
}
.media-item .attachment-tools {
display: flex;
justify-content: flex-end;
align-items: center;
}
.media-item .edit-attachment {
padding: 14px 0;
display: block;
margin-right: 10px;
}
.media-item .edit-attachment.copy-to-clipboard-container {
margin-top: 0;
}
.media-item-copy-container .success {
line-height: 0;
}
.media-item button .copy-attachment-url {
margin-top: 14px;
}
.media-item .copy-to-clipboard-container {
margin-top: 7px;
}
.media-item .describe-toggle-off,
.media-item.open .describe-toggle-on {
display: none;
@@ -155,7 +115,7 @@
}
.media-upload-form .media-item {
min-height: 70px;
min-height: 36px;
margin-bottom: 1px;
position: relative;
width: 100%;
@@ -172,16 +132,16 @@
}
.media-item .filename {
padding: 14px 0;
line-height: 2.76923076;
overflow: hidden;
margin-left: 6px;
}
.media-item .pinkynail {
float: left;
margin: 0 10px 0 0;
max-height: 70px;
max-width: 70px;
margin: 2px 10px 0 3px;
max-width: 40px;
max-height: 32px;
}
.media-item .startopen,
@@ -253,7 +213,6 @@
.media-upload-form .media-item .error {
padding: 10px 0 10px 14px;
min-height: 50px;
}
.media-item .error-div button.dismiss {
@@ -461,8 +420,7 @@ border color while dragging a file over the uploader drop area */
.media-frame.mode-grid,
.media-frame.mode-grid .media-frame-content,
.media-frame.mode-grid .attachments-browser:not(.has-load-more) .attachments,
.media-frame.mode-grid .attachments-browser.has-load-more .attachments-wrapper,
.media-frame.mode-grid .attachments-browser .attachments,
.media-frame.mode-grid .uploader-inline-content {
position: static;
}
@@ -540,8 +498,7 @@ border color while dragging a file over the uploader drop area */
border: 4px dashed #c3c4c7;
}
.media-frame.mode-select .attachments-browser.fixed:not(.has-load-more) .attachments,
.media-frame.mode-select .attachments-browser.has-load-more.fixed .attachments-wrapper {
.media-frame.mode-select .attachments-browser.fixed .attachments {
position: relative;
top: 94px; /* prevent jumping up when the toolbar becomes fixed */
padding-bottom: 94px; /* offset for above so the bottom doesn't get cut off */
@@ -1288,12 +1245,6 @@ audio, video {
}
}
@media only screen and (max-width: 600px) {
.media-item-wrapper {
grid-template-columns: 1fr;
}
}
/**
* Media queries for media grid.
*/

File diff suppressed because one or more lines are too long

View File

@@ -98,105 +98,6 @@ ul.add-menu-item-tabs li {
margin: 1em 0 10px;
}
#nav-menu-bulk-actions-top {
margin: 1em 0;
}
#nav-menu-bulk-actions-bottom {
margin: 1em 0;
margin: calc( 1em + 9px ) 0 ;
}
.bulk-actions input.button {
margin-left: 12px;
}
.bulk-select-button {
position: relative;
display: inline-block;
padding: 0 10px;
font-size: 13px;
line-height: 2.15384615;
height: auto;
min-height: 30px;
background: #f6f7f7;
vertical-align: top;
border: 1px solid #dcdcde;
margin: 0;
cursor: pointer;
border-radius: 3px;
white-space: nowrap;
box-sizing: border-box;
}
.bulk-selection .bulk-select-button {
color: #2271b1;
border-color: #2271b1;
background: #f6f7f7;
vertical-align: top;
}
#pending-menu-items-to-delete {
display: none;
}
.bulk-selection #pending-menu-items-to-delete {
display: block;
margin-top: 1em;
}
#pending-menu-items-to-delete p {
margin-bottom: 0;
}
#pending-menu-items-to-delete ul {
margin-top: 0;
list-style: none;
}
#pending-menu-items-to-delete ul li {
display: inline;
}
input.bulk-select-switcher + .bulk-select-button-label {
vertical-align: inherit;
}
label.bulk-select-button:hover,
label.bulk-select-button:active,
label.bulk-select-button:focus-within {
background: #f0f0f1;
border-color: #0a4b78;
color: #0a4b78;
}
input.bulk-select-switcher:focus + .bulk-select-button-label{
color: #0a4b78;
}
.bulk-actions input.menu-items-delete {
-webkit-appearance: none;
appearance: none;
font-size: inherit;
border: 0;
line-height: 2.1em;
background: none;
cursor: pointer;
text-decoration: underline;
color: #b32d2e;
}
.bulk-actions input.menu-items-delete:hover {
color: #b32d2e;
border: none;
}
.bulk-actions input.menu-items-delete.disabled {
cursor: default;
color: #a7aaad;
box-shadow: none;
}
.menu-settings {
border-top: 1px solid #f0f0f1;
margin-top: 2em;
@@ -581,15 +482,6 @@ input.bulk-select-switcher:focus + .bulk-select-button-label{
margin-left: 13em;
}
.menu-item-handle .menu-item-checkbox {
display: none;
}
.bulk-selection .menu-item-handle .menu-item-checkbox {
display: inline-block;
margin-left: 6px;
}
.menu-item-handle .menu-item-title.no-title {
color: #646970;
}
@@ -1000,9 +892,10 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
}
@media only screen and (min-width: 783px) {
@supports (position: sticky) and (scroll-margin-bottom: 130px) {
@supports ((position: -webkit-sticky) or (position: sticky)) and (scroll-margin-bottom: 130px) {
#nav-menu-footer {
position: -webkit-sticky;
position: sticky;
bottom: 0;
z-index: 10;

File diff suppressed because one or more lines are too long

View File

@@ -97,105 +97,6 @@ ul.add-menu-item-tabs li {
margin: 1em 0 10px;
}
#nav-menu-bulk-actions-top {
margin: 1em 0;
}
#nav-menu-bulk-actions-bottom {
margin: 1em 0;
margin: calc( 1em + 9px ) 0 ;
}
.bulk-actions input.button {
margin-right: 12px;
}
.bulk-select-button {
position: relative;
display: inline-block;
padding: 0 10px;
font-size: 13px;
line-height: 2.15384615;
height: auto;
min-height: 30px;
background: #f6f7f7;
vertical-align: top;
border: 1px solid #dcdcde;
margin: 0;
cursor: pointer;
border-radius: 3px;
white-space: nowrap;
box-sizing: border-box;
}
.bulk-selection .bulk-select-button {
color: #2271b1;
border-color: #2271b1;
background: #f6f7f7;
vertical-align: top;
}
#pending-menu-items-to-delete {
display: none;
}
.bulk-selection #pending-menu-items-to-delete {
display: block;
margin-top: 1em;
}
#pending-menu-items-to-delete p {
margin-bottom: 0;
}
#pending-menu-items-to-delete ul {
margin-top: 0;
list-style: none;
}
#pending-menu-items-to-delete ul li {
display: inline;
}
input.bulk-select-switcher + .bulk-select-button-label {
vertical-align: inherit;
}
label.bulk-select-button:hover,
label.bulk-select-button:active,
label.bulk-select-button:focus-within {
background: #f0f0f1;
border-color: #0a4b78;
color: #0a4b78;
}
input.bulk-select-switcher:focus + .bulk-select-button-label{
color: #0a4b78;
}
.bulk-actions input.menu-items-delete {
-webkit-appearance: none;
appearance: none;
font-size: inherit;
border: 0;
line-height: 2.1em;
background: none;
cursor: pointer;
text-decoration: underline;
color: #b32d2e;
}
.bulk-actions input.menu-items-delete:hover {
color: #b32d2e;
border: none;
}
.bulk-actions input.menu-items-delete.disabled {
cursor: default;
color: #a7aaad;
box-shadow: none;
}
.menu-settings {
border-top: 1px solid #f0f0f1;
margin-top: 2em;
@@ -580,15 +481,6 @@ input.bulk-select-switcher:focus + .bulk-select-button-label{
margin-right: 13em;
}
.menu-item-handle .menu-item-checkbox {
display: none;
}
.bulk-selection .menu-item-handle .menu-item-checkbox {
display: inline-block;
margin-right: 6px;
}
.menu-item-handle .menu-item-title.no-title {
color: #646970;
}
@@ -999,9 +891,10 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
}
@media only screen and (min-width: 783px) {
@supports (position: sticky) and (scroll-margin-bottom: 130px) {
@supports ((position: -webkit-sticky) or (position: sticky)) and (scroll-margin-bottom: 130px) {
#nav-menu-footer {
position: -webkit-sticky;
position: sticky;
bottom: 0;
z-index: 10;

File diff suppressed because one or more lines are too long

View File

@@ -1,7 +1,18 @@
/*! This file is auto-generated */
/* Note: Any Site Health selectors that use
duplicate styling from the Privacy settings screen
are styled in the Privacy section of edit.css */
.site-health #wpcontent,
.site-health.auto-fold #wpcontent {
padding-right: 0;
}
/* Emulates .wrap h1 styling */
.health-check-header h1 {
display: inline-block;
font-weight: 600;
margin: 0 0.8rem 1rem;
font-size: 23px;
padding: 9px 0 4px 0;
line-height: 1.3;
}
.health-check-body h2 {
line-height: 1.4;
@@ -12,8 +23,18 @@ are styled in the Privacy section of edit.css */
font-weight: 400;
}
.health-check-widget-title-section {
.health-check-header {
text-align: center;
margin: 0 0 1rem;
background: #fff;
border-bottom: 1px solid #dcdcde;
}
.health-check-title-section {
display: flex;
align-items: center;
justify-content: center;
clear: both;
}
.site-health-progress-wrapper {
@@ -98,22 +119,12 @@ are styled in the Privacy section of edit.css */
.health-check-tabs-wrapper {
/* IE 11 */
display: -ms-inline-grid;
-ms-grid-columns: 1fr 1fr 1fr 1fr;
-ms-grid-columns: 1fr 1fr;
vertical-align: top;
/* modern browsers */
display: inline-grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
}
.health-check-tabs-wrapper.tab-count-1 {
grid-template-columns: 1fr;
}
.health-check-tabs-wrapper.tab-count-2 {
grid-template-columns: 1fr 1fr;
}
.health-check-tabs-wrapper.tab-count-3 {
grid-template-columns: 1fr 1fr 1fr;
}
.health-check-tab {
display: block; /* IE 11 */
@@ -124,45 +135,22 @@ are styled in the Privacy section of edit.css */
transition: box-shadow 0.5s ease-in-out;
}
.health-check-offscreen-nav-wrapper {
position: relative;
background: transparent;
border: none;
}
.health-check-offscreen-nav-wrapper:focus .health-check-offscreen-nav {
right: initial;
.health-check-tab:nth-child(1) {
-ms-grid-column: 1; /* IE 11 */
}
.health-check-offscreen-nav {
display: none;
position: absolute;
padding-top: 10px;
left: 0;
top: 100%;
width: 13rem;
}
.health-check-offscreen-nav-wrapper.visible .health-check-offscreen-nav {
display: inline-block;
}
.health-check-offscreen-nav:before {
position: absolute;
content: "";
width: 0;
height: 0;
border-style: solid;
border-width: 0 10px 5px 10px;
border-color: transparent transparent #ffffff transparent;
left: 20px;
top: 5px;
.health-check-tab:nth-child(2) {
-ms-grid-column: 2; /* IE 11 */
}
.health-check-offscreen-nav .health-check-tab {
background: #fff;
box-shadow: 0 2px 5px 0 rgba( 0, 0, 0, 0.75 );
.health-check-tab:focus {
color: #1d2327;
outline: 1px solid #787c82;
box-shadow: none;
}
.health-check-offscreen-nav .health-check-tab.active {
box-shadow: inset -3px 0 #3582c4;
.health-check-tab.active {
box-shadow: inset 0 -3px #3582c4;
font-weight: 600;
}
@@ -278,12 +266,131 @@ are styled in the Privacy section of edit.css */
margin: 0;
}
.health-check-accordion {
border: 1px solid #c3c4c7;
}
.health-check-accordion-heading {
margin: 0;
border-top: 1px solid #c3c4c7;
font-size: inherit;
line-height: inherit;
font-weight: 600;
color: inherit;
}
.health-check-accordion-heading:first-child {
border-top: none;
}
.health-check-accordion-trigger {
background: #fff;
border: 0;
color: #2c3338;
cursor: pointer;
display: flex;
font-weight: 400;
margin: 0;
padding: 1em 1.5em 1em 3.5em;
min-height: 46px;
position: relative;
text-align: right;
width: 100%;
align-items: center;
justify-content: space-between;
-webkit-user-select: auto;
-ms-user-select: auto;
user-select: auto;
}
.wp-core-ui .button.site-health-view-passed {
position: relative;
padding-left: 40px;
padding-right: 20px;
}
.health-check-accordion-trigger:hover,
.health-check-accordion-trigger:active {
background: #f6f7f7;
}
.health-check-accordion-trigger:focus {
color: #1d2327;
border: none;
box-shadow: none;
outline-offset: -1px;
outline: 2px solid #2271b1;
background-color: #f6f7f7;
}
.health-check-accordion-trigger .title {
pointer-events: none;
font-weight: 600;
flex-grow: 1;
}
.health-check-accordion-trigger .icon,
.site-health-view-passed .icon {
border: solid #50575e;
border-width: 0 0 2px 2px;
height: 0.5rem;
pointer-events: none;
position: absolute;
left: 1.5em;
top: 50%;
transform: translateY(-70%) rotate(-45deg);
width: 0.5rem;
}
.health-check-accordion-trigger .badge {
padding: 0.1rem 0.5rem 0.15rem;
color: #2c3338;
font-weight: 600;
margin-right: 0.5rem;
}
.health-check-accordion-trigger .badge.blue {
border: 1px solid #72aee6;
}
.health-check-accordion-trigger .badge.orange {
border: 1px solid #dba617;
}
.health-check-accordion-trigger .badge.red {
border: 1px solid #e65054;
}
.health-check-accordion-trigger .badge.green {
border: 1px solid #00ba37;
}
.health-check-accordion-trigger .badge.purple {
border: 1px solid #2271b1;
}
.health-check-accordion-trigger .badge.gray {
border: 1px solid #c3c4c7;
}
.health-check-accordion-trigger[aria-expanded="true"] .icon,
.site-health-view-passed[aria-expanded="true"] .icon {
transform: translateY(-30%) rotate(135deg)
}
.health-check-accordion-panel {
margin: 0;
padding: 1em 1.5em;
background: #fff;
}
.health-check-accordion-panel[hidden] {
display: none;
}
.health-check-accordion-panel a .dashicons {
text-decoration: none;
}
/* Better position for the WordPress admin notices and update nag. */
.site-health .notice {
@@ -302,29 +409,20 @@ are styled in the Privacy section of edit.css */
flex-shrink: 0;
}
/* Styling unique to the dashboard widget. */
#dashboard_site_health .site-health-details {
padding-right: 16px;
}
#dashboard_site_health .health-check-widget {
display: grid;
grid-template-columns: 1fr 2fr;
grid-auto-rows: minmax(64px, auto);
column-gap: 16px;
align-items: center;
}
#dashboard_site_health .site-health-progress-label {
margin-right: 0;
}
@media screen and (max-width: 480px) {
#dashboard_site_health .health-check-widget {
grid-template-columns: 100%;
}
}
@media screen and (max-width: 782px) {
.health-check-body {
margin: 0 12px;
width: auto;
}
.site-health .notice {
margin: 5px 10px 15px;
}
.site-health .update-nag {
margin-left: 10px;
margin-right: 10px;
}
.site-health-issues-wrapper .health-check-accordion-trigger {
flex-direction: column;
@@ -357,3 +455,10 @@ are styled in the Privacy section of edit.css */
}
}
/* The breakpoint is usually at 960px, the additional space is to allow for the margin. */
@media only screen and (max-width: 1004px) {
.health-check-body {
margin: 0 22px;
width: auto;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -1,6 +1,17 @@
/* Note: Any Site Health selectors that use
duplicate styling from the Privacy settings screen
are styled in the Privacy section of edit.css */
.site-health #wpcontent,
.site-health.auto-fold #wpcontent {
padding-left: 0;
}
/* Emulates .wrap h1 styling */
.health-check-header h1 {
display: inline-block;
font-weight: 600;
margin: 0 0.8rem 1rem;
font-size: 23px;
padding: 9px 0 4px 0;
line-height: 1.3;
}
.health-check-body h2 {
line-height: 1.4;
@@ -11,8 +22,18 @@ are styled in the Privacy section of edit.css */
font-weight: 400;
}
.health-check-widget-title-section {
.health-check-header {
text-align: center;
margin: 0 0 1rem;
background: #fff;
border-bottom: 1px solid #dcdcde;
}
.health-check-title-section {
display: flex;
align-items: center;
justify-content: center;
clear: both;
}
.site-health-progress-wrapper {
@@ -97,22 +118,12 @@ are styled in the Privacy section of edit.css */
.health-check-tabs-wrapper {
/* IE 11 */
display: -ms-inline-grid;
-ms-grid-columns: 1fr 1fr 1fr 1fr;
-ms-grid-columns: 1fr 1fr;
vertical-align: top;
/* modern browsers */
display: inline-grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
}
.health-check-tabs-wrapper.tab-count-1 {
grid-template-columns: 1fr;
}
.health-check-tabs-wrapper.tab-count-2 {
grid-template-columns: 1fr 1fr;
}
.health-check-tabs-wrapper.tab-count-3 {
grid-template-columns: 1fr 1fr 1fr;
}
.health-check-tab {
display: block; /* IE 11 */
@@ -123,45 +134,22 @@ are styled in the Privacy section of edit.css */
transition: box-shadow 0.5s ease-in-out;
}
.health-check-offscreen-nav-wrapper {
position: relative;
background: transparent;
border: none;
}
.health-check-offscreen-nav-wrapper:focus .health-check-offscreen-nav {
left: initial;
.health-check-tab:nth-child(1) {
-ms-grid-column: 1; /* IE 11 */
}
.health-check-offscreen-nav {
display: none;
position: absolute;
padding-top: 10px;
right: 0;
top: 100%;
width: 13rem;
}
.health-check-offscreen-nav-wrapper.visible .health-check-offscreen-nav {
display: inline-block;
}
.health-check-offscreen-nav:before {
position: absolute;
content: "";
width: 0;
height: 0;
border-style: solid;
border-width: 0 10px 5px 10px;
border-color: transparent transparent #ffffff transparent;
right: 20px;
top: 5px;
.health-check-tab:nth-child(2) {
-ms-grid-column: 2; /* IE 11 */
}
.health-check-offscreen-nav .health-check-tab {
background: #fff;
box-shadow: 0 2px 5px 0 rgba( 0, 0, 0, 0.75 );
.health-check-tab:focus {
color: #1d2327;
outline: 1px solid #787c82;
box-shadow: none;
}
.health-check-offscreen-nav .health-check-tab.active {
box-shadow: inset 3px 0 #3582c4;
.health-check-tab.active {
box-shadow: inset 0 -3px #3582c4;
font-weight: 600;
}
@@ -277,12 +265,131 @@ are styled in the Privacy section of edit.css */
margin: 0;
}
.health-check-accordion {
border: 1px solid #c3c4c7;
}
.health-check-accordion-heading {
margin: 0;
border-top: 1px solid #c3c4c7;
font-size: inherit;
line-height: inherit;
font-weight: 600;
color: inherit;
}
.health-check-accordion-heading:first-child {
border-top: none;
}
.health-check-accordion-trigger {
background: #fff;
border: 0;
color: #2c3338;
cursor: pointer;
display: flex;
font-weight: 400;
margin: 0;
padding: 1em 3.5em 1em 1.5em;
min-height: 46px;
position: relative;
text-align: left;
width: 100%;
align-items: center;
justify-content: space-between;
-webkit-user-select: auto;
-ms-user-select: auto;
user-select: auto;
}
.wp-core-ui .button.site-health-view-passed {
position: relative;
padding-right: 40px;
padding-left: 20px;
}
.health-check-accordion-trigger:hover,
.health-check-accordion-trigger:active {
background: #f6f7f7;
}
.health-check-accordion-trigger:focus {
color: #1d2327;
border: none;
box-shadow: none;
outline-offset: -1px;
outline: 2px solid #2271b1;
background-color: #f6f7f7;
}
.health-check-accordion-trigger .title {
pointer-events: none;
font-weight: 600;
flex-grow: 1;
}
.health-check-accordion-trigger .icon,
.site-health-view-passed .icon {
border: solid #50575e;
border-width: 0 2px 2px 0;
height: 0.5rem;
pointer-events: none;
position: absolute;
right: 1.5em;
top: 50%;
transform: translateY(-70%) rotate(45deg);
width: 0.5rem;
}
.health-check-accordion-trigger .badge {
padding: 0.1rem 0.5rem 0.15rem;
color: #2c3338;
font-weight: 600;
margin-left: 0.5rem;
}
.health-check-accordion-trigger .badge.blue {
border: 1px solid #72aee6;
}
.health-check-accordion-trigger .badge.orange {
border: 1px solid #dba617;
}
.health-check-accordion-trigger .badge.red {
border: 1px solid #e65054;
}
.health-check-accordion-trigger .badge.green {
border: 1px solid #00ba37;
}
.health-check-accordion-trigger .badge.purple {
border: 1px solid #2271b1;
}
.health-check-accordion-trigger .badge.gray {
border: 1px solid #c3c4c7;
}
.health-check-accordion-trigger[aria-expanded="true"] .icon,
.site-health-view-passed[aria-expanded="true"] .icon {
transform: translateY(-30%) rotate(-135deg)
}
.health-check-accordion-panel {
margin: 0;
padding: 1em 1.5em;
background: #fff;
}
.health-check-accordion-panel[hidden] {
display: none;
}
.health-check-accordion-panel a .dashicons {
text-decoration: none;
}
/* Better position for the WordPress admin notices and update nag. */
.site-health .notice {
@@ -301,29 +408,20 @@ are styled in the Privacy section of edit.css */
flex-shrink: 0;
}
/* Styling unique to the dashboard widget. */
#dashboard_site_health .site-health-details {
padding-left: 16px;
}
#dashboard_site_health .health-check-widget {
display: grid;
grid-template-columns: 1fr 2fr;
grid-auto-rows: minmax(64px, auto);
column-gap: 16px;
align-items: center;
}
#dashboard_site_health .site-health-progress-label {
margin-left: 0;
}
@media screen and (max-width: 480px) {
#dashboard_site_health .health-check-widget {
grid-template-columns: 100%;
}
}
@media screen and (max-width: 782px) {
.health-check-body {
margin: 0 12px;
width: auto;
}
.site-health .notice {
margin: 5px 10px 15px;
}
.site-health .update-nag {
margin-right: 10px;
margin-left: 10px;
}
.site-health-issues-wrapper .health-check-accordion-trigger {
flex-direction: column;
@@ -356,3 +454,10 @@ are styled in the Privacy section of edit.css */
}
}
/* The breakpoint is usually at 960px, the additional space is to allow for the margin. */
@media only screen and (max-width: 1004px) {
.health-check-body {
margin: 0 22px;
width: auto;
}
}

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