Varia: Make sure separator is always visible with background colour
This commit is contained in:
parent
31b1f6acf2
commit
6c101d7801
5 changed files with 23 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
.wp-block-separator,
|
||||
hr {
|
||||
border-bottom: #{map-deep-get($config-separator, "height")} solid #{map-deep-get($config-global, "color", "border", "default")};
|
||||
clear: both;
|
||||
border-bottom: #{map-deep-get($config-separator, "height")} solid #{map-deep-get($config-global, "color", "border", "default")};
|
||||
clear: both;
|
||||
|
||||
&[style*="text-align:right"],
|
||||
&[style*="text-align: right"] {
|
||||
|
@ -20,4 +20,8 @@ hr {
|
|||
color: #{map-deep-get($config-global, "color", "border", "default")};
|
||||
}
|
||||
}
|
||||
|
||||
[class*="has-background"] & {
|
||||
border-color: currentColor;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -27,5 +27,9 @@ hr {
|
|||
padding-left: #{map-deep-get($config-global, "font", "size", "sm")};
|
||||
}
|
||||
}
|
||||
|
||||
[class*="has-background"] & {
|
||||
border-color: currentColor;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -582,6 +582,11 @@ hr.is-style-dots:before {
|
|||
color: #DDDDDD;
|
||||
}
|
||||
|
||||
[class*="has-background"] .wp-block-separator, [class*="has-background"]
|
||||
hr {
|
||||
border-color: currentColor;
|
||||
}
|
||||
|
||||
table th,
|
||||
.wp-block-table th {
|
||||
font-family: sans-serif;
|
||||
|
|
|
@ -1887,6 +1887,10 @@ hr.wp-block-separator.is-style-dots:before {
|
|||
padding-right: 0.83333rem;
|
||||
}
|
||||
|
||||
[class*="has-background"] hr.wp-block-separator {
|
||||
border-color: currentColor;
|
||||
}
|
||||
|
||||
.wp-block-jetpack-slideshow ul {
|
||||
margin-right: 0;
|
||||
margin-left: 0;
|
||||
|
|
|
@ -1887,6 +1887,10 @@ hr.wp-block-separator.is-style-dots:before {
|
|||
padding-left: 0.83333rem;
|
||||
}
|
||||
|
||||
[class*="has-background"] hr.wp-block-separator {
|
||||
border-color: currentColor;
|
||||
}
|
||||
|
||||
.wp-block-jetpack-slideshow ul {
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
|
|
Loading…
Reference in a new issue