@import './vars';

.vtj-layout {
  font-size: 14px;
  width: 100%;
  height: 100vh;
  overflow: hidden;

  &__header {
    padding: 0 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 10px;
  }

  &__main {
    border-left: 1px solid $--vtj-border-color;
    border-right: 1px solid $--vtj-border-color;
    padding: 0 !important;
  }

  &__wrapper {
    border-top: 1px solid $--vtj-border-color;
    border-bottom: 1px solid $--vtj-border-color;
  }

  &__footer {
    padding: 0 !important;
    font-size: 12px;
  }
  &__left {
    &.e-resizing {
      border-right: 2px solid $--vtj-primary-color;
      .vtj-panel__body {
        overflow: hidden;
      }
    }
    &.is-collapsed {
      width: 49px !important;
      overflow: hidden;
    }
    &.is-cursor {
      .vtj-panel__body {
        overflow: hidden;
      }
    }
  }
  &__right {
    &.w-resizing {
      border-left: 2px solid $--vtj-primary-color;
      .vtj-panel__body {
        overflow: hidden;
      }
    }
    &.is-cursor {
      .vtj-panel__body {
        overflow: hidden;
      }
    }
  }
}

.vtj-workspace {
  width: 100%;
  height: 100%;
}

.vtj-action {
  padding: 0 10px;
  width: 40%;
  text-align: right;
  white-space: nowrap;
}

.vtj-brand {
  width: 40%;
  text-align: left;
  white-space: nowrap;
  display: flex;
  align-items: center;
}
.vtj-toolbar {
  width: 20%;
  text-align: center;
  white-space: nowrap;
  .el-radio-group {
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
    position: relative;
    .el-radio-button__inner {
      padding: 5px 10px 4px 10px;
    }
  }
}
