Make WordPress Core


Ignore:
Timestamp:
02/26/2024 04:25:28 PM (3 years ago)
Author:
SergeyBiryukov
Message:

Twenty Nineteen: Further adjust CSS selectors used to change the primary color.

This aims to make the file, button, quote, pullquote, and search block selectors work on multiple WordPress versions.

Follow-up to [57637].

Props poena, mukesh27.
Fixes #59922.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentynineteen/sass/blocks/_blocks.scss

    r57599 r57712  
    194194                                background: $color__background-button-hover;
    195195                                cursor: pointer;
     196                                &:not(.has-background) {
     197                                        background: $color__background-button-hover;
     198                                }
    196199                        }
    197200
    … …  
    201204                                outline: thin dotted;
    202205                                outline-offset: -4px;
     206                                &:not(.has-background) {
     207                                        background: $color__background-button-hover;
     208                                }
    203209                        }
    204210                }
Note: See TracChangeset for help on using the changeset viewer.