@import './header.scss';
@import './login.scss';
@import './pointView.scss';
@import './point/point.scss';
@import './checkDetail/checkDetail.scss';
@import './checkDetail/checkDetailTable.scss';
@import './precontrol.scss';
@import './equipmentLedger/monitorPointConfig.scss';
@import './equipmentLedger/fireResource.scss';
@import './equipmentLedger/equipment.scss';
@import './situation/alarm.scss';
@import './situation/riskassessment.scss';
@import './situation/map.scss';
@import './differentiate/differentiate.scss';
@import './cameras/cameras.scss';
@import './riskList/riskList.scss';
@import './riskList/PointQRCode.scss';
@import './situation/preControl.scss';
@import './taskwork/taskwork.scss';
@import './pams/index.scss';
@import './netTopology/index.scss';
@import './dynamicRing/index.scss';
@import './equipMonitor/index.scss';
@import './selfsupport/index.scss';

.ant-calendar-picker-container {
  &.ant-calendar-picker-container-placement-bottomRight {
    .ant-calendar {
      &.ant-calendar-range {
        color: $biz-table-font-color;
        background: $content-color;

        .ant-calendar-panel {
          .ant-calendar-prev-year-btn {
            &::after {
              color: $biz-table-font-color;
            }
          }

          .ant-calendar-prev-month-btn {
            &::after {
              color: $biz-table-font-color;
            }
          }

          .ant-calendar-next-month-btn {
            &::after {
              color: $biz-table-font-color;
            }
          }

          .ant-calendar-next-year-btn {
            &::after {
              color: $biz-table-font-color;
            }
          }

          .ant-calendar-ym-select {
            .ant-calendar-year-select {
              color: $biz-table-font-color;
            }

            .ant-calendar-month-select {
              color: $biz-table-font-color;
            }
          }
        }

        .ant-calendar-input {
          color: $biz-table-font-color;
          background: $content-color;
        }

        .ant-calendar-range-middle {
          color: $biz-table-font-color;
        }

        .ant-calendar-body {
          .ant-calendar-table {
            .ant-calendar-tbody {
              .ant-calendar-cell {
                &.ant-calendar-last-month-cell {
                  .ant-calendar-date {
                    color: $biz-table-font-color;
                    background: $core-border-color;
                  }
                }

                &.ant-calendar-next-month-btn-day {
                  .ant-calendar-date {
                    color: $biz-table-font-color;
                    background: $core-border-color;
                  }
                }
              }

              tr {
                .ant-calendar-cell {
                  &.ant-calendar-in-range-cell {
                    background: $core-bg1;

                    &::before {
                      background: $core-bg1;
                    }
                  }

                  &.ant-calendar-today {
                    .ant-calendar-date {
                      color: $core-bg1;
                      background: $header-background;
                    }

                    &.ant-calendar-selected-date {
                      .ant-calendar-date {
                        color: $core-bg1;
                        background: $header-background;
                      }
                    }
                  }
                }
              }

              .ant-calendar-cell {
                &.ant-calendar-in-range-cell {
                  .ant-calendar-date {
                    background: transparent;
                  }
                }

                .ant-calendar-selected-day {
                  .ant-calendar-date {
                    background: transparent;
                  }
                }
              }
            }

            .ant-calendar-date {
              // margin-block-end: 5px;
              width: 25px;
              height: 24px;
              line-height: 25px;
              color: $biz-table-font-color;
              // background: $core-color;
            }
          }
        }
      }
    }
  }
}
