mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00: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. git-svn-id: https://develop.svn.wordpress.org/trunk@57589 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
93ba10dae6
commit
68edf43fa9
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user