@import '~antd/lib/style/themes/default.less';

:global {
  .statistics {
    .operation-area {
      overflow: hidden;
      .left {
        display: flex;
        float: left;
        .month-picker-tip {
          height: 14px;
          line-height: 14px;
          margin-left: 20px;
          margin-top: 9px;
          padding-left: 20px;
          border-left: 1px solid #ccc;
        }
      }
      .right {
        float: right;
      }
      .ant-form-item {
        display: flex;
        .ant-form-item-control-wrapper {
          display: inline-block;
        }
        float: left;
        margin-top: 15px;
        margin-right: 30px;
        margin-bottom: 0;
        height: 60px;
      }
    }
    .table-area {
      p {
        margin-bottom: 0;
      }
      margin-right: 20px;
      margin-top: 20px;
      .ant-table-empty .ant-table-body {
        overflow-x: scroll !important;
      }
      .ant-table td,
      .ant-table th {
        white-space: nowrap;
        font-size: 12px;
      }
      .ant-table-thead > tr > th {
        background: #fafafa !important;
        transition: background 0.3s ease;
        text-align: left;
        color: rgba(0, 0, 0, 0.85);
        font-weight: 500;
        border-bottom: 1px solid #e8e8e8;
      }
    }
  }
  .work-clock {
    .ant-modal-body {
      padding: 16px;
      padding-top: 10px;
      .personal-info {
        display: flex;
        padding-bottom: 20px;
        .name-job {
          padding-top: 6px;
          padding-left: 6px;
          p {
            margin-bottom: 0;
            height: 18px;
            line-height: 18px;
          }
        }
      }
      .work-table {
        .ant-table-small
          > .ant-table-content
          > .ant-table-header
          > table
          > .ant-table-thead
          > tr
          > th,
        .ant-table-small
          > .ant-table-content
          > .ant-table-body
          > table
          > .ant-table-thead
          > tr
          > th,
        .ant-table-small
          > .ant-table-content
          > .ant-table-scroll
          > .ant-table-header
          > table
          > .ant-table-thead
          > tr
          > th,
        .ant-table-small
          > .ant-table-content
          > .ant-table-scroll
          > .ant-table-body
          > table
          > .ant-table-thead
          > tr
          > th,
        .ant-table-small
          > .ant-table-content
          > .ant-table-fixed-left
          > .ant-table-header
          > table
          > .ant-table-thead
          > tr
          > th,
        .ant-table-small
          > .ant-table-content
          > .ant-table-fixed-right
          > .ant-table-header
          > table
          > .ant-table-thead
          > tr
          > th,
        .ant-table-small
          > .ant-table-content
          > .ant-table-fixed-left
          > .ant-table-body-outer
          > .ant-table-body-inner
          > table
          > .ant-table-thead
          > tr
          > th,
        .ant-table-small
          > .ant-table-content
          > .ant-table-fixed-right
          > .ant-table-body-outer
          > .ant-table-body-inner
          > table
          > .ant-table-thead
          > tr
          > th,
        .ant-table-small
          > .ant-table-content
          > .ant-table-header
          > table
          > .ant-table-tbody
          > tr
          > td,
        .ant-table-small
          > .ant-table-content
          > .ant-table-body
          > table
          > .ant-table-tbody
          > tr
          > td,
        .ant-table-small
          > .ant-table-content
          > .ant-table-scroll
          > .ant-table-header
          > table
          > .ant-table-tbody
          > tr
          > td,
        .ant-table-small
          > .ant-table-content
          > .ant-table-scroll
          > .ant-table-body
          > table
          > .ant-table-tbody
          > tr
          > td,
        .ant-table-small
          > .ant-table-content
          > .ant-table-fixed-left
          > .ant-table-header
          > table
          > .ant-table-tbody
          > tr
          > td,
        .ant-table-small
          > .ant-table-content
          > .ant-table-fixed-right
          > .ant-table-header
          > table
          > .ant-table-tbody
          > tr
          > td,
        .ant-table-small
          > .ant-table-content
          > .ant-table-fixed-left
          > .ant-table-body-outer
          > .ant-table-body-inner
          > table
          > .ant-table-tbody
          > tr
          > td,
        .ant-table-small
          > .ant-table-content
          > .ant-table-fixed-right
          > .ant-table-body-outer
          > .ant-table-body-inner
          > table
          > .ant-table-tbody
          > tr
          > td {
          padding: 4px;
          height: 32px;
          padding-left: 16px;
          p {
            margin-bottom: 0;
            line-height: 28px;
          }
        }
        .ant-table-small > .ant-table-content > .ant-table-body {
          margin: 0;
          a {
            color: #eda500;
            text-decoration: underline;
          }
        }
      }
    }
  }
  .change-clock-pop {
    .ant-popover-inner {
      padding: 10px 15px;
      .ant-popover-message-title {
        padding-left: 0;
        padding-bottom: 5px;
      }
      .ant-btn-sm {
        font-size: 12px;
      }
    }
  }
  .do-not-sow {
    .ant-popover-buttons {
      display: none;
    }
  }
}
