.theme-name {
  display: inline-block;
  margin-bottom: 8px;
  margin-left: 4px;
  margin-top: 16px;
}
.hover-border {
  &:hover {
    box-shadow: 0px 1px 6px rgba(39, 99, 203, 0.58);
    border-width: 1px;
    border-color: #3a89fe;
  }
}

// 主题包
.colors,
.themeColor {
  // padding-top: 5px;
  .name {
    .theme-name();
  }

  & > div:first-of-type {
    .name {
      margin-top: 5px;
    }
  }
  .item {
    height: 40px;
    border: 1px solid #000000;
    background: #181b23;
    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;
    .hover-border();

    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 {
    .item {
      box-shadow: 0px 1px 6px rgba(39, 99, 203, 0.58);
      border-width: 1px;
      border-color: #3a89fe;
    }
  }
}

.colors {
  .item {
    .hover-border();
  }
  .title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    .icons {
      margin-right: 4px;
      font-size: 14px;
      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;
  }
}
.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;
}

.editTheme {
  padding: 0 12px;
  color: var(--easyv-text-base);

  .customThemeName {
    color: #ffffff;
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 17px;
  }

  .editThemeName {
    margin-top: 8px;
    :global {
      .easyv-gui-input {
        font-style: normal;
        font-weight: 400;
        font-size: 12px;
        line-height: 22px;
        color: #ffffff;
      }
    }
  }
}

.assistColor {
  .name {
    .theme-name();
  }
  & > div:first-of-type {
    .name {
      margin-top: 5px;
    }
  }
  .item {
    display: flex;
    li {
      flex: 1;
      margin-right: 6px;
      &:last-of-type {
        margin-right: 0;
      }
      .color {
        background: #181b23;
        border: 1px solid #000000;
        box-shadow: 0px 8px 14px rgba(0, 0, 0, 0.27);
        border-radius: 35px;
        box-sizing: border-box;
        padding: 8px;
        cursor: pointer;
        transition: all 0.3s;
        height: 40px;
        &:hover {
          box-shadow: 0px 1px 6px rgba(39, 99, 203, 0.58);
          border-width: 1px;
          border-color: #3a89fe;
        }
        & > span {
          display: inline-block;
          background: transparent;
          border-radius: 20px;
          height: 100%;
          width: 100%;
        }
      }
      &::after {
        content: attr(data-name);
        color: #757881;
        width: 100%;
        text-align: center;
        display: block;
        margin-top: 6px;
      }
    }
  }
}
