@import url(../../../../../styles/common/easyvCommon.less);

// 右边配置信息
.configSidebar {
  order: 3;
  display: block;
  border-left: var(--easyv-border-black);
  overflow-y: auto;
  overflow-x: hidden;
  width: 380px;
  height: 100%;
  transition: all linear 500ms;
}

.tab {
  width: 100%;
  display: flex;
  color: var(--easyv-text-4);
  background: #3d404c;
  cursor: pointer;
  > div {
    flex: 1;
    font-size: 14px;
    line-height: 14px;
    height: 36px;
    padding: 11px 17px;
    text-align: center;
    font-weight: normal;
    position: relative;
  }
}

.selectedTab {
  color: #fff;
  font-weight: 500;
  background-color: var(--easyv-background-6);

  &::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    border-top: 2px solid var(--easyv-primary-color);
  }
}

.configContent {
  width: inherit;
  height: calc(100vh - 100px);
  padding-top: 16px;
  display: flex;
  > div {
    flex: 1;
    position: relative;
  }
  .input();
  .select();
  background: var(--easyv-background-6);
}

.afterBorder {
  &::after {
    position: absolute;
    right: 0;
    top: 0;
    content: '';
    height: calc(100vh - 132px);
    width: 1px;
    background: var(--easyv-text-4);
    opacity: 0.16;
  }
}

.contentSetHeader {
  padding: 0 16px;
}

.contentSetTitle {
  display: block;
  max-width: 158px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  height: 22px;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  color: var(--easyv-text-4);
  margin-bottom: 16px;
}
.btn {
  color: var(--easyv-text-4);
  display: block;
  width: 100%;
  height: 28px;
  line-height: 28px;
  margin-top: 20px;
  margin-bottom: 8px;
}

.selectStyle {
  background: #181a24;
  color: rgba(180, 183, 193, 1);
}

.refContainer {
  padding: 4px;
  height: 36px;
  margin-top: 4px;
  max-width: 158px;
  background: #181a24;

  textarea::-webkit-input-placeholder {
    font-size: 12px;
    line-height: 17px;
    color: var(--easyv-text-4);
  }

  textarea:-moz-placeholder {
    font-size: 12px;
    line-height: 17px;
    color: var(--easyv-text-4);
  }

  textarea::-moz-placeholder {
    font-size: 12px;
    line-height: 17px;
    color: var(--easyv-text-4);
  }

  textarea:-ms-input-placeholder {
    font-size: 12px;
    line-height: 17px;
    color: var(--easyv-text-4);
  }
  :global {
    .easyv-select-single:not(.easyv-select-customize-input) .easyv-select-selector {
      height: 28px;
    }
    textarea.easyv-input {
      min-height: 70px;
      resize: none;
    }
    .easyv-input-affix-wrapper {
      background: #181a24;
    }
    .easyv-select-single .easyv-select-selector .easyv-select-selection-item,
    .easyv-select-single .easyv-select-selector .easyv-select-selection-placeholder {
      line-height: 26px;
    }
  }
}

.portalSetContent {
  display: flex;
  align-items: center;
}

.left {
  width: 76px;
  color: var(--easyv-text-4);
}

.right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  :global {
    .easyv-input {
      color: var(--easyv-text-3);
    }
  }
}

.navStyleSet {
  display: flex;
  width: 100%;
  justify-content: space-between;
}
.showBoxItem {
  width: 100%;
  display: flex;
  height: 100%;
  background: #3d404c;
  opacity: 0.7;
  border-radius: 1px;
}
.navStyleItem {
  width: 78px;
  height: 74px;
  cursor: pointer;

  &:hover {
    .showBox {
      border-color: #3a89fe;
    }
  }

  .showBox {
    height: 52px;
    padding: 4px;
    width: 78px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 2px;

    .boxLeft {
      .showBoxItem();
      :first-child {
        width: 12px;
        height: 100%;
        background: var(--easyv-text-4);
        opacity: 0.18;
        border-radius: 1px 0px 0px 1px;
      }
    }

    .boxRight {
      .showBoxItem();
      flex-direction: row-reverse;
      :first-child {
        width: 12px;
        height: 100%;
        background: var(--easyv-text-4);
        opacity: 0.18;
        border-radius: 0px 1px 1px 0px;
      }
    }
    .boxTop {
      .showBoxItem();
      flex-direction: column;
      :first-child {
        width: 100%;
        height: 6px;
        background: var(--easyv-text-4);
        opacity: 0.18;
        border-radius: 1px 1px 0px 0px;
      }
    }
  }

  .title {
    display: block;
    width: 100%;
    height: 17px;
    margin-top: 4px;
    text-align: center;
    line-height: 17px;
    font-size: 12px;
    color: var(--easyv-text-3);
  }

  .showBoxSelected {
    border: 1px solid #3a89fe;
  }
}
.radioWrapper {
  .radio();
  display: flex;
  align-items: center;
  :global {
    .easyv-radio-wrapper {
      color: var(--easyv-text-3);
    }
    .easyv-radio {
      top: 3px;
    }
    .easyv-radio-inner {
      border-color: #b4b7c1;
    }
  }
  .radioItem {
    color: #b4b7c1;
    padding: 2px 0px;
    line-height: 17px;
  }
}
.loading {
  cursor: wait;
}

.disabled {
  pointer-events: none;
}
