.drawer {
  top: calc(64px);
  color: var(--easyv-text-base);
  :global {
    .easyv-gui-drawer-header {
      padding: 0;
    }
    .easyv-gui-drawer-mask {
      background-color: rgba(0, 0, 0, 0);
    }
  }
  .markLoading {
    background-color: rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
  }
  .title {
    height: 36px;
    ul {
      height: 100%;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      li {
        position: relative;
        flex: 1;
        cursor: pointer;
        transition: all 0.3;
        height: 100%;
        background-color: var(--easyv-background-gray-7);
        color: var(--easyv-text-4);
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        .icon {
          display: flex;
          margin-right: 4px;
          :global {
            svg {
              width: 14px;
              height: 14px;
            }
          }
        }
        &::before {
          content: '';
          position: absolute;
          top: 0;
          height: 2px;
          left: 0;
          width: 100%;
          background-color: transparent;
        }
      }
      .activation {
        font-weight: 600;
        color: var(--easyv-gray-1);
        background-color: var(--easyv-background-gray-2);
        &::before {
          background-color: var(--easyv-primary-color);
        }
      }
    }
  }
}

// 主题包
.themePackage {
  display: flex;
  flex-direction: column;
  height: 100%;
  .mainContent {
    flex: 1;
    overflow-y: auto;
    .collapse {
      margin-right: 0;
      :global {
        .easyv-gui-collapse-item .easyv-gui-collapse-content > .easyv-gui-collapse-content-box {
          padding-left: 0;
          padding-bottom: 10px;
        }
      }
    }
    .collapse:nth-child(even) {
      padding-top: 30px;
    }

    .collapseAction {
      :global {
        .easyv-gui-collapse-header {
          font-weight: bold;
          line-height: 22px !important;
          height: 22px;
          margin-bottom: 0px;
        }
      }
    }
  }
  .colors,
  .themeColor {
    // padding-top: 5px;
    .name {
      display: inline-block;
      margin-bottom: 8px;
      margin-left: 4px;
      margin-top: 16px;
    }
    & > div:first-of-type {
      .name {
        margin-top: 5px;
      }
    }
    .item {
      height: 40px;
      border: 1px solid #000000;
      box-sizing: border-box;
      box-shadow: 0px 8px 14px rgba(0, 0, 0, 0.27);
      transition: all 0.3s;
      border-radius: 35px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 8px;
      cursor: pointer;

      li {
        display: inline-block;
        width: 24px;
        height: 24px;
        transition: width 0.3s;
        border-radius: 50%;
        vertical-align: middle;
      }
      .current {
        width: 48px;
        border-radius: 20px;
      }
    }
    .action {
      .name {
        color: #3a89fe;
      }
      .item {
        box-shadow: 0px 1px 6px rgba(39, 99, 203, 0.58);
        border-width: 2px;
        border-color: #3a89fe;
      }
    }
  }

  .colors {
    .themeItem {
      &:hover {
        .title {
          .icons {
            opacity: 1;
            pointer-events: auto;
          }
        }
      }
      .item {
        &:hover {
          box-shadow: 0px 1px 6px rgba(39, 99, 203, 0.58);
          border-width: 2px;
          border-color: #3a89fe;
        }
      }
      .title {
        display: flex;
        align-items: center;
        justify-content: space-between;
        line-height: 14px;
        padding-top: 16px;
        padding-bottom: 8px;
        :global {
          input.easyv-input {
            border-radius: 4px;
          }
        }
        .name {
          margin: 0 0 0 4px;
        }
        .userName {
          cursor: pointer;
        }
        .icons {
          margin-right: 4px;
          font-size: 14px;
          opacity: 0;
          transition: opacity 0.3s;
          pointer-events: none;
          span {
            vertical-align: bottom;
            cursor: pointer;
            transition: all 0.3s;
            &:first-of-type {
              margin-right: 8px;
            }
            &:hover {
              color: #4076ff;
            }
          }
        }
      }
    }
  }
  .themeButton {
    width: 100%;
    text-align: center;
    padding: 0 12px;
    margin: 15px 0;
    :global {
      .easyv-btn {
        width: 100%;
      }
    }
    .icon {
      vertical-align: middle;
    }
  }
  .themeButton {
    width: 100%;
    text-align: center;
    padding: 0 12px;
    margin: 15px 0;
    :global {
      .easyv-btn {
        width: 100%;
      }
    }
    .icon {
      vertical-align: middle;
    }
  }
  .footer {
    height: 48px;
    background-color: #2a2d37;
    display: flex;
    padding: 0 12px;
    align-items: center;
    justify-content: flex-end;
  }
  .bgColor {
    .item {
      background-color: #181b23;
      li {
        background-color: transparent;
        border-radius: 20px;
        flex: 1;
      }
    }
  }
}
.noData {
  width: 80%;
  transform: scale(0.8);
  margin: 0 auto;
}
.mask {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #000;
  opacity: 0.3;
}
.themeBox {
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
}

.input {
  width: 136px;
  height: 24px;
  box-sizing: border-box;
  border-radius: 4px;
  &:hover {
    border-color: #3a89fe;
  }
}
