/**
 * Styles for the Gutenberg UI (i.e. the block sidebar or toolbar).
 *
 * Use /css/editor-style.css for customizing how blocks render in Gutenberg.
 * Use /css/aux-wp-admin-style.css for customizing other places in the WordPress admin.
 *
 * Enqueue function: enqueue_block_editor_assets
 * Enqueue file: functions.php
 *
 * Useful selectors
 * #editor - wrapper div for everything in the Gutenberg editor
 * .block-editor-block-list__layout - wrapper div for all blocks in the Gutenberg editor
 * .interface-interface-skeleton__secondary-sidebar - wrapper div for the block sidebar on the left
 * .interface-interface-skeleton__sidebar - wrapper div for the block toolbar on the right
 * .block-editor-inserter__panel-title - wrapper div for the block sidebar title
 *
 * @since 1.0.0
 */

/*
  Wrapper div for most things in the Gutenberg editor UL. Only misssing is the icon list panel.
*/
#editor {
  .block-editor-inserter__panel-title {
    color: #000;
  }

  /* In Gutenberg, wp-admin/load-styles.php, a native WP stylesheet has a selector that has a
     higher specificity than AUX css. This is overriding that.*/
  a.btn {
    font-size: 1rem;
    white-space: normal;
  }
}


/*
  Custom icons for AUX component blocks in Gutenberg. Set in the block.json for each block.
  Added outside of #editor wrapper because icons are also used in the block selctor menu in the content area.
  That is outside of the #editor wrapper.
*/

/* Make the AUX dashicons a little bigger - native WP dashicons are 20px */
[class*="dashicons-aux-"] {
  height: 24px;
  width: 24px;
}

.dashicons-aux-accordion-group {
  content: url('/wp-content/themes/aux-wordpress/images/aux-block-icons/aux-accordion-group.svg');
}

.dashicons-aux-button-slab {
  content: url('/wp-content/themes/aux-wordpress/images/aux-block-icons/aux-button-slab.svg');
}

.dashicons-aux-captioned-media {
  content: url('/wp-content/themes/aux-wordpress/images/aux-block-icons/aux-captioned-media.svg');
}

.dashicons-aux-callout {
  content: url('/wp-content/themes/aux-wordpress/images/aux-block-icons/aux-callout.svg');
}

.dashicons-aux-card-group {
  content: url('/wp-content/themes/aux-wordpress/images/aux-block-icons/aux-card-group.svg');
}

.dashicons-aux-card-group-inline-feature {
  content: url('/wp-content/themes/aux-wordpress/images/aux-block-icons/aux-card-group-inline-feature.svg');
}

.dashicons-aux-card-group-standard-feature {
  content: url('/wp-content/themes/aux-wordpress/images/aux-block-icons/aux-card-group-with-inline-featured-card.svg');
}

.dashicons-aux-card-group-standard-feature {
  content: url('/wp-content/themes/aux-wordpress/images/aux-block-icons/aux-card-group-standard-feature.svg');
}

.dashicons-aux-card-slab {
  content: url('/wp-content/themes/aux-wordpress/images/aux-block-icons/aux-card-slab.svg');
}

.dashicons-aux-collection-feature {
  content: url('/wp-content/themes/aux-wordpress/images/aux-block-icons/aux-collection-feature.svg');
}

.dashicons-aux-contact-card-collection {
  content: url('/wp-content/themes/aux-wordpress/images/aux-block-icons/aux-contact-card-collection.svg');
}

.dashicons-aux-content-intro {
  content: url('/wp-content/themes/aux-wordpress/images/aux-block-icons/aux-content-intro.svg');
}

.dashicons-aux-curated-collection {
  content: url('/wp-content/themes/aux-wordpress/images/aux-block-icons/aux-curated-collection.svg');
}

.dashicons-aux-cta-feature {
  content: url('/wp-content/themes/aux-wordpress/images/aux-block-icons/aux-cta-feature.svg');
}

.dashicons-aux-description-list {
  content: url('/wp-content/themes/aux-wordpress/images/aux-block-icons/aux-description-list.svg');
}

.dashicons-aux-factoid-collection {
  content: url('/wp-content/themes/aux-wordpress/images/aux-block-icons/aux-factoid-collection.svg');
}

.dashicons-aux-footer-column-address {
  content: url('/wp-content/themes/aux-wordpress/images/aux-block-icons/aux-footer-column-address.svg');
}

.dashicons-aux-footer-column-link-list {
  content: url('/wp-content/themes/aux-wordpress/images/aux-block-icons/aux-footer-column-link-list.svg');
}

.dashicons-aux-footer-column-paragraph {
  content: url('/wp-content/themes/aux-wordpress/images/aux-block-icons/aux-footer-column-paragraph.svg');
}

.dashicons-aux-footer-column-social-links {
  content: url('/wp-content/themes/aux-wordpress/images/aux-block-icons/aux-footer-column-social-links.svg');
}

.dashicons-aux-icon-list {
  content: url('/wp-content/themes/aux-wordpress/images/aux-block-icons/aux-icon-list.svg');
}

.dashicons-aux-icon-list-collection-multiple-lists {
  content: url('/wp-content/themes/aux-wordpress/images/aux-block-icons/aux-icon-list-collection-multiple-lists.svg');
}

.dashicons-aux-icon-list-collection-single-list {
  content: url('/wp-content/themes/aux-wordpress/images/aux-block-icons/aux-icon-list-collection-single-list.svg');
}

.dashicons-aux-icon-list-multi-list {
  content: url('/wp-content/themes/aux-wordpress/images/aux-block-icons/aux-icon-list-multi-list.svg');
}

.dashicons-aux-custom-content {
  content: url('/wp-content/themes/aux-wordpress/images/aux-block-icons/aux-custom-content.svg');
}

.dashicons-aux-inline-feed-group {
  content: url('/wp-content/themes/aux-wordpress/images/aux-block-icons/aux-inline-feed-group.svg');
}

.dashicons-aux-link-list {
  content: url('/wp-content/themes/aux-wordpress/images/aux-block-icons/aux-link-list.svg');
}

.dashicons-aux-link-list-collection-multiple-lists {
  content: url('/wp-content/themes/aux-wordpress/images/aux-block-icons/aux-link-list-collection-multiple-lists.svg');
}

.dashicons-aux-link-list-collection-multiple-lists {
  content: url('/wp-content/themes/aux-wordpress/images/aux-block-icons/aux-link-list-collection-mulitple-lists.svg');
}

.dashicons-aux-link-list-collection-single-list {
  content: url('/wp-content/themes/aux-wordpress/images/aux-block-icons/aux-link-list-collection-single-list.svg');
}

.dashicons-aux-link-list-multi-list {
  content: url('/wp-content/themes/aux-wordpress/images/aux-block-icons/aux-link-list-multi-list.svg');
}

.dashicons-aux-link-slab {
  content: url('/wp-content/themes/aux-wordpress/images/aux-block-icons/aux-link-slab.svg');
}

.dashicons-aux-media-feature {
  content: url('/wp-content/themes/aux-wordpress/images/aux-block-icons/aux-media-feature.svg');
}

.dashicons-aux-media-slab {
  content: url('/wp-content/themes/aux-wordpress/images/aux-block-icons/aux-media-slab.svg');
}

.dashicons-aux-qa-collection {
  content: url('/wp-content/themes/aux-wordpress/images/aux-block-icons/aux-qa-collection.svg');
}

.dashicons-aux-recent-posts {
  content: url('/wp-content/themes/aux-wordpress/images/aux-block-icons/aux-recent-posts.svg');
}

.dashicons-aux-signup-feature {
  content: url('/wp-content/themes/aux-wordpress/images/aux-block-icons/aux-signup-feature.svg');
}

.dashicons-aux-split-feature {
  content: url('/wp-content/themes/aux-wordpress/images/aux-block-icons/aux-split-feature.svg');
}

.dashicons-aux-social-banner {
  content: url('/wp-content/themes/aux-wordpress/images/aux-block-icons/aux-social-banner.svg');
}

.dashicons-aux-standalone-blockquote {
  content: url('/wp-content/themes/aux-wordpress/images/aux-block-icons/aux-standalone-blockquote.svg');
}

.dashicons-aux-testimonial-collection {
  content: url('/wp-content/themes/aux-wordpress/images/aux-block-icons/aux-testimonial-collection.svg');
}

.dashicons-aux-video-embed {
  content: url('/wp-content/themes/aux-wordpress/images/aux-block-icons/aux-video-embed.svg');
}

/* Hide the style settings for the Gravity Forms block:
   gform-block__form-styles block panel. */
.gform-block__form-styles, .gform-block__panel {
  display: none;
}
