.edit-post-header__settings {
  & > button:first-child {
    display: none;
  }

  .components-button.editor-post-save-draft {
    display: none;
  }

  .components-button.editor-post-publish-panel__toggle {
    display: none;
  }

  .editor-post-saved-state {
    display: none;
  }
}

.edit-post-visual-editor__post-title-wrapper {
  margin: 0 !important;
}

.edit-post-sidebar {
  select {
    background-repeat: no-repeat;
    background-position: center right;
  }
}

.edit-post-header {
  .editor-post-publish-button {
    display: none;
  }

  .edit-post-fullscreen-mode-close {
    // background-color: #0678be;
    display: none;

    &.drupal {
      .is-fullscreen-mode & {
        display: flex;
      }
    }

    // svg {
    //   width: 48px;
    //   height: 48px
    // }
  }
}

.edit-post-layout {
  transition: ease-in-out 0.2s all;
}

.edit-post-welcome-guide {
  .components-guide__page-control {
    li[aria-current="step"] {
      svg {
        circle {
          fill: $primary-color;
        }
      }
    }
  }
}

// Hide Welcome Guide & Help menu items from Tools menu
.edit-post-more-menu__content {
  .components-popover__content {
    .components-dropdown-menu__menu {
      .components-menu-group:nth-child(3) {
        div[role='group'] {
          *:nth-child(4), *:nth-child(5) {
            display: none;
          }
        }
      }
    }
  }
}

body {
  #toolbar-bar {
    transition: ease-in-out 0.2s margin-top;
  }
}

body.is-fullscreen-mode {
  #toolbar-bar {
    /* display: none; */
    margin-top: -4rem;
  }
  .edit-post-layout {
    left: 0 !important;
    top: 0 !important;
    z-index: 999 !important;
  }
  .ui-autocomplete {
    z-index: 1000;
  }
}

input[type="search"] {
  box-sizing: border-box;
}