This commit is contained in:
Takashi Irie 2019-09-26 16:17:39 +01:00
parent ebce24f92e
commit d50d9ec25b
5 changed files with 11 additions and 11 deletions

View file

@ -21,8 +21,8 @@ hr {
}
}
.has-background &,
[class*="background-color"] & {
.has-background:not(.has-background-background-color) &,
[class*="background-color"]:not(.has-background-background-color) & {
border-color: currentColor;
}
}

View file

@ -28,8 +28,8 @@ hr {
}
}
.has-background &,
[class*="background-color"] & {
.has-background:not(.has-background-background-color) &,
[class*="background-color"]:not(.has-background-background-color) & {
border-color: currentColor;
}
}

View file

@ -582,10 +582,10 @@ hr.is-style-dots:before {
color: #DDDDDD;
}
.has-background .wp-block-separator,
[class*="background-color"] .wp-block-separator, .has-background
.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)
hr,
[class*="background-color"]
[class*="background-color"]:not(.has-background-background-color)
hr {
border-color: currentColor;
}

View file

@ -1887,8 +1887,8 @@ hr.wp-block-separator.is-style-dots:before {
padding-right: 0.83333rem;
}
.has-background hr.wp-block-separator,
[class*="background-color"] hr.wp-block-separator {
.has-background:not(.has-background-background-color) hr.wp-block-separator,
[class*="background-color"]:not(.has-background-background-color) hr.wp-block-separator {
border-color: currentColor;
}

View file

@ -1887,8 +1887,8 @@ hr.wp-block-separator.is-style-dots:before {
padding-left: 0.83333rem;
}
.has-background hr.wp-block-separator,
[class*="background-color"] hr.wp-block-separator {
.has-background:not(.has-background-background-color) hr.wp-block-separator,
[class*="background-color"]:not(.has-background-background-color) hr.wp-block-separator {
border-color: currentColor;
}