Compare commits

..

88 Commits

Author SHA1 Message Date
Sergey Biryukov
7d139785ea Tag 5.9.1
Built from https://develop.svn.wordpress.org/tags/5.9.1@52787


git-svn-id: http://core.svn.wordpress.org/tags/5.9.1@52376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-22 15:18:10 +00:00
audrasjb
ef7f72daec WordPress 5.9.1.
Built from https://develop.svn.wordpress.org/branches/5.9@52786


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-22 15:17:04 +00:00
audrasjb
d687a49c78 Help/About: Update the About page for WordPress 5.9.1.
Props hellofromTonya, audrasjb.
Fixes #55173.

Built from https://develop.svn.wordpress.org/branches/5.9@52785


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-22 11:05:07 +00:00
audrasjb
46da16fae1 Twenty Twenty-Two: Bump theme version to 1.1.
This change bumps the version of the Twenty Twenty-Two bundled theme in preparation for release with WordPress 5.9.1.

Props peterwilsoncc, petaryoast, audrasjb, SergeyBiryukov, rafiahmedd.
Merges [52781] to the 5.9 branch.
Fixes #55056.

Built from https://develop.svn.wordpress.org/branches/5.9@52782


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-21 21:15:04 +00:00
audrasjb
08e4416dd5 Post WordPress 5.9.1 RC1 version bump.
Built from https://develop.svn.wordpress.org/branches/5.9@52771


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-17 21:48:01 +00:00
audrasjb
2c2f8a21fd WordPress 5.9.1 RC1.
Built from https://develop.svn.wordpress.org/branches/5.9@52770


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-17 21:24:03 +00:00
hellofromTonya
614e78a804 Editor: Automatically apply global styles duotone filters to render in post editor.
Global styles duotone filters were not rendering in the post editor. This fixes that by adding `wp_global_styles_render_svg_filters` to the `in_admin_header` so it renders in the body before the editor.

Follow-up [52757].

Props ajlende, abhanonstopnewsuk.
Merges [52768] to the 5.9 branch.
Fixes #55190.
Built from https://develop.svn.wordpress.org/branches/5.9@52769


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-17 20:51:03 +00:00
hellofromTonya
f98ee7b892 Options: Disable transients while installing.
Prevent the transient setters and getters from attempting to use the database table before they exist during the installation process. 

During installation transients now use the `wp_cache_*()` functions on all sites, including those without a persistent cache, to prevent database errors. The use of the caching functions stores the data in memory for the duration of the request to account for transient data that is used multiple times during installation.

Props dd32, audrasjb, tnolte, antonvlasenko, noisysocks, peterwilsoncc.
Merges [52694] to the 5.9 branch.
Fixes #54849.
Built from https://develop.svn.wordpress.org/branches/5.9@52767


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-17 19:52:59 +00:00
audrasjb
a0cced6bba Editor: Update block editor packages for WordPress 5.9.1.
The following packages were updated:

- @wordpress/block-directory@3.0.27
- @wordpress/block-editor@8.0.17
- @wordpress/block-library@6.0.26
- @wordpress/components@19.2.3
- @wordpress/core-data@4.0.10
- @wordpress/customize-widgets@2.0.27
- @wordpress/e2e-tests@2.5.18
- @wordpress/edit-post@5.0.27
- @wordpress/edit-site@3.0.27
- @wordpress/edit-widgets@3.1.22
- @wordpress/editor@12.0.21
- @wordpress/format-library@3.0.23
- @wordpress/interface@4.1.18
- @wordpress/list-reusable-blocks@3.0.20
- @wordpress/nux@5.0.20
- @wordpress/reusable-blocks@3.0.23
- @wordpress/server-side-render@3.0.20
- @wordpress/widgets@2.0.23

Props Mamaduka.
Merges [52765] to the 5.9 branch.
See #55179.

Built from https://develop.svn.wordpress.org/branches/5.9@52766


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-17 19:42:26 +00:00
hellofromTonya
1a316fc555 Editor: Adds an additional check to guard against incompete presets.
Adds an additional guard to ensure the value of `$preset_metadata['value_key']` actually exists as a key in the `$preset` array. Fixes `Warning: Undefined array key` error. 

Intentionally adds the check into the existing `isset()` as it's native to PHP, more efficient, and a good pattern.

Follow-up [52049].

Props jeherve, swissspidy, sergeybiryukov, jrf.
Merges [52763] to the 5.9 branch.
Fixes #55161.
Built from https://develop.svn.wordpress.org/branches/5.9@52764


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-17 18:56:03 +00:00
hellofromTonya
93fbf22647 Script Loader: Prevent normalizing data URIs in _wp_normalize_relative_css_links().
This prevents making data URIs as in `mask-image:url('data:image/svg+xml;utf8,<svg...` relative to the WordPress installation.

Props staatic.
Merges [52754] to the 5.9 branch.
See #54243.
Fixes #55177.
Built from https://develop.svn.wordpress.org/branches/5.9@52762


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-17 18:00:00 +00:00
Sergey Biryukov
5b69c32e30 Filesystem API: Use a temp folder for Content-Disposition files.
#38231 added support for files fetched remotely to have their filename defined by the host using the `Content-Disposition` header. This would then take priority over the existing temporary file name created with `wp_tempnam()` earlier in the process.

The change unintentionally omitted the temporary directory path used during uploads, since the `wp_tempnam()` function would have added it previously, so that files with this header ended up being stored in the WordPress root folder, or wp-admin folder, when triggered by WP_Cron or user interactions respectively.

This change makes sure the file path includes the temporary directory location when the header is used.

Follow-up to [51939].

Props antonynz, azouamauriac, Clorith.
Merges [52734] and [52760] to the 5.9 branch.
Fixes #55109.
Built from https://develop.svn.wordpress.org/branches/5.9@52761


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-17 17:44:00 +00:00
audrasjb
affb772478 Editor: Backport Duotone fixes for 5.9.1.
This changeset is a backport for the following Gutenberg PRs:

- Fix duotone theme cache: https://github.com/WordPress/gutenberg/pull/36236
- Fix duotone render in non-fse themes gutenberg: https://github.com/WordPress/gutenberg/pull/37954
- Duotone: Allow users to specify custom filters gutenberg: https://github.com/WordPress/gutenberg/pull/38442

Props oandregal, scruffian, Mamaduka.
Merges [52757] to the 5.9 branch.
See #55179.

Built from https://develop.svn.wordpress.org/branches/5.9@52759


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-17 17:31:01 +00:00
audrasjb
0711ec9616 Docs: Typo corrections in class-wp-theme-json docblocks.
Props kebbet, hellofromtonya.
Merges [52692] to the 5.9 branch.
See #54729.

Built from https://develop.svn.wordpress.org/branches/5.9@52758


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-17 17:22:03 +00:00
hellofromTonya
18945d341b Editor: Grant only admins access to the "Navigation Menus" UI for block and non-block themes.
Restricts and grants access to only admin roles for the Navigation Menu UI screen, i.e. either directly through the URL wp-admin/edit.php?post_type=wp_navigation or via the Navigation block's "Manage menu" option (in the block's toolbar).

It resolves 2 issues:

- For non-block themes, fixes the issue where admins could not access the UI.
- For block themes, restricts access to only admin roles, i.e. non-admins no longer have access to the UI.

Non-admins will receive the "Sorry, you are not allowed to edit posts in this post type" error message.

Follow-up [52069], [52145], [52330], [52400].

Props ironprogrammer, costdev, noisysocks, talldanwp, hellofromTonya, manfcarlo, pyrobd.
Merges [52755] to the 5.9 branch.
Fixes #54889.
Built from https://develop.svn.wordpress.org/branches/5.9@52756


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-17 15:46:04 +00:00
jorgefilipecosta
be639d98c5 Global Styles: Load the global styles before the theme styles in the editor.
This commit makes the site editor follow what we do in the front-end, where theme styles are loaded after global styles by default.

Props oandregal, ntsekouras.
Merges [52752] to the 5.9 branch.
Fixes #55188.
Built from https://develop.svn.wordpress.org/branches/5.9@52753


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-17 14:19:04 +00:00
jorgefilipecosta
b9ccf1699b Global Styles: Fix PHP warning in WP_REST_Global_Styles_Controller if no styles exist.
There is a PHP warning in WP_REST_Global_Styles_Controller because we are assuming that every theme.json has styles property, which is not always the case.

Props ntsekouras.
Merges [52750] to the 5.9 branch.
Fixes #54900.
Built from https://develop.svn.wordpress.org/branches/5.9@52751


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-17 13:56:01 +00:00
jorgefilipecosta
c8d6cfeed9 Script Loader: Improvements to the load block support styles mechanism.
This commit applies feedback given to commit 52741. It changes the new function name, the file where it is located, and improves its documentation and marks.

Follow-up to [52741].
Props hellofromtonya, swissspidy, oandregal.
Merges [52743] to the 5.9 branch.
See #55148.
Built from https://develop.svn.wordpress.org/branches/5.9@52748


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-17 13:13:01 +00:00
jorgefilipecosta
c62ccfa0c2 Script Loader: Load block support styles in the head for block themes.
The dynamic block styles for layout and elements should be loaded in the head for block themes. While that should also be the case for classic themes, the current mechanism we use (render_block) does not allow us to do that, hence, this PR doesn't change anything for them and will be loaded the body.

Props oandregal, youknowriad, wpsoul.
Merges [52741] to the 5.9 branch.
Fixes #55148.
Built from https://develop.svn.wordpress.org/branches/5.9@52747


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-17 13:09:03 +00:00
audrasjb
db8abe34fd Themes: Allow extending WP_Theme_JSON and WP_Theme_JSON_Resolver classes.
This change updates methods visibility from `private` to `protected` and adds late static binding.

Original PRs from Gutenberg repository:
- https://github.com/WordPress/gutenberg/pull/38625
- https://github.com/WordPress/gutenberg/pull/38671

Props oandregal, Mamaduka, kapilpaul.
Merges [52744] to the 5.9 branch.
Fixes #55178.
See #55179.

Built from https://develop.svn.wordpress.org/branches/5.9@52746


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-17 11:15:05 +00:00
Dominik Schilling
309a44e152 Editor: Prevent front-end assets of a block from being enqueued in the block editor.
Since WordPress 5.9 you can set a view script for a block which is supposed to be only loaded on the front end. Unfortunately it's currently also loaded in the editor which can cause unexpected behaviour and also performance issues depending on the size of the scripts.
This is caused by the preloading of REST API routes via `block_editor_rest_api_preload()` which doesn't happen in an encapsulated process and so does pollute any global state like the one for scripts and styles.
Similar to the global `$post`, core now backups the globals `$wp_scripts` and `$wp_styles` and restores the backup after the preloading.

Props gziolo, ocean90.
Merges [52733] to the 5.9 branch.
Fixes #55151.
Built from https://develop.svn.wordpress.org/branches/5.9@52745


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-17 09:11:02 +00:00
audrasjb
341a54e73e Script Loader: Load block themes styles in the head section.
Previously, some logic was added to load the global stylesheet in the bottom of `<body>` for classic themes that opted-in into loading individual block styles instead of a single stylesheet for them all. At the time, block themes always loaded the global stylesheet in the `<head>`. When block themes landed in core during WordPress 5.9 this logic wasn’t updated to consider them, hence the global stylesheet loaded in the `<body>` for them. This changeset fixes this.

Props oandregal, aristath.
Merges [52738] to the 5.9 branch.
Fixes #55148.

Built from https://develop.svn.wordpress.org/branches/5.9@52739


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-16 10:55:04 +00:00
audrasjb
0600b07381 Administration: Fix a CSS issue on the Welcome Panel when the "Dashboard" heading is missing.
This change adds a CSS exception for when the "Dashboard" heading is missing or located below the Welcome Panel.

Props critterverse, sabernhardt, rolfsiebers, audrasjb.
Merges [52735] to the 5.9 branch.
Fixes #54977.

Built from https://develop.svn.wordpress.org/branches/5.9@52736


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-15 18:29:03 +00:00
audrasjb
5e7b029ff2 Widgets: Missing markup from Widgets Group block.
This change fixes an issue in the Widgets editor: widgets group was missing a `.wp-widget-group__inner-blocks` container.

Props noisysocks, ironprogrammer.
Merges [52730] to the 5.9 branch.
Fixes #55072.

Built from https://develop.svn.wordpress.org/branches/5.9@52731


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-15 10:33:02 +00:00
Peter Wilson
2ef6202356 External libraries: Update version string for hoverIntent.
Updating the version string will help invalidate caches, ensuring the new version of the library is loaded where applicable.

Follow-up to [52429].

Props david.binda, Clorith.
Merges [52673] to the 5.9 branch.
Fixes #54904.


Built from https://develop.svn.wordpress.org/branches/5.9@52729


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-15 02:48:59 +00:00
Peter Wilson
29ed36c8c6 Editor: Only render term update notices on term screens.
Prevent blank notices from appearing when adding custom fields or terms in the post editor.

Props gadhiyaravi, Boniu91, ravipatel, sabernhardt, joedolson.
Fixes #54955. See #42937.


Built from https://develop.svn.wordpress.org/branches/5.9@52728


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-15 02:45:04 +00:00
audrasjb
e97ddc2f84 Twenty Twenty-One: Allow editor styles to control block margins.
This change removes some overrides that prevented site editor updates in 5.9 from controlling vertical margins via `var(--global--spacing-vertical)`.

Props stacimc, Boniu91, aristath, ironprogrammer, nidhidhandhukiya.
Merges [52726] to the 5.9 branch.
Fixes #54250.

Built from https://develop.svn.wordpress.org/branches/5.9@52727


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-14 22:20:02 +00:00
audrasjb
240d281c9a Revert [52722].
This change was not intended to be backported to branch 5.9.

Unprops audrasjb.

Built from https://develop.svn.wordpress.org/branches/5.9@52723


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-13 21:29:59 +00:00
audrasjb
10b8f45f4f Twenty Fifteen: Add gradient background options using the theme color scheme.
This change implements gradient background options that fit the color scheme used in Twenty Fifteen.

Props ianbelanger, itsamoreh, pls78, audrasjb.
Fixes #49760.

Built from https://develop.svn.wordpress.org/branches/5.9@52722


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-13 21:05:02 +00:00
Sergey Biryukov
38a0dfe341 Update mergeinfo for the 5.9 branch.
Follow-up to [52541], [52542], [52579], [52590], [52632], [52688], [52709], [52712], [52714], [52715].
Built from https://develop.svn.wordpress.org/branches/5.9@52720


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-12 15:12:00 +00:00
audrasjb
fec51ff376 Query: Check if the theme supports block-templates before calling locate_block_template() in get_query_template().
This change improves performance for classic themes by removing an unnecessary query and fixes an issue where a classic theme would show "Empty template: Index" on the frontend when an empty `(block-)templates/index.html` file exists.

Props johnbillion, ianatkins, Mamaduka, costdev, manfcarlo, dolphingg, audrasjb, madeinua, kapilpaul, rafiahmedd, SergeyBiryukov.
Merges [52697] to the 5.9 branch.
Fixes #54844.

Built from https://develop.svn.wordpress.org/branches/5.9@52716


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-12 07:47:05 +00:00
audrasjb
7279f8bf12 Script Loader: Prevent normalizing HTML IDs in _wp_normalize_relative_css_links().
This change fixes an issue where `_wp_normalize_relative_css_links()` was not only matching urls, but also HTML IDs.

Follow-up to [52036].

Props mahype, costdev, audrasjb, SergeyBiryukov.
Merges [52695] to the 5.9 branch.
Fixes #54922.

Built from https://develop.svn.wordpress.org/branches/5.9@52715


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-11 22:53:01 +00:00
audrasjb
7ef1030432 Script Loader: Prevent normalizing HTML IDs in _wp_normalize_relative_css_links().
This change fixes an issue where `_wp_normalize_relative_css_links()` was not only matching urls, but also HTML IDs.

Follow-up to [52036].

Props mahype, costdev, audrasjb, SergeyBiryukov.
Merges [52695] to the 5.9 branch.
Fixes #54922.

Built from https://develop.svn.wordpress.org/branches/5.9@52714


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-11 22:44:00 +00:00
Sergey Biryukov
cf52bed1f4 Upgrade/Install: Make sure the "Show hidden updates" button is visible and works as expected.
The [https://api.jquery.com/toggle-event/ .toggle( handler, handler )] method signature was deprecated in jQuery 1.8 and removed in jQuery 1.9. 

This commit updates the click handler function to work with jQuery 1.9+.

Follow-up to [9441], [9543], [42785], [48323].

Props malinevskiy, Boniu91, SergeyBiryukov.
Merges [52644] to the 5.9 branch.
Fixes #54886.
Built from https://develop.svn.wordpress.org/branches/5.9@52713


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-11 22:11:02 +00:00
audrasjb
493585345f Editor: Remove standard post type UI for templates and template parts.
In [52158] the standard post type UI was added back for templates and template parts, because these features had been temporarily removed from the site editor in the rush to get 5.9 ready for December. Since 5.9 these features were properly added back to the site editor, the `show_ui` values for these post types should be returned back to `false`.

Follow-up to [52158].

Props manfcarlo, audrasjb.
Merges [52668] to the 5.9 branch.
Fixes #54908.

Built from https://develop.svn.wordpress.org/branches/5.9@52712


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-11 21:38:02 +00:00
Sergey Biryukov
07efa8047f Twenty Twenty-Two: Fix headings consistency in Pricing table pattern.
This change fixes a consistency issue where "Pigeon" was a h3, while "Sparrow" and "Falcon" were h2. Let's treat these birds equally 🐦

Props kjellr, jffng, audrasjb.
Merges [52681] to the 5.9 branch.
Fixes #54929.
Built from https://develop.svn.wordpress.org/branches/5.9@52711


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-11 21:30:02 +00:00
Sergey Biryukov
47123dd3c8 Twenty Twenty-Two: Optimize the assets/images/ducks.jpg image.
The new file should have a much better balance of quality and file size.

Follow-up to [52081], [52107].

Props kafleg, kjellr, jffng, kapilpaul.
Merges [52651] to the 5.9 branch.
Fixes #54911.
Built from https://develop.svn.wordpress.org/branches/5.9@52710


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-11 21:11:59 +00:00
Sergey Biryukov
0546145cfc Twenty Twenty-Two: Update mergeinfo after [52688].
See #54944, #55103.
Built from https://develop.svn.wordpress.org/branches/5.9@52709


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-11 21:10:03 +00:00
audrasjb
1dba1d9d5d Twenty Twenty-Two: Remove negative side margins on group blocks with a background.
This change fixes an issue where applying a background color to a group block aligned it to the left in the editor.

Props eddystile, audrasjb, webmandesign, sabernhardt, petaryoast, kjellr.
Merges [52679] and [52686] to the 5.9 branch.
Fixes #54944, #55103.

Built from https://develop.svn.wordpress.org/branches/5.9@52688


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-07 14:58:03 +00:00
Sergey Biryukov
9377cd9479 Tests: Rename the test file and class for wp_get_global_stylesheet() tests.
This matches the name of the function being tested.

Follow-up to [52675-52677].

Merges [52682] to the 5.9 branch.
See #54782.
Built from https://develop.svn.wordpress.org/branches/5.9@52683


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-05 13:25:01 +00:00
Sergey Biryukov
6b6f78705c Themes: Fix for Classic themes using default presets.
This commit makes the presets provided by the theme via `add_theme_support()` always create CSS Custom Properties, whether or not the theme has a `theme.json` file. This way, if the theme overwrites a core preset, the core CSS variables are also overwritten and use the theme value.

Props oandregal, hellofromTonya, desrosj, costdev, pbearne, johnstonphilip, webmandesign, jorgefilipecosta, SergeyBiryukov.
Merges [52675-52677] to the 5.9 branch.
Fixes #54782.
Built from https://develop.svn.wordpress.org/branches/5.9@52678


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-04 14:48:05 +00:00
Peter Wilson
1350b7df5b Twenty Twenty-Two: Replace GitHub with .org link in Theme URI.
Theme URI is the URL of a public web page where users can find more information about the theme. For bundled themes, it should be a link to the theme’s page on the Theme Repository.

Props kafleg, audrasjb.
Merges [52658] to the 5.9 branch.
Fixes #55018.


Built from https://develop.svn.wordpress.org/branches/5.9@52667


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-03 00:20:02 +00:00
Peter Wilson
d4457b0deb Twenty Twenty-Two: Make 404 pattern search label and button translatable.
This changes makes the Twenty Twenty-Two "hidden-404" pattern fully prepared for translation.

Props kjellr, walbo, audrasjb.
Merges [52664] to the 5.9 branch.
Fixes #54928.

Built from https://develop.svn.wordpress.org/branches/5.9@52666


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-03 00:15:02 +00:00
Peter Wilson
2385395bcc External libraries: Update jQuery UI to 1.13.1
Some regressions happened alongside the release of jQuery UI 1.13.0, this brings the fixes from 1.13.1 downstream to WordPress, notably relating to Widget, Autocomplete, Sortable, and Tooltip modules.

See the changelog between version 1.13.0 and 1.13.1 at https://github.com/jquery/jquery-ui/compare/1.13.0...1.13.1

Props blogaid, linux4me2, mgol, Clorith.
Merges [52648] to the 5.9 branch.
Fixes #54902.


Built from https://develop.svn.wordpress.org/branches/5.9@52665


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-03 00:04:02 +00:00
Peter Wilson
dc2fadfc1d Upgrade: Prevent warnings upgrading cron array.
An unvisited site may have an undefined cron array, resulting in `_get_cron_array()` returning the value `false`. Previously this would trigger warning in `upgrade_590()` as the function assumed `_get_cron_array()` would alway return an array.

No database version change is required as the upgrade routine was successful on sites with a cron array during 5.9.0. On sites without a cron array, the error has already been thrown if they are running db version 51917. This fix is only required for new sites or those upgrading that have skipped 5.9.0.

Follow up to [51917].

Props chrisvanpatten, kapilpaul, SergeyBiryukov, audrasjb.
Merges [52656] and [52662] to the 5.9 branch.
Fixes #54906.
See #53940.


Built from https://develop.svn.wordpress.org/branches/5.9@52663


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-02 23:26:02 +00:00
Sergey Biryukov
3ae9f9ffe3 Post WordPress 5.9 version bump.
The 5.9 branch is now 5.9.1-alpha.
Built from https://develop.svn.wordpress.org/branches/5.9@52643


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-25 21:32:03 +00:00
Sergey Biryukov
bde5705828 WordPress 5.9.
Built from https://develop.svn.wordpress.org/branches/5.9@52641


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-25 19:48:09 +00:00
Dion Hulse
0f50dc0a3d Bump Akismet external.
See https://core.trac.wordpress.org/ticket/54004


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-25 00:39:24 +00:00
Sergey Biryukov
6fb7e0d491 Upgrade/Install: Update $_old_files for 5.9.
Props davidbaumwald, hellofromTonya, SergeyBiryukov.
Merges [52637] to the 5.9 branch.
Fixes #54894.
Built from https://develop.svn.wordpress.org/branches/5.9@52638


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-24 18:35:00 +00:00
Sergey Biryukov
249c2f64ac Post WordPress 5.9 RC4 version bump.
Built from https://develop.svn.wordpress.org/branches/5.9@52636


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-24 17:02:00 +00:00
Sergey Biryukov
3a4625cfa9 WordPress 5.9 RC4.
Built from https://develop.svn.wordpress.org/branches/5.9@52635


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-24 16:34:02 +00:00
desrosj
10610241eb Editor: Bump editor packages to include the latest fixes.
This merges the latest package updates for the block editor to include the fix for https://github.com/WordPress/gutenberg/pull/38175.

Props hellofromTonya, mamaduka, joen, talldanwp, cbravobernal, poena.
Fixes #54487.
Built from https://develop.svn.wordpress.org/branches/5.9@52634


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-24 16:08:21 +00:00
audrasjb
be769a845d Docs: Docblock corrections for get_block_file_template().
Follow-up to [52324].

Props johnbillion, SergeyBiryukov, costdev.
Merges [52631] to the 5.9 branch.
Fixes #54879.

Built from https://develop.svn.wordpress.org/branches/5.9@52632


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-24 15:42:00 +00:00
Dominik Schilling
007af9e81c Tests: Revert [52617].
Following [52629], the tests no longer throw an exception.

See #54318.
See #54882.
Built from https://develop.svn.wordpress.org/branches/5.9@52630


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-24 12:56:00 +00:00
Dominik Schilling
72bc236da0 Plugins/Themes: Allow to install/activate plugins/themes which require the WordPress version currently in development.
Twenty Twenty-Two requires WordPress 5.9 but currently can't be (re)activated in the 5.9 branch because `version_compare( '5.9-RC3-52627', '5.9', '>=' )` as used by `is_wp_version_compatible()` returns `false`. To appreciate the testing of upcoming versions any `-alpha`, `-RC`, `-beta` suffixes are now stripped off from the WordPress version before checking for compatibility.

Merges [52628] to the 5.9 branch.

Fixes #54882.
Built from https://develop.svn.wordpress.org/branches/5.9@52629


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-24 12:51:00 +00:00
Peter Wilson
bf4135194e Help/About: Update Freedoms page for 5.9.
Props peterwilsoncc, audrasjb, mikeschroder.
Merges [52626] to the 5.9 branch.
Fixes #54270.


Built from https://develop.svn.wordpress.org/branches/5.9@52627


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-24 10:02:03 +00:00
noisysocks
58c5e512b1 Update @wordpress packages
Update packages to include these bug fixes from Gutenberg:

- Block Editor: Mark last change as persistent on save
- Site Editor: Restore ?styles=open functionality
- Site Editor: Fix resizable box scrollbars in blocks
- Add classic menus to menu switcher

See #54487.
Props talldanwp.

Built from https://develop.svn.wordpress.org/branches/5.9@52625


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-24 07:48:19 +00:00
noisysocks
baf5a1ccd3 Customizer: Remove Menus panel when a theme does not support menus
By overriding check_capabilities(), we can ensure that the Menus panel
is removed if a theme does not have support for 'menus' nor 'widgets'.

This ensures that the Menus panel does not appear when using a block
theme, which is confusing to users.

See #54888.
Props hellofromTonya, costdev, peterwilsoncc.

Built from https://develop.svn.wordpress.org/branches/5.9@52623


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-24 05:41:02 +00:00
desrosj
a143b8e52b Bundled Themes: Bump the versions for bundled themes for release.
This bumps the versions of the default bundled themes in preparation for release with WordPress 5.9.

The new versions are:
- Twenty Ten: 3.6
- Twenty Eleven: 4.0
- Twenty Twelve: 3.6
- Twenty Thirteen: 3.5
- Twenty Fourteen: 3.3
- Twenty Fifteen: 3.1
- Twenty Sixteen: 2.6
- Twenty Seventeen: 2.9
- Twenty Nineteen: 2.2
- Twenty Twenty: 1.9
- Twenty Twenty-One: 1.5

Props audrasjb.
Merges [52618] to the 5.9 branch
Fixes #54783.
Built from https://develop.svn.wordpress.org/branches/5.9@52619


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-22 15:21:04 +00:00
desrosj
6e63432e97 Tests: Temporarily add expected exceptions to a few theme tests.
These tests are failing after [52614], which raised the minimum version of WordPress required for Twenty Twenty-Two. Since the value of `$wp_version` is still less than 5.9, these are failing.

After `$wp_version` is officially bumped to `5.9`, these should be removed.

Props hellofromTonya, Clorith.
See #54318.
Built from https://develop.svn.wordpress.org/branches/5.9@52617


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-21 20:48:00 +00:00
desrosj
d2ba4618f1 Bundled Themes: Reverts [52549].
[52549] updated some default presets in use by default themes to the new format. However, this change would cause elements to lose their styling when active on an older version of WordPress.

Merges [52615] to the 5.9 branch.
See #54782.
Built from https://develop.svn.wordpress.org/branches/5.9@52616


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-21 19:55:00 +00:00
desrosj
2edf657e80 Twenty Twenty-Two: update the required version.
This commit updates the required WordPress version of the 2022 default theme to 5.9 in advance of its release on January 25.

Props hellofromtonya, kjellr, desrosj.
Merges [52612] and [52613] to the 5.9 branch.
Fixes #54318.
Built from https://develop.svn.wordpress.org/branches/5.9@52614


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-21 19:44:02 +00:00
Sergey Biryukov
52c5003b0e Post WordPress 5.9 RC3 version bump.
Built from https://develop.svn.wordpress.org/branches/5.9@52601


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-18 22:26:02 +00:00
Sergey Biryukov
a3a75ab286 WordPress 5.9 RC3.
Built from https://develop.svn.wordpress.org/branches/5.9@52600


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-18 22:06:00 +00:00
hellofromTonya
601582e0f8 Editor: @wordpress package updates.
Update packages to include these bug fixes from Gutenberg:
Navigation Block: update micromodal to 0.4.10 to fix menu close button on mobile

Props ryelle, poena, get_dave, talldanwp, aristath, kjellr, audrasjb, desrosj.
Merges [52598] to the 5.9 branch.
See #54487.
Built from https://develop.svn.wordpress.org/branches/5.9@52599


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-18 21:38:15 +00:00
noisysocks
b37d66554b Update @wordpress packages
Update packages to include these bug fixes from Gutenberg:

- Stop keypresses being caught by other elements when they happen in a CustomSelectControl
- Remove color, spacing, and layout options for Template Part block
- Try: parse shortcode blocks outside the content
- Fix aria-modal attribution with multiple navs on page
- Gallery block: Remove warning notice about mobile version required
- Fix Home template description typo 
- Fix enqueueing additional styles for blocks only when rendered
- fix typo (hanle -> handle)
- SelectControl: mark the children prop as optional
- Remove warning for enqueued styles in Editor
- Add context to font style and font weight related translation strings
- Temporarily remove text decoration from Nav block
- Fix empty secondary sidebar overlapping widget editor content on mobile viewports
- Fix hiding the bottom of tablet/mobile preview in Site Editor

See #54487.
Props isabel_brison.

Built from https://develop.svn.wordpress.org/branches/5.9@52596


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-18 03:42:26 +00:00
hellofromTonya
4a971cab75 Editor: Explicitly load remote block patterns in the block and site editor screens.
Remote block patterns from wp.org were to be loaded through a callback hooked into the `current_screen` filter. Within 2 callbacks, i.e. `_load_remote_featured_patterns()` and `_load_remote_block_patterns()`, a guard clause bailed out early if the `$current_screen->is_block_editor` is `false`.

However, the `current_screen` filter is unreliable to detect the block editor. Why? In the block and Site Editor screens, `$current_scren->is_block_editor` is not set until after the filter is executed. Whoopsie.

This commit no longer uses the `current_screen` filter. Instead, it explicitly loads the remote block patterns by invoking both private functions (now not callbacks) directly in the screen files for the block and site editor screens.

With this change, passing `WP_Screen` object into these functions is no longer needed. As the `_load_remote_block_patterns()` function was introduced in 5.8.0, its function parameter is now deprecated and the guard clause retained for backwards compatibility.

Follow-up to [51021], [52377].

Props poena, noisysocks, peterwilsoncc, hellofromTonya, audrasjb.
Merges [52593] to the 5.9 branch.
Fixes #54806.
Built from https://develop.svn.wordpress.org/branches/5.9@52594


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-17 22:50:01 +00:00
hellofromTonya
b9a42e2de2 Administration: Revert [51946].
Reverting changeset due to reported issue of menu being hidden after clicking on certain mobile devices.

Props dhusakovic, audrasjb, SergeyBiryukov, costdev, joedolson.
Reverts [51946] on the 5.9 branch.
See #54837, #53587.
Built from https://develop.svn.wordpress.org/branches/5.9@52592


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-17 20:40:02 +00:00
audrasjb
f7d196082e Twenty Twenty-Two: Sync updates from GitHub from RC3.
This commit syncs minor changes for the default theme from its active development repository to core.

This is a follow up to [52081], [52107], [52164], [52222], [52283], [52335], [52375], [52392], [52430], and [52555]. It includes fixes to the group, cover, and template part block padding and removes unnecessary group block wrappers from many patterns.

To view the full set of changes, visit 69d5c512c6...91f8748566.

Props kjellr, richtabor, audrasjb, jffng.
Merges [52589] to the 5.9 branch.
Fixes #54318.

Built from https://develop.svn.wordpress.org/branches/5.9@52590


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-17 16:02:02 +00:00
audrasjb
be39ef2434 Media: Add a missing / in post thumbnail lazy loading regex.
This change avoids a warning thrown by a missing slash in a post thumbnail lazyload related regular expression.

Follow-up to [52065].

Props SierraTR, audrasjb, costdev, flixos90.
Merges [52563] to the 5.9 branch.
Fixes #54815.

Built from https://develop.svn.wordpress.org/branches/5.9@52579


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-14 21:26:04 +00:00
Sergey Biryukov
bd28ecb009 Post WordPress 5.9 RC2 version bump.
Built from https://develop.svn.wordpress.org/branches/5.9@52567


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-11 20:41:02 +00:00
Sergey Biryukov
9c9abd5dde WordPress 5.9 RC2.
Built from https://develop.svn.wordpress.org/branches/5.9@52566


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-11 20:18:04 +00:00
ryelle
13d9b3c932 Help/About: Update the About section for 5.9.
Use the correct Field Guide link. Update the SVGs used on Freedoms and Privacy. Add more spacing between sections on the About page, fixed spacing between rows on Freedoms page.

Props critterverse, audrasjb, versusbassz.
Merges [52563] to the 5.9 branch.
See #54270.


Built from https://develop.svn.wordpress.org/branches/5.9@52565


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-11 18:45:00 +00:00
ryelle
f664f4d841 Administration: Update design of the Dashboard welcome panel.
Tone down the brightness of the dashboard panel by using a white background behind the main text, and use the highlight color from each color scheme for the main background. This also introduces a $scheme-name SCSS variable to allow overrides for specific color schemes.

Props critterverse, sabernhardt, joedolson, audrasjb.
Merges [52562] to the 5.9 branch.
Fixes #54489.


Built from https://develop.svn.wordpress.org/branches/5.9@52564


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-11 18:43:03 +00:00
hellofromTonya
3ff07f2d41 Site Editor: Fix typo in home template translatable description.
The home template's description should be: "Displays as the site's home page, or as the Posts page when a static home page isn't set." This commit fixes the typo changing "it" to "isn't".

Follow-up to [52331].

Props kharisblank, talldanwp.
Merges [52554] to the 5.9 branch.
Fixes #54787.
Built from https://develop.svn.wordpress.org/branches/5.9@52561


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-11 18:16:03 +00:00
davidbaumwald
8381166b05 Script Loader: Fix a variable typo in wp_enqueue_block_style.
In `wp_enqueue_block_style` when `rtl` versions of CSS files are detected, `wp_style_add_data` is called to add the metadata to the registered sheet. However, the stylesheet `handle` argument is misspelled as `hanle`. This change corrects the argument name.

Props omaeyusuke.
Merges [52558] to the 5.9 branch.
Fixes #54786.
Built from https://develop.svn.wordpress.org/branches/5.9@52560


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-11 18:15:03 +00:00
hellofromTonya
f6d340767a Editor: Fix enqueueing additional styles in wp_enqueue_block_style() to print only when blocks render.
In a block theme, additional block styles registered using the wp_enqueue_block_style function should only get printed when the block exists on a page. However, they currently always get 
rendered.

This commit is a backport from Gutenberg that fixes the issue by printing the styles when a block 
renders.

Follow-up to [52069].

Props poena, aristath, Mamaduka.
Merges [52556] to the 5.9 branch.
Fixes #54787.
Built from https://develop.svn.wordpress.org/branches/5.9@52559


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-11 18:00:02 +00:00
desrosj
e594e7957e Twenty Twenty-Two: Sync updates from GitHub for RC 2.
This commit syncs changes for the default theme from its active development repository to core.

This is a follow up to [52081], [52107], [52164], [52222], [52283], [52335], [52375], [52392], and [52430]. It includes fixes to the theme's spacing and adds a search template.

To view the full set of changes, visit 8564fd281f...f0346e1ad2.

Props richtabor, kjellr, danieldudzic, scruffian, jffng.
Merges [52555] to the 5.9 branch.
See #54318.
Built from https://develop.svn.wordpress.org/branches/5.9@52557


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-11 16:54:02 +00:00
noisysocks
a2a7b95580 Update packages to include these bug fixes from Gutenberg:
- [Block Library - Query Pagination Next]: Hide block if custom query has no results
- [WP 5.9] Fix: HTML tags like inline images in nav links break submenu layout
- Check for nextpage to display page links for paginated posts
- Navigation: Set the default for --navigation-layout-align to "flex-start" when using vertical orientation
- [Block Library - Query Loop]: Use gap for the grid view
- Update page list flex variables to match navigation.
- Site logo: Fix range control on landscape logo
- Restore canvas padding for classic themes
- RichText: Fix dead key input on Windows
- Fix: Impossible to clear colors if color palettes are removed.
- Gallery block: pass any custom attributes through the gallery v2 migration script
- Reduce specificity of legacy font sizes defined by core
- Update: Improve escaping on the search block

See #54487.
Props isabel_brison.

Built from https://develop.svn.wordpress.org/branches/5.9@52552


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-11 03:15:32 +00:00
jorgefilipecosta
db0d297ac3 Fix: Update some default presets in use by default themes to the new format.
Themes that use the same preset slugs as WordPress uses need to be updated.
From the devnote https://make.wordpress.org/core/2022/01/08/updates-for-settings-styles-and-theme-json/
The CSS for some of the presets defined by WordPress (font sizes, colors, and gradients) was loaded twice for most themes in WordPress 5.8: in the block-library stylesheet plus in the global stylesheet. Additionally, there were slight differences in the CSS in both places.
In WordPress 5.9 those were consolidated into a single place, the global stylesheet whose name is global-styles-inline-css that is now loaded for all themes in the front-end.
For themes to override the default values they can use the theme.json and provide the same slug. Themes that do not use a theme.json can still override the default values by enqueuing some CSS that sets the corresponding CSS Custom Property. This commit does the second for the twenty twenty theme.

Props oandregal.
Merges [52549] to the 5.9 branch.
Fixes #54782.
Built from https://develop.svn.wordpress.org/branches/5.9@52550


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-10 18:33:01 +00:00
jorgefilipecosta
4e9316f722 Fix: WordPress default presets aren't loaded for all themes.
The default preset styles of WordPress (font sizes, colors, gradients) are now provided via the global stylesheet to avoid duplication of styles. This stylesheet can be found in the front-end with the name global-styles-inline-css.
The default presets are important to support old content that may use them and also patterns, that can use cross-theme styles.

Props oandregal.
Merges [52547] to the 5.9 branch.
Fixes #54781.
Built from https://develop.svn.wordpress.org/branches/5.9@52548


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-10 17:59:02 +00:00
audrasjb
9f98c0997f Help/About: Change the Learn WP link in the about page.
The workshops page doesn't specifically show 5.9 content at this stage (and likely won't until much later), so it needs to be changed to learn.wordpress.org homepage.

Props hlashbrooke, audrasjb, davidbaumwald.
Merges [52453] to the 5.9 branch.
Fixes #54755.

Built from https://develop.svn.wordpress.org/branches/5.9@52542


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-08 07:58:00 +00:00
audrasjb
40bb9982f7 REST API: Typo correction in a link description object.
This change fixes a wrong punctuation in a link description object of the menu items controller endpoint. It also updates qUnit test fixtures accordingly.

Props la-geek, audrasjb, tobifjellner, hellofromtonya, davidbaumwald.
Merges [52535] and [52536] to the 5.9 branch.
Fixes #54745.

Built from https://develop.svn.wordpress.org/branches/5.9@52541


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-08 07:35:04 +00:00
desrosj
141807bc26 Formatting: Correctly encode ASCII characters in post slugs.
Merges [52457] to the 5.9 branch.
Props zieladam, whyisjake, xknown, peterwilsoncc, desrosj, iandunn.
Built from https://develop.svn.wordpress.org/branches/5.9@52464


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-06 17:36:03 +00:00
desrosj
742cbf86f3 Upgrade/Install: Avoid using unserialize() unnecessarily.
Merges [52456] to the 5.9 branch.
Props vortfu, xknown, dd32.
Built from https://develop.svn.wordpress.org/branches/5.9@52462


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


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


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-06 17:20:55 +00:00
Sergey Biryukov
5ba465b490 Branch 5.9
Built from https://develop.svn.wordpress.org/branches/5.9@52447


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-04 20:48:09 +00:00
2780 changed files with 345862 additions and 526891 deletions

View File

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

View File

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

View File

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

View File

@@ -22,252 +22,48 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<div class="about__header">
<div class="about__header-title">
<h1>
<?php
printf(
/* translators: %s: Version number. */
__( 'WordPress %s' ),
$display_version
);
?>
<?php _e( 'WordPress' ); ?>
<span class="screen-reader-text"><?php echo $display_version; ?></span>
</h1>
</div>
<div class="about__header-text"></div>
</div>
<nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
<a href="about.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'What&#8217;s New' ); ?></a>
<a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
<a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
<a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
<a href="contribute.php" class="nav-tab"><?php _e( 'Get Involved' ); ?></a>
</nav>
<div class="about__section">
<div class="column">
<h2 class="aligncenter">
<?php
printf(
/* translators: %s: Version number. */
__( 'Welcome to WordPress %s' ),
$display_version
);
?>
</h2>
<p class="is-subheading">
<?php _e( 'Every version of WordPress empowers your creative freedom, and WordPress 6.4 is no different. New features and upgrades to your site editing, design, and writing experience allow your ideas to take shape seamlessly. Elevate your site-building journey with the flexibility and power of WordPress 6.4.' ); ?>
</p>
<div class="about__header-text">
<?php _e( 'Build the site you&#8217;ve always wanted &#8212; with blocks' ); ?>
</div>
<nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
<a href="about.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'What&#8217;s New' ); ?></a>
<a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
<a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
<a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
</nav>
</div>
<div class="about__section has-2-columns has-accent-4-background-color is-wider-right">
<div class="column is-vertically-aligned-center">
<h3><?php _e( 'Say hello to<br>Twenty Twenty-Four' ); ?></h3>
<div class="about__section changelog">
<div class="column">
<h2><?php _e( 'Maintenance Release' ); ?></h2>
<p>
<?php
printf(
/* translators: %s: Introduction to Twenty Twenty-Four link. */
__( 'Experience the latest advancements in site editing with <a href="%s">Twenty Twenty-Four</a>. Built with three distinct use cases in mind, the versatility of the new default theme makes it an ideal choice for almost any type of website. Dive into its collection of templates and patterns and unlock a world of creative possibilities with just a few tweaks.' ),
__( 'https://make.wordpress.org/core/2023/08/24/introducing-twenty-twenty-four/' )
);
?>
</p>
</div>
<div class="column is-vertically-aligned-bottom is-edge-to-edge">
<div class="about__image">
<img src="https://s.w.org/images/core/6.4/1-Twenty-Twenty-Four.webp" alt="" height="600" width="600" />
</div>
</div>
</div>
<div class="about__section has-3-columns">
<div class="column">
<div class="about__image">
<img src="https://s.w.org/images/core/6.4/2-image-lightbox.webp" alt="" height="270" width="270" />
</div>
<h3 class="is-smaller-heading" style="margin-bottom:calc(var(--gap) / 4);"><?php _e( 'Add a lightbox effect to images' ); ?></h3>
<p><?php _e( 'Turn lightbox functionality on for interactive, full-screen images with a simple click. Apply it globally or to specific images to customize the viewing experience.' ); ?></p>
</div>
<div class="column">
<div class="about__image">
<img src="https://s.w.org/images/core/6.4/3-categorize-patterns.webp" alt="" height="270" width="270" />
</div>
<h3 class="is-smaller-heading" style="margin-bottom:calc(var(--gap) / 4);"><?php _e( 'Categorize and filter patterns' ); ?></h3>
<p><?php _e( 'Organize your synced and unsynced patterns with categories. Explore advanced filtering in the Patterns section of the inserter to find them all more intuitively.' ); ?></p>
</div>
<div class="column">
<div class="about__image">
<img src="https://s.w.org/images/core/6.4/4-command-palette.webp" alt="" height="270" width="270" />
</div>
<h3 class="is-smaller-heading" style="margin-bottom:calc(var(--gap) / 4);"><?php _e( 'Get more done with the Command Palette' ); ?></h3>
<p>
<?php
printf(
/* translators: %s: Command palette improvement link. */
__( 'Enjoy <a href="%s">a refreshed design and more commands</a> to find what you\'re looking for, perform tasks efficiently, and save time as you create.' ),
__( 'https://make.wordpress.org/core/2023/09/12/core-editor-improvement-commanding-the-command-palette/' )
);
?>
</p>
</div>
</div>
<div class="about__section has-3-columns">
<div class="column">
<div class="about__image">
<img src="https://s.w.org/images/core/6.4/5-renaming-groups.webp" alt="" height="270" width="270" />
</div>
<h3 class="is-smaller-heading" style="margin-bottom:calc(var(--gap) / 4);"><?php _e( 'Rename Group blocks' ); ?></h3>
<p><?php _e( 'Set custom names for Group blocks to easily organize and differentiate parts of your content. These names will be visible in List View.' ); ?></p>
</div>
<div class="column">
<div class="about__image">
<img src="https://s.w.org/images/core/6.4/6-image-preview.webp" alt="" height="270" width="270" />
</div>
<h3 class="is-smaller-heading" style="margin-bottom:calc(var(--gap) / 4);"><?php _e( 'Image previews in List View' ); ?></h3>
<p><?php _e( 'New media previews for Gallery and Image blocks in List View let you visualize and locate at a glance where images on your content are.' ); ?></p>
</div>
<div class="column">
<div class="about__image">
<img src="https://s.w.org/images/core/6.4/7-import-export-patterns.webp" alt="" height="270" width="270" />
</div>
<h3 class="is-smaller-heading" style="margin-bottom:calc(var(--gap) / 4);"><?php _e( 'Share patterns across sites' ); ?></h3>
<p><?php _e( 'Need to use your custom patterns on another site? It\'s simple! Import and export them as JSON files from the Site Editor\'s patterns view.' ); ?></p>
</div>
</div>
<div class="about__section has-2-columns has-subtle-background-color is-wider-left">
<div class="column is-vertically-aligned-center">
<div class="about__image">
<img src="https://s.w.org/images/core/6.4/8-captured-toolbar.webp" alt="" height="434" width="536" />
</div>
</div>
<div class="column is-vertically-aligned-center">
<h3><?php _e( 'Enjoy new writing improvements' ); ?></h3>
<p>
<?php
printf(
/* translators: %s: New enhancements link. */
__( '<a href="%s">New enhancements</a> ensure your content creation journey is smooth. Find new keyboard shortcuts in List View, refined list merging, and enhanced control over link settings. A revamped and cohesive toolbar experience for Navigation, List, and Quote blocks lets you efficiently work with the tooling options you need.' ),
__( 'https://make.wordpress.org/core/2023/10/05/core-editor-improvement-ensuring-excellence-in-the-writing-experience/' )
);
?>
</p>
</div>
</div>
<div class="about__section has-2-columns">
<div class="column is-vertically-aligned-center">
<h3><?php _e( 'Build your creative vision with more design tools' ); ?></h3>
<p><?php _e( 'Get creative with new background images in Group blocks and ensure consistent image dimensions with placeholder aspect ratios. Do you want to add buttons to your Navigation block? You can now do it conveniently without custom CSS. If you\'re working with synced patterns, alignment settings stay intact for a seamless pattern creation experience.' ); ?></p>
</div>
<div class="column is-vertically-aligned-center">
<div class="about__image">
<img src="https://s.w.org/images/core/6.4/9-design-tools.webp" alt="" height="355" width="436" />
</div>
</div>
</div>
<div class="about__section has-2-columns">
<div class="column is-vertically-aligned-center">
<div class="about__image">
<img src="https://s.w.org/images/core/6.4/10-block-hooks.webp" alt="" height="436" width="436" />
</div>
</div>
<div class="column is-vertically-aligned-center">
<h3><?php _e( 'Introducing Block Hooks' ); ?></h3>
<p><?php _e( 'Block Hooks is a new powerful feature that enables plugins to auto-insert blocks into content relative to another block. Think of it as recommendations to make your work with blocks more intuitive. A new "Plugins" panel gives you complete control to match them to your needs—add, dismiss, and rearrange Block Hooks as desired.' ); ?></p>
</div>
</div>
<div class="about__section has-2-columns">
<div class="column">
<div class="about__image">
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
<rect width="48" height="48" rx="4" fill="#CFCABE"/>
<path d="M25.7781 16.8569L25.8 22.8573L28.9984 22.8572C29.805 22.8572 30.2796 23.6339 29.8204 24.2024L23.8213 31.6292C23.2633 32.3201 22.2013 31.9819 22.2013 31.1416L22.2 25.1481H19.0016C18.1961 25.1481 17.7212 24.3733 18.1782 23.8047L24.1496 16.3722C24.7055 15.6804 25.7749 16.0169 25.7781 16.8569Z" fill="#151515"/>
</svg>
</div>
<h3 style="margin-top:calc(var(--gap) * 0.75);margin-bottom:calc(var(--gap) * 0.5)"><?php _e( 'Performance' ); ?></h3>
<p><?php _e( 'WordPress 6.4 includes more than 100 performance updates for a faster and more efficient experience. Enhancements focus on template loading performance for Block Themes and Classic Themes, usage of the script loading strategies “defer” and “async” in core, blocks, and themes, and optimization of autoloaded options.' ); ?></p>
</div>
<div class="column">
<div class="about__image">
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
<rect width="48" height="48" rx="4" fill="#CFCABE"/>
<path d="M24 18.285C23.55 18.285 23.1638 18.1237 22.8413 17.8012C22.5188 17.4788 22.3575 17.0925 22.3575 16.6425C22.3575 16.1925 22.5188 15.8062 22.8413 15.4837C23.1638 15.1612 23.55 15 24 15C24.45 15 24.8363 15.1612 25.1588 15.4837C25.4813 15.8062 25.6425 16.1925 25.6425 16.6425C25.6425 17.0925 25.4813 17.4788 25.1588 17.8012C24.8363 18.1237 24.45 18.285 24 18.285ZM21.5925 33V21.0075C20.5725 20.9325 19.5863 20.8275 18.6338 20.6925C17.6813 20.5575 16.77 20.385 15.9 20.175L16.2375 18.825C17.5125 19.125 18.78 19.3387 20.04 19.4662C21.3 19.5938 22.62 19.6575 24 19.6575C25.38 19.6575 26.7 19.5938 27.96 19.4662C29.22 19.3387 30.4875 19.125 31.7625 18.825L32.1 20.175C31.23 20.385 30.3187 20.5575 29.3663 20.6925C28.4137 20.8275 27.4275 20.9325 26.4075 21.0075V33H25.0575V27.15H22.9425V33H21.5925Z" fill="#151515"/>
</svg>
</div>
<h3 style="margin-top:calc(var(--gap) * 0.75);margin-bottom:calc(var(--gap) * 0.5)"><?php _e( 'Accessibility' ); ?></h3>
<p><?php _e( 'Every release is committed to making WordPress accessible to everyone. 6.4 brings List View improvements and aria-label support for the Navigation block, among other highlights. The admin user interface (UI) includes enhancements to button placements, "Add New" menu items context, and Site Health spoken messages.' ); ?></p>
</div>
</div>
<div class="about__section has-3-columns">
<div class="column about__image is-vertically-aligned-top">
<img src="<?php echo esc_url( admin_url( 'images/about-release-badge.svg?ver=6.4' ) ); ?>" alt="" height="270" width="270" />
</div>
<div class="column is-vertically-aligned-center" style="grid-column-end:span 2">
<h3>
<?php
printf(
/* translators: %s: Version number. */
__( 'Learn more about WordPress %s' ),
$display_version
);
?>
</h3>
<p>
<?php
printf(
/* translators: 1: Learn WordPress link, 2: Workshops link. */
__( '<a href="%1$s">Learn WordPress</a> is a free resource for new and experienced WordPress users. Learn is stocked with how-to videos on using various features in WordPress, <a href="%2$s">interactive workshops</a> for exploring topics in-depth, and lesson plans for diving deep into specific areas of WordPress.' ),
'https://learn.wordpress.org/',
'https://learn.wordpress.org/online-workshops/'
);
?>
</p>
</div>
</div>
<div class="about__section has-2-columns">
<div class="column">
<div class="about__image">
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
<rect width="48" height="48" rx="4" fill="#CFCABE"/>
<path d="M23 34v-4h-5l-2.293-2.293a1 1 0 0 1 0-1.414L18 24h5v-2h-7v-6h7v-2h2v2h5l2.293 2.293a1 1 0 0 1 0 1.414L30 22h-5v2h7v6h-7v4h-2Zm-5-14h11.175l.646-.646a.5.5 0 0 0 0-.708L29.175 18H18v2Zm.825 8H30v-2H18.825l-.646.646a.5.5 0 0 0 0 .708l.646.646Z" fill="#151515"/>
</svg>
</div>
<p style="margin-top:calc(var(--gap) / 2);">
<?php
printf(
/* translators: 1: WordPress Field Guide link, 2: WordPress version number. */
__( 'Explore the <a href="%1$s">WordPress %2$s Field Guide</a>. Learn about the changes in this release with detailed developer notes to help you build with WordPress.' ),
__( 'https://make.wordpress.org/core/2023/10/23/wordpress-6-4-field-guide/' ),
'6.4'
);
?>
</p>
</div>
<div class="column">
<div class="about__image">
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
<rect width="48" height="48" rx="4" fill="#CFCABE"/>
<path d="M28 19.75h-8v1.5h8v-1.5ZM20 23h8v1.5h-8V23ZM26 26.25h-6v1.5h6v-1.5Z" fill="#151515"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M29 16H19a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V18a2 2 0 0 0-2-2Zm-10 1.5h10a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5H19a.5.5 0 0 1-.5-.5V18a.5.5 0 0 1 .5-.5Z" fill="#151515"/>
</svg>
</div>
<p style="margin-top:calc(var(--gap) / 2);">
<?php
printf(
/* translators: 1: WordPress Release Notes link, 2: WordPress version number. */
__( '<a href="%1$s">Read the WordPress %2$s Release Notes</a> for information on installation, enhancements, fixed issues, release contributors, learning resources, and the list of file changes.' ),
sprintf(
/* translators: %s: WordPress version number. */
esc_url( __( 'https://wordpress.org/documentation/wordpress-version/version-%s/' ) ),
'6-4'
/* translators: 1: WordPress version number, 2: plural number of bugs. */
_n(
'<strong>Version %1$s</strong> addressed %2$s bug.',
'<strong>Version %1$s</strong> addressed %2$s bugs.',
82
),
'6.4'
'5.9.1',
number_format_i18n( 82 )
);
?>
<?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.9.1' )
)
);
?>
</p>
@@ -276,22 +72,269 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<hr class="is-large" />
<div class="return-to-dashboard">
<?php
if ( isset( $_GET['updated'] ) && current_user_can( 'update_core' ) ) {
printf(
'<a href="%1$s">%2$s</a> | ',
esc_url( self_admin_url( 'update-core.php' ) ),
is_multisite() ? __( 'Go to Updates' ) : __( 'Go to Dashboard &rarr; Updates' )
);
}
<div class="about__section">
<h2 class="aligncenter">
<?php _e( 'Full Site Editing is here' ); ?>
</h2>
<p class="aligncenter is-subheading">
<?php _e( 'It puts you in control of your whole site, right in the WordPress Admin.' ); ?>
</p>
</div>
printf(
'<a href="%1$s">%2$s</a>',
esc_url( self_admin_url() ),
is_blog_admin() ? __( 'Go to Dashboard &rarr; Home' ) : __( 'Go to Dashboard' )
);
?>
<hr />
<div class="about__section has-2-columns has-gutters is-wider-left">
<div class="column about__image is-vertically-aligned-center is-edge-to-edge">
<img src="https://s.w.org/images/core/5.9/twenty-twenty-two.png" alt="" />
</div>
<div class="column is-edge-to-edge">
<h3>
<?php _e( 'Say hello to Twenty Twenty&#8209;Two' ); ?>
</h3>
<p>
<?php _e( 'And say hello to the first default block theme in the history of WordPress. This is more than just a new default theme. It&#8217;s a brand-new way to work with WordPress themes.' ); ?>
</p>
<p>
<?php _e( 'Block themes put a wide array of visual choices in your hands, from color schemes and typeface combinations to page templates and image filters &#8212; all together, in the site editing interface. By making changes in one place, you can give Twenty Twenty&#8209;Two the same look and feel as your brand or other websites &#8212; or take your site&#8217;s look in another direction.' ); ?>
</p>
<?php if ( current_user_can( 'switch_themes' ) ) : ?>
<p>
<?php
printf(
/* translators: %s: Link to Themes screen. */
__( 'The Twenty Twenty&#8209;Two theme is already available to you. It came installed with WordPress 5.9, and you will find it with <a href="%s">your other installed themes</a>.' ),
admin_url( 'themes.php' )
);
?>
</p>
<?php endif; ?>
</div>
</div>
<div class="about__section has-2-columns has-gutters is-wider-right">
<div class="column is-edge-to-edge">
<h3>
<?php _e( 'Your personal paintbox awaits' ); ?>
</h3>
<p>
<?php _e( 'More block themes built for full site editing features are in the Theme Directory alongside the Twenty Twenty&#8209;Two theme, just waiting to be explored. Expect more to come!' ); ?>
</p>
<p>
<?php _e( 'When you use any of those new themes, you no longer need the Customizer. Instead, you have all the power of the Styles interface inside the Site Editor. Just as in Twenty Twenty&#8209;Two, you build your site&#8217;s look and feel there, with the tools you need for the job in a fluid interface that practically comes alive in your hands.' ); ?>
</p>
</div>
<div class="column about__image is-vertically-aligned-center is-edge-to-edge">
<img src="https://s.w.org/images/core/5.9/global-styles.png" alt="" />
</div>
</div>
<div class="about__section has-2-columns has-gutters is-wider-left">
<div class="column about__image is-vertically-aligned-center is-edge-to-edge">
<img src="https://s.w.org/images/core/5.9/navigation-block.png" alt="" />
</div>
<div class="column is-edge-to-edge">
<h3>
<?php _e( 'The Navigation block' ); ?>
</h3>
<p>
<?php _e( 'Blocks come to site navigation, the heart of user experience.' ); ?>
</p>
<p>
<?php _e( 'The new Navigation block gives you the power to choose: an always-on responsive menu or one that adapts to your user&#8217;s screen size. Whatever you create, know it&#8217;s there to reuse wherever you like, whether in a brand new template or after switching themes.' ); ?>
</p>
</div>
</div>
<hr class="is-large" />
<div class="about__section">
<h2 class="aligncenter">
<?php _e( 'More improvements and updates' ); ?>
</h2>
<p class="aligncenter is-subheading">
<?php _e( 'Do you love to blog or produce content? New tweaks to the publishing flow help you say more, faster.' ); ?>
</p>
</div>
<hr />
<div class="about__section has-2-columns has-gutters is-wider-left">
<div class="column about__image is-vertically-aligned-center is-edge-to-edge">
<img src="https://s.w.org/images/core/5.9/block-controls.png" alt="" />
</div>
<div class="column is-edge-to-edge">
<h3>
<?php _e( 'Better block controls' ); ?>
</h3>
<p>
<?php _e( 'WordPress 5.9 features new typography tools, flexible layout controls, and finer control over details like spacing, borders, and more &#8212; to help you get not just the look, but the polish that says you care about details.' ); ?>
</p>
</div>
</div>
<div class="about__section has-2-columns has-gutters is-wider-right">
<div class="column is-edge-to-edge">
<h3>
<?php _e( 'The power of patterns' ); ?>
</h3>
<p>
<?php _e( 'The WordPress Pattern Directory is the home of a wide range of block patterns built to save you time and add core site functionality. And you can edit them as you see fit. Need something different in the header or footer for your theme? Swap it out with a new one in a few clicks.' ); ?>
</p>
<p>
<?php _e( 'With a near full-screen view that draws you in to see fine details, the Pattern Explorer makes it easy to compare patterns and choose the one your users will expect.' ); ?>
</p>
</div>
<div class="column about__image is-vertically-aligned-center is-edge-to-edge">
<img src="https://s.w.org/images/core/5.9/pattern-explorer.png" alt="" />
</div>
</div>
<div class="about__section has-2-columns has-gutters is-wider-left">
<div class="column about__image is-vertically-aligned-center is-edge-to-edge">
<img src="https://s.w.org/images/core/5.9/list-view.png" alt="" />
</div>
<div class="column is-edge-to-edge">
<h3>
<?php _e( 'A revamped List View' ); ?>
</h3>
<p>
<?php _e( 'In 5.9, the List View lets you drag and drop your content exactly where you want it. Managing complex documents is easier, too: simple controls let you expand and collapse sections as you build your site &#8212; and add HTML anchors to your blocks to help users get around the page.' ); ?>
</p>
</div>
</div>
<div class="about__section has-2-columns has-gutters is-wider-right">
<div class="column is-edge-to-edge">
<h3>
<?php _e( 'A better Gallery block' ); ?>
</h3>
<p>
<?php _e( 'Treat every image in a Gallery block the same way you would treat it in the Image block.' ); ?>
</p>
<p>
<?php _e( 'Style every image in your gallery differently from the next (with different crops, or duotones, for instance) or make them all the same. And change the layout with drag-and-drop.' ); ?>
</p>
</div>
<div class="column about__image is-vertically-aligned-center is-edge-to-edge">
<img src="https://s.w.org/images/core/5.9/gallery-block.png" alt="" />
</div>
</div>
<hr class="is-large" />
<div class="about__section">
<h2 class="aligncenter" style="margin-bottom:0;">
<?php
printf(
/* translators: %s: Version number. */
__( 'WordPress %s for developers' ),
$display_version
);
?>
</h2>
</div>
<div class="about__section has-gutters has-2-columns">
<div class="column is-edge-to-edge">
<h3>
<?php _e( 'Introducing block themes' ); ?>
</h3>
<p>
<?php
printf(
/* translators: %s: Block-based themes dev note link. */
__( 'A new way to build themes: Block themes use blocks to define the templates that structure your entire site. The new templates and template parts are defined in HTML and use the custom styling offered in theme.json. More information is available in the <a href="%s">block themes dev note</a>.' ),
'https://make.wordpress.org/core/2022/01/04/block-themes-a-new-way-to-build-themes-in-wordpress-5-9/'
);
?>
</p>
</div>
<div class="column is-edge-to-edge">
<h3>
<?php _e( 'Multiple stylesheets for a block' ); ?>
</h3>
<p>
<?php
printf(
/* translators: %s: Multiple stylesheets dev note link. */
__( 'Now you can register more than one stylesheet per block. You can use this to share styles across blocks you write, or to load styles for individual blocks, so your styles are only loaded when the block is used. Find out more about <a href="%s">using multiple stylesheets in a block</a>.' ),
'https://make.wordpress.org/core/2021/12/15/using-multiple-stylesheets-per-block/'
);
?>
</p>
</div>
</div>
<div class="about__section has-gutters has-2-columns">
<div class="column is-edge-to-edge">
<h3>
<?php _e( 'Block&#8209;level locking' ); ?>
</h3>
<p>
<?php _e( 'Now you can lock any block (or a few of them) in a pattern, just by adding a lock attribute to its settings in block.json &#8212; leaving the rest of the pattern free for site editors to adapt to their content.' ); ?>
</p>
</div>
<div class="column is-edge-to-edge">
<h3>
<?php _e( 'A refactored Gallery block' ); ?>
</h3>
<p>
<?php
printf(
/* translators: %s: Gallery Refactor dev note link. */
__( 'The changes to the Gallery block listed above are the result of a near-complete refactoring. Have you built a plugin or theme on the Gallery block functionality? Be sure to read the <a href="%s">Gallery block compatibility dev note</a>.' ),
'https://make.wordpress.org/core/2021/08/20/gallery-block-refactor-dev-note/'
);
?>
</p>
</div>
</div>
<hr class="is-large" />
<div class="about__section has-subtle-background-color has-2-columns is-wider-right">
<div class="column about__image is-vertically-aligned-center">
<img src="https://s.w.org/images/core/5.9/learn-video.png" alt="" />
</div>
<div class="column">
<h3><?php _e( 'Learn more about the new features in 5.9' ); ?></h3>
<p>
<?php
printf(
/* translators: %s: Learn WordPress link. */
__( 'Want to dive into 5.9 but don&#8217;t know where to start? Visit <a href="%s">learn.wordpress.org</a> for expanding resources on new features in WordPress 5.9.' ),
'https://learn.wordpress.org'
);
?>
</p>
</div>
</div>
<hr class="is-large" />
<div class="about__section">
<div class="column">
<h3><?php _e( 'Check the Field Guide for more!' ); ?></h3>
<p>
<?php
printf(
/* translators: %s: WordPress 5.9 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.9 Field Guide.</a>' ),
'https://make.wordpress.org/core/2022/01/10/wordpress-5-9-field-guide/'
);
?>
</p>
</div>
</div>
<hr />
<div class="return-to-dashboard">
<?php if ( current_user_can( 'update_core' ) && isset( $_GET['updated'] ) ) : ?>
<a href="<?php echo esc_url( self_admin_url( 'update-core.php' ) ); ?>">
<?php is_multisite() ? _e( 'Go to Updates' ) : _e( 'Go to Dashboard &rarr; Updates' ); ?>
</a> |
<?php endif; ?>
<a href="<?php echo esc_url( self_admin_url() ); ?>"><?php is_blog_admin() ? _e( 'Go to Dashboard &rarr; Home' ) : _e( 'Go to Dashboard' ); ?></a>
</div>
</div>
@@ -336,15 +379,3 @@ _n_noop(
/* translators: %s: Documentation URL. */
__( 'For more information, see <a href="%s">the release notes</a>.' );
/* translators: 1: WordPress version number, 2: Link to update WordPress */
__( 'Important! Your version of WordPress (%1$s) is no longer supported, you will not receive any security updates for your website. To keep your site secure, please <a href="%2$s">update to the latest version of WordPress</a>.' );
/* translators: 1: WordPress version number, 2: Link to update WordPress */
__( 'Important! Your version of WordPress (%1$s) will stop receiving security updates in the near future. To keep your site secure, please <a href="%2$s">update to the latest version of WordPress</a>.' );
/* translators: %s: The major version of WordPress for this branch. */
__( 'This is the final release of WordPress %s' );
/* translators: The localized WordPress download URL. */
__( 'https://wordpress.org/download/' );

View File

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

View File

@@ -18,11 +18,11 @@ if ( ! defined( 'WP_ADMIN' ) ) {
* @global string $hook_suffix
* @global WP_Screen $current_screen WordPress current screen object.
* @global WP_Locale $wp_locale WordPress date and time locale object.
* @global string $pagenow The filename of the current screen.
* @global string $pagenow
* @global string $update_title
* @global int $total_update_count
* @global string $parent_file
* @global string $typenow The post type of the current screen.
* @global string $typenow
*/
global $title, $hook_suffix, $current_screen, $wp_locale, $pagenow,
$update_title, $total_update_count, $parent_file, $typenow;
@@ -109,7 +109,7 @@ var ajaxurl = '<?php echo esc_js( admin_url( 'admin-ajax.php', 'relative' ) ); ?
<?php
/**
* Fires when enqueuing scripts for all admin pages.
* Enqueue scripts for all admin pages.
*
* @since 2.8.0
*
@@ -242,7 +242,7 @@ unset( $error_get_last );
$admin_body_classes = apply_filters( 'admin_body_class', '' );
$admin_body_classes = ltrim( $admin_body_classes . ' ' . $admin_body_class );
?>
<body class="wp-admin wp-core-ui no-js <?php echo esc_attr( $admin_body_classes ); ?>">
<body class="wp-admin wp-core-ui no-js <?php echo $admin_body_classes; ?>">
<script type="text/javascript">
document.body.className = document.body.className.replace('no-js','js');
</script>

View File

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

View File

@@ -116,16 +116,16 @@ $time_format = __( 'g:i a' );
wp_enqueue_script( 'common' );
/**
* $pagenow is set in vars.php.
* $wp_importers is sometimes set in wp-admin/includes/import.php.
* The remaining variables are imported as globals elsewhere, declared as globals here.
* $pagenow is set in vars.php
* $wp_importers is sometimes set in wp-admin/includes/import.php
* The remaining variables are imported as globals elsewhere, declared as globals here
*
* @global string $pagenow The filename of the current screen.
* @global string $pagenow
* @global array $wp_importers
* @global string $hook_suffix
* @global string $plugin_page
* @global string $typenow The post type of the current screen.
* @global string $taxnow The taxonomy of the current screen.
* @global string $typenow
* @global string $taxnow
*/
global $pagenow, $wp_importers, $hook_suffix, $plugin_page, $typenow, $taxnow;
@@ -348,7 +348,7 @@ if ( isset( $plugin_page ) ) {
define( 'WP_IMPORTING', true );
/**
* Filters whether to filter imported data through kses on import.
* Whether to filter imported data through kses on import.
*
* Multisite uses this hook to filter all data through kses by default,
* as a super administrator may be assisting an untrusted user.
@@ -376,7 +376,7 @@ if ( isset( $plugin_page ) ) {
* The load-* hook fires in a number of contexts. This hook is for core screens.
*
* The dynamic portion of the hook name, `$pagenow`, is a global variable
* referring to the filename of the current screen, such as 'admin.php',
* referring to the filename of the current page, such as 'admin.php',
* 'post-new.php' etc. A complete hook for the latter would be
* 'load-post-new.php'.
*

View File

@@ -74,7 +74,7 @@ if ( isset( $_REQUEST['attachment_id'] ) && (int) $_REQUEST['attachment_id'] &&
</span>
<?php
if ( current_user_can( 'edit_post', $id ) ) {
echo '<a class="edit-attachment" href="' . esc_url( get_edit_post_link( $id ) ) . '">' . _x( 'Edit', 'media item' ) . '</a>';
echo '<a class="edit-attachment" href="' . esc_url( get_edit_post_link( $id ) ) . '" target="_blank">' . _x( 'Edit', 'media item' ) . '</a>';
} else {
echo '<span class="edit-attachment">' . _x( 'Success', 'media item' ) . '</span>';
}
@@ -113,8 +113,8 @@ if ( isset( $_REQUEST['post_id'] ) ) {
$id = media_handle_upload( 'async-upload', $post_id );
if ( is_wp_error( $id ) ) {
$message = sprintf(
'%s <strong>%s</strong><br />%s',
printf(
'<div class="error-div error">%s <strong>%s</strong><br />%s</div>',
sprintf(
'<button type="button" class="dismiss button-link" onclick="jQuery(this).parents(\'div.media-item\').slideUp(200, function(){jQuery(this).remove();});">%s</button>',
__( 'Dismiss' )
@@ -126,13 +126,6 @@ if ( is_wp_error( $id ) ) {
),
esc_html( $id->get_error_message() )
);
wp_admin_notice(
$message,
array(
'additional_classes' => array( 'error-div', 'error' ),
'paragraph_wrap' => false,
)
);
exit;
}

View File

@@ -137,16 +137,9 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<div class="wrap">
<h1><?php echo esc_html( $title ); ?></h1>
<?php
if ( is_wp_error( $error ) ) {
wp_admin_notice(
$error->get_error_message(),
array(
'type' => 'error',
)
);
}
?>
<?php if ( is_wp_error( $error ) ) : ?>
<div class="notice notice-error"><p><?php echo $error->get_error_message(); ?></p></div>
<?php endif; ?>
<div class="card auth-app-card">
<h2 class="title"><?php _e( 'An application would like to connect to your account.' ); ?></h2>
@@ -168,29 +161,17 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
if ( is_multisite() ) {
$blogs = get_blogs_of_user( $user->ID, true );
$blogs_count = count( $blogs );
if ( $blogs_count > 1 ) {
?>
<p>
<?php
/* translators: 1: URL to my-sites.php, 2: Number of sites the user has. */
$message = _n(
'This will grant access to <a href="%1$s">the %2$s site in this installation that you have permissions on</a>.',
'This will grant access to <a href="%1$s">all %2$s sites in this installation that you have permissions on</a>.',
$blogs_count
);
if ( is_super_admin() ) {
/* translators: 1: URL to my-sites.php, 2: Number of sites the user has. */
$message = _n(
'This will grant access to <a href="%1$s">the %2$s site on the network as you have Super Admin rights</a>.',
'This will grant access to <a href="%1$s">all %2$s sites on the network as you have Super Admin rights</a>.',
$blogs_count
);
}
printf(
$message,
/* translators: 1: URL to my-sites.php, 2: Number of sites the user has. */
_n(
'This will grant access to <a href="%1$s">the %2$s site in this installation that you have permissions on</a>.',
'This will grant access to <a href="%1$s">all %2$s sites in this installation that you have permissions on</a>.',
$blogs_count
),
admin_url( 'my-sites.php' ),
number_format_i18n( $blogs_count )
);
@@ -201,25 +182,24 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
}
?>
<?php
if ( $new_password ) :
$message = '<p class="application-password-display">
<label for="new-application-password-value">' . sprintf(
/* translators: %s: Application name. */
esc_html__( 'Your new password for %s is:' ),
'<strong>' . esc_html( $app_name ) . '</strong>'
) . '
</label>
<input id="new-application-password-value" type="text" class="code" readonly="readonly" value="' . esc_attr( WP_Application_Passwords::chunk_password( $new_password ) ) . '" />
</p>
<p>' . __( 'Be sure to save this in a safe location. You will not be able to retrieve it.' ) . '</p>';
$args = array(
'type' => 'success',
'additional_classes' => array( 'notice-alt', 'below-h2' ),
'paragraph_wrap' => false,
);
wp_admin_notice( $message, $args );
<?php if ( $new_password ) : ?>
<div class="notice notice-success notice-alt below-h2">
<p class="application-password-display">
<label for="new-application-password-value">
<?php
printf(
/* translators: %s: Application name. */
esc_html__( 'Your new password for %s is:' ),
'<strong>' . esc_html( $app_name ) . '</strong>'
);
?>
</label>
<input id="new-application-password-value" type="text" class="code" readonly="readonly" value="<?php esc_attr( WP_Application_Passwords::chunk_password( $new_password ) ); ?>" />
</p>
<p><?php _e( 'Be sure to save this in a safe location. You will not be able to retrieve it.' ); ?></p>
</div>
<?php
/**
* Fires in the Authorize Application Password new password section in the no-JS version.
*
@@ -234,8 +214,8 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
* @param WP_User $user The user authorizing the application.
*/
do_action( 'wp_authorize_application_password_form_approved_no_js', $new_password, $request, $user );
else :
?>
<?php else : ?>
<form action="<?php echo esc_url( admin_url( 'authorize-application.php' ) ); ?>" method="post" class="form-wrap">
<?php wp_nonce_field( 'authorize_application_password' ); ?>
<input type="hidden" name="action" value="authorize_application_password" />
@@ -258,8 +238,8 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
* The array of request data. All arguments are optional and may be empty.
*
* @type string $app_name The suggested name of the application.
* @type string $success_url The URL the user will be redirected to after approving the application.
* @type string $reject_url The URL the user will be redirected to after rejecting the application.
* @type string $success_url The url the user will be redirected to after approving the application.
* @type string $reject_url The url the user will be redirected to after rejecting the application.
* }
* @param WP_User $user The user authorizing the application.
*/

View File

@@ -43,7 +43,7 @@ if ( isset( $_REQUEST['c'] ) ) {
// Prevent actions on a comment associated with a trashed post.
if ( $comment && 'trash' === get_post_status( $comment->comment_post_ID ) ) {
wp_die(
__( 'You cannot edit this comment because the associated post is in the Trash. Please restore the post first, then try again.' )
__( 'You can&#8217;t edit this comment because the associated post is in the Trash. Please restore the post first, then try again.' )
);
}
} else {
@@ -68,8 +68,8 @@ switch ( $action ) {
get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/documentation/article/comments-screen/">Documentation on Comments</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
'<p>' . __( '<a href="https://wordpress.org/support/article/comments-screen/">Documentation on Comments</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
);
wp_enqueue_script( 'comment' );
@@ -161,23 +161,11 @@ switch ( $action ) {
break;
}
if ( $message ) {
wp_admin_notice(
$message,
array(
'type' => 'info',
'id' => 'message',
)
);
echo '<div id="message" class="notice notice-info"><p>' . $message . '</p></div>';
}
}
wp_admin_notice(
'<strong>' . __( 'Caution:' ) . '</strong> ' . $caution_msg,
array(
'type' => 'warning',
'id' => 'message',
)
);
?>
<div id="message" class="notice notice-warning"><p><strong><?php _e( 'Caution:' ); ?></strong> <?php echo $caution_msg; ?></p></div>
<table class="form-table comment-ays">
<tr>
@@ -294,7 +282,7 @@ switch ( $action ) {
comment_footer_die( __( 'Sorry, you are not allowed to edit comments on this post.' ) );
}
if ( wp_get_referer() && ! $noredir && ! str_contains( wp_get_referer(), 'comment.php' ) ) {
if ( wp_get_referer() && ! $noredir && false === strpos( wp_get_referer(), 'comment.php' ) ) {
$redir = wp_get_referer();
} elseif ( wp_get_original_referer() && ! $noredir ) {
$redir = wp_get_original_referer();

View File

@@ -1,107 +0,0 @@
<?php
/**
* Contribute administration panel.
*
* @package WordPress
* @subpackage Administration
*/
/** WordPress Administration Bootstrap */
require_once __DIR__ . '/admin.php';
// Used in the HTML title tag.
$title = __( 'Get Involved' );
list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
require_once ABSPATH . 'wp-admin/admin-header.php';
?>
<div class="wrap about__container">
<div class="about__header">
<div class="about__header-title">
<h1>
<?php _e( 'Get Involved' ); ?>
</h1>
</div>
<div class="about__header-text"></div>
</div>
<nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
<a href="about.php" class="nav-tab"><?php _e( 'What&#8217;s New' ); ?></a>
<a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
<a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
<a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
<a href="contribute.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'Get Involved' ); ?></a>
</nav>
<div class="about__section has-2-columns is-wider-right">
<div class="column">
<img src="<?php echo esc_url( admin_url( 'images/contribute-main.svg?ver=6.4' ) ); ?>" alt="" width="290" height="290" />
</div>
<div class="column is-vertically-aligned-center">
<p><?php _e( 'Do you use WordPress for work, for personal projects, or even just for fun? You can help shape the long-term success of the open source project that powers millions of websites around the world.' ); ?></p>
<p><?php _e( 'Join the diverse WordPress contributor community and connect with other people who are passionate about maintaining a free and open web.' ); ?></p>
<ul>
<li><?php _e( 'Be part of a global open source community.' ); ?></li>
<li><?php _e( 'Apply your skills or learn new ones.' ); ?></li>
<li><?php _e( 'Grow your network and make friends.' ); ?></li>
</ul>
</div>
</div>
<div class="about__section has-2-columns is-wider-left">
<div class="column is-vertically-aligned-center">
<h3><?php _e( 'No-code contribution' ); ?></h3>
<p><?php _e( 'WordPress may thrive on technical contributions, but you don&#8217;t have to code to contribute. Here are some of the ways you can make an impact without writing a single line of code:' ); ?></p>
<ul>
<li><?php _e( '<strong>Share</strong> your knowledge in the WordPress support forums.' ); ?></li>
<li><?php _e( '<strong>Write</strong> or improve documentation for WordPress.' ); ?></li>
<li><?php _e( '<strong>Translate</strong> WordPress into your local language.' ); ?></li>
<li><?php _e( '<strong>Create</strong> and improve WordPress educational materials.' ); ?></li>
<li><?php _e( '<strong>Promote</strong> the WordPress project to your community.' ); ?></li>
<li><?php _e( '<strong>Curate</strong> submissions or take photos for the Photo Directory.' ); ?></li>
<li><?php _e( '<strong>Organize</strong> or participate in local Meetups and WordCamps.' ); ?></li>
<li><?php _e( '<strong>Lend</strong> your creative imagination to the WordPress UI design.' ); ?></li>
<li><?php _e( '<strong>Edit</strong> videos and add captions to WordPress.tv.' ); ?></li>
<li><?php _e( '<strong>Explore</strong> ways to reduce the environmental impact of websites.' ); ?></li>
</ul>
</div>
<div class="column">
<img src="<?php echo esc_url( admin_url( 'images/contribute-no-code.svg?ver=6.4' ) ); ?>" alt="" width="290" height="290" />
</div>
</div>
<div class="about__section has-2-columns is-wider-right">
<div class="column">
<img src="<?php echo esc_url( admin_url( 'images/contribute-code.svg?ver=6.4' ) ); ?>" alt="" width="290" height="290" />
</div>
<div class="column is-vertically-aligned-center">
<h3><?php _e( 'Code-based contribution' ); ?></h3>
<p><?php _e( 'If you do code, or want to learn how, you can contribute technically in numerous ways:' ); ?></p>
<ul>
<li><?php _e( '<strong>Find</strong> and report bugs in the WordPress core software.' ); ?></li>
<li><?php _e( '<strong>Test</strong> new releases and proposed features for the Block Editor.' ); ?></li>
<li><?php _e( '<strong>Write</strong> and submit patches to fix bugs or help build new features.' ); ?></li>
<li><?php _e( '<strong>Contribute</strong> to the code, improve the UX, and test the WordPress app.' ); ?></li>
</ul>
<p><?php _e( 'WordPress embraces new technologies, while being committed to backward compatibility. The WordPress project uses the following languages and libraries:' ); ?></p>
<ul>
<li><?php _e( 'WordPress Core and Block Editor: HTML, CSS, PHP, SQL, JavaScript, and React.' ); ?></li>
<li><?php _e( 'WordPress app: Kotlin, Java, Swift, Objective-C, Vue, Python, and TypeScript.' ); ?></li>
</ul>
</div>
</div>
<div class="about__section is-feature has-accent-4-background-color">
<div class="column">
<h2><?php _e( 'Shape the future of the web with WordPress' ); ?></h2>
<p><?php _e( 'Finding the area that aligns with your skills and interests is the first step toward meaningful contribution. With more than 20 Make WordPress teams working on different parts of the open source WordPress project, there&#8217;s a place for everyone, no matter what your skill set is.' ); ?></p>
<p><a href="<?php echo esc_url( __( 'https://make.wordpress.org/contribute/' ) ); ?>"><?php _e( 'Find your team &rarr;' ); ?></a></p>
</div>
</div>
</div>
<?php
require_once ABSPATH . 'wp-admin/admin-footer.php';

View File

@@ -28,18 +28,25 @@ $credits = wp_credits();
</h1>
</div>
<div class="about__header-text"></div>
<div class="about__header-text">
<?php
printf(
/* translators: %s: Version number. */
__( 'WordPress %s was created by a worldwide team of passionate individuals' ),
$display_version
);
?>
</div>
<nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
<a href="about.php" class="nav-tab"><?php _e( 'What&#8217;s New' ); ?></a>
<a href="credits.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'Credits' ); ?></a>
<a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
<a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
</nav>
</div>
<nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
<a href="about.php" class="nav-tab"><?php _e( 'What&#8217;s New' ); ?></a>
<a href="credits.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'Credits' ); ?></a>
<a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
<a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
<a href="contribute.php" class="nav-tab"><?php _e( 'Get Involved' ); ?></a>
</nav>
<div class="about__section has-1-column has-gutters">
<div class="about__section has-1-column">
<div class="column aligncenter">
<?php if ( ! $credits ) : ?>
@@ -52,7 +59,7 @@ $credits = wp_credits();
);
?>
<br />
<a href="<?php echo esc_url( __( 'https://make.wordpress.org/contribute/' ) ); ?>"><?php _e( 'Get involved in WordPress.' ); ?></a>
<a href="https://make.wordpress.org/"><?php _e( 'Get involved in WordPress.' ); ?></a>
</p>
<?php else : ?>
@@ -60,7 +67,7 @@ $credits = wp_credits();
<p>
<?php _e( 'Want to see your name in lights on this page?' ); ?>
<br />
<a href="<?php echo esc_url( __( 'https://make.wordpress.org/contribute/' ) ); ?>"><?php _e( 'Get involved in WordPress.' ); ?></a>
<a href="https://make.wordpress.org/"><?php _e( 'Get involved in WordPress.' ); ?></a>
</p>
<?php endif; ?>
@@ -75,7 +82,7 @@ if ( ! $credits ) {
}
?>
<hr class="is-large" />
<hr />
<div class="about__section">
<div class="column is-edge-to-edge">

View File

@@ -2,13 +2,12 @@
/*------------------------------------------------------------------------------
22.0 - About Pages
1.0 Global: About, Credits, Freedoms, Privacy, Get Involved
1.0 Global: About, Credits, Freedoms, Privacy
1.1 Layout
1.2 Typography & Elements
1.3 Header
2.0 Credits Page
3.0 Freedoms Page
4.0 Privacy Page
x.2.0 Legacy About Styles: Global
x.2.1 Typography
x.2.2 Structure
@@ -22,18 +21,16 @@
.about__container {
/* Section backgrounds */
--background: #EAE9E7;
--subtle-background: #EAE9E7;
--background: transparent;
--subtle-background: #def;
/* Main text color */
--text: #1e1e1e;
--text: #000;
--text-light: #fff;
/* Accent colors: used in header, on special classes. */
--accent-1: #C94C26; /* Link color */
--accent-2: #CFCABE; /* Accent background */
--accent-3: #f0f0f1; /* hr background */
--accent-4: #B1C5A4; /* Light green */
--accent-1: #3858e9; /* Accent background, link color */
--accent-2: #3858e9; /* Header background */
/* Navigation colors. */
--nav-background: #fff;
@@ -45,23 +42,21 @@
}
/*------------------------------------------------------------------------------
1.0 - Global: About, Credits, Freedoms, Privacy, Get Involved
1.0 - Global: About, Credits, Freedoms, Privacy
------------------------------------------------------------------------------*/
.about-php,
.credits-php,
.freedoms-php,
.privacy-php,
.contribute-php {
background: #fff;
.privacy-php {
background: #f0f7ff;
}
.about-php #wpcontent,
.credits-php #wpcontent,
.freedoms-php #wpcontent,
.privacy-php #wpcontent,
.contribute-php #wpcontent {
background: #fff;
.privacy-php #wpcontent {
background: linear-gradient(-180deg, #fff 50%, #f0f7ff 100%);
padding: 0 24px;
}
@@ -69,8 +64,7 @@
.about-php.auto-fold #wpcontent,
.credits-php.auto-fold #wpcontent,
.freedoms-php.auto-fold #wpcontent,
.privacy-php.auto-fold #wpcontent,
.contribute-php.auto-fold #wpcontent {
.privacy-php.auto-fold #wpcontent {
padding-right: 24px;
}
}
@@ -106,16 +100,17 @@
}
.about__section {
background: transparent;
background: var(--background);
clear: both;
}
.about__container .has-accent-background-color {
background-color: var(--accent-2);
background-color: var(--accent-1);
color: var(--text-light);
}
.about__container .has-accent-4-background-color {
background-color: var(--accent-4);
.about__container .has-accent-background-color a {
color: var(--text-light);
}
.about__container .has-transparent-background-color {
@@ -123,7 +118,7 @@
}
.about__container .has-accent-color {
color: var(--accent-2);
color: var(--accent-1);
}
.about__container .has-border {
@@ -143,7 +138,7 @@
/* 1.1 - Layout */
.about__section {
margin: 0;
margin: 0 0 var(--gap);
}
.about__section .column:not(.is-edge-to-edge) {
@@ -154,9 +149,9 @@
padding-bottom: var(--gap);
}
.about__section .column[class*="background-color"]:not(.is-edge-to-edge),
.about__section:where([class*="background-color"]) .column:not(.is-edge-to-edge),
.about__section .column.has-border:not(.is-edge-to-edge) {
.about__section .column[class*="background-color"],
.about__section:where([class*="background-color"]) .column,
.about__section .column.has-border {
padding-top: var(--gap);
padding-bottom: var(--gap);
}
@@ -215,7 +210,7 @@
.about__section.has-gutters {
gap: var(--gap);
margin-bottom: var(--gap);
margin-bottom: calc(var(--gap) * 2);
}
.about__section.has-2-columns {
@@ -230,19 +225,76 @@
grid-template-columns: 3fr 2fr;
}
.about__section .is-section-header {
.about__section.has-2-columns .is-section-header {
grid-column-start: 1;
grid-column-end: -1;
-ms-grid-column-span: 2;
grid-column-end: span 2;
}
.about__section.has-2-columns .column:nth-of-type(2n+1) {
grid-column-start: 1;
}
.about__section.has-2-columns .column:nth-of-type(2n) {
grid-column-start: 2;
}
.about__section.has-3-columns {
grid-template-columns: repeat(3, 1fr);
}
.about__section.has-3-columns .is-section-header {
grid-column-start: 1;
-ms-grid-column-span: 3;
grid-column-end: span 3;
}
.about__section.has-3-columns .column:nth-of-type(3n+1) {
grid-column-start: 1;
}
.about__section.has-3-columns .column:nth-of-type(3n+2) {
grid-column-start: 2;
}
.about__section.has-3-columns .column:nth-of-type(3n) {
grid-column-start: 3;
}
.about__section.has-4-columns {
grid-template-columns: repeat(4, 1fr);
}
.about__section.has-4-columns .is-section-header {
grid-column-start: 1;
-ms-grid-column-span: 4;
grid-column-end: span 4;
}
.about__section.has-4-columns .column:nth-of-type(4n+1) {
grid-column-start: 1;
}
.about__section.has-4-columns .column:nth-of-type(4n+2) {
grid-column-start: 2;
}
.about__section.has-4-columns .column:nth-of-type(4n+3) {
grid-column-start: 3;
}
.about__section.has-4-columns .column:nth-of-type(4n) {
grid-column-start: 4;
}
/* Any columns following a section header need to be expicitly put into the second row, for IE support. */
.about__section.has-2-columns .is-section-header ~ .column,
.about__section.has-3-columns .is-section-header ~ .column,
.about__section.has-4-columns .is-section-header ~ .column,
.about__section.has-overlap-style .is-section-header ~ .column {
grid-row-start: 2;
}
.about__section.has-overlap-style {
grid-template-columns: repeat(7, 1fr);
}
@@ -253,11 +305,13 @@
.about__section.has-overlap-style .column:nth-of-type(2n+1) {
grid-column-start: 2;
-ms-grid-column-span: 3;
grid-column-end: span 3;
}
.about__section.has-overlap-style .column:nth-of-type(2n) {
grid-column-start: 4;
-ms-grid-column-span: 3;
grid-column-end: span 3;
}
@@ -305,6 +359,29 @@
grid-template-columns: repeat(2, 1fr);
}
.about__section.has-4-columns .column:nth-of-type(2n+1) {
grid-column-start: 1;
}
.about__section.has-4-columns .column:nth-of-type(2n) {
grid-column-start: 2;
}
.about__section.has-4-columns .column:nth-of-type(4n+3),
.about__section.has-4-columns .column:nth-of-type(4n) {
grid-row-start: 2;
}
.about__section.has-4-columns .is-section-header {
-ms-grid-column-span: 2;
grid-column-end: span 2;
}
.about__section.has-4-columns .is-section-header ~ .column:nth-of-type(4n+3),
.about__section.has-4-columns .is-section-header ~ .column:nth-of-type(4n) {
grid-row-start: 3;
}
.about__section.has-overlap-style {
grid-template-columns: 1fr;
}
@@ -312,8 +389,10 @@
/* At this size, the two columns fully overlap */
.about__section.has-overlap-style .column.column {
grid-column-start: 1;
-ms-grid-column-span: 1;
grid-column-end: 2;
grid-row-start: 1;
-ms-grid-row-span: 1;
grid-row-end: 2;
}
}
@@ -375,6 +454,7 @@
.about__container h1 {
padding: 0;
color: inherit;
}
.about__container h1,
@@ -382,26 +462,18 @@
.about__container h3.is-larger-heading {
margin-top: 0;
margin-bottom: 0.5em;
font-size: 2rem;
font-size: 2em;
line-height: 1.2;
font-weight: 700;
line-height: 1.16;
}
.about__container h3,
.about__container h1.is-smaller-heading,
.about__container h2.is-smaller-heading {
margin-top: 0;
font-size: 1.625rem;
font-weight: 700;
line-height: 1.4;
}
.about__container h4,
.about__container h3.is-smaller-heading {
margin-top: 0;
font-size: 1.125rem;
font-weight: 600;
line-height: 1.6;
font-size: 1.6em;
line-height: 1.3;
font-weight: 400;
}
.about__container p {
@@ -411,20 +483,18 @@
.about__container p.is-subheading {
margin-top: 0;
font-size: 1.5rem;
font-weight: 300;
line-height: 160%;
font-size: 1.8em;
}
.about__section a {
color: var(--text);
color: var(--accent-1);
text-decoration: underline;
}
.about__section a:hover,
.about__section a:active,
.about__section a:focus {
color: var(--text);
color: var(--accent-1);
text-decoration: none;
}
@@ -443,10 +513,6 @@
margin-right: calc(var(--gap) / 2);
}
.about__container li {
margin-bottom: 0.5rem;
}
.about__container img {
margin: 0;
max-width: 100%;
@@ -473,28 +539,23 @@
margin-left: auto;
}
.about__container .about__image svg {
vertical-align: middle;
}
.about__container .about__image + h3 {
margin-top: 1.5em;
}
.about__container hr {
margin: calc(var(--gap) / 2) var(--gap);
height: 0;
margin: 0;
height: var(--gap);
border: none;
border-top: 4px solid var(--accent-3);
}
.about__container hr.is-small {
margin-top: 0;
margin-bottom: 0;
height: calc(var(--gap) / 4);
}
.about__container hr.is-large {
margin: var(--gap) auto;
height: calc(var(--gap) * 2);
margin: calc(var(--gap) / 2) auto;
}
.about__container div.updated,
@@ -504,19 +565,13 @@
}
.about__section {
font-size: 1.125rem;
line-height: 1.55;
font-size: 1.2em;
}
.about__section.is-feature {
font-size: 1.6em;
}
.about__section.has-3-columns,
.about__section.has-4-columns {
font-size: 1rem;
}
@media screen and (max-width: 480px) {
.about__section.is-feature {
font-size: 1.4em;
@@ -533,36 +588,46 @@
.about__header {
position: relative;
display: flex;
flex-direction: column;
align-items: start;
justify-content: end;
box-sizing: border-box;
padding: var(--gap) 0;
height: clamp(12.5rem, -1.25rem + 36.67vw, 26.25rem);
margin-bottom: var(--gap);
padding-top: 0;
background-image: url('../images/about-texture.png');
background-color: var(--accent-2);
background-size: 500px 500px;
background-blend-mode: overlay;
color: var(--text-light);
background-image: url('../images/about-header-about.svg?ver=6.4'), url('../images/about-header-background.svg?ver=6.4');
background-size: auto 70%, cover;
border-radius: 5px;
background-repeat: no-repeat;
background-position: left 7% center, top right;
background-color: var(--background);
}
.credits-php .about__header {
background-image: url('../images/about-header-credits.svg?ver=6.4'), url('../images/about-header-background.svg?ver=6.4');
.about__header::before {
content: "";
position: absolute;
top: 0;
left: 64px;
z-index: 0;
width: 300px;
height: 382px;
background: url(../images/about-header-about.svg) no-repeat center;
background-size: contain;
}
.freedoms-php .about__header {
background-image: url('../images/about-header-freedoms.svg?ver=6.4'), url('../images/about-header-background.svg?ver=6.4');
.credits-php .about__header::before {
top: auto;
bottom: 70px;
height: 310px;
background-image: url('../images/about-header-credits.svg');
}
.privacy-php .about__header {
background-image: url('../images/about-header-privacy.svg?ver=6.4'), url('../images/about-header-background.svg?ver=6.4');
.freedoms-php .about__header::before {
top: calc(50% - 182px);
left: 32px;
width: 375px;
height: 300px;
background-image: url('../images/about-header-freedoms.svg');
}
.contribute-php .about__header {
background-image: url('../images/about-header-contribute.svg?ver=6.4'), url('../images/about-header-background.svg?ver=6.4');
.privacy-php .about__header::before {
top: auto;
bottom: -16px;
background-image: url('../images/about-header-privacy.svg');
}
.about__header-image {
@@ -571,37 +636,33 @@
.about__header-title {
box-sizing: border-box;
margin: 0 calc(var(--gap) + 2rem);
padding: 0;
max-width: 55%;
/* 380px = 300px (balloon width) + 64px (offset from edge) + 16px (spacing). */
padding: 6rem 0 0 380px;
margin: 0 2rem;
}
.about__header-title h1 {
margin: 0 0 1rem;
margin: 0 0 0.5rem;
padding: 0;
/* Fluid font size scales on browser size 960px - 1200px. */
font-size: clamp(2rem, 20vw - 9rem, 4rem);
font-size: 4.5rem;
line-height: 1;
font-weight: 600;
}
.about-php .about__header-title h1,
.credits-php .about__header-title h1,
.freedoms-php .about__header-title h1,
.privacy-php .about__header-title h1,
.contribute-php .about__header-title h1 {
/* Fluid font size scales on browser size 960px - 1200px. */
font-size: clamp(2rem, 10vw - 3rem, 4rem);
font-weight: 400;
}
.about__header-text {
box-sizing: border-box;
max-width: 26em;
margin: 0 auto;
padding: 0;
margin: 0 0 7rem;
/* 380px = 300px (balloon width) + 64px (offset from edge) + 16px (spacing). */
padding: 0 2rem 0 380px;
font-size: 1.6rem;
line-height: 1.15;
text-align: center;
}
.freedoms-php .about__header-title,
.freedoms-php .about__header-text {
/* 423px = 375px (balloon width) + 32px (offset from edge) + 16px (spacing). */
padding-left: 423px;
margin-left: 0;
}
.about__header-navigation {
@@ -610,7 +671,6 @@
display: flex;
justify-content: center;
padding-top: 0;
margin-bottom: var(--gap);
background: var(--nav-background);
color: var(--nav-color);
border-bottom: 3px solid var(--nav-border);
@@ -649,23 +709,34 @@
border-color: var(--nav-current);
}
@media screen and (max-width: 960px) {
.about-php .about__header-title h1,
.credits-php .about__header-title h1,
.freedoms-php .about__header-title h1,
.privacy-php .about__header-title h1,
.contribute-php .about__header-title h1 {
/* Fluid font size scales on browser size 600px - 960px. */
font-size: clamp(3rem, 6.67vw - 0.5rem, 4.5rem);
}
.about__header-navigation .nav-tab {
padding: calc(var(--gap) * 0.75) calc(var(--gap) * 0.5);
@media screen and (max-width: 960px){
.about__header-title h1 {
font-size: 4.8em;
}
}
@media screen and (max-width: 782px) {
.about__header::before {
width: 240px;
height: 305px;
left: 32px;
}
.credits-php .about__header::before {
height: 248px;
}
.freedoms-php .about__header::before {
top: calc(50% - 132px);
height: 192px;
width: 240px;
}
.privacy-php .about__header::before {
bottom: 0;
height: 280px;
}
.about__container .about__header-text {
font-size: 1.4em;
}
@@ -674,6 +745,12 @@
display: block;
}
.about__header-title,
.about__header-text {
/* 288px = 240px (balloon width) + 32px (offset from edge) + 16px (spacing). */
padding-left: 288px !important;
}
.about__header-title,
.about__header-image {
margin-right: calc(var(--gap) / 2);
@@ -682,6 +759,8 @@
.about__header-text {
margin-top: 0;
margin-left: 0;
padding-right: calc(var(--gap) / 2);
}
.about__header-navigation .nav-tab {
@@ -693,25 +772,27 @@
}
@media screen and (max-width: 600px) {
.about__header {
min-height: auto;
.about__header::before {
display: none;
}
.about__header,
.credits-php .about__header,
.freedoms-php .about__header,
.privacy-php .about__header,
.contribute-php .about__header {
background-image: none;
.about__header-title,
.about__header-text {
padding-left: calc(var(--gap) / 2) !important;
}
}
@media screen and (max-width: 480px) {
.about__header-title p {
font-size: 2.4em;
}
.about__header-title {
padding-top: 2rem;
}
.about__header-text {
margin-right: calc(var(--gap) / 2);
margin-left: calc(var(--gap) / 2);
margin-bottom: 2rem;
}
.about__header-navigation {
@@ -738,7 +819,7 @@
------------------------------------------------------------------------------*/
.about__section .wp-people-group-title {
margin-bottom: calc(var(--gap) * 2 - 10px);
margin-bottom: calc(var(--gap) * 2);
text-align: center;
}
@@ -753,7 +834,7 @@
display: inline-block;
vertical-align: top;
box-sizing: border-box;
margin-bottom: calc(var(--gap) - 10px);
margin-bottom: var(--gap);
width: 25%;
text-align: center;
}
@@ -770,12 +851,14 @@
height: 140px;
border-radius: 100%;
overflow: hidden;
background: var(--accent-1);
}
.about__section .wp-person .gravatar {
width: 140px;
height: 140px;
filter: grayscale(100%);
mix-blend-mode: screen;
}
.about__section .compact .wp-person-avatar,
@@ -785,10 +868,8 @@
}
.about__section .wp-person .web {
display: block;
font-size: 1.4em;
font-weight: 600;
padding: 10px 10px 0;
text-decoration: none;
}
@@ -856,19 +937,7 @@
.about__section .column .freedom-image {
margin-bottom: var(--gap);
max-height: 180px;
}
/*------------------------------------------------------------------------------
4.0 - Privacy Page
------------------------------------------------------------------------------*/
.about__section .column .privacy-image {
display: block;
margin-right: auto;
margin-left: auto;
max-width: 25rem;
max-height: 140px;
}

File diff suppressed because one or more lines are too long

View File

@@ -1,13 +1,12 @@
/*------------------------------------------------------------------------------
22.0 - About Pages
1.0 Global: About, Credits, Freedoms, Privacy, Get Involved
1.0 Global: About, Credits, Freedoms, Privacy
1.1 Layout
1.2 Typography & Elements
1.3 Header
2.0 Credits Page
3.0 Freedoms Page
4.0 Privacy Page
x.2.0 Legacy About Styles: Global
x.2.1 Typography
x.2.2 Structure
@@ -21,18 +20,16 @@
.about__container {
/* Section backgrounds */
--background: #EAE9E7;
--subtle-background: #EAE9E7;
--background: transparent;
--subtle-background: #def;
/* Main text color */
--text: #1e1e1e;
--text: #000;
--text-light: #fff;
/* Accent colors: used in header, on special classes. */
--accent-1: #C94C26; /* Link color */
--accent-2: #CFCABE; /* Accent background */
--accent-3: #f0f0f1; /* hr background */
--accent-4: #B1C5A4; /* Light green */
--accent-1: #3858e9; /* Accent background, link color */
--accent-2: #3858e9; /* Header background */
/* Navigation colors. */
--nav-background: #fff;
@@ -44,23 +41,21 @@
}
/*------------------------------------------------------------------------------
1.0 - Global: About, Credits, Freedoms, Privacy, Get Involved
1.0 - Global: About, Credits, Freedoms, Privacy
------------------------------------------------------------------------------*/
.about-php,
.credits-php,
.freedoms-php,
.privacy-php,
.contribute-php {
background: #fff;
.privacy-php {
background: #f0f7ff;
}
.about-php #wpcontent,
.credits-php #wpcontent,
.freedoms-php #wpcontent,
.privacy-php #wpcontent,
.contribute-php #wpcontent {
background: #fff;
.privacy-php #wpcontent {
background: linear-gradient(180deg, #fff 50%, #f0f7ff 100%);
padding: 0 24px;
}
@@ -68,8 +63,7 @@
.about-php.auto-fold #wpcontent,
.credits-php.auto-fold #wpcontent,
.freedoms-php.auto-fold #wpcontent,
.privacy-php.auto-fold #wpcontent,
.contribute-php.auto-fold #wpcontent {
.privacy-php.auto-fold #wpcontent {
padding-left: 24px;
}
}
@@ -105,16 +99,17 @@
}
.about__section {
background: transparent;
background: var(--background);
clear: both;
}
.about__container .has-accent-background-color {
background-color: var(--accent-2);
background-color: var(--accent-1);
color: var(--text-light);
}
.about__container .has-accent-4-background-color {
background-color: var(--accent-4);
.about__container .has-accent-background-color a {
color: var(--text-light);
}
.about__container .has-transparent-background-color {
@@ -122,7 +117,7 @@
}
.about__container .has-accent-color {
color: var(--accent-2);
color: var(--accent-1);
}
.about__container .has-border {
@@ -142,7 +137,7 @@
/* 1.1 - Layout */
.about__section {
margin: 0;
margin: 0 0 var(--gap);
}
.about__section .column:not(.is-edge-to-edge) {
@@ -153,9 +148,9 @@
padding-bottom: var(--gap);
}
.about__section .column[class*="background-color"]:not(.is-edge-to-edge),
.about__section:where([class*="background-color"]) .column:not(.is-edge-to-edge),
.about__section .column.has-border:not(.is-edge-to-edge) {
.about__section .column[class*="background-color"],
.about__section:where([class*="background-color"]) .column,
.about__section .column.has-border {
padding-top: var(--gap);
padding-bottom: var(--gap);
}
@@ -214,7 +209,7 @@
.about__section.has-gutters {
gap: var(--gap);
margin-bottom: var(--gap);
margin-bottom: calc(var(--gap) * 2);
}
.about__section.has-2-columns {
@@ -229,19 +224,76 @@
grid-template-columns: 3fr 2fr;
}
.about__section .is-section-header {
.about__section.has-2-columns .is-section-header {
grid-column-start: 1;
grid-column-end: -1;
-ms-grid-column-span: 2;
grid-column-end: span 2;
}
.about__section.has-2-columns .column:nth-of-type(2n+1) {
grid-column-start: 1;
}
.about__section.has-2-columns .column:nth-of-type(2n) {
grid-column-start: 2;
}
.about__section.has-3-columns {
grid-template-columns: repeat(3, 1fr);
}
.about__section.has-3-columns .is-section-header {
grid-column-start: 1;
-ms-grid-column-span: 3;
grid-column-end: span 3;
}
.about__section.has-3-columns .column:nth-of-type(3n+1) {
grid-column-start: 1;
}
.about__section.has-3-columns .column:nth-of-type(3n+2) {
grid-column-start: 2;
}
.about__section.has-3-columns .column:nth-of-type(3n) {
grid-column-start: 3;
}
.about__section.has-4-columns {
grid-template-columns: repeat(4, 1fr);
}
.about__section.has-4-columns .is-section-header {
grid-column-start: 1;
-ms-grid-column-span: 4;
grid-column-end: span 4;
}
.about__section.has-4-columns .column:nth-of-type(4n+1) {
grid-column-start: 1;
}
.about__section.has-4-columns .column:nth-of-type(4n+2) {
grid-column-start: 2;
}
.about__section.has-4-columns .column:nth-of-type(4n+3) {
grid-column-start: 3;
}
.about__section.has-4-columns .column:nth-of-type(4n) {
grid-column-start: 4;
}
/* Any columns following a section header need to be expicitly put into the second row, for IE support. */
.about__section.has-2-columns .is-section-header ~ .column,
.about__section.has-3-columns .is-section-header ~ .column,
.about__section.has-4-columns .is-section-header ~ .column,
.about__section.has-overlap-style .is-section-header ~ .column {
grid-row-start: 2;
}
.about__section.has-overlap-style {
grid-template-columns: repeat(7, 1fr);
}
@@ -252,11 +304,13 @@
.about__section.has-overlap-style .column:nth-of-type(2n+1) {
grid-column-start: 2;
-ms-grid-column-span: 3;
grid-column-end: span 3;
}
.about__section.has-overlap-style .column:nth-of-type(2n) {
grid-column-start: 4;
-ms-grid-column-span: 3;
grid-column-end: span 3;
}
@@ -304,6 +358,29 @@
grid-template-columns: repeat(2, 1fr);
}
.about__section.has-4-columns .column:nth-of-type(2n+1) {
grid-column-start: 1;
}
.about__section.has-4-columns .column:nth-of-type(2n) {
grid-column-start: 2;
}
.about__section.has-4-columns .column:nth-of-type(4n+3),
.about__section.has-4-columns .column:nth-of-type(4n) {
grid-row-start: 2;
}
.about__section.has-4-columns .is-section-header {
-ms-grid-column-span: 2;
grid-column-end: span 2;
}
.about__section.has-4-columns .is-section-header ~ .column:nth-of-type(4n+3),
.about__section.has-4-columns .is-section-header ~ .column:nth-of-type(4n) {
grid-row-start: 3;
}
.about__section.has-overlap-style {
grid-template-columns: 1fr;
}
@@ -311,8 +388,10 @@
/* At this size, the two columns fully overlap */
.about__section.has-overlap-style .column.column {
grid-column-start: 1;
-ms-grid-column-span: 1;
grid-column-end: 2;
grid-row-start: 1;
-ms-grid-row-span: 1;
grid-row-end: 2;
}
}
@@ -374,6 +453,7 @@
.about__container h1 {
padding: 0;
color: inherit;
}
.about__container h1,
@@ -381,26 +461,18 @@
.about__container h3.is-larger-heading {
margin-top: 0;
margin-bottom: 0.5em;
font-size: 2rem;
font-size: 2em;
line-height: 1.2;
font-weight: 700;
line-height: 1.16;
}
.about__container h3,
.about__container h1.is-smaller-heading,
.about__container h2.is-smaller-heading {
margin-top: 0;
font-size: 1.625rem;
font-weight: 700;
line-height: 1.4;
}
.about__container h4,
.about__container h3.is-smaller-heading {
margin-top: 0;
font-size: 1.125rem;
font-weight: 600;
line-height: 1.6;
font-size: 1.6em;
line-height: 1.3;
font-weight: 400;
}
.about__container p {
@@ -410,20 +482,18 @@
.about__container p.is-subheading {
margin-top: 0;
font-size: 1.5rem;
font-weight: 300;
line-height: 160%;
font-size: 1.8em;
}
.about__section a {
color: var(--text);
color: var(--accent-1);
text-decoration: underline;
}
.about__section a:hover,
.about__section a:active,
.about__section a:focus {
color: var(--text);
color: var(--accent-1);
text-decoration: none;
}
@@ -442,10 +512,6 @@
margin-left: calc(var(--gap) / 2);
}
.about__container li {
margin-bottom: 0.5rem;
}
.about__container img {
margin: 0;
max-width: 100%;
@@ -472,28 +538,23 @@
margin-right: auto;
}
.about__container .about__image svg {
vertical-align: middle;
}
.about__container .about__image + h3 {
margin-top: 1.5em;
}
.about__container hr {
margin: calc(var(--gap) / 2) var(--gap);
height: 0;
margin: 0;
height: var(--gap);
border: none;
border-top: 4px solid var(--accent-3);
}
.about__container hr.is-small {
margin-top: 0;
margin-bottom: 0;
height: calc(var(--gap) / 4);
}
.about__container hr.is-large {
margin: var(--gap) auto;
height: calc(var(--gap) * 2);
margin: calc(var(--gap) / 2) auto;
}
.about__container div.updated,
@@ -503,19 +564,13 @@
}
.about__section {
font-size: 1.125rem;
line-height: 1.55;
font-size: 1.2em;
}
.about__section.is-feature {
font-size: 1.6em;
}
.about__section.has-3-columns,
.about__section.has-4-columns {
font-size: 1rem;
}
@media screen and (max-width: 480px) {
.about__section.is-feature {
font-size: 1.4em;
@@ -532,36 +587,46 @@
.about__header {
position: relative;
display: flex;
flex-direction: column;
align-items: start;
justify-content: end;
box-sizing: border-box;
padding: var(--gap) 0;
height: clamp(12.5rem, -1.25rem + 36.67vw, 26.25rem);
margin-bottom: var(--gap);
padding-top: 0;
background-image: url('../images/about-texture.png');
background-color: var(--accent-2);
background-size: 500px 500px;
background-blend-mode: overlay;
color: var(--text-light);
background-image: url('../images/about-header-about.svg?ver=6.4'), url('../images/about-header-background.svg?ver=6.4');
background-size: auto 70%, cover;
border-radius: 5px;
background-repeat: no-repeat;
background-position: right 7% center, top left;
background-color: var(--background);
}
.credits-php .about__header {
background-image: url('../images/about-header-credits.svg?ver=6.4'), url('../images/about-header-background.svg?ver=6.4');
.about__header::before {
content: "";
position: absolute;
top: 0;
right: 64px;
z-index: 0;
width: 300px;
height: 382px;
background: url(../images/about-header-about.svg) no-repeat center;
background-size: contain;
}
.freedoms-php .about__header {
background-image: url('../images/about-header-freedoms.svg?ver=6.4'), url('../images/about-header-background.svg?ver=6.4');
.credits-php .about__header::before {
top: auto;
bottom: 70px;
height: 310px;
background-image: url('../images/about-header-credits.svg');
}
.privacy-php .about__header {
background-image: url('../images/about-header-privacy.svg?ver=6.4'), url('../images/about-header-background.svg?ver=6.4');
.freedoms-php .about__header::before {
top: calc(50% - 182px);
right: 32px;
width: 375px;
height: 300px;
background-image: url('../images/about-header-freedoms.svg');
}
.contribute-php .about__header {
background-image: url('../images/about-header-contribute.svg?ver=6.4'), url('../images/about-header-background.svg?ver=6.4');
.privacy-php .about__header::before {
top: auto;
bottom: -16px;
background-image: url('../images/about-header-privacy.svg');
}
.about__header-image {
@@ -570,37 +635,33 @@
.about__header-title {
box-sizing: border-box;
margin: 0 calc(var(--gap) + 2rem);
padding: 0;
max-width: 55%;
/* 380px = 300px (balloon width) + 64px (offset from edge) + 16px (spacing). */
padding: 6rem 380px 0 0;
margin: 0 2rem;
}
.about__header-title h1 {
margin: 0 0 1rem;
margin: 0 0 0.5rem;
padding: 0;
/* Fluid font size scales on browser size 960px - 1200px. */
font-size: clamp(2rem, 20vw - 9rem, 4rem);
font-size: 4.5rem;
line-height: 1;
font-weight: 600;
}
.about-php .about__header-title h1,
.credits-php .about__header-title h1,
.freedoms-php .about__header-title h1,
.privacy-php .about__header-title h1,
.contribute-php .about__header-title h1 {
/* Fluid font size scales on browser size 960px - 1200px. */
font-size: clamp(2rem, 10vw - 3rem, 4rem);
font-weight: 400;
}
.about__header-text {
box-sizing: border-box;
max-width: 26em;
margin: 0 auto;
padding: 0;
margin: 0 0 7rem;
/* 380px = 300px (balloon width) + 64px (offset from edge) + 16px (spacing). */
padding: 0 380px 0 2rem;
font-size: 1.6rem;
line-height: 1.15;
text-align: center;
}
.freedoms-php .about__header-title,
.freedoms-php .about__header-text {
/* 423px = 375px (balloon width) + 32px (offset from edge) + 16px (spacing). */
padding-right: 423px;
margin-right: 0;
}
.about__header-navigation {
@@ -609,7 +670,6 @@
display: flex;
justify-content: center;
padding-top: 0;
margin-bottom: var(--gap);
background: var(--nav-background);
color: var(--nav-color);
border-bottom: 3px solid var(--nav-border);
@@ -648,23 +708,34 @@
border-color: var(--nav-current);
}
@media screen and (max-width: 960px) {
.about-php .about__header-title h1,
.credits-php .about__header-title h1,
.freedoms-php .about__header-title h1,
.privacy-php .about__header-title h1,
.contribute-php .about__header-title h1 {
/* Fluid font size scales on browser size 600px - 960px. */
font-size: clamp(3rem, 6.67vw - 0.5rem, 4.5rem);
}
.about__header-navigation .nav-tab {
padding: calc(var(--gap) * 0.75) calc(var(--gap) * 0.5);
@media screen and (max-width: 960px){
.about__header-title h1 {
font-size: 4.8em;
}
}
@media screen and (max-width: 782px) {
.about__header::before {
width: 240px;
height: 305px;
right: 32px;
}
.credits-php .about__header::before {
height: 248px;
}
.freedoms-php .about__header::before {
top: calc(50% - 132px);
height: 192px;
width: 240px;
}
.privacy-php .about__header::before {
bottom: 0;
height: 280px;
}
.about__container .about__header-text {
font-size: 1.4em;
}
@@ -673,6 +744,12 @@
display: block;
}
.about__header-title,
.about__header-text {
/* 288px = 240px (balloon width) + 32px (offset from edge) + 16px (spacing). */
padding-right: 288px !important;
}
.about__header-title,
.about__header-image {
margin-left: calc(var(--gap) / 2);
@@ -681,6 +758,8 @@
.about__header-text {
margin-top: 0;
margin-right: 0;
padding-left: calc(var(--gap) / 2);
}
.about__header-navigation .nav-tab {
@@ -692,25 +771,27 @@
}
@media screen and (max-width: 600px) {
.about__header {
min-height: auto;
.about__header::before {
display: none;
}
.about__header,
.credits-php .about__header,
.freedoms-php .about__header,
.privacy-php .about__header,
.contribute-php .about__header {
background-image: none;
.about__header-title,
.about__header-text {
padding-right: calc(var(--gap) / 2) !important;
}
}
@media screen and (max-width: 480px) {
.about__header-title p {
font-size: 2.4em;
}
.about__header-title {
padding-top: 2rem;
}
.about__header-text {
margin-left: calc(var(--gap) / 2);
margin-right: calc(var(--gap) / 2);
margin-bottom: 2rem;
}
.about__header-navigation {
@@ -737,7 +818,7 @@
------------------------------------------------------------------------------*/
.about__section .wp-people-group-title {
margin-bottom: calc(var(--gap) * 2 - 10px);
margin-bottom: calc(var(--gap) * 2);
text-align: center;
}
@@ -752,7 +833,7 @@
display: inline-block;
vertical-align: top;
box-sizing: border-box;
margin-bottom: calc(var(--gap) - 10px);
margin-bottom: var(--gap);
width: 25%;
text-align: center;
}
@@ -769,12 +850,14 @@
height: 140px;
border-radius: 100%;
overflow: hidden;
background: var(--accent-1);
}
.about__section .wp-person .gravatar {
width: 140px;
height: 140px;
filter: grayscale(100%);
mix-blend-mode: screen;
}
.about__section .compact .wp-person-avatar,
@@ -784,10 +867,8 @@
}
.about__section .wp-person .web {
display: block;
font-size: 1.4em;
font-weight: 600;
padding: 10px 10px 0;
text-decoration: none;
}
@@ -855,19 +936,7 @@
.about__section .column .freedom-image {
margin-bottom: var(--gap);
max-height: 180px;
}
/*------------------------------------------------------------------------------
4.0 - Privacy Page
------------------------------------------------------------------------------*/
.about__section .column .privacy-image {
display: block;
margin-left: auto;
margin-right: auto;
max-width: 25rem;
max-height: 140px;
}

File diff suppressed because one or more lines are too long

View File

@@ -37,21 +37,108 @@
width: 36px;
}
.icon16 {
height: 18px;
width: 18px;
padding: 6px;
margin: -6px -8px 0 0;
float: right;
}
/* New Menu icons */
.icon16:before {
color: #8c8f94; /* same as new icons */
font: normal 20px/1 dashicons;
speak: never;
padding: 6px 0;
height: 34px;
width: 20px;
display: inline-block;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
transition: all .1s ease-in-out;
}
.icon16.icon-dashboard:before {
content: "\f226";
}
.icon16.icon-post:before {
content: "\f109";
}
.icon16.icon-media:before {
content: "\f104";
}
.icon16.icon-links:before {
content: "\f103";
}
.icon16.icon-page:before {
content: "\f105";
}
.icon16.icon-comments:before {
content: "\f101";
margin-top: 1px;
}
.icon16.icon-appearance:before {
content: "\f100";
}
.icon16.icon-plugins:before {
content: "\f106";
}
.icon16.icon-users:before {
content: "\f110";
}
.icon16.icon-tools:before {
content: "\f107";
}
.icon16.icon-settings:before {
content: "\f108";
}
.icon16.icon-site:before {
content: "\f541";
}
.icon16.icon-generic:before {
content: "\f111";
}
/* hide background-image for icons above */
.icon16.icon-dashboard,
.menu-icon-dashboard div.wp-menu-image,
.icon16.icon-post,
.menu-icon-post div.wp-menu-image,
.icon16.icon-media,
.menu-icon-media div.wp-menu-image,
.icon16.icon-links,
.menu-icon-links div.wp-menu-image,
.icon16.icon-page,
.menu-icon-page div.wp-menu-image,
.icon16.icon-comments,
.menu-icon-comments div.wp-menu-image,
.icon16.icon-appearance,
.menu-icon-appearance div.wp-menu-image,
.icon16.icon-plugins,
.menu-icon-plugins div.wp-menu-image,
.icon16.icon-users,
.menu-icon-users div.wp-menu-image,
.icon16.icon-tools,
.menu-icon-tools div.wp-menu-image,
.icon16.icon-settings,
.menu-icon-settings div.wp-menu-image,
.icon16.icon-site,
.menu-icon-site div.wp-menu-image,
.icon16.icon-generic,
.menu-icon-generic div.wp-menu-image {
background-image: none !important;
}
@@ -428,7 +515,6 @@ ul#adminmenu > li.current > a.current:after {
}
/* @todo: consider to use a single rule for these counters and the list table comments counters. */
#adminmenu .menu-counter,
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
display: inline-block;

File diff suppressed because one or more lines are too long

View File

@@ -36,21 +36,108 @@
width: 36px;
}
.icon16 {
height: 18px;
width: 18px;
padding: 6px;
margin: -6px 0 0 -8px;
float: left;
}
/* New Menu icons */
.icon16:before {
color: #8c8f94; /* same as new icons */
font: normal 20px/1 dashicons;
speak: never;
padding: 6px 0;
height: 34px;
width: 20px;
display: inline-block;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
transition: all .1s ease-in-out;
}
.icon16.icon-dashboard:before {
content: "\f226";
}
.icon16.icon-post:before {
content: "\f109";
}
.icon16.icon-media:before {
content: "\f104";
}
.icon16.icon-links:before {
content: "\f103";
}
.icon16.icon-page:before {
content: "\f105";
}
.icon16.icon-comments:before {
content: "\f101";
margin-top: 1px;
}
.icon16.icon-appearance:before {
content: "\f100";
}
.icon16.icon-plugins:before {
content: "\f106";
}
.icon16.icon-users:before {
content: "\f110";
}
.icon16.icon-tools:before {
content: "\f107";
}
.icon16.icon-settings:before {
content: "\f108";
}
.icon16.icon-site:before {
content: "\f541";
}
.icon16.icon-generic:before {
content: "\f111";
}
/* hide background-image for icons above */
.icon16.icon-dashboard,
.menu-icon-dashboard div.wp-menu-image,
.icon16.icon-post,
.menu-icon-post div.wp-menu-image,
.icon16.icon-media,
.menu-icon-media div.wp-menu-image,
.icon16.icon-links,
.menu-icon-links div.wp-menu-image,
.icon16.icon-page,
.menu-icon-page div.wp-menu-image,
.icon16.icon-comments,
.menu-icon-comments div.wp-menu-image,
.icon16.icon-appearance,
.menu-icon-appearance div.wp-menu-image,
.icon16.icon-plugins,
.menu-icon-plugins div.wp-menu-image,
.icon16.icon-users,
.menu-icon-users div.wp-menu-image,
.icon16.icon-tools,
.menu-icon-tools div.wp-menu-image,
.icon16.icon-settings,
.menu-icon-settings div.wp-menu-image,
.icon16.icon-site,
.menu-icon-site div.wp-menu-image,
.icon16.icon-generic,
.menu-icon-generic div.wp-menu-image {
background-image: none !important;
}
@@ -427,7 +514,6 @@ ul#adminmenu > li.current > a.current:after {
}
/* @todo: consider to use a single rule for these counters and the list table comments counters. */
#adminmenu .menu-counter,
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
display: inline-block;

File diff suppressed because one or more lines are too long

View File

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

View File

@@ -63,11 +63,4 @@ $adminbar-recovery-exit-background-alt: mix(black, $adminbar-recovery-exit-backg
$menu-customizer-text: mix( $base-color, $text-color, 40% ) !default;
// Dashboard Colors
$custom-welcome-panel: "true" !default;
$dashboard-accent-1: $menu-submenu-background !default;
$dashboard-accent-2: $menu-background !default;
$dashboard-icon-background: $dashboard-accent-2 !default;
$low-contrast-theme: "false" !default;

View File

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

File diff suppressed because one or more lines are too long

View File

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

File diff suppressed because one or more lines are too long

View File

@@ -9,6 +9,4 @@ $menu-submenu-text: #e2ecf1;
$menu-submenu-focus-text: #fff;
$menu-submenu-background: #4796b3;
$dashboard-icon-background: $highlight-color;
@import "../_admin.scss";

View File

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

File diff suppressed because one or more lines are too long

View File

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

File diff suppressed because one or more lines are too long

View File

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

File diff suppressed because one or more lines are too long

View File

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

File diff suppressed because one or more lines are too long

View File

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

File diff suppressed because one or more lines are too long

View File

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

File diff suppressed because one or more lines are too long

View File

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

View File

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

File diff suppressed because one or more lines are too long

View File

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

File diff suppressed because one or more lines are too long

View File

@@ -3,6 +3,4 @@ $base-color: #363b3f;
$highlight-color: #e14d43;
$notification-color: #69a8bb;
$dashboard-accent-2: mix($base-color, $notification-color, 90%);
@import "../_admin.scss";

View File

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

File diff suppressed because one or more lines are too long

View File

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

File diff suppressed because one or more lines are too long

View File

@@ -7,6 +7,4 @@ $notification-color: $highlight-color;
$link: $highlight-color;
$link-focus: darken($highlight-color, 10%);
$custom-welcome-panel: "false";
@import "../_admin.scss";

View File

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

File diff suppressed because one or more lines are too long

View File

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

File diff suppressed because one or more lines are too long

View File

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

File diff suppressed because one or more lines are too long

View File

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

File diff suppressed because one or more lines are too long

View File

@@ -139,32 +139,24 @@
height: auto; /* Fixes a Safari+VoiceOver bug, see ticket #42006 */
}
.screen-reader-text + .dashicons-external {
margin-top: -1px;
margin-right: 2px;
}
.screen-reader-shortcut {
position: absolute;
top: -1000em;
}
.screen-reader-shortcut:focus {
right: 6px;
top: -25px;
height: auto;
width: auto;
display: block;
font-size: 14px;
font-weight: 600;
padding: 15px 23px 14px;
/* Background and color set to prevent false positives in automated accessibility tests. */
background: #f0f0f1;
color: #2271b1;
z-index: 100000;
line-height: normal;
}
.screen-reader-shortcut:focus {
top: -25px;
/* Overrides a:focus in the admin. See ticket #56789. */
color: #2271b1;
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
text-decoration: none;
/* Only visible in Windows High Contrast mode */
@@ -197,6 +189,7 @@ p.popular-tags,
.wp-editor-container,
.popular-tags,
.feature-filter,
.imgedit-group,
.comment-ays {
border: 1px solid #c3c4c7;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
@@ -209,6 +202,7 @@ p.popular-tags,
.widgets-holder-wrap,
.popular-tags,
.feature-filter,
.imgedit-group,
.comment-ays {
background: #fff;
}
@@ -277,7 +271,6 @@ a:active {
a:focus,
a:focus .media-icon img,
a:focus .plugin-icon,
.wp-person a:focus .gravatar {
color: #043959;
box-shadow:
@@ -559,14 +552,6 @@ code {
margin-right: 0;
}
.js-update-details-toggle .dashicons {
text-decoration: none;
}
.js-update-details-toggle[aria-expanded="true"] .dashicons::before {
content: "\f142";
}
.no-js .widefat thead .check-column input,
.no-js .widefat tfoot .check-column input {
display: none;
@@ -587,6 +572,10 @@ code {
margin: 10px 2px 0 20px;
}
.wrap.block-editor-no-js {
padding-right: 20px;
}
.wrap > h2:first-child, /* Back-compat for pre-4.4 */
.wrap [class$="icon32"] + h2, /* Back-compat for pre-4.4 */
.postbox .inside h2, /* Back-compat for pre-4.4 */
@@ -625,26 +614,20 @@ code {
.wrap .add-new-h2:active, /* deprecated */
.wrap .page-title-action,
.wrap .page-title-action:active {
display: inline-block;
position: relative;
box-sizing: border-box;
cursor: pointer;
white-space: nowrap;
text-decoration: none;
text-shadow: none;
top: -3px;
margin-right: 4px;
padding: 4px 8px;
position: relative;
top: -3px;
text-decoration: none;
border: 1px solid #2271b1;
border-radius: 3px;
background: #f6f7f7;
border-radius: 2px;
text-shadow: none;
font-weight: 600;
font-size: 13px;
font-weight: 400;
line-height: 2.15384615;
line-height: normal; /* IE8-IE11 need this for buttons */
color: #2271b1; /* use the standard color used for buttons */
padding: 0 10px;
min-height: 30px;
-webkit-appearance: none;
background: #f6f7f7;
cursor: pointer;
}
.wrap .wp-heading-inline + .page-title-action {
@@ -806,7 +789,7 @@ img.emoji {
/* @todo can we combine these into a class or use an existing dashicon one? */
.welcome-panel .welcome-panel-close:before,
.tagchecklist .ntdelbutton .remove-tag-icon:before,
#bulk-titles .ntdelbutton:before,
#bulk-titles div a:before,
.notice-dismiss:before {
background: none;
color: #787c82;
@@ -825,6 +808,10 @@ img.emoji {
margin: 0;
}
#bulk-titles div a:before {
margin: 1px 0;
}
.tagchecklist .ntdelbutton .remove-tag-icon:before {
margin-right: 2px;
border-radius: 50%;
@@ -839,8 +826,8 @@ img.emoji {
.tagchecklist .ntdelbutton:hover .remove-tag-icon:before,
.tagchecklist .ntdelbutton:focus .remove-tag-icon:before,
#bulk-titles .ntdelbutton:hover:before,
#bulk-titles .ntdelbutton:focus:before {
#bulk-titles div a:hover:before,
#bulk-titles div a:focus:before {
color: #d63638;
}
@@ -966,7 +953,6 @@ a#remove-post-thumbnail:hover,
padding: 6px 10px 8px;
}
.word-wrap-break-word,
.misc-pub-filename {
word-wrap: break-word;
}
@@ -1097,6 +1083,7 @@ th.action-links {
}
.wp-filter .search-form input[type="search"] {
margin: 1px 0;
width: 280px;
max-width: 100%;
}
@@ -1119,8 +1106,7 @@ th.action-links {
}
.wp-filter .search-form.search-plugins select,
.wp-filter .search-form.search-plugins .wp-filter-search,
.no-js .wp-filter .search-form.search-plugins .button {
.wp-filter .search-form.search-plugins .wp-filter-search {
display: inline-block;
margin-top: 10px;
vertical-align: top;
@@ -1592,9 +1578,6 @@ div.error {
.wrap .notice p:before,
.import-php .updating-message:before {
margin-left: 6px;
}
.import-php .updating-message:before {
vertical-align: bottom;
}
@@ -1855,7 +1838,6 @@ p.auto-update-status {
.metabox-prefs .screen-options .screen-per-page {
margin-left: 15px;
padding-left: 0;
}
.metabox-prefs .screen-options label {
@@ -3047,17 +3029,11 @@ div.action-links {
.plugin-details-modal #TB_closeWindowButton:hover,
.plugin-details-modal #TB_closeWindowButton:focus {
color: #135e96;
outline: none;
box-shadow: none;
}
.plugin-details-modal #TB_closeWindowButton:hover::after,
.plugin-details-modal #TB_closeWindowButton:focus::after {
outline: 2px solid;
outline-offset: -4px;
border-radius: 4px;
}
.plugin-details-modal .tb-close-icon {
display: none;
}
@@ -3177,6 +3153,7 @@ img {
font-family: Consolas, Monaco, monospace;
font-size: 13px;
background: #f6f7f7;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
}
@@ -4080,7 +4057,6 @@ img {
}
.wp-filter .search-form input[type="search"] {
width: 100%;
font-size: 1rem;
}
@@ -4134,16 +4110,9 @@ img {
.nav-tab-active:focus:active {
border-bottom: 1px solid #c3c4c7;
}
}
@media screen and (max-width: 480px) {
.metabox-prefs-container {
display: grid;
}
.metabox-prefs-container > * {
display: inline-block;
padding: 2px;
.wp-filter .search-form input[type="search"] {
width: 100%;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -138,32 +138,24 @@
height: auto; /* Fixes a Safari+VoiceOver bug, see ticket #42006 */
}
.screen-reader-text + .dashicons-external {
margin-top: -1px;
margin-left: 2px;
}
.screen-reader-shortcut {
position: absolute;
top: -1000em;
}
.screen-reader-shortcut:focus {
left: 6px;
top: -25px;
height: auto;
width: auto;
display: block;
font-size: 14px;
font-weight: 600;
padding: 15px 23px 14px;
/* Background and color set to prevent false positives in automated accessibility tests. */
background: #f0f0f1;
color: #2271b1;
z-index: 100000;
line-height: normal;
}
.screen-reader-shortcut:focus {
top: -25px;
/* Overrides a:focus in the admin. See ticket #56789. */
color: #2271b1;
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
text-decoration: none;
/* Only visible in Windows High Contrast mode */
@@ -196,6 +188,7 @@ p.popular-tags,
.wp-editor-container,
.popular-tags,
.feature-filter,
.imgedit-group,
.comment-ays {
border: 1px solid #c3c4c7;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
@@ -208,6 +201,7 @@ p.popular-tags,
.widgets-holder-wrap,
.popular-tags,
.feature-filter,
.imgedit-group,
.comment-ays {
background: #fff;
}
@@ -276,7 +270,6 @@ a:active {
a:focus,
a:focus .media-icon img,
a:focus .plugin-icon,
.wp-person a:focus .gravatar {
color: #043959;
box-shadow:
@@ -558,14 +551,6 @@ code {
margin-left: 0;
}
.js-update-details-toggle .dashicons {
text-decoration: none;
}
.js-update-details-toggle[aria-expanded="true"] .dashicons::before {
content: "\f142";
}
.no-js .widefat thead .check-column input,
.no-js .widefat tfoot .check-column input {
display: none;
@@ -586,6 +571,10 @@ code {
margin: 10px 20px 0 2px;
}
.wrap.block-editor-no-js {
padding-left: 20px;
}
.wrap > h2:first-child, /* Back-compat for pre-4.4 */
.wrap [class$="icon32"] + h2, /* Back-compat for pre-4.4 */
.postbox .inside h2, /* Back-compat for pre-4.4 */
@@ -624,26 +613,20 @@ code {
.wrap .add-new-h2:active, /* deprecated */
.wrap .page-title-action,
.wrap .page-title-action:active {
display: inline-block;
position: relative;
box-sizing: border-box;
cursor: pointer;
white-space: nowrap;
text-decoration: none;
text-shadow: none;
top: -3px;
margin-left: 4px;
padding: 4px 8px;
position: relative;
top: -3px;
text-decoration: none;
border: 1px solid #2271b1;
border-radius: 3px;
background: #f6f7f7;
border-radius: 2px;
text-shadow: none;
font-weight: 600;
font-size: 13px;
font-weight: 400;
line-height: 2.15384615;
line-height: normal; /* IE8-IE11 need this for buttons */
color: #2271b1; /* use the standard color used for buttons */
padding: 0 10px;
min-height: 30px;
-webkit-appearance: none;
background: #f6f7f7;
cursor: pointer;
}
.wrap .wp-heading-inline + .page-title-action {
@@ -805,7 +788,7 @@ img.emoji {
/* @todo can we combine these into a class or use an existing dashicon one? */
.welcome-panel .welcome-panel-close:before,
.tagchecklist .ntdelbutton .remove-tag-icon:before,
#bulk-titles .ntdelbutton:before,
#bulk-titles div a:before,
.notice-dismiss:before {
background: none;
color: #787c82;
@@ -824,6 +807,10 @@ img.emoji {
margin: 0;
}
#bulk-titles div a:before {
margin: 1px 0;
}
.tagchecklist .ntdelbutton .remove-tag-icon:before {
margin-left: 2px;
border-radius: 50%;
@@ -838,8 +825,8 @@ img.emoji {
.tagchecklist .ntdelbutton:hover .remove-tag-icon:before,
.tagchecklist .ntdelbutton:focus .remove-tag-icon:before,
#bulk-titles .ntdelbutton:hover:before,
#bulk-titles .ntdelbutton:focus:before {
#bulk-titles div a:hover:before,
#bulk-titles div a:focus:before {
color: #d63638;
}
@@ -965,7 +952,6 @@ a#remove-post-thumbnail:hover,
padding: 6px 10px 8px;
}
.word-wrap-break-word,
.misc-pub-filename {
word-wrap: break-word;
}
@@ -1096,6 +1082,7 @@ th.action-links {
}
.wp-filter .search-form input[type="search"] {
margin: 1px 0;
width: 280px;
max-width: 100%;
}
@@ -1118,8 +1105,7 @@ th.action-links {
}
.wp-filter .search-form.search-plugins select,
.wp-filter .search-form.search-plugins .wp-filter-search,
.no-js .wp-filter .search-form.search-plugins .button {
.wp-filter .search-form.search-plugins .wp-filter-search {
display: inline-block;
margin-top: 10px;
vertical-align: top;
@@ -1591,9 +1577,6 @@ div.error {
.wrap .notice p:before,
.import-php .updating-message:before {
margin-right: 6px;
}
.import-php .updating-message:before {
vertical-align: bottom;
}
@@ -1854,7 +1837,6 @@ p.auto-update-status {
.metabox-prefs .screen-options .screen-per-page {
margin-right: 15px;
padding-right: 0;
}
.metabox-prefs .screen-options label {
@@ -3046,17 +3028,11 @@ div.action-links {
.plugin-details-modal #TB_closeWindowButton:hover,
.plugin-details-modal #TB_closeWindowButton:focus {
color: #135e96;
outline: none;
box-shadow: none;
}
.plugin-details-modal #TB_closeWindowButton:hover::after,
.plugin-details-modal #TB_closeWindowButton:focus::after {
outline: 2px solid;
outline-offset: -4px;
border-radius: 4px;
}
.plugin-details-modal .tb-close-icon {
display: none;
}
@@ -3176,6 +3152,7 @@ img {
font-family: Consolas, Monaco, monospace;
font-size: 13px;
background: #f6f7f7;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
}
@@ -4079,7 +4056,6 @@ img {
}
.wp-filter .search-form input[type="search"] {
width: 100%;
font-size: 1rem;
}
@@ -4133,16 +4109,9 @@ img {
.nav-tab-active:focus:active {
border-bottom: 1px solid #c3c4c7;
}
}
@media screen and (max-width: 480px) {
.metabox-prefs-container {
display: grid;
}
.metabox-prefs-container > * {
display: inline-block;
padding: 2px;
.wp-filter .search-form input[type="search"] {
width: 100%;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -473,6 +473,7 @@ body.trashing #publish-settings {
height: 20px;
cursor: pointer;
box-shadow: none;
-webkit-appearance: none;
background: transparent;
color: #50575e;
border: none;
@@ -990,7 +991,7 @@ p.customize-section-description {
.customize-section-description a.external-link:after {
font: 16px/11px dashicons;
content: "\f504";
content: "\f310";
top: 3px;
position: relative;
padding-right: 3px;
@@ -1605,6 +1606,7 @@ p.customize-section-description {
font-family: Consolas, Monaco, monospace;
font-size: 12px;
padding: 6px 8px;
-moz-tab-size: 2;
-o-tab-size: 2;
tab-size: 2;
}
@@ -1732,12 +1734,6 @@ p.customize-section-description {
font-weight: 400;
}
#customize-notifications-area .notification-message button.switch-to-editor {
display: block;
margin-top: 6px;
font-weight: 400;
}
#customize-theme-controls .control-panel-themes > .accordion-section-title:after {
display: none;
}
@@ -2319,7 +2315,7 @@ p.customize-section-description {
.wp-customizer .theme-overlay .theme-actions {
text-align: left; /* Because there're only one or two actions, match the UI pattern of media modals and right-align the action. */
padding: 10px 25px 5px;
padding: 10px 25px;
background: #f0f0f1;
border-top: 1px solid #dcdcde;
}
@@ -2328,6 +2324,13 @@ p.customize-section-description {
margin-right: 8px;
}
.control-panel-themes .theme-actions .delete-theme {
right: 15px; /* these override themes.css on mobile */
left: auto;
bottom: auto;
position: absolute;
}
.modal-open .in-themes-panel #customize-controls .wp-full-overlay-sidebar-content {
overflow: visible; /* Prevent the top-level Customizer controls from becoming visible when elements on the right of the details modal are focused. */
}

File diff suppressed because one or more lines are too long

View File

@@ -472,6 +472,7 @@ body.trashing #publish-settings {
height: 20px;
cursor: pointer;
box-shadow: none;
-webkit-appearance: none;
background: transparent;
color: #50575e;
border: none;
@@ -989,7 +990,7 @@ p.customize-section-description {
.customize-section-description a.external-link:after {
font: 16px/11px dashicons;
content: "\f504";
content: "\f310";
top: 3px;
position: relative;
padding-left: 3px;
@@ -1604,6 +1605,7 @@ p.customize-section-description {
font-family: Consolas, Monaco, monospace;
font-size: 12px;
padding: 6px 8px;
-moz-tab-size: 2;
-o-tab-size: 2;
tab-size: 2;
}
@@ -1731,12 +1733,6 @@ p.customize-section-description {
font-weight: 400;
}
#customize-notifications-area .notification-message button.switch-to-editor {
display: block;
margin-top: 6px;
font-weight: 400;
}
#customize-theme-controls .control-panel-themes > .accordion-section-title:after {
display: none;
}
@@ -2318,7 +2314,7 @@ p.customize-section-description {
.wp-customizer .theme-overlay .theme-actions {
text-align: right; /* Because there're only one or two actions, match the UI pattern of media modals and right-align the action. */
padding: 10px 25px 5px;
padding: 10px 25px;
background: #f0f0f1;
border-top: 1px solid #dcdcde;
}
@@ -2327,6 +2323,13 @@ p.customize-section-description {
margin-left: 8px;
}
.control-panel-themes .theme-actions .delete-theme {
left: 15px; /* these override themes.css on mobile */
right: auto;
bottom: auto;
position: absolute;
}
.modal-open .in-themes-panel #customize-controls .wp-full-overlay-sidebar-content {
overflow: visible; /* Prevent the top-level Customizer controls from becoming visible when elements on the right of the details modal are focused. */
}

File diff suppressed because one or more lines are too long

View File

@@ -121,17 +121,32 @@
position: relative;
overflow: auto;
margin: 16px 0;
background-color: #151515;
background: #2271b1 url(../images/about-texture.png) center repeat;
background-size: 500px 500px;
background-blend-mode: overlay;
font-size: 14px;
line-height: 1.3;
clear: both;
}
.welcome-panel::before {
content: "";
position: absolute;
top: -16px;
left: 96px;
z-index: 0;
width: 300px;
height: 382px;
background: url(../images/about-header-about.svg) no-repeat center;
background-size: contain;
}
.welcome-panel h2 {
margin: 0;
font-size: 48px;
font-weight: 600;
line-height: 1.25;
color: #fff;
}
.welcome-panel h3 {
@@ -147,40 +162,16 @@
}
.welcome-panel-header {
position: relative;
color: #fff;
}
.welcome-panel-header-image {
position: absolute !important;
top: 0;
left: 0;
bottom: 0;
right: 0;
z-index: 0 !important;
overflow: hidden;
}
.welcome-panel-header-image svg {
display: block;
margin: auto;
width: 100%;
height: 100%;
}
.rtl .welcome-panel-header-image svg {
transform: scaleX(-1);
}
.welcome-panel-header * {
color: inherit;
position: relative;
z-index: 1;
.welcome-panel-header a {
color: #fff;
}
.welcome-panel-header a:focus,
.welcome-panel-header a:hover {
color: inherit;
color: #f5e6ab;
text-decoration: none;
}
@@ -205,7 +196,6 @@
font-size: 13px;
line-height: 1.23076923; /* Chrome rounding, needs to be 16px equivalent */
text-decoration: none;
z-index: 1; /* Raise above the version image. */
}
.welcome-panel .welcome-panel-close:before {
@@ -226,7 +216,7 @@
.welcome-panel .welcome-panel-close:focus,
.welcome-panel .welcome-panel-close:hover::before,
.welcome-panel .welcome-panel-close:focus::before {
color: #fff972;
color: #f5e6ab;
}
/* @deprecated 5.9.0 -- Button removed from panel. */
@@ -251,7 +241,8 @@
margin-left: auto;
max-width: 1500px;
width: 100%;
padding: 48px 48px 80px 0;
/* 408px = 300px (balloon width) + 96px (offset from edge) + 16px (spacing). */
padding: 48px 48px 48px 408px;
}
.welcome-panel .welcome-panel-column-container {
@@ -260,6 +251,7 @@
clear: both;
display: grid;
z-index: 1;
margin-top: 32px;
padding: 48px;
grid-template-columns: repeat(3, 1fr);
gap: 32px;
@@ -270,16 +262,13 @@
[class*="welcome-panel-icon"] {
height: 60px;
width: 60px;
background-color: #1d2327;
background-position: center;
background-size: 24px 24px;
background-repeat: no-repeat;
border-radius: 100%;
}
.welcome-panel-column > svg {
margin-top: 4px;
}
.welcome-panel-column {
display: grid;
grid-template-columns: min-content 1fr;
@@ -559,10 +548,6 @@
display: block;
}
.community-events .ce-separator::before {
content: "\2022";
}
.event-icon {
height: 18px;
padding-left: 10px;
@@ -894,32 +879,31 @@ body #dashboard-widgets .postbox form .submit {
#future-posts ul,
#published-posts ul {
margin: 8px -12px 0 -12px;
clear: both;
margin-bottom: 0;
}
#future-posts li,
#published-posts li {
display: grid;
grid-template-columns: clamp(160px, calc(2vw + 140px), 200px) auto;
column-gap: 10px;
color: #646970;
padding: 4px 12px;
margin-bottom: 8px;
}
#future-posts li:nth-child(odd),
#published-posts li:nth-child(odd) {
background-color: #f6f7f7;
#future-posts ul span,
#published-posts ul span {
display: inline-block;
margin-left: 5px;
min-width: 150px;
color: #646970;
}
.activity-block {
border-bottom: 1px solid #f0f0f1;
margin: 0 -12px 6px -12px;
margin: 0 -12px;
padding: 8px 12px 4px;
}
.activity-block:last-child {
border-bottom: none;
margin-bottom: 0;
}
.activity-block .subsubsub li {
@@ -1200,8 +1184,7 @@ a.rsswidget {
padding-left: 6px;
}
#dashboard_php_nag.php-no-security-updates .dashicons-warning,
#dashboard_php_nag.php-version-lower-than-future-minimum .dashicons-warning {
#dashboard_php_nag.php-insecure .dashicons-warning {
color: #d63638;
}
@@ -1213,13 +1196,12 @@ a.rsswidget {
margin: 12px 0;
}
#dashboard_php_nag .button .dashicons-external {
line-height: 25px;
#dashboard_php_nag h3 {
font-weight: 600;
}
.bigger-bolder-text {
font-weight: 600;
font-size: 14px;
#dashboard_php_nag .button .dashicons-external {
line-height: 25px;
}
/* =Media Queries
@@ -1366,13 +1348,23 @@ a.rsswidget {
grid-template-columns: 1fr;
}
[class*="welcome-panel-icon"],
.welcome-panel-column > svg {
[class*="welcome-panel-icon"] {
display: none;
}
}
@media screen and (max-width: 782px) {
.welcome-panel::before {
width: 240px;
height: 305px;
left: 32px;
}
.welcome-panel-header {
/* 288px = 240px (balloon width) + 32px (offset from edge) + 16px (spacing). */
padding: 32px 32px 32px 288px;
}
.welcome-panel .welcome-panel-column-container {
grid-template-columns: 1fr;
box-sizing: border-box;
@@ -1443,12 +1435,12 @@ a.rsswidget {
/* Smartphone */
@media screen and (max-width: 600px) {
.welcome-panel-header {
padding: 32px 32px 64px;
.welcome-panel::before {
display: none;
}
.welcome-panel-header-image {
display: none;
.welcome-panel-header {
padding: 32px;
}
}
@@ -1463,8 +1455,7 @@ a.rsswidget {
grid-template-columns: 1fr;
}
[class*="welcome-panel-icon"],
.welcome-panel-column > svg {
[class*="welcome-panel-icon"] {
display: none;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -120,17 +120,32 @@
position: relative;
overflow: auto;
margin: 16px 0;
background-color: #151515;
background: #2271b1 url(../images/about-texture.png) center repeat;
background-size: 500px 500px;
background-blend-mode: overlay;
font-size: 14px;
line-height: 1.3;
clear: both;
}
.welcome-panel::before {
content: "";
position: absolute;
top: -16px;
right: 96px;
z-index: 0;
width: 300px;
height: 382px;
background: url(../images/about-header-about.svg) no-repeat center;
background-size: contain;
}
.welcome-panel h2 {
margin: 0;
font-size: 48px;
font-weight: 600;
line-height: 1.25;
color: #fff;
}
.welcome-panel h3 {
@@ -146,40 +161,16 @@
}
.welcome-panel-header {
position: relative;
color: #fff;
}
.welcome-panel-header-image {
position: absolute !important;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 0 !important;
overflow: hidden;
}
.welcome-panel-header-image svg {
display: block;
margin: auto;
width: 100%;
height: 100%;
}
.rtl .welcome-panel-header-image svg {
transform: scaleX(-1);
}
.welcome-panel-header * {
color: inherit;
position: relative;
z-index: 1;
.welcome-panel-header a {
color: #fff;
}
.welcome-panel-header a:focus,
.welcome-panel-header a:hover {
color: inherit;
color: #f5e6ab;
text-decoration: none;
}
@@ -204,7 +195,6 @@
font-size: 13px;
line-height: 1.23076923; /* Chrome rounding, needs to be 16px equivalent */
text-decoration: none;
z-index: 1; /* Raise above the version image. */
}
.welcome-panel .welcome-panel-close:before {
@@ -225,7 +215,7 @@
.welcome-panel .welcome-panel-close:focus,
.welcome-panel .welcome-panel-close:hover::before,
.welcome-panel .welcome-panel-close:focus::before {
color: #fff972;
color: #f5e6ab;
}
/* @deprecated 5.9.0 -- Button removed from panel. */
@@ -250,7 +240,8 @@
margin-right: auto;
max-width: 1500px;
width: 100%;
padding: 48px 0 80px 48px;
/* 408px = 300px (balloon width) + 96px (offset from edge) + 16px (spacing). */
padding: 48px 408px 48px 48px;
}
.welcome-panel .welcome-panel-column-container {
@@ -259,6 +250,7 @@
clear: both;
display: grid;
z-index: 1;
margin-top: 32px;
padding: 48px;
grid-template-columns: repeat(3, 1fr);
gap: 32px;
@@ -269,16 +261,13 @@
[class*="welcome-panel-icon"] {
height: 60px;
width: 60px;
background-color: #1d2327;
background-position: center;
background-size: 24px 24px;
background-repeat: no-repeat;
border-radius: 100%;
}
.welcome-panel-column > svg {
margin-top: 4px;
}
.welcome-panel-column {
display: grid;
grid-template-columns: min-content 1fr;
@@ -558,10 +547,6 @@
display: block;
}
.community-events .ce-separator::before {
content: "\2022";
}
.event-icon {
height: 18px;
padding-right: 10px;
@@ -893,32 +878,31 @@ body #dashboard-widgets .postbox form .submit {
#future-posts ul,
#published-posts ul {
margin: 8px -12px 0 -12px;
clear: both;
margin-bottom: 0;
}
#future-posts li,
#published-posts li {
display: grid;
grid-template-columns: clamp(160px, calc(2vw + 140px), 200px) auto;
column-gap: 10px;
color: #646970;
padding: 4px 12px;
margin-bottom: 8px;
}
#future-posts li:nth-child(odd),
#published-posts li:nth-child(odd) {
background-color: #f6f7f7;
#future-posts ul span,
#published-posts ul span {
display: inline-block;
margin-right: 5px;
min-width: 150px;
color: #646970;
}
.activity-block {
border-bottom: 1px solid #f0f0f1;
margin: 0 -12px 6px -12px;
margin: 0 -12px;
padding: 8px 12px 4px;
}
.activity-block:last-child {
border-bottom: none;
margin-bottom: 0;
}
.activity-block .subsubsub li {
@@ -1199,8 +1183,7 @@ a.rsswidget {
padding-right: 6px;
}
#dashboard_php_nag.php-no-security-updates .dashicons-warning,
#dashboard_php_nag.php-version-lower-than-future-minimum .dashicons-warning {
#dashboard_php_nag.php-insecure .dashicons-warning {
color: #d63638;
}
@@ -1212,13 +1195,12 @@ a.rsswidget {
margin: 12px 0;
}
#dashboard_php_nag .button .dashicons-external {
line-height: 25px;
#dashboard_php_nag h3 {
font-weight: 600;
}
.bigger-bolder-text {
font-weight: 600;
font-size: 14px;
#dashboard_php_nag .button .dashicons-external {
line-height: 25px;
}
/* =Media Queries
@@ -1365,13 +1347,23 @@ a.rsswidget {
grid-template-columns: 1fr;
}
[class*="welcome-panel-icon"],
.welcome-panel-column > svg {
[class*="welcome-panel-icon"] {
display: none;
}
}
@media screen and (max-width: 782px) {
.welcome-panel::before {
width: 240px;
height: 305px;
right: 32px;
}
.welcome-panel-header {
/* 288px = 240px (balloon width) + 32px (offset from edge) + 16px (spacing). */
padding: 32px 288px 32px 32px;
}
.welcome-panel .welcome-panel-column-container {
grid-template-columns: 1fr;
box-sizing: border-box;
@@ -1442,12 +1434,12 @@ a.rsswidget {
/* Smartphone */
@media screen and (max-width: 600px) {
.welcome-panel-header {
padding: 32px 32px 64px;
.welcome-panel::before {
display: none;
}
.welcome-panel-header-image {
display: none;
.welcome-panel-header {
padding: 32px;
}
}
@@ -1462,8 +1454,7 @@ a.rsswidget {
grid-template-columns: 1fr;
}
[class*="welcome-panel-icon"],
.welcome-panel-column > svg {
[class*="welcome-panel-icon"] {
display: none;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -98,12 +98,6 @@ input#link_url {
color: #646970;
}
#sample-permalink {
display: inline-block;
max-width: 100%;
word-wrap: break-word;
}
#edit-slug-box .cancel {
margin-left: 10px;
padding: 0;
@@ -726,17 +720,6 @@ form#tags-filter {
padding-right: 0;
}
/* Better position for the WordPress admin notices. */
.privacy-settings .notice,
.site-health .notice {
margin: 25px 22px 15px 20px;
}
.privacy-settings .notice ~ .notice,
.site-health .notice ~ .notice {
margin-top: 5px;
}
/* Emulates .wrap h1 styling */
.privacy-settings-header h1,
.health-check-header h1 {
@@ -1069,10 +1052,6 @@ form#tags-filter {
padding: 0 8px 8px;
}
#postcustom #postcustomstuff .add-custom-field {
padding: 12px 8px 8px;
}
#side-sortables #postcustom #postcustomstuff .submit {
margin: 0;
padding: 0;
@@ -1123,8 +1102,7 @@ form#tags-filter {
width: auto;
}
#postcustomstuff #newmetaleft a,
#postcustomstuff #newmeta-button {
#postcustomstuff #newmetaleft a {
display: inline-block;
margin: 0 8px 8px;
text-decoration: none;
@@ -1986,6 +1964,11 @@ table.links-table {
padding: 20px 10px;
}
.misc-pub-section > a {
float: left;
font-size: 16px;
}
#delete-action,
#publishing-action {
line-height: 3.61538461;

File diff suppressed because one or more lines are too long

View File

@@ -97,12 +97,6 @@ input#link_url {
color: #646970;
}
#sample-permalink {
display: inline-block;
max-width: 100%;
word-wrap: break-word;
}
#edit-slug-box .cancel {
margin-right: 10px;
padding: 0;
@@ -725,17 +719,6 @@ form#tags-filter {
padding-left: 0;
}
/* Better position for the WordPress admin notices. */
.privacy-settings .notice,
.site-health .notice {
margin: 25px 20px 15px 22px;
}
.privacy-settings .notice ~ .notice,
.site-health .notice ~ .notice {
margin-top: 5px;
}
/* Emulates .wrap h1 styling */
.privacy-settings-header h1,
.health-check-header h1 {
@@ -1068,10 +1051,6 @@ form#tags-filter {
padding: 0 8px 8px;
}
#postcustom #postcustomstuff .add-custom-field {
padding: 12px 8px 8px;
}
#side-sortables #postcustom #postcustomstuff .submit {
margin: 0;
padding: 0;
@@ -1122,8 +1101,7 @@ form#tags-filter {
width: auto;
}
#postcustomstuff #newmetaleft a,
#postcustomstuff #newmeta-button {
#postcustomstuff #newmetaleft a {
display: inline-block;
margin: 0 8px 8px;
text-decoration: none;
@@ -1985,6 +1963,11 @@ table.links-table {
padding: 20px 10px;
}
.misc-pub-section > a {
float: right;
font-size: 16px;
}
#delete-action,
#publishing-action {
line-height: 3.61538461;

File diff suppressed because one or more lines are too long

View File

@@ -548,67 +548,10 @@ fieldset label,
.wp-generate-pw {
margin-top: 1em;
position: relative;
}
.wp-pwd button {
height: min-content;
}
.wp-pwd button.pwd-toggle .dashicons {
position: relative;
top: 0.25rem;
}
.wp-pwd {
margin-top: 1em;
position: relative;
}
.mailserver-pass-wrap .wp-pwd {
display: inline-block;
margin-top: 0;
}
/* rtl:ignore */
#mailserver_pass {
padding-right: 2.5rem;
}
/* rtl:ignore */
.mailserver-pass-wrap .button.wp-hide-pw {
background: transparent;
border: 1px solid transparent;
box-shadow: none;
font-size: 14px;
line-height: 2;
width: 2.5rem;
min-width: 40px;
margin: 0;
padding: 0 9px;
position: absolute;
right: 0;
top: 0;
}
.mailserver-pass-wrap .button.wp-hide-pw:hover {
background: transparent;
border-color: transparent;
}
.mailserver-pass-wrap .button.wp-hide-pw:focus {
background: transparent;
border-color: #3582c4;
border-radius: 4px;
box-shadow: 0 0 0 1px #3582c4;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
}
.mailserver-pass-wrap .button.wp-hide-pw:active {
background: transparent;
box-shadow: none;
transform: none;
}
#misc-publishing-actions label {
@@ -651,10 +594,6 @@ fieldset label,
opacity: 1;
}
.password-input-wrapper {
display: inline-block;
}
.password-input-wrapper input {
font-family: Consolas, Monaco, monospace;
}
@@ -733,7 +672,7 @@ input[type="text"].ui-autocomplete-loading,
input[type="email"].ui-autocomplete-loading {
background-image: url(../images/loading.gif);
background-repeat: no-repeat;
background-position: left 5px center;
background-position: left center;
visibility: visible;
}
@@ -838,12 +777,6 @@ ul#add-to-blog-users {
.form-table p.timezone-info {
margin: 1em 0;
display: flex;
flex-direction: column;
}
#local-time {
margin-top: 0.5em;
}
.form-table td fieldset label {
@@ -953,7 +886,6 @@ table.form-table td .updated p {
#application-passwords-section .notice {
margin-top: 20px;
margin-bottom: 0;
word-wrap: break-word;
}
.application-password-display input.code {
@@ -1131,49 +1063,16 @@ table.form-table td .updated p {
}
.settings-php .language-install-spinner,
.options-general-php .language-install-spinner,
.user-edit-php .language-install-spinner,
.profile-php .language-install-spinner {
.options-general-php .language-install-spinner {
display: inline-block;
float: none;
margin: -3px 5px 0;
vertical-align: middle;
}
.form-table.permalink-structure .available-structure-tags {
margin-top: 8px;
}
.form-table.permalink-structure .available-structure-tags ul {
display: flex;
flex-wrap: wrap;
margin: 8px 0 0;
}
.form-table.permalink-structure .available-structure-tags li {
margin: 6px 0 0 5px;
}
.form-table.permalink-structure .available-structure-tags li:last-child {
margin-left: 0;
}
.form-table.permalink-structure .structure-selection .row {
margin-bottom: 16px;
}
.form-table.permalink-structure .structure-selection .row > div {
max-width: calc(100% - 24px);
display: inline-flex;
flex-direction: column;
}
.form-table.permalink-structure .structure-selection .row label {
font-weight: 600;
}
.form-table.permalink-structure .structure-selection .row p {
margin-top: 0;
float: right;
margin-left: 5px;
}
/*------------------------------------------------------------------------------
@@ -1209,11 +1108,6 @@ table.form-table td .updated p {
max-width: 60%;
}
.configuration-rules-label {
font-weight: 600;
margin-bottom: 4px;
}
/*------------------------------------------------------------------------------
Credentials check dialog for Install and Updates
------------------------------------------------------------------------------*/
@@ -1635,25 +1529,19 @@ table.form-table td .updated p {
margin: 0 3px;
}
.form-table .regular-text ~ input[type="text"].small-text {
margin-top: 5px;
}
#pass-strength-result {
width: 100%;
box-sizing: border-box;
padding: 8px;
}
.password-input-wrapper {
display: block;
}
p.search-box {
float: none;
width: 100%;
position: absolute;
bottom: 0;
width: 98%;
height: 90px;
margin-bottom: 20px;
display: flex;
}
p.search-box input[name="s"] {
@@ -1685,20 +1573,14 @@ table.form-table td .updated p {
}
.form-table.permalink-structure td code {
margin-right: 32px;
display: inline-block;
}
.form-table.permalink-structure .structure-selection {
margin-top: 8px;
}
.form-table.permalink-structure .structure-selection .row > div {
max-width: calc(100% - 36px);
width: 100%;
}
.form-table.permalink-structure td input[type="text"] {
margin-right: 32px;
margin-top: 4px;
width: 96%;
}
.form-table input.regular-text {
@@ -1709,11 +1591,6 @@ table.form-table td .updated p {
font-size: 14px;
}
.form-table td > label:first-child {
display: inline-block;
margin-top: 0.35em;
}
.background-position-control .button-group > label {
font-size: 0;
}
@@ -1722,6 +1599,13 @@ table.form-table td .updated p {
display: block;
}
#utc-time,
#local-time {
display: block;
float: none;
margin-top: 0.5em;
}
.form-field #domain {
max-width: none;
}
@@ -1756,10 +1640,6 @@ table.form-table td .updated p {
left: 2.5rem;
}
body.user-new-php .wp-pwd button.wp-hide-pw {
left: 0;
}
.wp-pwd button.button:hover,
.wp-pwd button.button:focus {
background: transparent;
@@ -1781,24 +1661,10 @@ table.form-table td .updated p {
padding-left: 5rem;
}
body.user-new-php .wp-pwd [type="text"],
body.user-new-php .wp-pwd [type="password"] {
padding-left: 2.5rem;
}
.wp-cancel-pw .dashicons-no {
display: inline-block;
}
.mailserver-pass-wrap .wp-pwd {
display: block;
}
/* rtl:ignore */
#mailserver_pass {
padding-left: 10px;
}
.options-general-php input[type="text"].small-text {
max-width: 6.25em;
margin: 0;

File diff suppressed because one or more lines are too long

View File

@@ -547,67 +547,10 @@ fieldset label,
.wp-generate-pw {
margin-top: 1em;
position: relative;
}
.wp-pwd button {
height: min-content;
}
.wp-pwd button.pwd-toggle .dashicons {
position: relative;
top: 0.25rem;
}
.wp-pwd {
margin-top: 1em;
position: relative;
}
.mailserver-pass-wrap .wp-pwd {
display: inline-block;
margin-top: 0;
}
/* rtl:ignore */
#mailserver_pass {
padding-right: 2.5rem;
}
/* rtl:ignore */
.mailserver-pass-wrap .button.wp-hide-pw {
background: transparent;
border: 1px solid transparent;
box-shadow: none;
font-size: 14px;
line-height: 2;
width: 2.5rem;
min-width: 40px;
margin: 0;
padding: 0 9px;
position: absolute;
right: 0;
top: 0;
}
.mailserver-pass-wrap .button.wp-hide-pw:hover {
background: transparent;
border-color: transparent;
}
.mailserver-pass-wrap .button.wp-hide-pw:focus {
background: transparent;
border-color: #3582c4;
border-radius: 4px;
box-shadow: 0 0 0 1px #3582c4;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
}
.mailserver-pass-wrap .button.wp-hide-pw:active {
background: transparent;
box-shadow: none;
transform: none;
}
#misc-publishing-actions label {
@@ -650,10 +593,6 @@ fieldset label,
opacity: 1;
}
.password-input-wrapper {
display: inline-block;
}
.password-input-wrapper input {
font-family: Consolas, Monaco, monospace;
}
@@ -732,7 +671,7 @@ input[type="text"].ui-autocomplete-loading,
input[type="email"].ui-autocomplete-loading {
background-image: url(../images/loading.gif);
background-repeat: no-repeat;
background-position: right 5px center;
background-position: right center;
visibility: visible;
}
@@ -837,12 +776,6 @@ ul#add-to-blog-users {
.form-table p.timezone-info {
margin: 1em 0;
display: flex;
flex-direction: column;
}
#local-time {
margin-top: 0.5em;
}
.form-table td fieldset label {
@@ -952,7 +885,6 @@ table.form-table td .updated p {
#application-passwords-section .notice {
margin-top: 20px;
margin-bottom: 0;
word-wrap: break-word;
}
.application-password-display input.code {
@@ -1130,49 +1062,16 @@ table.form-table td .updated p {
}
.settings-php .language-install-spinner,
.options-general-php .language-install-spinner,
.user-edit-php .language-install-spinner,
.profile-php .language-install-spinner {
.options-general-php .language-install-spinner {
display: inline-block;
float: none;
margin: -3px 5px 0;
vertical-align: middle;
}
.form-table.permalink-structure .available-structure-tags {
margin-top: 8px;
}
.form-table.permalink-structure .available-structure-tags ul {
display: flex;
flex-wrap: wrap;
margin: 8px 0 0;
}
.form-table.permalink-structure .available-structure-tags li {
margin: 6px 5px 0 0;
}
.form-table.permalink-structure .available-structure-tags li:last-child {
margin-right: 0;
}
.form-table.permalink-structure .structure-selection .row {
margin-bottom: 16px;
}
.form-table.permalink-structure .structure-selection .row > div {
max-width: calc(100% - 24px);
display: inline-flex;
flex-direction: column;
}
.form-table.permalink-structure .structure-selection .row label {
font-weight: 600;
}
.form-table.permalink-structure .structure-selection .row p {
margin-top: 0;
float: left;
margin-right: 5px;
}
/*------------------------------------------------------------------------------
@@ -1208,11 +1107,6 @@ table.form-table td .updated p {
max-width: 60%;
}
.configuration-rules-label {
font-weight: 600;
margin-bottom: 4px;
}
/*------------------------------------------------------------------------------
Credentials check dialog for Install and Updates
------------------------------------------------------------------------------*/
@@ -1634,25 +1528,19 @@ table.form-table td .updated p {
margin: 0 3px;
}
.form-table .regular-text ~ input[type="text"].small-text {
margin-top: 5px;
}
#pass-strength-result {
width: 100%;
box-sizing: border-box;
padding: 8px;
}
.password-input-wrapper {
display: block;
}
p.search-box {
float: none;
width: 100%;
position: absolute;
bottom: 0;
width: 98%;
height: 90px;
margin-bottom: 20px;
display: flex;
}
p.search-box input[name="s"] {
@@ -1684,20 +1572,14 @@ table.form-table td .updated p {
}
.form-table.permalink-structure td code {
margin-left: 32px;
display: inline-block;
}
.form-table.permalink-structure .structure-selection {
margin-top: 8px;
}
.form-table.permalink-structure .structure-selection .row > div {
max-width: calc(100% - 36px);
width: 100%;
}
.form-table.permalink-structure td input[type="text"] {
margin-left: 32px;
margin-top: 4px;
width: 96%;
}
.form-table input.regular-text {
@@ -1708,11 +1590,6 @@ table.form-table td .updated p {
font-size: 14px;
}
.form-table td > label:first-child {
display: inline-block;
margin-top: 0.35em;
}
.background-position-control .button-group > label {
font-size: 0;
}
@@ -1721,6 +1598,13 @@ table.form-table td .updated p {
display: block;
}
#utc-time,
#local-time {
display: block;
float: none;
margin-top: 0.5em;
}
.form-field #domain {
max-width: none;
}
@@ -1755,10 +1639,6 @@ table.form-table td .updated p {
right: 2.5rem;
}
body.user-new-php .wp-pwd button.wp-hide-pw {
right: 0;
}
.wp-pwd button.button:hover,
.wp-pwd button.button:focus {
background: transparent;
@@ -1780,24 +1660,10 @@ table.form-table td .updated p {
padding-right: 5rem;
}
body.user-new-php .wp-pwd [type="text"],
body.user-new-php .wp-pwd [type="password"] {
padding-right: 2.5rem;
}
.wp-cancel-pw .dashicons-no {
display: inline-block;
}
.mailserver-pass-wrap .wp-pwd {
display: block;
}
/* rtl:ignore */
#mailserver_pass {
padding-left: 10px;
}
.options-general-php input[type="text"].small-text {
max-width: 6.25em;
margin: 0;

File diff suppressed because one or more lines are too long

View File

@@ -132,7 +132,7 @@ textarea {
font-size: 14px;
text-align: right;
padding: 10px 0 10px 20px;
width: 115px;
width: 140px;
vertical-align: top;
}
@@ -146,30 +146,12 @@ textarea {
font-size: 11px;
}
.form-table .setup-description {
margin: 4px 0 0;
line-height: 1.6;
}
.form-table input {
line-height: 1.33333333;
font-size: 15px;
padding: 3px 5px;
}
.wp-pwd {
margin-top: 0;
}
.form-table .wp-pwd {
display: flex;
column-gap: 4px;
}
.form-table .password-input-wrapper {
width: 100%;
}
input,
submit {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
@@ -180,7 +162,7 @@ submit {
.form-table input[type=url],
.form-table input[type=password],
#pass-strength-result {
width: 100%;
width: 218px;
}
.form-table th p {
@@ -305,10 +287,6 @@ body.rtl,
box-sizing: border-box;
}
#pwd {
padding-left: 2.5rem;
}
.wp-pwd #pass1 {
padding-left: 50px;
}

File diff suppressed because one or more lines are too long

View File

@@ -131,7 +131,7 @@ textarea {
font-size: 14px;
text-align: left;
padding: 10px 20px 10px 0;
width: 115px;
width: 140px;
vertical-align: top;
}
@@ -145,30 +145,12 @@ textarea {
font-size: 11px;
}
.form-table .setup-description {
margin: 4px 0 0;
line-height: 1.6;
}
.form-table input {
line-height: 1.33333333;
font-size: 15px;
padding: 3px 5px;
}
.wp-pwd {
margin-top: 0;
}
.form-table .wp-pwd {
display: flex;
column-gap: 4px;
}
.form-table .password-input-wrapper {
width: 100%;
}
input,
submit {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
@@ -179,7 +161,7 @@ submit {
.form-table input[type=url],
.form-table input[type=password],
#pass-strength-result {
width: 100%;
width: 218px;
}
.form-table th p {
@@ -304,10 +286,6 @@ body.rtl,
box-sizing: border-box;
}
#pwd {
padding-right: 2.5rem;
}
.wp-pwd #pass1 {
padding-right: 50px;
}

File diff suppressed because one or more lines are too long

View File

@@ -385,23 +385,6 @@ table.media .column-title .filename {
margin-bottom: 0.2em;
}
/* Media Copy to clipboard row action */
.media .row-actions .copy-to-clipboard-container {
display: inline;
position: relative;
}
.media .row-actions .copy-to-clipboard-container .success {
position: absolute;
right: 50%;
transform: translate(50%, -100%);
background: #000;
color: #fff;
border-radius: 5px;
margin: 0;
padding: 2px 5px;
}
/* @todo: pick a consistent list table selector */
.wp-list-table a {
transition: none;
@@ -462,64 +445,50 @@ table.media .column-title .filename {
width: 160px;
}
.sorting-indicators {
display: grid;
}
.sorting-indicator {
display: block;
visibility: hidden;
width: 10px;
height: 4px;
margin-top: 4px;
margin-top: 8px;
margin-right: 7px;
}
.sorting-indicator:before {
content: "\f142";
font: normal 20px/1 dashicons;
speak: never;
display: inline-block;
padding: 0;
top: -4px;
right: -8px;
color: #3c434a;
line-height: 0.5;
position: relative;
vertical-align: top;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-decoration: none !important;
color: #a7aaad;
color: #3c434a;
}
.sorting-indicator.asc:before {
.column-comments .sorting-indicator:before {
top: 0;
right: -10px;
}
th.sorted.asc .sorting-indicator:before,
th.desc:hover span.sorting-indicator:before,
th.desc a:focus span.sorting-indicator:before {
content: "\f142";
}
.sorting-indicator.desc:before {
th.sorted.desc .sorting-indicator:before,
th.asc:hover span.sorting-indicator:before,
th.asc a:focus span.sorting-indicator:before {
content: "\f140";
}
th.sorted.desc .sorting-indicator.desc:before {
color: #1d2327;
}
th.sorted.asc .sorting-indicator.asc:before {
color: #1d2327;
}
th.sorted.asc a:focus .sorting-indicator.asc:before,
th.sorted.asc:hover .sorting-indicator.asc:before,
th.sorted.desc a:focus .sorting-indicator.desc:before,
th.sorted.desc:hover .sorting-indicator.desc:before {
color: #a7aaad;
}
th.sorted.asc a:focus .sorting-indicator.desc:before,
th.sorted.asc:hover .sorting-indicator.desc:before,
th.sorted.desc a:focus .sorting-indicator.asc:before,
th.sorted.desc:hover .sorting-indicator.asc:before {
color: #1d2327;
}
.wp-list-table .toggle-row {
position: absolute;
left: 8px;
@@ -567,35 +536,6 @@ th.sorted.desc:hover .sorting-indicator.asc:before {
content: "\f142";
}
.check-column {
position: relative;
}
.check-column label {
box-sizing: border-box;
width: 100%;
height: 100%;
display: block;
position: absolute;
top: 0;
right: 0;
}
.check-column input {
position: relative;
z-index: 1;
}
.check-column input:where(:not(:disabled)):hover,
.check-column:hover input:where(:not(:disabled)) {
box-shadow: 0 0 0 1px #2271b1;
}
.check-column label:hover,
.check-column input:hover + label {
background: rgba(0, 0, 0, 0.05);
}
.locked-indicator {
display: none;
margin-right: 6px;
@@ -635,6 +575,10 @@ tr.wp-locked .row-actions .trash {
display: none;
}
.fixed .column-comments .sorting-indicator {
margin-top: 3px;
}
#menu-locations-wrap .widefat {
width: 60%;
}
@@ -662,6 +606,14 @@ th.sorted a span {
cursor: pointer;
}
th.sorted .sorting-indicator,
th.desc:hover span.sorting-indicator,
th.desc a:focus span.sorting-indicator,
th.asc:hover span.sorting-indicator,
th.asc a:focus span.sorting-indicator {
visibility: visible;
}
.tablenav-pages .current-page {
margin: 0 0 0 2px;
font-size: 13px;
@@ -890,35 +842,16 @@ tr:hover .row-actions,
/* Layout */
#wpbody-content .inline-edit-row fieldset {
font-size: 12px;
float: right;
margin: 0;
padding: 0 0 0 12px;
width: 100%;
box-sizing: border-box;
}
#wpbody-content .inline-edit-row td fieldset:last-of-type {
padding-left: 0;
}
tr.inline-edit-row td {
padding: 0;
/* Prevents the focus style on .inline-edit-wrapper from being cutted-off */
position: relative;
width: 100%;
}
.inline-edit-wrapper {
display: flow-root;
padding: 0 12px;
border: 1px solid transparent;
border-radius: 4px;
}
.inline-edit-wrapper:focus {
border-color: #2271b1;
box-shadow: 0 0 0 1px #2271b1;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
tr.inline-edit-row td,
#wpbody-content .inline-edit-row fieldset .inline-edit-col {
padding: 0 0.5em;
}
#wpbody-content .quick-edit-row-post .inline-edit-col-left {
@@ -939,7 +872,7 @@ tr.inline-edit-row td {
#wpbody-content .quick-edit-row-page .inline-edit-col-right,
#wpbody-content .bulk-edit-row-post .inline-edit-col-right {
width: 50%;
width: 49%;
}
#wpbody-content .bulk-edit-row .inline-edit-col-left {
@@ -965,26 +898,12 @@ tr.inline-edit-row td {
}
.inline-edit-row .submit {
display: flex;
flex-wrap: wrap;
align-items: center;
clear: both;
margin: 0;
padding: 0.5em 0 1em;
}
.inline-edit-save.submit .button {
margin-left: 8px;
}
.inline-edit-save .spinner {
float: none;
margin: 0;
padding: 0.5em;
margin: 0.5em 0 0;
}
.inline-edit-row .notice-error {
box-sizing: border-box;
min-width: 100%;
margin-top: 1em;
}
@@ -998,11 +917,15 @@ tr.inline-edit-row td {
/* Needs higher specificity for the padding */
#the-list .inline-edit-row .inline-edit-legend {
margin: 0;
padding: 0.2em 0;
padding: 0.2em 0.5em 0;
line-height: 2.5;
font-weight: 600;
}
#the-list #bulk-edit.inline-edit-row .inline-edit-legend {
padding: 0.2em 0.5em;
}
.inline-edit-row fieldset span.title,
.inline-edit-row fieldset span.checkbox-title {
margin: 0;
@@ -1109,17 +1032,34 @@ tr.inline-edit-row td {
width: 8em;
}
#bulk-titles-list,
#bulk-titles-list li,
ul.cat-checklist {
height: 12em;
border: solid 1px #dcdcde;
overflow-y: scroll;
padding: 0 5px;
margin: 0;
background-color: #fff;
}
#bulk-titles {
display: block;
height: 12em;
border: 1px solid #dcdcde;
overflow-y: scroll;
padding: 0 5px;
margin: 0 0 5px;
}
.inline-edit-row fieldset ul.cat-checklist li,
.inline-edit-row fieldset ul.cat-checklist input {
margin: 0;
position: relative; /* RTL fix, #WP27629 */
}
.inline-edit-row fieldset ul.cat-checklist input {
margin-top: -1px;
margin-right: 3px;
.inline-edit-row fieldset ul.cat-checklist label,
.inline-edit-row #bulk-titles div {
font-style: normal;
font-size: 11px;
}
.inline-edit-row fieldset label input.inline-edit-menu-order-input {
@@ -1139,48 +1079,27 @@ tr.inline-edit-row td {
float: right;
}
#bulk-titles,
ul.cat-checklist {
height: 14em;
border: 1px solid #ddd;
margin: 0 0 5px;
padding: 0.2em 5px;
overflow-y: scroll;
#bulk-titles {
line-height: 140%;
}
#bulk-titles div {
margin: 0.2em 0.3em;
}
#bulk-titles .ntdelbutton,
#bulk-titles .ntdeltitle,
.inline-edit-row fieldset ul.cat-checklist label {
display: inline-block;
margin: 0;
padding: 3px 0;
line-height: 20px;
vertical-align: top;
#bulk-titles div a {
cursor: pointer;
display: block;
float: right;
height: 18px;
margin: 0 -2px 0 3px;
overflow: hidden;
position: relative;
width: 20px;
}
#bulk-titles .ntdelitem {
padding-right: 23px;
}
#bulk-titles .ntdelbutton {
width: 26px;
height: 26px;
margin: 0 -26px 0 0;
text-align: center;
border-radius: 3px;
}
#bulk-titles .ntdelbutton:before {
display: inline-block;
vertical-align: top;
}
#bulk-titles .ntdelbutton:focus {
box-shadow: 0 0 0 2px #3582c4;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
/* Reset inherited offset from Gutenberg */
outline-offset: 0;
#bulk-titles div a:before {
position: relative;
top: -3px;
}
/*------------------------------------------------------------------------------
@@ -1376,7 +1295,7 @@ ul.cat-checklist {
}
.plugins tr.paused th.check-column {
border-right: 4px solid #b32d2e;
border-right: 4px solid #d63638;
}
.plugins tr.paused th,
@@ -1386,7 +1305,7 @@ ul.cat-checklist {
.plugins tr.paused .plugin-title,
.plugins .paused .dashicons-warning {
color: #b32d2e;
color: #d63638;
}
.plugins .paused .error-display p,
@@ -1396,7 +1315,7 @@ ul.cat-checklist {
}
.plugins .resume-link {
color: #b32d2e;
color: #d63638;
}
.plugin-card .update-now:before {
@@ -1404,11 +1323,11 @@ ul.cat-checklist {
content: "\f463";
display: inline-block;
font: normal 20px/1 dashicons;
margin: -3px -2px 0 5px;
margin: 3px -2px 0 5px;
speak: never;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
vertical-align: middle;
vertical-align: top;
}
.plugin-card .updating-message:before {
@@ -1430,17 +1349,6 @@ ul.cat-checklist {
content: "\f147";
}
.plugin-install-php #the-list {
display: flex;
flex-wrap: wrap;
}
.plugin-install-php .plugin-card {
display: flex;
flex-direction: column;
justify-content: space-between;
}
.plugin-install-php h2 {
clear: both;
}
@@ -1668,7 +1576,6 @@ div.action-links,
font-style: normal;
margin: 0;
padding: 100px 0 0;
width: 100%;
text-align: center;
}
@@ -1796,15 +1703,6 @@ div.action-links,
display: none;
}
.tablenav.bottom .actions select {
margin-bottom: 5px;
}
.tablenav.bottom .actions.alignleft + .actions.alignleft {
clear: right;
margin-top: 10px;
}
.tablenav.bottom .tablenav-pages.one-page {
margin-top: 15px;
height: 0;
@@ -2017,20 +1915,6 @@ div.action-links,
#wpbody-content .bulk-edit-row .inline-edit-col-bottom {
float: none;
width: 100%;
padding: 0;
}
#the-list .inline-edit-row .inline-edit-legend,
.inline-edit-row span.title {
font-size: 16px;
}
.inline-edit-row p.howto {
font-size: 14px;
}
#wpbody-content .inline-edit-row-page .inline-edit-col-right {
margin-top: 0;
}
#wpbody-content .quick-edit-row fieldset .inline-edit-col label,
@@ -2058,28 +1942,9 @@ div.action-links,
padding: 3px 4px;
}
#bulk-titles .ntdelbutton,
#bulk-titles .ntdeltitle,
.inline-edit-row fieldset ul.cat-checklist label {
padding: 6px 0;
.inline-edit-row fieldset ul.cat-checklist label,
.inline-edit-row #bulk-titles div {
font-size: 16px;
line-height: 28px;
}
#bulk-titles .ntdelitem {
padding-right: 37px;
}
#bulk-titles .ntdelbutton {
width: 40px;
height: 40px;
margin: 0 -40px 0 0;
overflow: hidden;
}
#bulk-titles .ntdelbutton:before {
font-size: 20px;
line-height: 28px;
}
.inline-edit-row fieldset label span.title,
@@ -2087,6 +1952,10 @@ div.action-links,
float: none;
}
.inline-edit-row fieldset label.inline-edit-tags {
padding: 0 0.5em;
}
.inline-edit-row fieldset .inline-edit-col label.inline-edit-tags {
padding: 0;
}
@@ -2116,6 +1985,14 @@ div.action-links,
display: block;
}
#bulk-titles div {
margin: 0.8em 0.3em;
}
#bulk-titles div a {
height: 22px;
}
/* Updates */
#wpbody-content .updates-table .plugin-title {
width: auto;

File diff suppressed because one or more lines are too long

View File

@@ -384,23 +384,6 @@ table.media .column-title .filename {
margin-bottom: 0.2em;
}
/* Media Copy to clipboard row action */
.media .row-actions .copy-to-clipboard-container {
display: inline;
position: relative;
}
.media .row-actions .copy-to-clipboard-container .success {
position: absolute;
left: 50%;
transform: translate(-50%, -100%);
background: #000;
color: #fff;
border-radius: 5px;
margin: 0;
padding: 2px 5px;
}
/* @todo: pick a consistent list table selector */
.wp-list-table a {
transition: none;
@@ -461,64 +444,50 @@ table.media .column-title .filename {
width: 160px;
}
.sorting-indicators {
display: grid;
}
.sorting-indicator {
display: block;
visibility: hidden;
width: 10px;
height: 4px;
margin-top: 4px;
margin-top: 8px;
margin-left: 7px;
}
.sorting-indicator:before {
content: "\f142";
font: normal 20px/1 dashicons;
speak: never;
display: inline-block;
padding: 0;
top: -4px;
left: -8px;
color: #3c434a;
line-height: 0.5;
position: relative;
vertical-align: top;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-decoration: none !important;
color: #a7aaad;
color: #3c434a;
}
.sorting-indicator.asc:before {
.column-comments .sorting-indicator:before {
top: 0;
left: -10px;
}
th.sorted.asc .sorting-indicator:before,
th.desc:hover span.sorting-indicator:before,
th.desc a:focus span.sorting-indicator:before {
content: "\f142";
}
.sorting-indicator.desc:before {
th.sorted.desc .sorting-indicator:before,
th.asc:hover span.sorting-indicator:before,
th.asc a:focus span.sorting-indicator:before {
content: "\f140";
}
th.sorted.desc .sorting-indicator.desc:before {
color: #1d2327;
}
th.sorted.asc .sorting-indicator.asc:before {
color: #1d2327;
}
th.sorted.asc a:focus .sorting-indicator.asc:before,
th.sorted.asc:hover .sorting-indicator.asc:before,
th.sorted.desc a:focus .sorting-indicator.desc:before,
th.sorted.desc:hover .sorting-indicator.desc:before {
color: #a7aaad;
}
th.sorted.asc a:focus .sorting-indicator.desc:before,
th.sorted.asc:hover .sorting-indicator.desc:before,
th.sorted.desc a:focus .sorting-indicator.asc:before,
th.sorted.desc:hover .sorting-indicator.asc:before {
color: #1d2327;
}
.wp-list-table .toggle-row {
position: absolute;
right: 8px;
@@ -566,35 +535,6 @@ th.sorted.desc:hover .sorting-indicator.asc:before {
content: "\f142";
}
.check-column {
position: relative;
}
.check-column label {
box-sizing: border-box;
width: 100%;
height: 100%;
display: block;
position: absolute;
top: 0;
left: 0;
}
.check-column input {
position: relative;
z-index: 1;
}
.check-column input:where(:not(:disabled)):hover,
.check-column:hover input:where(:not(:disabled)) {
box-shadow: 0 0 0 1px #2271b1;
}
.check-column label:hover,
.check-column input:hover + label {
background: rgba(0, 0, 0, 0.05);
}
.locked-indicator {
display: none;
margin-left: 6px;
@@ -634,6 +574,10 @@ tr.wp-locked .row-actions .trash {
display: none;
}
.fixed .column-comments .sorting-indicator {
margin-top: 3px;
}
#menu-locations-wrap .widefat {
width: 60%;
}
@@ -661,6 +605,14 @@ th.sorted a span {
cursor: pointer;
}
th.sorted .sorting-indicator,
th.desc:hover span.sorting-indicator,
th.desc a:focus span.sorting-indicator,
th.asc:hover span.sorting-indicator,
th.asc a:focus span.sorting-indicator {
visibility: visible;
}
.tablenav-pages .current-page {
margin: 0 2px 0 0;
font-size: 13px;
@@ -889,35 +841,16 @@ tr:hover .row-actions,
/* Layout */
#wpbody-content .inline-edit-row fieldset {
font-size: 12px;
float: left;
margin: 0;
padding: 0 12px 0 0;
width: 100%;
box-sizing: border-box;
}
#wpbody-content .inline-edit-row td fieldset:last-of-type {
padding-right: 0;
}
tr.inline-edit-row td {
padding: 0;
/* Prevents the focus style on .inline-edit-wrapper from being cutted-off */
position: relative;
width: 100%;
}
.inline-edit-wrapper {
display: flow-root;
padding: 0 12px;
border: 1px solid transparent;
border-radius: 4px;
}
.inline-edit-wrapper:focus {
border-color: #2271b1;
box-shadow: 0 0 0 1px #2271b1;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
tr.inline-edit-row td,
#wpbody-content .inline-edit-row fieldset .inline-edit-col {
padding: 0 0.5em;
}
#wpbody-content .quick-edit-row-post .inline-edit-col-left {
@@ -938,7 +871,7 @@ tr.inline-edit-row td {
#wpbody-content .quick-edit-row-page .inline-edit-col-right,
#wpbody-content .bulk-edit-row-post .inline-edit-col-right {
width: 50%;
width: 49%;
}
#wpbody-content .bulk-edit-row .inline-edit-col-left {
@@ -964,26 +897,12 @@ tr.inline-edit-row td {
}
.inline-edit-row .submit {
display: flex;
flex-wrap: wrap;
align-items: center;
clear: both;
margin: 0;
padding: 0.5em 0 1em;
}
.inline-edit-save.submit .button {
margin-right: 8px;
}
.inline-edit-save .spinner {
float: none;
margin: 0;
padding: 0.5em;
margin: 0.5em 0 0;
}
.inline-edit-row .notice-error {
box-sizing: border-box;
min-width: 100%;
margin-top: 1em;
}
@@ -997,11 +916,15 @@ tr.inline-edit-row td {
/* Needs higher specificity for the padding */
#the-list .inline-edit-row .inline-edit-legend {
margin: 0;
padding: 0.2em 0;
padding: 0.2em 0.5em 0;
line-height: 2.5;
font-weight: 600;
}
#the-list #bulk-edit.inline-edit-row .inline-edit-legend {
padding: 0.2em 0.5em;
}
.inline-edit-row fieldset span.title,
.inline-edit-row fieldset span.checkbox-title {
margin: 0;
@@ -1108,17 +1031,34 @@ tr.inline-edit-row td {
width: 8em;
}
#bulk-titles-list,
#bulk-titles-list li,
ul.cat-checklist {
height: 12em;
border: solid 1px #dcdcde;
overflow-y: scroll;
padding: 0 5px;
margin: 0;
background-color: #fff;
}
#bulk-titles {
display: block;
height: 12em;
border: 1px solid #dcdcde;
overflow-y: scroll;
padding: 0 5px;
margin: 0 0 5px;
}
.inline-edit-row fieldset ul.cat-checklist li,
.inline-edit-row fieldset ul.cat-checklist input {
margin: 0;
position: relative; /* RTL fix, #WP27629 */
}
.inline-edit-row fieldset ul.cat-checklist input {
margin-top: -1px;
margin-left: 3px;
.inline-edit-row fieldset ul.cat-checklist label,
.inline-edit-row #bulk-titles div {
font-style: normal;
font-size: 11px;
}
.inline-edit-row fieldset label input.inline-edit-menu-order-input {
@@ -1138,48 +1078,27 @@ tr.inline-edit-row td {
float: left;
}
#bulk-titles,
ul.cat-checklist {
height: 14em;
border: 1px solid #ddd;
margin: 0 0 5px;
padding: 0.2em 5px;
overflow-y: scroll;
#bulk-titles {
line-height: 140%;
}
#bulk-titles div {
margin: 0.2em 0.3em;
}
#bulk-titles .ntdelbutton,
#bulk-titles .ntdeltitle,
.inline-edit-row fieldset ul.cat-checklist label {
display: inline-block;
margin: 0;
padding: 3px 0;
line-height: 20px;
vertical-align: top;
#bulk-titles div a {
cursor: pointer;
display: block;
float: left;
height: 18px;
margin: 0 3px 0 -2px;
overflow: hidden;
position: relative;
width: 20px;
}
#bulk-titles .ntdelitem {
padding-left: 23px;
}
#bulk-titles .ntdelbutton {
width: 26px;
height: 26px;
margin: 0 0 0 -26px;
text-align: center;
border-radius: 3px;
}
#bulk-titles .ntdelbutton:before {
display: inline-block;
vertical-align: top;
}
#bulk-titles .ntdelbutton:focus {
box-shadow: 0 0 0 2px #3582c4;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
/* Reset inherited offset from Gutenberg */
outline-offset: 0;
#bulk-titles div a:before {
position: relative;
top: -3px;
}
/*------------------------------------------------------------------------------
@@ -1375,7 +1294,7 @@ ul.cat-checklist {
}
.plugins tr.paused th.check-column {
border-left: 4px solid #b32d2e;
border-left: 4px solid #d63638;
}
.plugins tr.paused th,
@@ -1385,7 +1304,7 @@ ul.cat-checklist {
.plugins tr.paused .plugin-title,
.plugins .paused .dashicons-warning {
color: #b32d2e;
color: #d63638;
}
.plugins .paused .error-display p,
@@ -1395,7 +1314,7 @@ ul.cat-checklist {
}
.plugins .resume-link {
color: #b32d2e;
color: #d63638;
}
.plugin-card .update-now:before {
@@ -1403,11 +1322,11 @@ ul.cat-checklist {
content: "\f463";
display: inline-block;
font: normal 20px/1 dashicons;
margin: -3px 5px 0 -2px;
margin: 3px 5px 0 -2px;
speak: never;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
vertical-align: middle;
vertical-align: top;
}
.plugin-card .updating-message:before {
@@ -1429,17 +1348,6 @@ ul.cat-checklist {
content: "\f147";
}
.plugin-install-php #the-list {
display: flex;
flex-wrap: wrap;
}
.plugin-install-php .plugin-card {
display: flex;
flex-direction: column;
justify-content: space-between;
}
.plugin-install-php h2 {
clear: both;
}
@@ -1667,7 +1575,6 @@ div.action-links,
font-style: normal;
margin: 0;
padding: 100px 0 0;
width: 100%;
text-align: center;
}
@@ -1795,15 +1702,6 @@ div.action-links,
display: none;
}
.tablenav.bottom .actions select {
margin-bottom: 5px;
}
.tablenav.bottom .actions.alignleft + .actions.alignleft {
clear: left;
margin-top: 10px;
}
.tablenav.bottom .tablenav-pages.one-page {
margin-top: 15px;
height: 0;
@@ -2016,20 +1914,6 @@ div.action-links,
#wpbody-content .bulk-edit-row .inline-edit-col-bottom {
float: none;
width: 100%;
padding: 0;
}
#the-list .inline-edit-row .inline-edit-legend,
.inline-edit-row span.title {
font-size: 16px;
}
.inline-edit-row p.howto {
font-size: 14px;
}
#wpbody-content .inline-edit-row-page .inline-edit-col-right {
margin-top: 0;
}
#wpbody-content .quick-edit-row fieldset .inline-edit-col label,
@@ -2057,28 +1941,9 @@ div.action-links,
padding: 3px 4px;
}
#bulk-titles .ntdelbutton,
#bulk-titles .ntdeltitle,
.inline-edit-row fieldset ul.cat-checklist label {
padding: 6px 0;
.inline-edit-row fieldset ul.cat-checklist label,
.inline-edit-row #bulk-titles div {
font-size: 16px;
line-height: 28px;
}
#bulk-titles .ntdelitem {
padding-left: 37px;
}
#bulk-titles .ntdelbutton {
width: 40px;
height: 40px;
margin: 0 0 0 -40px;
overflow: hidden;
}
#bulk-titles .ntdelbutton:before {
font-size: 20px;
line-height: 28px;
}
.inline-edit-row fieldset label span.title,
@@ -2086,6 +1951,10 @@ div.action-links,
float: none;
}
.inline-edit-row fieldset label.inline-edit-tags {
padding: 0 0.5em;
}
.inline-edit-row fieldset .inline-edit-col label.inline-edit-tags {
padding: 0;
}
@@ -2115,6 +1984,14 @@ div.action-links,
display: block;
}
#bulk-titles div {
margin: 0.8em 0.3em;
}
#bulk-titles div a {
height: 22px;
}
/* Updates */
#wpbody-content .updates-table .plugin-title {
width: auto;

File diff suppressed because one or more lines are too long

View File

@@ -43,8 +43,8 @@ p {
}
.login .message,
.login .notice,
.login .success {
.login .success,
.login #login_error {
border-right: 4px solid #72aee6;
padding: 12px;
margin-right: 0;
@@ -58,19 +58,10 @@ p {
border-right-color: #00a32a;
}
/* Match border color from common.css */
.login .notice-error {
.login #login_error {
border-right-color: #d63638;
}
.login .login-error-list {
list-style: none;
}
.login .login-error-list li + li {
margin-top: 4px;
}
#loginform p.submit,
.login-action-lostpassword p.submit {
border: none;
@@ -247,11 +238,6 @@ p {
margin-bottom: 0;
}
#login form .indicator-hint,
#login #reg_passmail {
margin-bottom: 16px;
}
#login form p.submit {
margin: 0;
padding: 0;
@@ -357,7 +343,9 @@ p {
font-family: Consolas, Monaco, monospace;
}
.js.login input.password-input {
.js.login input.password-input,
.js.login-action-rp form .input,
.js.login-action-rp input[type="text"] {
padding-left: 2.5rem;
}
@@ -367,8 +355,6 @@ p {
background: #fff;
}
.js.login-action-resetpass input[type="text"],
.js.login-action-resetpass input[type="password"],
.js.login-action-rp input[type="text"],
.js.login-action-rp input[type="password"] {
margin-bottom: 0;
@@ -452,7 +438,8 @@ input::-ms-reveal {
height: auto;
}
.login .language-switcher .button {
.login .language-switcher .button-primary {
float: none;
margin-bottom: 0;
}
@@ -486,7 +473,7 @@ input::-ms-reveal {
}
@media screen and (max-width: 400px) {
.login .language-switcher .button {
.login .language-switcher .button-primary {
display: block;
margin: 5px auto 0;
}

File diff suppressed because one or more lines are too long

View File

@@ -42,8 +42,8 @@ p {
}
.login .message,
.login .notice,
.login .success {
.login .success,
.login #login_error {
border-left: 4px solid #72aee6;
padding: 12px;
margin-left: 0;
@@ -57,19 +57,10 @@ p {
border-left-color: #00a32a;
}
/* Match border color from common.css */
.login .notice-error {
.login #login_error {
border-left-color: #d63638;
}
.login .login-error-list {
list-style: none;
}
.login .login-error-list li + li {
margin-top: 4px;
}
#loginform p.submit,
.login-action-lostpassword p.submit {
border: none;
@@ -246,11 +237,6 @@ p {
margin-bottom: 0;
}
#login form .indicator-hint,
#login #reg_passmail {
margin-bottom: 16px;
}
#login form p.submit {
margin: 0;
padding: 0;
@@ -356,7 +342,9 @@ p {
font-family: Consolas, Monaco, monospace;
}
.js.login input.password-input {
.js.login input.password-input,
.js.login-action-rp form .input,
.js.login-action-rp input[type="text"] {
padding-right: 2.5rem;
}
@@ -366,8 +354,6 @@ p {
background: #fff;
}
.js.login-action-resetpass input[type="text"],
.js.login-action-resetpass input[type="password"],
.js.login-action-rp input[type="text"],
.js.login-action-rp input[type="password"] {
margin-bottom: 0;
@@ -451,7 +437,8 @@ input::-ms-reveal {
height: auto;
}
.login .language-switcher .button {
.login .language-switcher .button-primary {
float: none;
margin-bottom: 0;
}
@@ -485,7 +472,7 @@ input::-ms-reveal {
}
@media screen and (max-width: 400px) {
.login .language-switcher .button {
.login .language-switcher .button-primary {
display: block;
margin: 5px auto 0;
}

File diff suppressed because one or more lines are too long

View File

@@ -131,7 +131,6 @@
}
.media-item .edit-attachment.copy-to-clipboard-container {
display: flex;
margin-top: 0;
}
@@ -193,7 +192,7 @@
.media-item .original {
position: relative;
min-height: 34px;
height: 34px;
}
.media-item .progress {
@@ -585,7 +584,7 @@ border color while dragging a file over the uploader drop area */
margin-top: 0;
}
.media-frame-content .media-search-input-label {
.media-search-input-label {
margin: 0 0 0 .2em;
vertical-align: baseline;
}
@@ -783,8 +782,8 @@ border color while dragging a file over the uploader drop area */
.edit-attachment-frame input,
.edit-attachment-frame textarea {
padding: 4px 8px;
line-height: 1.42857143;
padding: 6px 8px;
line-height: 1.14285714;
}
.edit-attachment-frame .attachment-info {
@@ -851,11 +850,6 @@ border color while dragging a file over the uploader drop area */
margin-bottom: 5px;
}
.wp_attachment_details #attachment_alt {
max-width: 500px;
height: 3.28571428em;
}
.wp_attachment_details .attachment-alt-text-description {
margin-top: 5px;
}
@@ -879,16 +873,16 @@ border color while dragging a file over the uploader drop area */
padding-top: 10px;
}
.image-editor p,
.image-editor fieldset {
.imgedit-settings p,
.imgedit-settings fieldset {
margin: 8px 0;
}
.image-editor legend {
.imgedit-settings legend {
margin-bottom: 5px;
}
.describe .imgedit-wrap .image-editor {
.describe .imgedit-wrap .imgedit-settings {
padding: 0 5px;
}
@@ -900,31 +894,19 @@ border color while dragging a file over the uploader drop area */
height: auto;
}
.imgedit-panel-content {
display: flex;
flex-wrap: wrap;
gap: 20px;
margin-bottom: 20px;
.wp_attachment_holder .imgedit-wrap .imgedit-panel-content {
float: right;
padding: 3px 0 0 16px;
min-width: 400px;
max-width: calc( 100% - 266px );
}
.imgedit-settings {
max-width: 400px; /* Prevent reflow when help info is expanded. */
}
.imgedit-group-controls > * {
display: none;
}
.imgedit-panel-active .imgedit-group-controls > * {
display: block;
}
.wp_attachment_holder .imgedit-wrap .image-editor {
.wp_attachment_holder .imgedit-wrap .imgedit-settings {
float: left;
width: 250px;
}
.image-editor input {
.imgedit-settings input {
margin-top: 0;
vertical-align: middle;
}
@@ -959,7 +941,7 @@ border color while dragging a file over the uploader drop area */
}
.media-disabled,
.image-editor .disabled {
.imgedit-settings .disabled {
/* WCAG 1.4.3 Text or images of text that are part of an inactive user
interface component ... have no contrast requirement. */
color: #a7aaad;
@@ -983,6 +965,10 @@ border color while dragging a file over the uploader drop area */
float: right;
}
.imgedit-menu {
margin: 0 0 12px;
}
.imgedit-menu .note-no-rotate {
clear: both;
margin: 0;
@@ -995,10 +981,10 @@ border color while dragging a file over the uploader drop area */
min-height: 28px;
font-size: 13px;
line-height: 2;
margin: 0 0 8px 8px;
padding: 0 10px;
}
.imgedit-menu .button:after,
.imgedit-menu .button:before {
font: normal 16px/1 dashicons;
margin-left: 8px;
@@ -1010,16 +996,6 @@ border color while dragging a file over the uploader drop area */
-moz-osx-font-smoothing: grayscale;
}
.imgedit-menu .imgedit-rotate.button:after {
content: '\f140';
margin-right: 2px;
margin-left: 0;
}
.imgedit-menu .imgedit-rotate.button[aria-expanded="true"]:after {
content: '\f142';
}
.imgedit-menu .button.disabled {
color: #a7aaad;
border-color: #dcdcde;
@@ -1034,14 +1010,22 @@ border color while dragging a file over the uploader drop area */
content: "\f165";
}
.imgedit-scale:before {
content: "\f211";
.imgedit-rleft:before {
content: "\f166";
}
.imgedit-rotate:before {
.imgedit-rright:before {
content: "\f167";
}
.imgedit-flipv:before {
content: "\f168";
}
.imgedit-fliph:before {
content: "\f169";
}
.imgedit-undo:before {
content: "\f171";
}
@@ -1060,19 +1044,23 @@ border color while dragging a file over the uploader drop area */
background-size: 20px 20px;
}
.imgedit-crop-wrap {
padding: 20px;
background-image: linear-gradient(-45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7), linear-gradient(-45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7);
background-position: 100% 0, 10px 10px;
background-size: 20px 20px;
}
.imgedit-crop {
margin: 0 0 0 8px;
}
.imgedit-rotate {
.imgedit-rleft {
margin: 0 3px;
}
.imgedit-rright {
margin: 0 3px 0 8px;
}
.imgedit-flipv {
margin: 0 3px;
}
.imgedit-fliph {
margin: 0 3px 0 8px;
}
@@ -1084,12 +1072,6 @@ border color while dragging a file over the uploader drop area */
margin: 0 3px 0 8px;
}
.imgedit-thumbnail-preview-group {
display: flex;
flex-wrap: wrap;
column-gap: 10px;
}
.imgedit-thumbnail-preview {
margin: 10px 0 0 8px;
}
@@ -1116,41 +1098,11 @@ border color while dragging a file over the uploader drop area */
padding: .5em 0 0;
}
.imgedit-popup-menu,
.imgedit-help {
display: none;
padding-bottom: 8px;
}
.imgedit-panel-tools > .imgedit-menu {
display: flex;
column-gap: 4px;
align-items: start;
flex-wrap: wrap;
}
.imgedit-popup-menu {
width: calc( 100% - 20px );
position: absolute;
background: #fff;
padding: 10px;
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}
.image-editor .imgedit-menu .imgedit-popup-menu button {
display: block;
margin: 2px 0;
width: 100%;
white-space: break-spaces;
line-height: 1.5;
padding-top: 3px;
padding-bottom: 2px;
}
.imgedit-rotate-menu-container {
position: relative;
}
.imgedit-help.imgedit-restore {
padding-bottom: 0;
}
@@ -1183,6 +1135,10 @@ border color while dragging a file over the uploader drop area */
padding: 0;
}
.imgedit-submit {
margin: 8px 0 0;
}
.imgedit-submit-btn {
margin-right: 20px;
}
@@ -1194,11 +1150,8 @@ border color while dragging a file over the uploader drop area */
}
span.imgedit-scale-warn {
display: flex;
align-items: center;
margin: 4px;
gap: 4px;
color: #b32d2e;
color: #d63638;
font-size: 20px;
font-style: normal;
visibility: hidden;
vertical-align: middle;
@@ -1213,19 +1166,17 @@ span.imgedit-scale-warn {
}
.imgedit-group {
margin-bottom: 20px;
margin-bottom: 8px;
padding: 10px;
}
.image-editor .imgedit-original-dimensions {
.imgedit-settings .imgedit-original-dimensions {
display: inline-block;
}
.image-editor .imgedit-scale-controls input[type="text"],
.image-editor .imgedit-crop-ratio input[type="text"],
.image-editor .imgedit-crop-sel input[type="text"],
.image-editor .imgedit-scale-controls input[type="number"],
.image-editor .imgedit-crop-ratio input[type="number"],
.image-editor .imgedit-crop-sel input[type="number"] {
.imgedit-settings .imgedit-scale input[type="text"],
.imgedit-settings .imgedit-crop-ratio input[type="text"],
.imgedit-settings .imgedit-crop-sel input[type="text"] {
width: 80px;
font-size: 14px;
padding: 0 8px;
@@ -1239,12 +1190,12 @@ span.imgedit-scale-warn {
color: #3c434a;
}
.image-editor .imgedit-scale-button-wrapper {
.imgedit-settings .imgedit-scale-button-wrapper {
margin-top: 0.3077em;
display: block;
}
.image-editor .imgedit-scale-controls .button {
.imgedit-settings .imgedit-scale .button {
margin-bottom: 0;
}
@@ -1281,24 +1232,11 @@ audio, video {
}
@media screen and (max-width: 782px) {
.edit-attachment-frame input,
.edit-attachment-frame textarea {
line-height: 1.5;
}
.wp_attachment_details label[for="content"] {
font-size: 14px;
line-height: 1.5;
}
.wp_attachment_details textarea {
line-height: 1.5;
}
.wp_attachment_details #attachment_alt {
height: 3.375em;
}
.media-upload-form .media-item.error,
.media-upload-form .media-item .error {
font-size: 13px;
@@ -1313,15 +1251,15 @@ audio, video {
padding: 10px 12px 10px 0;
}
.image-editor .imgedit-scale input[type="text"],
.image-editor .imgedit-crop-ratio input[type="text"],
.image-editor .imgedit-crop-sel input[type="text"] {
.imgedit-settings .imgedit-scale input[type="text"],
.imgedit-settings .imgedit-crop-ratio input[type="text"],
.imgedit-settings .imgedit-crop-sel input[type="text"] {
font-size: 16px;
padding: 6px 10px;
}
.wp_attachment_holder .imgedit-wrap .imgedit-panel-content,
.wp_attachment_holder .imgedit-wrap .image-editor {
.wp_attachment_holder .imgedit-wrap .imgedit-settings {
float: none;
width: auto;
max-width: none;
@@ -1331,25 +1269,6 @@ audio, video {
.copy-to-clipboard-container .success {
font-size: 14px;
}
/* Restructure image editor on narrow viewports. */
.imgedit-crop-wrap img{
width: 100%;
}
.media-modal .imgedit-wrap .imgedit-panel-content,
.media-modal .imgedit-wrap .image-editor {
position: initial !important;
}
.media-modal .imgedit-wrap .image-editor {
box-sizing: border-box;
width: 100% !important;
}
.image-editor .imgedit-scale-button-wrapper {
display: inline-block;
}
}
@media only screen and (max-width: 600px) {
@@ -1361,6 +1280,7 @@ audio, video {
/**
* Media queries for media grid.
*/
@media only screen and (max-width: 1120px) {
/* override for media-views.css */
#wp-media-grid .wp-filter .attachment-filters {
@@ -1368,17 +1288,6 @@ audio, video {
}
}
@media only screen and (max-width: 1000px) {
/* override for forms.css */
.wp-filter p.search-box {
float: none;
width: 100%;
margin-bottom: 20px;
display: flex;
}
}
@media only screen and (max-width: 782px) {
.media-frame.mode-select .attachments-browser.fixed .media-toolbar {
top: 46px;

File diff suppressed because one or more lines are too long

View File

@@ -130,7 +130,6 @@
}
.media-item .edit-attachment.copy-to-clipboard-container {
display: flex;
margin-top: 0;
}
@@ -192,7 +191,7 @@
.media-item .original {
position: relative;
min-height: 34px;
height: 34px;
}
.media-item .progress {
@@ -584,7 +583,7 @@ border color while dragging a file over the uploader drop area */
margin-top: 0;
}
.media-frame-content .media-search-input-label {
.media-search-input-label {
margin: 0 .2em 0 0;
vertical-align: baseline;
}
@@ -782,8 +781,8 @@ border color while dragging a file over the uploader drop area */
.edit-attachment-frame input,
.edit-attachment-frame textarea {
padding: 4px 8px;
line-height: 1.42857143;
padding: 6px 8px;
line-height: 1.14285714;
}
.edit-attachment-frame .attachment-info {
@@ -850,11 +849,6 @@ border color while dragging a file over the uploader drop area */
margin-bottom: 5px;
}
.wp_attachment_details #attachment_alt {
max-width: 500px;
height: 3.28571428em;
}
.wp_attachment_details .attachment-alt-text-description {
margin-top: 5px;
}
@@ -878,16 +872,16 @@ border color while dragging a file over the uploader drop area */
padding-top: 10px;
}
.image-editor p,
.image-editor fieldset {
.imgedit-settings p,
.imgedit-settings fieldset {
margin: 8px 0;
}
.image-editor legend {
.imgedit-settings legend {
margin-bottom: 5px;
}
.describe .imgedit-wrap .image-editor {
.describe .imgedit-wrap .imgedit-settings {
padding: 0 5px;
}
@@ -899,31 +893,19 @@ border color while dragging a file over the uploader drop area */
height: auto;
}
.imgedit-panel-content {
display: flex;
flex-wrap: wrap;
gap: 20px;
margin-bottom: 20px;
.wp_attachment_holder .imgedit-wrap .imgedit-panel-content {
float: left;
padding: 3px 16px 0 0;
min-width: 400px;
max-width: calc( 100% - 266px );
}
.imgedit-settings {
max-width: 400px; /* Prevent reflow when help info is expanded. */
}
.imgedit-group-controls > * {
display: none;
}
.imgedit-panel-active .imgedit-group-controls > * {
display: block;
}
.wp_attachment_holder .imgedit-wrap .image-editor {
.wp_attachment_holder .imgedit-wrap .imgedit-settings {
float: right;
width: 250px;
}
.image-editor input {
.imgedit-settings input {
margin-top: 0;
vertical-align: middle;
}
@@ -958,7 +940,7 @@ border color while dragging a file over the uploader drop area */
}
.media-disabled,
.image-editor .disabled {
.imgedit-settings .disabled {
/* WCAG 1.4.3 Text or images of text that are part of an inactive user
interface component ... have no contrast requirement. */
color: #a7aaad;
@@ -982,6 +964,10 @@ border color while dragging a file over the uploader drop area */
float: left;
}
.imgedit-menu {
margin: 0 0 12px;
}
.imgedit-menu .note-no-rotate {
clear: both;
margin: 0;
@@ -994,10 +980,10 @@ border color while dragging a file over the uploader drop area */
min-height: 28px;
font-size: 13px;
line-height: 2;
margin: 0 8px 8px 0;
padding: 0 10px;
}
.imgedit-menu .button:after,
.imgedit-menu .button:before {
font: normal 16px/1 dashicons;
margin-right: 8px;
@@ -1009,16 +995,6 @@ border color while dragging a file over the uploader drop area */
-moz-osx-font-smoothing: grayscale;
}
.imgedit-menu .imgedit-rotate.button:after {
content: '\f140';
margin-left: 2px;
margin-right: 0;
}
.imgedit-menu .imgedit-rotate.button[aria-expanded="true"]:after {
content: '\f142';
}
.imgedit-menu .button.disabled {
color: #a7aaad;
border-color: #dcdcde;
@@ -1033,14 +1009,22 @@ border color while dragging a file over the uploader drop area */
content: "\f165";
}
.imgedit-scale:before {
content: "\f211";
.imgedit-rleft:before {
content: "\f166";
}
.imgedit-rotate:before {
.imgedit-rright:before {
content: "\f167";
}
.imgedit-flipv:before {
content: "\f168";
}
.imgedit-fliph:before {
content: "\f169";
}
.imgedit-undo:before {
content: "\f171";
}
@@ -1059,19 +1043,23 @@ border color while dragging a file over the uploader drop area */
background-size: 20px 20px;
}
.imgedit-crop-wrap {
padding: 20px;
background-image: linear-gradient(45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7), linear-gradient(45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7);
background-position: 0 0, 10px 10px;
background-size: 20px 20px;
}
.imgedit-crop {
margin: 0 8px 0 0;
}
.imgedit-rotate {
.imgedit-rleft {
margin: 0 3px;
}
.imgedit-rright {
margin: 0 8px 0 3px;
}
.imgedit-flipv {
margin: 0 3px;
}
.imgedit-fliph {
margin: 0 8px 0 3px;
}
@@ -1083,12 +1071,6 @@ border color while dragging a file over the uploader drop area */
margin: 0 8px 0 3px;
}
.imgedit-thumbnail-preview-group {
display: flex;
flex-wrap: wrap;
column-gap: 10px;
}
.imgedit-thumbnail-preview {
margin: 10px 8px 0 0;
}
@@ -1115,41 +1097,11 @@ border color while dragging a file over the uploader drop area */
padding: .5em 0 0;
}
.imgedit-popup-menu,
.imgedit-help {
display: none;
padding-bottom: 8px;
}
.imgedit-panel-tools > .imgedit-menu {
display: flex;
column-gap: 4px;
align-items: start;
flex-wrap: wrap;
}
.imgedit-popup-menu {
width: calc( 100% - 20px );
position: absolute;
background: #fff;
padding: 10px;
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}
.image-editor .imgedit-menu .imgedit-popup-menu button {
display: block;
margin: 2px 0;
width: 100%;
white-space: break-spaces;
line-height: 1.5;
padding-top: 3px;
padding-bottom: 2px;
}
.imgedit-rotate-menu-container {
position: relative;
}
.imgedit-help.imgedit-restore {
padding-bottom: 0;
}
@@ -1182,6 +1134,10 @@ border color while dragging a file over the uploader drop area */
padding: 0;
}
.imgedit-submit {
margin: 8px 0 0;
}
.imgedit-submit-btn {
margin-left: 20px;
}
@@ -1193,11 +1149,8 @@ border color while dragging a file over the uploader drop area */
}
span.imgedit-scale-warn {
display: flex;
align-items: center;
margin: 4px;
gap: 4px;
color: #b32d2e;
color: #d63638;
font-size: 20px;
font-style: normal;
visibility: hidden;
vertical-align: middle;
@@ -1212,19 +1165,17 @@ span.imgedit-scale-warn {
}
.imgedit-group {
margin-bottom: 20px;
margin-bottom: 8px;
padding: 10px;
}
.image-editor .imgedit-original-dimensions {
.imgedit-settings .imgedit-original-dimensions {
display: inline-block;
}
.image-editor .imgedit-scale-controls input[type="text"],
.image-editor .imgedit-crop-ratio input[type="text"],
.image-editor .imgedit-crop-sel input[type="text"],
.image-editor .imgedit-scale-controls input[type="number"],
.image-editor .imgedit-crop-ratio input[type="number"],
.image-editor .imgedit-crop-sel input[type="number"] {
.imgedit-settings .imgedit-scale input[type="text"],
.imgedit-settings .imgedit-crop-ratio input[type="text"],
.imgedit-settings .imgedit-crop-sel input[type="text"] {
width: 80px;
font-size: 14px;
padding: 0 8px;
@@ -1238,12 +1189,12 @@ span.imgedit-scale-warn {
color: #3c434a;
}
.image-editor .imgedit-scale-button-wrapper {
.imgedit-settings .imgedit-scale-button-wrapper {
margin-top: 0.3077em;
display: block;
}
.image-editor .imgedit-scale-controls .button {
.imgedit-settings .imgedit-scale .button {
margin-bottom: 0;
}
@@ -1280,24 +1231,11 @@ audio, video {
}
@media screen and (max-width: 782px) {
.edit-attachment-frame input,
.edit-attachment-frame textarea {
line-height: 1.5;
}
.wp_attachment_details label[for="content"] {
font-size: 14px;
line-height: 1.5;
}
.wp_attachment_details textarea {
line-height: 1.5;
}
.wp_attachment_details #attachment_alt {
height: 3.375em;
}
.media-upload-form .media-item.error,
.media-upload-form .media-item .error {
font-size: 13px;
@@ -1312,15 +1250,15 @@ audio, video {
padding: 10px 0 10px 12px;
}
.image-editor .imgedit-scale input[type="text"],
.image-editor .imgedit-crop-ratio input[type="text"],
.image-editor .imgedit-crop-sel input[type="text"] {
.imgedit-settings .imgedit-scale input[type="text"],
.imgedit-settings .imgedit-crop-ratio input[type="text"],
.imgedit-settings .imgedit-crop-sel input[type="text"] {
font-size: 16px;
padding: 6px 10px;
}
.wp_attachment_holder .imgedit-wrap .imgedit-panel-content,
.wp_attachment_holder .imgedit-wrap .image-editor {
.wp_attachment_holder .imgedit-wrap .imgedit-settings {
float: none;
width: auto;
max-width: none;
@@ -1330,25 +1268,6 @@ audio, video {
.copy-to-clipboard-container .success {
font-size: 14px;
}
/* Restructure image editor on narrow viewports. */
.imgedit-crop-wrap img{
width: 100%;
}
.media-modal .imgedit-wrap .imgedit-panel-content,
.media-modal .imgedit-wrap .image-editor {
position: initial !important;
}
.media-modal .imgedit-wrap .image-editor {
box-sizing: border-box;
width: 100% !important;
}
.image-editor .imgedit-scale-button-wrapper {
display: inline-block;
}
}
@media only screen and (max-width: 600px) {
@@ -1360,6 +1279,7 @@ audio, video {
/**
* Media queries for media grid.
*/
@media only screen and (max-width: 1120px) {
/* override for media-views.css */
#wp-media-grid .wp-filter .attachment-filters {
@@ -1367,17 +1287,6 @@ audio, video {
}
}
@media only screen and (max-width: 1000px) {
/* override for forms.css */
.wp-filter p.search-box {
float: none;
width: 100%;
margin-bottom: 20px;
display: flex;
}
}
@media only screen and (max-width: 782px) {
.media-frame.mode-select .attachments-browser.fixed .media-toolbar {
top: 46px;

File diff suppressed because one or more lines are too long

View File

@@ -170,7 +170,7 @@ label.bulk-select-button:focus-within {
color: #0a4b78;
}
input.bulk-select-switcher:focus + .bulk-select-button-label {
input.bulk-select-switcher:focus + .bulk-select-button-label{
color: #0a4b78;
}
@@ -192,7 +192,9 @@ input.bulk-select-switcher:focus + .bulk-select-button-label {
}
.bulk-actions input.menu-items-delete.disabled {
display: none;
cursor: default;
color: #a7aaad;
box-shadow: none;
}
.menu-settings {
@@ -838,13 +840,20 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
/* Major/minor publishing actions (classes) */
.nav-menus-php .major-publishing-actions {
clear: both;
padding: 10px 0;
display: flex;
align-items: center;
line-height: 2.15384615;
}
.nav-menus-php .major-publishing-actions > * {
margin-left: 10px;
.nav-menus-php .major-publishing-actions .publishing-action {
text-align: left;
float: left;
}
/* Same as the Publish Meta Box #delete-action */
.nav-menus-php .delete-action {
float: right;
line-height: 2.1;
}
.nav-menus-php .major-publishing-actions .form-invalid {
@@ -1011,8 +1020,4 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
#menu-locations-wrap .widefat {
width: 100%;
}
.bulk-select-button {
padding: 5px 10px;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -169,7 +169,7 @@ label.bulk-select-button:focus-within {
color: #0a4b78;
}
input.bulk-select-switcher:focus + .bulk-select-button-label {
input.bulk-select-switcher:focus + .bulk-select-button-label{
color: #0a4b78;
}
@@ -191,7 +191,9 @@ input.bulk-select-switcher:focus + .bulk-select-button-label {
}
.bulk-actions input.menu-items-delete.disabled {
display: none;
cursor: default;
color: #a7aaad;
box-shadow: none;
}
.menu-settings {
@@ -837,13 +839,20 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
/* Major/minor publishing actions (classes) */
.nav-menus-php .major-publishing-actions {
clear: both;
padding: 10px 0;
display: flex;
align-items: center;
line-height: 2.15384615;
}
.nav-menus-php .major-publishing-actions > * {
margin-right: 10px;
.nav-menus-php .major-publishing-actions .publishing-action {
text-align: right;
float: right;
}
/* Same as the Publish Meta Box #delete-action */
.nav-menus-php .delete-action {
float: left;
line-height: 2.1;
}
.nav-menus-php .major-publishing-actions .form-invalid {
@@ -1010,8 +1019,4 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
#menu-locations-wrap .widefat {
width: 100%;
}
.bulk-select-button {
padding: 5px 10px;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -12,6 +12,10 @@ are styled in the Privacy section of edit.css */
font-weight: 400;
}
.health-check-widget-title-section {
text-align: center;
}
.site-health-progress-wrapper {
margin-bottom: 1rem;
}
@@ -281,6 +285,17 @@ are styled in the Privacy section of edit.css */
padding-right: 20px;
}
/* Better position for the WordPress admin notices and update nag. */
.site-health .notice {
margin: 5px 22px 15px 20px;
}
.site-health .update-nag {
margin-bottom: 20px;
margin-right: 22px;
}
.health-check-wp-paths-sizes.spinner {
visibility: visible;
float: none;
@@ -293,14 +308,6 @@ are styled in the Privacy section of edit.css */
padding-right: 16px;
}
#dashboard_site_health .site-health-details p:first-child {
margin-top: 0;
}
#dashboard_site_health .site-health-details p:last-child {
margin-bottom: 0;
}
#dashboard_site_health .health-check-widget {
display: grid;
grid-template-columns: 1fr 2fr;
@@ -312,11 +319,6 @@ are styled in the Privacy section of edit.css */
margin-right: 0;
}
.health-check-widget-title-section {
margin-bottom: 0;
text-align: center;
}
@media screen and (max-width: 480px) {
#dashboard_site_health .health-check-widget {
grid-template-columns: 100%;

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