.layout-header {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  // padding-right: 24px;
  border-bottom: 1px solid #efefef;
  background-color: #fff;
  // 解决元素设置fixed定位时遮挡问题，所以提高层级
  position: relative;
  z-index: 11;
  .yee-btn {
    height: 32px;
    padding: 0 16px;
    text-align: center;
    margin: 0;
    margin-left: 8px;
    & > span + .anticon {
      margin-left: 2px;
      font-size: 10px !important;
      color: #999999;
    }
  }
  .project-name {
    width: 300px;
    margin-left: 16px;
    font-size: 12px;
    cursor: pointer;
    i {
      display: inline-block;
      margin: 0 8px;
    }
  }
  .operation-area {
    --uno: h-full mt-2;
    .operation-item {
      width: 32px;
      height: 32px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      span {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        border-radius: 3px;
      }
      &:hover span {
        background: rgba(0, 0, 0, 0.06);
      }
      &:active svg {
        fill: @yee-primary-color;
      }
    }
    .publish {
      padding: 3px 8px;
      color: #fff;
      background-color: @yee-primary-color;
      font-size: 12px;
      border-radius: 2px;
      svg {
        margin-right: 4px;
      }
    }
  }
  .preview-service {
    display: flex;
    align-items: center;
    .single-service {
      padding: 8px;
      cursor: pointer;
      &.active {
        background: rgba(0, 0, 0, 0.06);
        border-radius: 4px;
      }
    }
    .service-size {
      font-size: 12px;
      margin-left: 40px;
      color: rgba(0, 0, 0, 0.65);
      span:first-child {
        display: inline-block;
        margin-right: 12px;
      }
    }
  }
}
.more-operation {
  .yee-dropdown-menu {
    background: #ffffff;
    box-shadow:
      0px 3px 8px 0px rgba(0, 0, 0, 0.08),
      0px 2px 3px -2px rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    border: 1px solid #e4e4e4;
    padding: 8px;
    .yee-dropdown-menu-item {
      height: 32px;
      line-height: 32px;
      padding: 0;
      padding: 0 8px;
      font-size: 14px;
      span {
        display: inline-block;
        width: 100%;
      }
      &:hover {
        background: rgba(0, 0, 0, 0.06);
        border-radius: 3px;
      }
      &:active {
        color: @yee-primary-color;
      }
    }
  }
}
