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

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

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

html {
  overflow: hidden;
  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;
}

.pointer {
  cursor: pointer;
}
.filter-dropdown {
  padding: 5px 12px;
}

.color-green {
  color: #75a95e;
}

.color-yellow {
  color: #f8af4e;
}

.color-black {
  color: #000;
}

.color-pink {
  color: pink;
}
.color-muted {
  color: #828890;
}

.color-red {
  color: red;
}

.color-man {
  color: #48a7ff;
}

.color-woman {
  color: #fa95db;
}

.color-primary {
  color: @primary-color;
}

.color--warning {
  background: #fff6e7;
  color: #f90;
}

.color--error {
  background: #ffeee3;
  color: #ff5d39;
}

.color--success {
  color: #19be6b;
  background: #ecf8f2;
}

.color--primary {
  color: #0075ff;
  background: #e5f1ff;
}

.color--muted {
  color: #828890;
  background: #e1e3e7;
}
@media print {
  @page {
    size: auto;
  }
  body,
  html {
    height: auto !important;
  }
  .no-print {
    display: none;
  }
}

.common-tit {
  position: relative;
  font-size: 16px;
  // border-left: 2px solid #000;
  padding: 0 10px;
  margin-bottom: 10px;

  &::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 0;
    width: 2px;
    height: 16px;
    background: #000;
  }
}

.card-device {
  height: 28px;
  line-height: 28px;
  color: #fff;
  padding: 0 10px;
  /* margin-top: 1px; */
  border-radius: 12px;
  font-size: 14px;

  &--1 {
    color: #61cad7;
    background-color: #d7f0f3;
  }

  &--2 {
    color: #8dc173;
    background-color: #ddf0d5;
  }

  &--3 {
    color: #e486ab;
    background-color: #f6dfe8;
  }

  &--table {
    font-size: 14px;
    height: auto;
    padding: 0 4px;
    width: 62px;
    margin: auto;
  }
}

.wrap {
  &-side {
    padding: 0 16px;
    min-width: 180px;
  }
  &-body {
    width: calc(100% - 182px);
  }
}
.ant-back-top {
  right: 30px !important;
}

.table-avatar {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 50%;
}
