Commit Graph

232 Commits

Author SHA1 Message Date
Aaron Jorbin f0912cbf0c Editor: Allow publish meta box action row to wrap.
Instead of crowding the row, actions added by extenders should wrap to new lines. This change has been tested in both the classic editor plugin and hotfix plugin.

Follow-up to [61645].

Props abhishekfdd, masteradhoc, rlucian, sabernhardt, cogdesign, threadi, darshitrajyaguru97, desrosj, davidbaumwald, jorbin.
Fixes #65286.

Built from https://develop.svn.wordpress.org/trunk@62526


git-svn-id: http://core.svn.wordpress.org/trunk@61807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-06-18 21:21:38 +00:00
wildworks 7755215ff9 Admin Reskin: Fix interactive control heights on mobile.
Give interactive elements a consistent 40px height in the admin mobile viewport on the Add Plugins, Media Library grid, Settings > General, and Add Themes screens.

Follow-up to [61645].

Props abcd95, wildworks.
Fixes #64999.

Built from https://develop.svn.wordpress.org/trunk@62516


git-svn-id: http://core.svn.wordpress.org/trunk@61797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-06-17 10:57:42 +00:00
wildworks 285d71b5c0 Admin Reskin: Fix mobile list table control heights.
On the mobile admin viewport, interactive elements on list table pages had inconsistent heights. Give them a consistent height.

Follow-up to [61645].

Props andrewssanya, sainathpoojary, wildworks.
See #64999.
Built from https://develop.svn.wordpress.org/trunk@62400


git-svn-id: http://core.svn.wordpress.org/trunk@61681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-05-21 10:21:36 +00:00
wildworks b5e0fddaf1 Taxonomy: Fix delete button alignment on Edit Tag screen.
The delete button on the Edit Tag screen was misaligned after the form control updates in [61645]. Switch the action buttons row to a flexbox layout for stable alignment.

Follow-up to [61645].

Props mukesh27, tusharbharti, wildworks.
Fixes #65233.
Built from https://develop.svn.wordpress.org/trunk@62357


git-svn-id: http://core.svn.wordpress.org/trunk@61638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-05-13 12:00:45 +00:00
Sergey Biryukov 75958daa14 Admin Reskin: Correct alignment for spinners across the admin.
Follow-up to [61646].

Props wildworks, anupkankale, shailu25, gaurangsondagar, jadavsanjay, SergeyBiryukov.
Fixes #65131.
Built from https://develop.svn.wordpress.org/trunk@62291


git-svn-id: http://core.svn.wordpress.org/trunk@61571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-05-01 23:39:44 +00:00
Sergey Biryukov eff2ed0b2d Editor: Correct alignment for “Remove tag” icon in classic editor.
Follow-up to [38880], [61645].

Props umesh.nevase, sabernhardt, SergeyBiryukov.
Fixes #65133.
Built from https://develop.svn.wordpress.org/trunk@62279


git-svn-id: http://core.svn.wordpress.org/trunk@61559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-04-27 23:48:47 +00:00
wildworks 6f6b1082ae Administration: Fix focus outline being cut off for the metabox collapse and move buttons.
Fixes an issue where the focus outline on metabox collapse buttons and move handles was being clipped.

Props abcd95, audrasjb, brianhogg, darshitrajyaguru97, poena, wildworks.
Fixes #65060.
Built from https://develop.svn.wordpress.org/trunk@62232


git-svn-id: http://core.svn.wordpress.org/trunk@61512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-04-14 10:46:46 +00:00
audrasjb 78f8920042 Administration: Improve dashboard widgets border styles.
This changeset fixes a CSS glitch on dashboard widgets bottom border when they are collapsed.

Follow-up to [61646].

Props pratik-jain, audrasjb, ankitkumarshah.
Fixes #65017.
See #64549.


Built from https://develop.svn.wordpress.org/trunk@62206


git-svn-id: http://core.svn.wordpress.org/trunk@61486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-04-04 06:38:44 +00:00
joedolson f07b145215 Admin: Limit scope of admin notice link design.
The design changes to admin notices links in the admin refresh were applied broadly to `.notice, .error, and .updated` classes, but these classes are sometimes used outside the context of an admin notice.

Change selectors from `.notice a, .error a, .updated a` to `div.notice a, div.error a, div.updated a`.

Props opurockey, audrasjb, vgnavada, gaisma22, shailu25, rbcorrales, joedolson.
Fixes #64976.
Built from https://develop.svn.wordpress.org/trunk@62200


git-svn-id: http://core.svn.wordpress.org/trunk@61480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-04-02 23:34:43 +00:00
audrasjb 71c40e312e Administration: Prevent horizontal scrollbar in contextual help panel.
In [62145], an `::after` CSS rule was added that caused an overflow, resulting in an unintended scrollbar always appearing on Windows OS for example. This changeset removes the related CSS rule which is unnecessary to fix the initial issue. 

Follow-up to [62145].

Props wildworks, SergeyBiryukov, sabernhardt, audrasjb, huzaifaalmesbah, mehrazmorshed, mukesh27.
Fixes #64744.


Built from https://develop.svn.wordpress.org/trunk@62187


git-svn-id: http://core.svn.wordpress.org/trunk@61467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-31 20:28:43 +00:00
wildworks dec7e5da85 Admin reskin: Remove line-height from input fields.
`line-height` values that were previously used to match the height of input fields affect the height of the background shown when text inside those fields is selected. Removing these `line-height` declarations allows the text selection highlight to render more naturally.

Additionally, update the height of the custom Date/Time format input fields on the General Settings screen to `32px` to align with the new design system.

Props arkaprabhachowdhury, audrasjb, hmrisad, huzaifaalmesbah, manhar, manishxdp, noruzzaman, ozgursar, r1k0, sachinrajcp123, wildworks.

Fixes #64763.
Built from https://develop.svn.wordpress.org/trunk@62171


git-svn-id: http://core.svn.wordpress.org/trunk@61453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-28 12:27:46 +00:00
audrasjb 9edf1b7e9a Admin: Use admin color scheme variable for bar, highlight, and contextual help styles.
This changeset ensures the styles for bar, highlight and contextual help always take into account the admin color scheme settings.

Reviewed by joedolson.
Props fabiankaegy, audrasjb, ozgursar, noruzzaman, shailu25, sandipsinh007, tusharaddweb, hbhalodia, amesplant, joedolson.
Fixes #64744.
See #64308.


Built from https://develop.svn.wordpress.org/trunk@62145


git-svn-id: http://core.svn.wordpress.org/trunk@61427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-26 16:08:39 +00:00
joedolson a67c640b9b Admin: Fix plugin search alignment on intermediate viewports.
Add a margin on the plugin installation search form on screens between 1135 and 1250px.

Props jsmansart, hbhalodia, divyeshpatel01, noruzzaman, huzaifaalmesbah, amin7, shailu25, r1k0, joedolson.
Fixes #64809.
Built from https://develop.svn.wordpress.org/trunk@61941


git-svn-id: http://core.svn.wordpress.org/trunk@61223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-11 15:45:52 +00:00
Sergey Biryukov cc4246cd13 Docs: Correct duplicate hook references in various files.
This commit adjusts cross-reference comments where the hook was moved to a different file but the cross-reference was not updated.

Props apermo, mukesh27.
See #64224.
Built from https://develop.svn.wordpress.org/trunk@61878


git-svn-id: http://core.svn.wordpress.org/trunk@61160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-10 11:43:18 +00:00
joedolson 3fd710b1fb Admin: Fix active filter tab link color.
Change the border color on active filter tab links to use the admin theme color.

Props hbhalodia, mukesh27, huzaifaalmesbah, noruzzaman, shailu25, joedolson.
Fixes #64807.
Built from https://develop.svn.wordpress.org/trunk@61858


git-svn-id: http://core.svn.wordpress.org/trunk@61145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-06 23:17:42 +00:00
audrasjb 53e20a11bf Administration: Ensure the Theme Feature Filter button use the new default Admin colors.
Props niravsherasiya7707, louischan, penelopeadrian, noruzzaman, valentingrenier.
Fixes #64808.


Built from https://develop.svn.wordpress.org/trunk@61850


git-svn-id: http://core.svn.wordpress.org/trunk@61137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-05 15:29:43 +00:00
Sergey Biryukov e80449272b Admin Reskin: Correct color scheme for plugin and theme filters.
Props ocean90, niravsherasiya7707, noruzzaman, manishxdp, huzaifaalmesbah, SergeyBiryukov.
Fixes #64788.
Built from https://develop.svn.wordpress.org/trunk@61832


git-svn-id: http://core.svn.wordpress.org/trunk@61119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-04 21:07:44 +00:00
joedolson 57d8ba3332 Admin: Reskin - update dismiss icons sizing.
Update the sizing of icons in the welcome panel, bulk edit, quick edit, and admin notifications to use relative sizing, fixing alignment issues.

Update focus state for bulk edit remove buttons.

Props mohitbsf, opurockey, sabernhardt, huzaifaalmesbah, madhavishah01, r1k0, ozgursar, noruzzaman, shailu25, joedolson, mukesh27.
Fixes #64684.
Built from https://develop.svn.wordpress.org/trunk@61784


git-svn-id: http://core.svn.wordpress.org/trunk@61090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-02 19:52:21 +00:00
joedolson aaa00322d7 Admin: A11y: Update separator colors.
Update the base color for text in row actions, dashboard widget footers, and similar contexts to meet WCAG color standards.

Props bobbingwide, joedolson.
Fixes #64313.
Built from https://develop.svn.wordpress.org/trunk@61763


git-svn-id: http://core.svn.wordpress.org/trunk@61069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-02-27 22:19:42 +00:00
joedolson 5a6cdcbc07 Admin: Set info notices to use white background.
The admin reskin changed info notices to a transparent background, matching usage in Gutenberg. But with the gray background in the core admin, these notices didn't show up in an expected manner. Additionally, using a transparent background in a context where the background color is variable is risky for color contrast.

Change `.notice-info`, `.notice-info.notice-alt`, and `.login .notice, .login .message` to use white backgrounds. Reverts changes from [61731] to apply styles also to `.message` class.

Props mohitbsf, audrasjb, peterwilsoncc, pbiron, fabiankaegy, noruzzaman, joedolson.
Fixes #64678. See #64715.
Built from https://develop.svn.wordpress.org/trunk@61737


git-svn-id: http://core.svn.wordpress.org/trunk@61043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-02-25 19:30:31 +00:00
joedolson 5444cf51c7 Admin: Miscellaneous reskin color and alignment fixes.
Fix a few miscellaneous colors and alignment shifts missed in previous updates. Apply the new admin link and button colors on missed cases in the customizer, classic widgets, skip links, help and screen options, and admin nav menus. 

Props joedolson, fabiankaegy.
Fixes #64652.
Built from https://develop.svn.wordpress.org/trunk@61682


git-svn-id: http://core.svn.wordpress.org/trunk@60990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-02-18 22:03:43 +00:00
joedolson 9c13eca1c3 Admin: Update focus styles to match design reskin.
Apply design reskin changes to focus states on links, classic editor, media library, and other omitted contexts.

See also [61645].

Props joedolson, fabiankaegy.
Fixes #64644.
Built from https://develop.svn.wordpress.org/trunk@61652


git-svn-id: http://core.svn.wordpress.org/trunk@60963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-02-16 17:24:42 +00:00
fabiankaegy 00a46b6006 Admin: Update notice styles to align with the design system.
Remove the full border and box-shadow from notices, keeping only the 4px left border. Add semantic background colors to each notice type: green for success, yellow for warnings, red for errors, and transparent for info. Update border colors to match the design system tokens.

Restyle the dismiss button with a larger 24px icon, flexbox centering, and 2px border-radius. Replace the red hover color with a subtle opacity change and apply a theme-color focus ring. Increase dismissible notice right padding to accommodate the larger button.

Update notice text with consistent typography and restyle notice links to use theme color custom properties with matching focus rings.

Props fabiankaegy, mukesh27, joedolson, phpbits, sabernhardt, Joen, fcoveram, dkotter, navi161, poojapadamad.
Fixes #64548.


Built from https://develop.svn.wordpress.org/trunk@61647


git-svn-id: http://core.svn.wordpress.org/trunk@60958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-02-15 08:24:37 +00:00
fabiankaegy d4c1af9ecb Admin: Update card and container styles to align with the design system.
Apply 8px border-radius and a consistent `rgb(0, 0, 0, 0.1)` border to cards, postboxes, plugin cards, and theme cards. Standardize internal padding to 16px for postbox content and headers.

Update drag-and-drop interactions: replace dashed gray outlines on sortable drop zones with theme-color-tinted backgrounds, and restyle sortable placeholders with a solid theme-color border and subtle background fill.

Adjust dashboard widget spacing, welcome panel padding, and empty-container drop zone styles. Add overflow hidden to plugin and theme cards to clip content to the new rounded corners.

Props fabiankaegy, mukesh27, joedolson, navi161, phpbits, karmatosed, sabernhardt, poojapadamad, psorensen, generosus.
Fixes #64549.


Built from https://develop.svn.wordpress.org/trunk@61646


git-svn-id: http://core.svn.wordpress.org/trunk@60957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-02-15 08:18:36 +00:00
fabiankaegy cc0fed3547 Admin: Update button and form field styles to align with the design system.
Introduce a design system tokens file (`_tokens.scss`) based on the WordPress Design System, providing standardized values for colors, spacing, typography, border-radius, and elevation.

Update buttons to use CSS custom properties for theme color support across all admin color schemes. Restyle primary buttons with filled theme-color backgrounds, secondary buttons with outlined borders, and add a tertiary button mixin. Adopt Gutenberg-style focus rings with outset box-shadows and transparent outlines for Windows High Contrast mode compatibility.

Increase default input and select height from 30px to 40px, apply 2px border-radius, and update border and placeholder colors to match the design system. Restyle checkboxes and radios with filled theme-color checked states and white indicator marks, using outset double-ring focus styles consistent with Gutenberg.

Apply compact 32px sizing to list table controls, page-title-action buttons, and toolbar elements. Convert tag input layouts and the major-publishing-actions bar to flexbox.

Props fabiankaegy, joedolson, audrasjb, joen, phpbits, magaliechetrit, karmatosed.
Fixes #64547.


Built from https://develop.svn.wordpress.org/trunk@61645


git-svn-id: http://core.svn.wordpress.org/trunk@60956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-02-15 08:10:37 +00:00
joedolson e42b68c0b4 A11y: Update .screen-reader-text class with word-break.
`word-break: normal !important;` was added to Twenty Twenty in [46701], but the change missed getting propagated to all uses of the screen-reader-text class at that time. 

Add `word-break` reset to `.screen-reader-text` to ensure screen readers won't read text as individual letters in hidden text.

Props peterwilsoncc, manhphucofficial, palak678, sabernhardt, mukesh27, joedolson.
Fixes #64375.
Built from https://develop.svn.wordpress.org/trunk@61636


git-svn-id: http://core.svn.wordpress.org/trunk@60947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-02-13 17:12:44 +00:00
joedolson b3fdc0d96e Media: Add external icon to alt text links.
This link opens in a new tab, and needs a visual indicator to provide an affordance to sighted users that this will happen.

Props burtrw, sabernhardt, audrasjb, westonruter, joedolson.
Fixes #64374.
Built from https://develop.svn.wordpress.org/trunk@61597


git-svn-id: http://core.svn.wordpress.org/trunk@60908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-02-07 23:53:44 +00:00
Peter Wilson a978fc5de1 General: Use legacy content properties for CSS icons.
In modern browsers the CSS `content` property provides alt text support for assistive technology in the form `display / alt text`. This introduces support for legacy browsers that do not support the new syntax.

CSS content properties take advantage of the CSS cascade and browsers ignoring values they don't understand by adding duplicate `content` properties in the form:

{{{#!css
content: display;
content: display / alt text;
}}}

Modern browsers will use the second property, legacy browsers will use the first.

Follow-up to [60885] for #63603.

Props acmoifr, joedolson, jorbin, mydesign78, ov3rfly, peterwilsoncc, presskopp, sabernhardt, siliconforks, swissspidy, threadi, wildworks, wolf45.
Fixes #64350.

Built from https://develop.svn.wordpress.org/trunk@61480


git-svn-id: http://core.svn.wordpress.org/trunk@60792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-01-13 22:09:49 +00:00
joedolson db567e7f82 General: A11y: Remove obsolete speak and aural CSS.
Remove instances of `speak: never` and `@media aural`, which are deprecated and/or non-standard CSS. These never had any broad browser support, but generated content alternatives do. See #40428.

Props krokodok, audrasjb, joedolson.
Fixes #63603.
Built from https://develop.svn.wordpress.org/trunk@60885


git-svn-id: http://core.svn.wordpress.org/trunk@60221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-09-30 23:51:27 +00:00
joedolson e30a48d6b0 Administration: Fix sizing of page header links on mobile.
Page title actions were modified to match the global button styles in #41986, but these styles were not applied to mobile viewports at the time. 

Fix padding, height, line-height, and alignment to match these links to global styles. 

Props joedolson, rollybueno, sumitbagthariya16, circlecube, shailu25.
Fixes #63831.
Built from https://develop.svn.wordpress.org/trunk@60705


git-svn-id: http://core.svn.wordpress.org/trunk@60041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-09-04 03:53:36 +00:00
joedolson 03720cec5c Administration: Hide skip to toolbar link on small viewports.
Since r55326, the admin sidebar autocloses on small viewports when focus exits the sidebar. Because of this, there is no case where the Skip to Toolbar link will have any function on small viewports.

Props sabernhardt, abcd95, alh0319, mleray, joedolson.
Fixes #63286.
Built from https://develop.svn.wordpress.org/trunk@60286


git-svn-id: http://core.svn.wordpress.org/trunk@59622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-06-05 14:03:49 +00:00
joedolson 8e9d8e7bd4 Editor: A11y: Skip link hidden in editor on medium-small screens.
Adjust the position of the skip link in viewports between 600 and 782 pixels, where they were hidden due to `overflow-y: auto` in the block editor. Ensures that the skip link is visibly available for users on all viewport sizes.

Props sabernhardt, narenin, audrasjb, mukesh27, joedolson, wildworks.
Fixes #63084.
Built from https://develop.svn.wordpress.org/trunk@59992


git-svn-id: http://core.svn.wordpress.org/trunk@59334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-03-16 22:49:26 +00:00
audrasjb 9d245fd864 Administration: Revert [59705] and bring back the light grey admin background.
This reverts the full-white background update that was committed in [59705] to give it more time for testing and feedback. Let's revisit this proposal later and revert to the good ol’ grey background.

Props afercia, richtabor, karmatosed, johnjamesjacoby, johnbillion, sabernhardt, 
See #62831.


Built from https://develop.svn.wordpress.org/trunk@59879


git-svn-id: http://core.svn.wordpress.org/trunk@59221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-02-27 00:28:24 +00:00
joedolson 9d1b85ac74 Accessibility: Globally update .screen-reader-text class.
Remove references to the obsolete style property `clip: rect(1px, 1px, 1px, 1px);` and replace or adapt to use `clip-path: inset(50%);`. Update associated `:focus` styles as appropriate. Remove prefixed instances of `-webkit-clip-path`.

Props afercia, hbhalodia, audrasjb, joedolson, sabernhardt. 
Fixes #62238.
Built from https://develop.svn.wordpress.org/trunk@59832


git-svn-id: http://core.svn.wordpress.org/trunk@59174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-02-17 17:49:20 +00:00
joedolson dd3d84dfbc General: Add styles for extender usage of do_accordion_section().
Follow up to [59224]. Add CSS to cover usage of the `do_accordion_section()` function when used in extender contexts outside of the existing WordPress core usage.

Props mboynes, jorbin, joemcgill, joedolson. 
Fixes #62907.
Built from https://develop.svn.wordpress.org/trunk@59772


git-svn-id: http://core.svn.wordpress.org/trunk@59114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-02-06 22:26:24 +00:00
audrasjb 130a7a8567 Plugins: Improve search box margin behavior in the Add Plugins screen.
This changeset fixes a margin issue in the search input box on the Add New Plugins screen, which was previously breaking below 1138px. Specifically, the top margin was set to 0px, and the overall appearance of the search box was inconsistent between 1000px and 1138px. Now, the margin is consistent across all breakpoints.

Props jomonthomaslobo1, narenin, iflairwebtechnologies, peterwilsoncc, audrasjb, shailu25.
Fixes #61785.



Built from https://develop.svn.wordpress.org/trunk@59706


git-svn-id: http://core.svn.wordpress.org/trunk@59048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-25 14:12:19 +00:00
audrasjb 471cffffcc Administration: Introduce a lighter background for WP Admin.
This changeset replaces the light grey background color with the white color defined in the Editor Storybook. This change also impacts admin color schemes that previously utilized the default admin background color.
This is an initial implementation of the WordPress design system, aligning with the broader goal of achieving a more consistent and unified design across the administration.

Props karmatosed, audrasjb.
Fixes #62831.



Built from https://develop.svn.wordpress.org/trunk@59705


git-svn-id: http://core.svn.wordpress.org/trunk@59047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-25 14:07:23 +00:00
joedolson f7fb13a3c4 Administration: A11y: Fix accordion accessibility.
Change accordions in the customizer and the navigation menus to make proper usage of accordion markup patterns. This includes adding missing `:focus` states, using a `button` element to control tabbing and interaction, instead of the heading elements, and removing instructional text for screen reader users that was used to compensate for the incorrect markup pattern.

Props afercia, rishishah, kushang78, rcreators, krupajnanda, hmbashar, joedolson.
Fixes #42002.
Built from https://develop.svn.wordpress.org/trunk@59224


git-svn-id: http://core.svn.wordpress.org/trunk@58616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-10-13 19:09:12 +00:00
Jeremy Felt 3c85d540d4 Application Passwords: Add copy button when adding new password.
Props circlecube, dhruvang21, ironprogrammer, desrosj.
Fixes #62019.

Built from https://develop.svn.wordpress.org/trunk@59046


git-svn-id: http://core.svn.wordpress.org/trunk@58442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-09-18 00:14:13 +00:00
Sergey Biryukov c0350f64a0 Themes: Improve the alignment of feature filters and inputs on Add Themes screen.
Follow-up to [35527], [38640], [40797].

Props Benjamin_Zekavica, sabernhardt, sumitsingh, gauravtiwari, krupajnanda, audrasjb, SergeyBiryukov.
Fixes #53314.
Built from https://develop.svn.wordpress.org/trunk@59022


git-svn-id: http://core.svn.wordpress.org/trunk@58418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-09-15 13:49:15 +00:00
Sergey Biryukov b754603f04 Toolbar: Use CSS variable for the admin bar height in wp-admin/css/common.css.
Follow-up to [16600], [21025], [26072].

Props tdrayson, niravsherasiya7707, mukesh27.
See #61898.
Built from https://develop.svn.wordpress.org/trunk@58929


git-svn-id: http://core.svn.wordpress.org/trunk@58325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-08-24 00:05:12 +00:00
desrosj a9bc14866c Build/Test Tools: Run grunt precommit:css.
This rebuilds compiled CSS files after updating the `caniuse` database in [58563].

All `-webkit-clip-path` properties have been removed as the corresponding browsers dipped below 1% usage and have fallen out of the browser support policy.

Fixes #61499.
Built from https://develop.svn.wordpress.org/trunk@58567


git-svn-id: http://core.svn.wordpress.org/trunk@58015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-06-25 13:56:17 +00:00
hellofromTonya 4b331a84ef Plugins: Revert r58081 show an admin notice on successful activation.
With a new direction in the 6.5.4 to restore the Activate button's href (see [58250]), the changesets committed for 6.5.3 (see #60992) are now dead code and will not render the admin notice on successful plugin activation.

This commit is a clean revert of r58081.

Follow-up to [58250].

Props swissspidy, azaozz, costdev, jorbin, hellofromTonya, afragen.
Fixes #61331.
See #60992, #61319.
Built from https://develop.svn.wordpress.org/trunk@58257


git-svn-id: http://core.svn.wordpress.org/trunk@57720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-05-30 17:09:10 +00:00
joedolson 79045fa10e Administration: A11y: Replace placeholders with visible labels.
Add visible labels to inputs that are using placeholder attributes as a substitute for visible labeling.

Labels added or made visible on the customizer theme search, customizer widget search, customizer menu item search, customizer new page UI, the search plugins screens, the media search screens, and the classic editor link inserter.

Props afercia, joedolson, rcreators, sabernhardt.
See #40331.
Built from https://develop.svn.wordpress.org/trunk@58146


git-svn-id: http://core.svn.wordpress.org/trunk@57611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-05-14 16:49:09 +00:00
Aaron Jorbin 18d2736d35 Plugins: Show an admin notice on successful activation.
Plugin activation on the Plugins > Add New screen is performed using AJAX, no longer performing redirects. This means that users will not see a newly activated plugin's menu items, admin notices, or other UI elements until the user refreshes or navigates to another screen. Without adequate messaging and direction, users may be unsure of what to do next.

This shows an admin notice when a plugin is activated from its plugin card or modal, informing the user that the plugin was activated, and that some changes may not occur until they refresh the page.

Follow-up to [57545].

Props costdev, jorbin, jeherve, flixos90, joedolson, ironprogrammer, audrasjb, alanfuller, kevinwhoffman, devsahadat, afragen, adrianduffell, azaozz, jason_the_adams, JeffPaul, webdevmattcrom, DrewAPicture, justlevine, stevejonesdev, benlk, roytanck.
Fixes #60992. See #22316.

Built from https://develop.svn.wordpress.org/trunk@58081


git-svn-id: http://core.svn.wordpress.org/trunk@57546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-05-02 17:05:07 +00:00
Pascal Birchler 0006dd82d8 Upgrade/Install: Improve plugin install button appearance.
Fixes a misaligned spinner icon when opening the plugin details information in a new tab rather than the modal, and then installing the plugin in that window.

Props huzaifaalmesbah, zunaid321, swissspidy.
Fixes #60494.
Built from https://develop.svn.wordpress.org/trunk@57697


git-svn-id: http://core.svn.wordpress.org/trunk@57198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-02-22 18:04:09 +00:00
joedolson 7464bdc47a Administration: Improve contrast and consistency of focus styles.
Apply new focus styles from WordPress 5.3 more broadly. An updated focus style for form inputs, buttons, and link styled as buttons was added in WordPress 5.3; this commit makes other focus styles consistent with those changes so they meet accessibility standards for color contrast.

Props johnbillion, kebbet, joedolson, afercia.
Fixes #51870.
Built from https://develop.svn.wordpress.org/trunk@57553


git-svn-id: http://core.svn.wordpress.org/trunk@57054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-02-07 16:56:13 +00:00
costdev c60fc98b33 Upgrade/Install: Introduce Plugin Dependencies.
Introduces a new "Requires Plugins" plugin header so that plugin developers can list the slugs of the plugins theirs depends on.

This will inform users of the requirements, and provide links to the WordPress.org Plugins Repository that they can click to install and activate the dependencies first.

Plugins whose requirements are not met cannot be installed or activated, and they will be deactivated automatically if their requirements become unmet.
Plugins that others rely on cannot be deactivated or deleted until their dependent plugins are deactivated or deleted.

In memory of Alex Mills and Alex King.
WordPress Remembers.

Props ahoereth, afragen, alanfuller, alexkingorg, amykamala, anonymized_10690803, apeatling, ashfame, atimmer, audrasjb, aristath, azaozz, batmoo, beaulebens, blobaugh, bobbingwide, boonebgorges, brianhenryie, chanthaboune, chrisdavidmiles, coolmann, costdev, courane01, danielbachhuber, davidperez, dd32, Denis-de-Bernardy, dingo_d, DJPaul, dougal, DrewAPicture, ethitter, filosofo, georgestephanis, giuseppemazzapica-1, goldenapples, griffinjt, hellofromTonya, husobj, ideag, jarednova, jbobich, jbrinley, jltallon, joedolson, johnciacia, johnjamesjacoby, joppuyo, jsmoriss, karmatosed, kebbet, knutsp, kraftbj, kraftner, kurtpayne, lkraav, logikal16, luisherranz, man4toman, markjaquith, matt, mbijon, megphillips91, mikeschinkel, mordauk, morehawes, mrwweb, mte90, mukesh27, mzaweb, nacin, norcross, nvwd, nwjames, obliviousharmony, ocean90, oglekler, paaljoachim, pauldewouters, pbaylies, pbiron, peterwilsoncc, Philipp15b, poena, pogidude, retlehs, rmccue, ryan, sabreuse, sc0ttkclark, scribu, sereedmedia, SergeyBiryukov, ShaneF, shidouhikari, soean, spacedmonkey, stephenh1988, swissspidy, taylorde, tazotodua, threadi, TimothyBlynJacobs, TJNowell, tollmanz, toscho, tropicalista, Viper007Bond, westi, whiteshadow, williamsba1, wpsmith, ZaneMatthew.
Fixes #22316.
Built from https://develop.svn.wordpress.org/trunk@57545


git-svn-id: http://core.svn.wordpress.org/trunk@57046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-02-06 23:46:14 +00:00
desrosj f3fe615b79 Build/Test Tools: Update the caniuse data.
This updates the `caniuse-lite` database and includes all resulting CSS and built file changes, which are all minor changes due to fluctuations in browser usage.

Props gziolo, jonsurrell.
See #59657.
Built from https://develop.svn.wordpress.org/trunk@57363


git-svn-id: http://core.svn.wordpress.org/trunk@56869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-26 14:04:12 +00:00
hellofromTonya 064b90c078 Plugins: Fix Add Plugin search button pos when JS off.
When JavaScript is disabled, the Add Plugins screen's search button position was too high in comparison to the search text field. This fix reuses the CSS declaration to keep field and button aligned.

By targeting the `.no-js` class, the CSS specificity is not impacted when JavaScript is enabled.

Follow up to [48281], [30830].

Props devmuhib, sabernhardt, huzaifaalmesbah, hellofromTonya.
Fixes #59967.
Built from https://develop.svn.wordpress.org/trunk@57144


git-svn-id: http://core.svn.wordpress.org/trunk@56655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-11-29 16:45:26 +00:00