style-child-theme-editor.scss 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. /**
  2. * These styles should be loaded by the Block Editor only
  3. */
  4. /**
  5. * Abstracts
  6. * - Mixins, variables and functions
  7. */
  8. @import "../../varia/sass/abstracts/imports";
  9. /**
  10. * Child Theme Name
  11. */
  12. @import "config-child-theme-deep";
  13. /**
  14. * Base
  15. * - Reset the browser
  16. */
  17. @import "../../varia/sass/base/editor";
  18. /**
  19. * Elements
  20. * - Styles for basic HTML elemants
  21. */
  22. @import "../../varia/sass/elements/editor";
  23. /**
  24. * Blocks
  25. * - These styles replace key Gutenberg Block styles for fonts, colors, and
  26. * spacing with CSS-variables overrides
  27. */
  28. @import "../../varia/sass/blocks/editor";
  29. /**
  30. * Extras
  31. */
  32. .editor-post-title__input {
  33. text-align: center;
  34. }
  35. .wp-block-pullquote {
  36. border-bottom-width: 1px;
  37. }
  38. .wp-block-button__link {
  39. position: relative;
  40. &:before {
  41. border: 2px solid;
  42. content: "";
  43. display: block;
  44. left: 3px;
  45. margin: 0;
  46. position: absolute;
  47. top: 3px;
  48. height: calc(100% - 6px);
  49. width: calc(100% - 6px);
  50. }
  51. }
  52. .is-style-circular .wp-block-button__link {
  53. &:before {
  54. border-radius: 100px;
  55. }
  56. }