Make WordPress Core

Changeset 44191 for branches/5.0


Ignore:
Timestamp:
12/14/2018 08:10:32 PM (6 years ago)
Author:
laurelfulford
Message:

Twenty Eleven: Fix button block custom colors on front end.

Simplify some of the button block’s CSS selectors in the theme, to make sure the default colors don’t override the custom colors on the front end.

Fixes #45433.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/5.0/src/wp-content/themes/twentyeleven/blocks.css

    r43870 r44191  
    233233
    234234.wp-block-button .wp-block-button__link {
    235     background: #222;
    236235    border: none;
    237236    -moz-border-radius: 3px;
     
    240239    -moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
    241240    box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
    242     color: #eee;
    243241    cursor: pointer;
    244242    font-size: 15px;
     
    248246}
    249247
    250 .wp-block-button .wp-block-button__link:active {
     248.wp-block-button__link {
     249    background: #222;
     250    color: #eee;
     251}
     252
     253.wp-block-button__link:active {
    251254    background: #1982d1;
    252255    color: #bfddf3;
Note: See TracChangeset for help on using the changeset viewer.