Make WordPress Core


Ignore:
Timestamp:
12/01/2020 07:25:43 PM (4 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.
Reviewed by desrosj, SergeyBiryukov.
Merges [49726] to the 5.6 branch.
Fixes #51526.

Location:
branches/5.6
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.6

  • branches/5.6/src/wp-content/themes/twentytwentyone/assets/sass/06-components/pagination.scss

    r49574 r49728  
    1212            color: var(--global--color-primary-hover);
    1313            text-decoration: underline;
     14            text-decoration-style: dotted;
    1415        }
    1516
     
    124125            margin-bottom: 0;
    125126        }
    126 
    127         &:hover {
    128 
    129             .post-title {
    130                 text-decoration: underline;
    131                 text-decoration-thickness: 1px;
    132             }
    133         }
    134     }
    135 
     127    }
    136128}
    137129
     
    158150        }
    159151
     152        .is-dark-theme & {
     153
     154            a:active,
     155            a:hover:active,
     156            a:hover:focus {
     157                color: var(--global--color-background);
     158            }
     159        }
     160
     161        .has-background-white & {
     162
     163            a:active,
     164            a:hover:active,
     165            a:hover:focus {
     166                color: var(--global--color-white);
     167            }
     168        }
    160169    }
    161170
     
    170179
    171180        &.current {
    172             border-bottom: 1px solid var(--pagination--color-text);
     181            text-decoration: underline;
     182        }
     183
     184        &:not(.dots):not(.current):hover {
     185            text-decoration-style: dotted;
    173186        }
    174187
     
    228241        font-size: var(--global--font-size-md);
    229242    }
    230 
    231 }
     243}
Note: See TracChangeset for help on using the changeset viewer.