.editor-fix {
  position: absolute;
  right: -50px;

  .editor-fix-content {
    width: 40px;
    background-color: #f7f7f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5px 0;
    margin-left: 10px;
    border: 1px solid #eee;
  }

  .editor-fix-item {
    font-size: 14px;
    width: 16px;
    height: 16px;
    padding: 4px;
    box-sizing: content-box;
    cursor: pointer;
    text-align: center;

    &:hover {
      background-color: #d6e3e9;
    }
  }

  // 置底用置顶旋转180°
  .fixed-bottom {
    transform: rotate(180deg);
  }

  .editor-fix-item-disabled, .editor-fix-item-disabled:hover {
    cursor: no-drop;
    color: #ccc;

    &.editor-fix-item-disabled:hover {
      background-color: #e9e9e9;
    }
  }
}
