@import '../common/abstracts/variable';
@import '../common/abstracts/_mixin';

.wot-theme-dark {
  @include b(cell-group) {
    background-color: $-dark-background2;

    @include when(border) {
      .wd-cell-group__title {
        @include halfPixelBorder('bottom', 0, $-dark-border-color);
      }
    }

    @include e(title) {
      color: $-dark-color;
      background: $-dark-background2;
    }

    @include e(right) {
      color: $-dark-color3;
    }

    @include e(body) {
      background: $-dark-background2;
    }
  }
}

@include b(cell-group) {
  background-color: $-color-white;

  @include when(border) {
    .wd-cell-group__title {
      @include halfPixelBorder;
    }
  }
  @include e(title) {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: $-cell-group-padding;
    font-size: $-cell-group-title-fs;
    font-weight: $-fw-medium;
    line-height: 1.43;
    color: $-cell-group-title-color;
    background: $-color-white;
  }
  @include e(right) {
    font-size: $-cell-group-value-fs;
    color: $-cell-group-value-color;
  }
  @include e(body) {
    background: $-color-white;
  }
}
