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

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%;

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

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

/* 【LOWCOD-2300】【vue3】online--online表单开发，下拉框位置靠下时，点开下拉框，整屏跳 */
body {
  overflow: visible;
  overflow-x: hidden;
}

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

// 保持 和 windi 一样的全局样式，减少升级带来的影响
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ant-page-header {
  padding: 16px !important;
}
.ant-collapse-item > .ant-collapse-header {
  background-color: #F2F2F2;
  margin-bottom: 8px;
}
.ant-picker {
  width: 100%;
}
// 表单样式-开始
.ant-collapse {
  .ant-form-item-label {
    background-color: #F2F2F2;
    border: 1px solid #E6E6E6;
    box-sizing: border-box;
    margin-right: 5px;
    height: fit-content;
  }
  .ant-form-item-label > label {
    height: 30px;
  }
}
// 表单样式-结束
.ant-col-24 {
  .ant-form-item-control {
    max-width: 100%;
  }
}
.collapse-bg {
  .ant-collapse-content-box {
    padding-top: 16px !important;
  }
}
.red {
  color: #ff4d4f;
  cursor: pointer;
}
.required::before {
  display: inline-block;
  margin-right: 4px;
  color: #ff4d4f;
  font-size: 14px;
  font-family: SimSun, sans-serif;
  line-height: 1;
  content: '*';
}
.dis-flex {
  display: flex;
}
.flex-1 {
  flex: 1;
}
.flex-2 {
  flex: 2;
}
.lin-feed {
  .ant-form-item-label {
    white-space: pre-line;
    width: 200px !important;
  }
}
.detail-table {
  width: 100%;
  border-collapse: collapse;
  border-color: #dfe6ec;
  tbody tr td {
    padding: 6px;
    height: 40px;
  }
  .bgColor {
    background-color: rgba(244, 247, 249, 0.8);
    text-align: center;
  }
}
