.components-responsive-block-editor-addons-gallery-item__remove-menu {
  background-color: theme(primary);
  display: inline-flex;
  padding: 4px;
  position: absolute;
  right: 2px;
  top: 2px;
  transition: padding 0.1s linear;
  z-index: 20;

  svg {
    position: relative;
  }
}

.components-responsive-block-editor-addons-gallery-item__move-menu {
  display: inline-flex;
  left: 2px;
  padding: 4px;
  position: absolute;
  top: 2px;
  z-index: 20;

  .components-button {
    color: transparent;
  }

  .is-selected & {
    background-color: theme(primary);

    .components-button {
      color: $white;
    }

    .components-button:focus {
      color: inherit;
    }
  }
}

.responsive-block-editor-addons-gallery-item__button {
  box-shadow: none !important;
  color: $white;
  height: 24px;
  padding: 2px;
  width: 24px;
}
