@import (css) '~ag-grid-community/styles/ag-grid.css';
@import (css) '~ag-grid-community/styles/ag-theme-material.css';
@import '../../../style/themes/index';
@import '../../../style/mixins/index';

@table-prefix-cls: ~'@{fc-prefix}-table';
/** Table */
@table-font-weight-base: 400;
@table-font-weight-font: 600;
@table-font-weight-icon: 700;
@table-font-icon-size: @font-size-base + 2px;
@table-left-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
@table-top-shadow: 0px -4px 6px 0px rgba(224, 225, 233, 0.6);
@table-no-padding: 0 0;
@table-font-family: Microsoft YaHei;
@table-pagination-margin: 1.25 * @unit;

.@{table-prefix-cls} {
  &-all {
    &-pagination {
      width: 100%;
      height: 6 * @unit;
      border-radius: 0px 0px @border-radius-base @border-radius-base;
      margin-top: @marginBase / 2;
      outline: 1px solid #e5e6eb !important;

      // box-shadow: @table-top-shadow;
      &-bottom-buttons {
        float: left;
        line-height: 6 * @unit;
        margin-left: 24px;

        &-span {
          font-size: @font-size-base;
          font-style: normal;
          font-weight: @table-font-weight-base;
          color: @black-6;
          line-height: 6 * @unit;
          float: left;
          margin-right: 1.5 * @unit;
        }

        &-checked {
          font-size: @font-size-base;
          font-style: normal;
          font-weight: @table-font-weight-base;
          color: @black-6;
          line-height: 6 * @unit;
          float: left;
          margin-right: 1.5 * @unit;
          margin-left: 2 * @unit;

          .ant-checkbox-checked .ant-checkbox-inner {
            background-color: @blue-6;
          }
        }

        &-bottombtn {
          float: left;
        }
      }

      &-component {
        float: right;
        margin-right: 3 * @unit !important;
        margin-top: 1 * @unit !important;
      }

      .ant-pagination-options-quick-jumper {
        input {
          border: @border-width-base solid @black-3;
          color: @black-8;
          border-radius: @border-radius-base;
        }
      }
    }
  }
}
