_editor.scss 982 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. .wp-block-separator,
  2. hr {
  3. border-bottom: #{map-deep-get($config-separator, "height")} solid #{map-deep-get($config-global, "color", "border", "default")};
  4. clear: both;
  5. &[style*="text-align:right"],
  6. &[style*="text-align: right"] {
  7. border-right-color: #{map-deep-get($config-global, "color", "border", "default")};
  8. }
  9. &.is-style-wide {
  10. border-bottom-width: #{map-deep-get($config-separator, "height")};
  11. }
  12. &.is-style-dots {
  13. border-bottom: none;
  14. &.has-background,
  15. &.has-text-color {
  16. background-color: transparent !important;
  17. &:before {
  18. color: currentColor !important;
  19. }
  20. }
  21. &:before {
  22. color: #{map-deep-get($config-global, "color", "border", "default")};
  23. }
  24. }
  25. .has-background:not(.has-background-background-color) &,
  26. [class*="background-color"]:not(.has-background-background-color) &,
  27. [style*="background-color"]:not(.has-background-background-color) &,
  28. .wp-block-cover[style*="background-image"] & {
  29. border-color: currentColor;
  30. }
  31. }