[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  .wp-block-navigation {
   2  
   3      [data-block] {
   4          margin-top: revert;
   5          margin-bottom: revert;
   6      }
   7  
   8      .wp-block-navigation__container {
   9          background: var(--global--color-background);
  10      }
  11  
  12      .wp-block-navigation-link {
  13  
  14          .wp-block-navigation-link__label {
  15              font-family: var(--primary-nav--font-family);
  16              font-size: var(--primary-nav--font-size);
  17              font-weight: var(--primary-nav--font-weight);
  18          }
  19      }
  20  
  21      .has-child {
  22  
  23          .wp-block-navigation__container {
  24              box-shadow: var(--global--elevation);
  25          }
  26      }
  27  
  28      &:not(.has-text-color) {
  29  
  30          .wp-block-navigation-link {
  31  
  32              > a {
  33  
  34                  &:hover,
  35                  &:focus {
  36                      color: var(--primary-nav--color-link-hover);
  37                  }
  38              }
  39          }
  40  
  41          .wp-block-navigation-link__content {
  42              color: currentColor;
  43          }
  44      }
  45  }


Generated : Fri Nov 22 08:20:01 2024 Cross-referenced by PHPXref