Make WordPress Core


Ignore:
Timestamp:
03/04/2026 08:42:55 PM (3 weeks ago)
Author:
joedolson
Message:

Themes: Remove background on active theme actions.

The background behind theme actions for the active theme was still visible when no actions were available, such as with a disabled customizer. Removing the background on this container improves the design of the active theme card by simplifying the layout and prevents the appearance of an error if no actions are available.

Remove background and inset box shadow for the .theme.active .theme-actions container on the active theme.

Props awetz583, huzaifaalmesbah, noruzzaman, shailu25, joedolson.
Fixes #64720.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/customize-controls.css

    r61782 r61831  
    17481748.wp-customizer .theme-browser .theme .theme-actions {
    17491749    padding: 9px 15px;
     1750}
     1751
     1752.theme-browser .theme:not(.active) .theme-actions {
    17501753    box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1);
    17511754}
Note: See TracChangeset for help on using the changeset viewer.