

/* overview popup */
.dynamic_template_usage .greyd_popup_wrapper {
    font-size: 12px;
}
.dynamic_template_usage .greyd_popup_wrapper > .dashicons:not(:hover) {
    opacity: .5;
}
.dynamic_template_usage .greyd_popup_wrapper .popup {
    padding-bottom: 0;
}
.dynamic_template_usage .greyd_popup_wrapper .log_title {
    display: block;
    margin: -12px -12px 10px;
    padding: 12px 12px 8px;
}

/**
 * Let dynamic templates appear similar to reusable blocks.
 * 
 * @since 1.6.0
 */

/* inspector sidebar */
/* .block-editor-block-card:has( svg.greyd-dynamic-template-block-icon ) .block-editor-block-icon {
    color: var(--wp-block-synced-color)
} */

/* block inserter */
/* .block-editor-block-types-list__list-item:has( svg.greyd-dynamic-template-block-icon ) .components-button.block-editor-block-types-list__item:not(:disabled) .block-editor-block-icon.has-colors {
    color: var(--wp-block-synced-color)
}
.block-editor-block-types-list__list-item:has( svg.greyd-dynamic-template-block-icon ) .components-button.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-title {
    color: var(--wp-block-synced-color)!important;
    filter: brightness(.95)
}
.block-editor-block-types-list__list-item:has( svg.greyd-dynamic-template-block-icon ) .components-button.block-editor-block-types-list__item:not(:disabled):hover svg {
    color: var(--wp-block-synced-color)!important
}
.block-editor-block-types-list__list-item:has( svg.greyd-dynamic-template-block-icon ) .components-button.block-editor-block-types-list__item:not(:disabled):after {
    background: var(--wp-block-synced-color)
} */

/* list view */
.block-editor-list-view-leaf.is-selected:has( svg.greyd-dynamic-template-block-icon ) td {
    background: var(--wp-block-synced-color)
}
.block-editor-list-view-leaf:has( svg.greyd-dynamic-template-block-icon ):not(.is-selected) .block-editor-list-view-block-contents .block-editor-block-icon,.block-editor-list-view-leaf:has( svg.greyd-dynamic-template-block-icon ):not(.is-selected) .block-editor-list-view-block-contents:focus,.block-editor-list-view-leaf:has( svg.greyd-dynamic-template-block-icon ):not(.is-selected) .block-editor-list-view-block-contents:hover {
    color: var(--wp-block-synced-color)
}
.block-editor-list-view-leaf:has( svg.greyd-dynamic-template-block-icon ):not(.is-selected) .block-editor-list-view-block-contents:focus:after {
    box-shadow: inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) var(--wp-block-synced-color)
}
.block-editor-list-view-leaf.is-selected:has( svg.greyd-dynamic-template-block-icon ) .block-editor-list-view-block-contents:focus:after {
    box-shadow: inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) var(--wp-block-synced-color)
}
.block-editor-list-view-leaf.is-branch-selected:not(.is-selected):not(:has( svg.greyd-dynamic-template-block-icon )-branch) {
    background: rgba(var(--wp-admin-theme-color--rgb),.04)
}
.block-editor-list-view-leaf:has( svg.greyd-dynamic-template-block-icon )-branch.is-branch-selected {
    background: rgba(var(--wp-block-synced-color--rgb),.04)
}

/* toolbar */
/* .block-editor-block-toolbar:has( svg.greyd-dynamic-template-block-icon ) .block-editor-block-switcher .components-button .block-editor-block-icon,.block-editor-block-toolbar:has( svg.greyd-dynamic-template-block-icon ) .components-toolbar-button.block-editor-block-switcher__no-switcher-icon:disabled .block-editor-block-icon.has-colors {
    color: var(--wp-block-synced-color)
} */