@import 'transition/index.less';
@import 'var/index.less';
@import 'public.less';
@import 'ant/index.less';
@import './theme.less';

input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px white inset !important;
}

:-webkit-autofill {
  transition: background-color 5000s ease-in-out 0s !important;
}

html {
  overflow: hidden;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: visible !important;
  overflow-x: hidden !important;

  &.color-weak {
    filter: invert(80%);
  }

  &.gray-mode {
    filter: grayscale(100%);
    filter: progid:dximagetransform.microsoft.basicimage(grayscale=1);
  }
}

a:focus,
a:active,
button,
div,
svg,
span {
  outline: none !important;
}

.ant-calendar-range-right .ant-calendar-date-input-wrap {
  margin-left: 0 !important;
}
.ant-calendar-range-middle {
  padding: 0 !important;
}

[data-theme='dark'] .ant-calendar-header .ant-calendar-prev-year-btn::before,
[data-theme='dark'] .ant-calendar-header .ant-calendar-prev-month-btn::before,
[data-theme='dark'] .ant-calendar-header .ant-calendar-prev-year-btn::after,
[data-theme='dark'] .ant-calendar-header .ant-calendar-next-month-btn::before,
[data-theme="dark"] .ant-calendar-header .ant-calendar-next-year-btn::after,
[data-theme="dark"] .ant-calendar-header .ant-calendar-next-year-btn::before,
[data-theme='dark'] .ant-calendar-header .ant-calendar-next-month-btn::after {
  border-width: 1.5px 0 0 1.5px !important;
}
