Varia Leftover fix for #1429, #1433, and #1435

This commit is contained in:
Takashi Irie 2019-09-27 01:13:48 +01:00
parent 4ee96c5c92
commit 19ed2b6695
7 changed files with 69 additions and 19 deletions

View file

@ -24,7 +24,9 @@
}
.has-background:not(.has-background-background-color) &,
[class*=background-color]:not(.has-background-background-color) & {
[class*="background-color"]:not(.has-background-background-color) &,
[style*="background-color"]:not(.has-background-background-color) &,
.wp-block-cover[style*="background-image"] & {
border-color: currentColor;
}
@ -34,7 +36,9 @@
letter-spacing: #{map-deep-get($config-global, "font", "letter-spacing", "sm")};
.has-background:not(.has-background-background-color) &,
[class*=background-color]:not(.has-background-background-color) & {
[class*="background-color"]:not(.has-background-background-color) &,
[style*="background-color"]:not(.has-background-background-color) &,
.wp-block-cover[style*="background-image"] & {
color: currentColor;
}
}

View file

@ -32,7 +32,9 @@
letter-spacing: #{map-deep-get($config-global, "font", "letter-spacing", "sm")};
.has-background:not(.has-background-background-color) &,
[class*=background-color]:not(.has-background-background-color) & {
[class*="background-color"]:not(.has-background-background-color) &,
[style*="background-color"] &,
.wp-block-cover[style*="background-image"] & {
color: currentColor;
}
}
@ -67,7 +69,9 @@
}
.has-background:not(.has-background-background-color) &,
[class*=background-color]:not(.has-background-background-color) & {
[class*="background-color"]:not(.has-background-background-color) &,
[style*="background-color"] &,
.wp-block-cover[style*="background-image"] & {
border-color: currentColor;
}
}

View file

@ -22,7 +22,9 @@ hr {
}
.has-background:not(.has-background-background-color) &,
[class*="background-color"]:not(.has-background-background-color) & {
[class*="background-color"]:not(.has-background-background-color) &,
[style*="background-color"]:not(.has-background-background-color) &,
.wp-block-cover[style*="background-image"] & {
border-color: currentColor;
}
}

View file

@ -29,7 +29,9 @@ hr {
}
.has-background:not(.has-background-background-color) &,
[class*="background-color"]:not(.has-background-background-color) & {
[class*="background-color"]:not(.has-background-background-color) &,
[style*="background-color"] &,
.wp-block-cover[style*="background-image"] & {
border-color: currentColor;
}
}

View file

@ -583,7 +583,9 @@ p.has-background:not(.has-background-background-color) a {
}
.has-background:not(.has-background-background-color) .wp-block-quote,
[class*=background-color]:not(.has-background-background-color) .wp-block-quote {
[class*="background-color"]:not(.has-background-background-color) .wp-block-quote,
[style*="background-color"]:not(.has-background-background-color) .wp-block-quote,
.wp-block-cover[style*="background-image"] .wp-block-quote {
border-color: currentColor;
}
@ -594,7 +596,9 @@ p.has-background:not(.has-background-background-color) a {
}
.has-background:not(.has-background-background-color) .wp-block-quote .wp-block-quote__citation,
[class*=background-color]:not(.has-background-background-color) .wp-block-quote .wp-block-quote__citation {
[class*="background-color"]:not(.has-background-background-color) .wp-block-quote .wp-block-quote__citation,
[style*="background-color"]:not(.has-background-background-color) .wp-block-quote .wp-block-quote__citation,
.wp-block-cover[style*="background-image"] .wp-block-quote .wp-block-quote__citation {
color: currentColor;
}
@ -626,9 +630,15 @@ hr.is-style-dots:before {
}
.has-background:not(.has-background-background-color) .wp-block-separator,
[class*="background-color"]:not(.has-background-background-color) .wp-block-separator, .has-background:not(.has-background-background-color)
[class*="background-color"]:not(.has-background-background-color) .wp-block-separator,
[style*="background-color"]:not(.has-background-background-color) .wp-block-separator,
.wp-block-cover[style*="background-image"] .wp-block-separator, .has-background:not(.has-background-background-color)
hr,
[class*="background-color"]:not(.has-background-background-color)
hr,
[style*="background-color"]:not(.has-background-background-color)
hr,
.wp-block-cover[style*="background-image"]
hr {
border-color: currentColor;
}

View file

@ -1841,12 +1841,22 @@ p.has-background {
}
.has-background:not(.has-background-background-color) .wp-block-quote .wp-block-quote__citation,
[class*=background-color]:not(.has-background-background-color) .wp-block-quote .wp-block-quote__citation, .has-background:not(.has-background-background-color)
[class*="background-color"]:not(.has-background-background-color) .wp-block-quote .wp-block-quote__citation,
[style*="background-color"] .wp-block-quote .wp-block-quote__citation,
.wp-block-cover[style*="background-image"] .wp-block-quote .wp-block-quote__citation, .has-background:not(.has-background-background-color)
.wp-block-quote cite,
[class*=background-color]:not(.has-background-background-color)
[class*="background-color"]:not(.has-background-background-color)
.wp-block-quote cite,
[style*="background-color"]
.wp-block-quote cite,
.wp-block-cover[style*="background-image"]
.wp-block-quote cite, .has-background:not(.has-background-background-color)
.wp-block-quote footer,
[class*=background-color]:not(.has-background-background-color)
[class*="background-color"]:not(.has-background-background-color)
.wp-block-quote footer,
[style*="background-color"]
.wp-block-quote footer,
.wp-block-cover[style*="background-image"]
.wp-block-quote footer {
color: currentColor;
}
@ -1878,7 +1888,9 @@ p.has-background {
}
.has-background:not(.has-background-background-color) .wp-block-quote,
[class*=background-color]:not(.has-background-background-color) .wp-block-quote {
[class*="background-color"]:not(.has-background-background-color) .wp-block-quote,
[style*="background-color"] .wp-block-quote,
.wp-block-cover[style*="background-image"] .wp-block-quote {
border-color: currentColor;
}
@ -1908,7 +1920,9 @@ hr.wp-block-separator.is-style-dots:before {
}
.has-background:not(.has-background-background-color) hr.wp-block-separator,
[class*="background-color"]:not(.has-background-background-color) hr.wp-block-separator {
[class*="background-color"]:not(.has-background-background-color) hr.wp-block-separator,
[style*="background-color"] hr.wp-block-separator,
.wp-block-cover[style*="background-image"] hr.wp-block-separator {
border-color: currentColor;
}

View file

@ -1841,12 +1841,22 @@ p.has-background {
}
.has-background:not(.has-background-background-color) .wp-block-quote .wp-block-quote__citation,
[class*=background-color]:not(.has-background-background-color) .wp-block-quote .wp-block-quote__citation, .has-background:not(.has-background-background-color)
[class*="background-color"]:not(.has-background-background-color) .wp-block-quote .wp-block-quote__citation,
[style*="background-color"] .wp-block-quote .wp-block-quote__citation,
.wp-block-cover[style*="background-image"] .wp-block-quote .wp-block-quote__citation, .has-background:not(.has-background-background-color)
.wp-block-quote cite,
[class*=background-color]:not(.has-background-background-color)
[class*="background-color"]:not(.has-background-background-color)
.wp-block-quote cite,
[style*="background-color"]
.wp-block-quote cite,
.wp-block-cover[style*="background-image"]
.wp-block-quote cite, .has-background:not(.has-background-background-color)
.wp-block-quote footer,
[class*=background-color]:not(.has-background-background-color)
[class*="background-color"]:not(.has-background-background-color)
.wp-block-quote footer,
[style*="background-color"]
.wp-block-quote footer,
.wp-block-cover[style*="background-image"]
.wp-block-quote footer {
color: currentColor;
}
@ -1878,7 +1888,9 @@ p.has-background {
}
.has-background:not(.has-background-background-color) .wp-block-quote,
[class*=background-color]:not(.has-background-background-color) .wp-block-quote {
[class*="background-color"]:not(.has-background-background-color) .wp-block-quote,
[style*="background-color"] .wp-block-quote,
.wp-block-cover[style*="background-image"] .wp-block-quote {
border-color: currentColor;
}
@ -1908,7 +1920,9 @@ hr.wp-block-separator.is-style-dots:before {
}
.has-background:not(.has-background-background-color) hr.wp-block-separator,
[class*="background-color"]:not(.has-background-background-color) hr.wp-block-separator {
[class*="background-color"]:not(.has-background-background-color) hr.wp-block-separator,
[style*="background-color"] hr.wp-block-separator,
.wp-block-cover[style*="background-image"] hr.wp-block-separator {
border-color: currentColor;
}