@import "./iconfont/iconfont.css";

.f-drawer {
  .ivu-drawer-body {
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  &__footer {
    text-align: right;
    border-top: 1px solid #e8eaec;
    height: 60px;
    padding: 0 15px;
    line-height: 60px;
    .ivu-btn-primary {
      margin-left: 10px;
    }
  }
  &__body {
    overflow-y: auto;
    padding: 16px;
    flex: 1;
  }
}


.f-table {
  border-left: none !important;
  border-right: none !important;
  border-top: none !important;

  .ivu-table:after {
    width: 0;
  }

  .ivu-table {
    color: #000;
    font-size: 14px;
    &.ivu-table-small {
      td,
      th {
        font-size: 12px;
      }
    }

    .ivu-table-tip {
      td {
        border-bottom: 0;
      }
    }

    .ivu-table-row {
      td:last-child {
        border-right: none;
      }
    }

    &:before {
      height: 0 !important;
    }

    th {
      background-color: #f9f9f9;
      font-weight: normal;
    }

    .ivu-table-cell {
      padding: 0 4px;
    }
  }
  .ivu-table-border td,
  .ivu-table-border th {
    border-width: 0 1px 1px 0;
    border-style: solid;
    border-color: #f0f0f0;
  }

  .ivu-table-border th {
    border-bottom: 1px solid #ddd;
  }

  .ivu-table-small td {
    height: 32px;
  }

  .ivu-table-small .ivu-table-cell-with-expand {
    height: 32px;
    line-height: 32px;
  }

  .datagrid-wrap {
    border: none;
  }

  .datagrid-header td,
  .datagrid-body td,
  .datagrid-footer td {
    border-style: solid;
    border-color: #f0f0f0;
  }

  .ivu-table-large {
    td,
    th {
      font-size: 14px;
    }
    th {
      font-weight: 600;
    }
  }
}
