exp-view-base.scss 870 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
@include b(exp-view) {
  @include set-component-css-var('exp-view', $exp-view);

  display: inline-flex;
  width: 100%;
  height: 100%;
}
@include b(exp-view-left) {
  width: getCssVar('exp-view', 'left-width');
}

@include b(exp-view-right) {
  width: calc(100% - getCssVar('exp-view', 'left-width'));
}

@include b(exp-view-exp-bar) {
  height: 100%;
  @include b(exp-view-exp-bar-header) {
    @include flex(row, space-between, center);

    padding: 16px;
    border-bottom: 1px solid #dcdfe6;

    @include b(exp-view-exp-bar-header-right) {
      @include flex(row, flex-start, center);
    }
  }
  @include b(exp-view-exp-bar-content) {
    height: calc(100% - 65px);
  }

  @include when(no-header) {
    @include b(exp-view-exp-bar-header) {
      padding: 0;
      border: none;
    }
    @include b(exp-view-exp-bar-content) {
      height: 100%;
    }
  }
}