Make WordPress Core


Ignore:
Timestamp:
12/01/2020 07:07:43 PM (5 years ago)
Author:
desrosj
Message:

Twenty Twenty-One: Sync the latest changes for 5.6 RC2.

This will be the final sync from GitHub before placing that repository into read-only mode. All further changes should now flow entirely through Trac.

For a full list of changes since [49633], see https://github.com/WordPress/twentytwentyone/compare/1d5a895...53acd9b.

Props poena, luminuu, kjellr, ryelle, allancole, melchoyce, felipeelia, aljullu, kebbet, chaton666, Clorith, mkaz, ingereck, paaljoachim.
See #51526.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwentyone/assets/sass/05-blocks/search/_style.scss

    r49574 r49726  
    11.wp-block-search {
    22    max-width: var(--responsive--aligndefault-width);
    3 
    4     &__button-inside {
    5 
    6         .wp-block-search__inside-wrapper {
    7             background-color: var(--global--color-white);
    8         }
    9     }
    103
    114    &__button-only.aligncenter {
     
    3629        }
    3730
    38         .has-background:not(.has-background-background-color) &,
    39         [class*="background-color"]:not(.has-background-background-color) &,
     31        .has-background &,
     32        [class*="background-color"] &,
    4033        [style*="background-color"] &,
    4134        .wp-block-cover[style*="background-image"] & {
     
    114107    &.wp-block-search__button-inside {
    115108
     109        .wp-block-search__inside-wrapper {
     110            background-color: var(--global--color-white);
     111            border: var(--form--border-width) solid var(--form--border-color);
     112            border-radius: var(--form--border-radius);
     113
     114            .wp-block-search__input {
     115                margin-right: 0;
     116
     117                &:focus {
     118                    outline: 2px dotted var(--form--border-color);
     119                    outline-offset: -5px;
     120
     121                    .is-dark-theme & {
     122                        outline-color: currentColor;
     123                    }
     124                }
     125            }
     126        }
     127
    116128        &.wp-block-search__text-button {
    117129
Note: See TracChangeset for help on using the changeset viewer.