.vtj-setting {
  display: flex;
  flex-direction: column;
  height: 100%;
  &__path {
    background-color: $--vtj-background-color;
    height: 34px;
    line-height: 32px !important;
    border-bottom: 1px solid $--vtj-border-color;
    position: relative;
    padding: 0 10px;
    top: -1px;
    white-space: nowrap;
    overflow: hidden;
    span {
      margin-left: 5px;
      color: $--vtj-primary-color;
      opacity: 0.8;
      font-size: 12px;
      i {
        padding-left: 5px;
        color: $--vtj-secondary-color;
      }
    }
  }
  &__tabs {
    flex-grow: 1;
    > .vtj-panel__body {
      height: 1px;
    }
  }
  &__space {
    height: 10px;
    overflow: hidden;
  }
}

.vtj-setting-panel {
  background-color: $--vtj-background-color;
  padding: 0;
  overflow: visible;
  min-height: calc(100% - 10px);

  .el-divider {
    margin-top: 10px;
    opacity: 0.6;
  }
  .el-divider__text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
  }
  .el-form-item {
    margin-bottom: 10px;
  }
  &__empty {
    text-align: center;
    padding: 20px 0;
    color: $--vtj-secondary-color;
    opacity: 0.6;
  }
}

.vtj-styles {
  display: flex;
  flex-direction: column;
  &__switch {
    text-align: right;
    padding: 0 10px;
    color: $--vtj-secondary-color;
    background-color: $--vtj-background-color-dark-9;
    flex-shrink: 0;
  }
  &__code {
    flex-grow: 1;
    height: 1px;
    display: flex;
    flex-direction: column;
  }
}
