mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Twenty Twenty: Scope .privacy-policy
styles to the footer only.
This changeset fixes an issue where the `.privacy-policy` styles were applied to other locations than the footer only, like the `privacy-policy` page itself. Props mnydigital, sabernhardt, huzaifaalmesbah, shailu25, poena. Fixes #60469. Built from https://develop.svn.wordpress.org/trunk@57589 git-svn-id: http://core.svn.wordpress.org/trunk@57090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ddd8354888
commit
59f2266979
@ -789,7 +789,7 @@ function twentytwenty_get_elements_array() {
|
||||
'border-left-color' => array( 'body:not(.overlay-header) .primary-menu ul ul:after' ),
|
||||
),
|
||||
'secondary' => array(
|
||||
'color' => array( '.site-description', 'body:not(.overlay-header) .toggle-inner .toggle-text', '.widget .post-date', '.widget .rss-date', '.widget_archive li', '.widget_categories li', '.widget cite', '.widget_pages li', '.widget_meta li', '.widget_nav_menu li', '.powered-by-wordpress', '.to-the-top', '.singular .entry-header .post-meta', '.singular:not(.overlay-header) .entry-header .post-meta a' ),
|
||||
'color' => array( '.site-description', 'body:not(.overlay-header) .toggle-inner .toggle-text', '.widget .post-date', '.widget .rss-date', '.widget_archive li', '.widget_categories li', '.widget cite', '.widget_pages li', '.widget_meta li', '.widget_nav_menu li', '.powered-by-wordpress', '.footer-credits .privacy-policy', '.to-the-top', '.singular .entry-header .post-meta', '.singular:not(.overlay-header) .entry-header .post-meta a' ),
|
||||
),
|
||||
'borders' => array(
|
||||
'border-color' => array( '.header-footer-group pre', '.header-footer-group fieldset', '.header-footer-group input', '.header-footer-group textarea', '.header-footer-group table', '.header-footer-group table *', '.footer-nav-widgets-wrapper', '#site-footer', '.menu-modal nav *', '.footer-widgets-outer-wrapper', '.footer-top' ),
|
||||
|
@ -4493,12 +4493,12 @@ ul.footer-social li {
|
||||
}
|
||||
|
||||
.footer-copyright a,
|
||||
.privacy-policy a,
|
||||
.footer-credits .privacy-policy a,
|
||||
.powered-by-wordpress a {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.privacy-policy,
|
||||
.footer-credits .privacy-policy,
|
||||
.powered-by-wordpress,
|
||||
.to-the-top {
|
||||
color: #6d6d6d;
|
||||
@ -4523,7 +4523,7 @@ a.to-the-top > * {
|
||||
margin: 0 2.4rem 0 0;
|
||||
}
|
||||
|
||||
.privacy-policy {
|
||||
.footer-credits .privacy-policy {
|
||||
margin: 1.2rem 0 0;
|
||||
}
|
||||
|
||||
@ -5617,7 +5617,7 @@ a.to-the-top > * {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.privacy-policy {
|
||||
.footer-credits .privacy-policy {
|
||||
margin: 0 2.4rem 0 0;
|
||||
}
|
||||
|
||||
|
@ -4529,12 +4529,12 @@ ul.footer-social li {
|
||||
}
|
||||
|
||||
.footer-copyright a,
|
||||
.privacy-policy a,
|
||||
.footer-credits .privacy-policy a,
|
||||
.powered-by-wordpress a {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.privacy-policy,
|
||||
.footer-credits .privacy-policy,
|
||||
.powered-by-wordpress,
|
||||
.to-the-top {
|
||||
color: #6d6d6d;
|
||||
@ -4559,7 +4559,7 @@ a.to-the-top > * {
|
||||
margin: 0 0 0 2.4rem;
|
||||
}
|
||||
|
||||
.privacy-policy {
|
||||
.footer-credits .privacy-policy {
|
||||
margin: 1.2rem 0 0;
|
||||
}
|
||||
|
||||
@ -5681,7 +5681,7 @@ a.to-the-top > * {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.privacy-policy {
|
||||
.footer-credits .privacy-policy {
|
||||
margin: 0 0 0 2.4rem;
|
||||
}
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.5-alpha-57588';
|
||||
$wp_version = '6.5-alpha-57589';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user