_editor.scss 654 B

1234567891011121314151617181920212223
  1. .wp-block-file {
  2. .wp-block-file__textlink {
  3. color: var(--global--color-primary);
  4. text-decoration: underline;
  5. text-decoration-thickness: 1px; // Not yet supported in Chrome
  6. text-underline-offset: 3px; // Not yet supported in Chrome
  7. text-decoration-color: var(--global--color-secondary);
  8. }
  9. .wp-block-file__button-richtext-wrapper {
  10. display: block;
  11. margin-left: 0;
  12. }
  13. .wp-block-file__button {
  14. // Extend button style
  15. @include button-style;
  16. display: inline-block;
  17. margin: calc( 0.5 * var(--global--spacing-unit) ) 0 0 0;
  18. padding: calc(0.5 * var(--button--padding-vertical)) calc(0.5 * var(--button--padding-horizontal));
  19. }
  20. }