/**
 *
 * @ai-apps/angular v2.152.0 | table-head-cell.scss
 *
 * Copyright 2014, 2023 IBM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0

 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */


@import '../../globals/vars';

// TODO add styling hooks to carbon-components-angular so we can remove aiTableHeadCell
.table-head-cell-text,
.table-head-cell-icons {
  top: 0;
}

.#{$prefix}--table-header-label {
  line-height: 3rem;
}

.#{$prefix}--data-table--compact {
  .table-head-cell-text,
  .table-head-cell-icons,
  .#{$prefix}--table-header-label {
    line-height: 24px;
  }
}

.#{$prefix}--data-table--short {
  .table-head-cell-text,
  .table-head-cell-icons,
  .#{$prefix}--table-header-label {
    line-height: 32px;
  }
}

.#{$prefix}--data-table--tall {
  .table-head-cell-text,
  .table-head-cell-icons,
  .#{$prefix}--table-header-label {
    line-height: 64px;
  }
}

.#{$prefix}--table-sort.#{$prefix}--table-sort--active .#{$prefix}--table-sort__icon {
  top: 16px;
}

.#{$iot-prefix}-table {
  .#{$prefix}--table-header-label,
  .table-head-cell-text {
    padding-left: 16px;
  }
}
