.theme-design {
  position: relative;
  height: 100%;
  width: 300px;
  border-left: 1px solid var(--border-color-lighter);
  background-color: var(--color-white);

  &-title {
    position: absolute;
    top: 0;
    font-size: 18px;
    text-align: center;
    height: var(--header-height);
    width: 100%;
    line-height: var(--header-height);
    border-bottom: 1px solid var(--border-color-lighter);
  }

  &-content {
    padding: 15px;
    overflow: hidden auto;
    margin-top: var(--header-height);
    height: calc(100% - var(--header-height) - 50px);

    .divider {
      color: #aaa;
      font-size: 12px;
      text-align: center;
      position: relative;
      margin-bottom: 15px;
      span {
        position: relative;
        padding: 0 10px;
        z-index: 1;
        background-color: var(--color-white);
      }
      &:before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        width: 100%;
        border-top: 1px dashed #ccc;
      }
    }

    .design-item {
      height: 30px;
      margin-bottom: 15px;
      display: flex;
      align-items: center;
      .label {
        flex: 1;
        text-align: right;
        margin-right: 20px;
      }
      .value {
        width: 130px;
        display: flex;
      }
      .input-group {
        ::v-deep .el-color-picker {
          .el-color-picker__trigger {
            border: none;
            border-top: 1px solid var(--border-color-base);
            border-right: 1px solid var(--border-color-base);
            border-bottom: 1px solid var(--border-color-base);
            border-radius: 0 4px 4px 0;
          }
        }
        ::v-deep .el-input {
          .el-input__inner {
            border: 1px solid var(--border-color-base);
            border-radius: 4px 0 0 4px;
          }
        }
      }
    }
  }

  &-button-group {
    position: absolute;
    bottom: 0;
    height: 50px;
    width: 100%;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-color-lighter);

    i {
      cursor: pointer;
      font-size: 18px;
    }
  }

  .preview {
    text-align: center;
  }

}