[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentytwentyone/assets/sass/05-blocks/group/ -> _editor.scss (source)

   1  .wp-block-group {
   2  
   3      &.has-background {
   4          padding: var(--global--spacing-vertical);
   5  
   6          [data-align="full"] & {
   7              margin-top: 0;
   8              margin-bottom: 0;
   9          }
  10      }
  11  
  12      // Block Styles
  13      &.is-style-twentytwentyone-border {
  14          border: calc(3 * var(--separator--height)) solid var(--global--color-border);
  15          padding: var(--global--spacing-vertical);
  16  
  17          .wp-block-group__inner-container > [data-align="full"] {
  18              max-width: calc(var(--responsive--alignfull-width) + (2 * var(--global--spacing-vertical)));
  19              width: calc(var(--responsive--alignfull-width) + (2 * var(--global--spacing-vertical)));
  20              margin-left: calc(-1 * var(--global--spacing-vertical));
  21          }
  22      }
  23  
  24      @include innerblock-margin-clear(".wp-block-group__inner-container");
  25  }
  26  
  27  .wp-block-group .wp-block-group.has-background > .block-editor-block-list__layout > [data-align="full"] {
  28      margin: 0;
  29      width: 100%;
  30  }


Generated : Thu Nov 21 08:20:01 2024 Cross-referenced by PHPXref