@font-face {
  font-family: Roboto;
  src: url('./css-font/Roboto-Regular.ttf');
}
@font-face {
  font-family: Roboto-Medium;
  src: url('./css-font/Roboto-Medium.ttf');
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-size: 100% 100% !important;
}

table {
  border-spacing: 0px !important;
}

html,
body,
div,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
dl,
li,
dt,
dd,
p,
blockquote,
pre,
form,
fieldset,
table,
th,
td,
button {
  font-family: Roboto, Roboto;
}

html,
body {
  height: 100%;
  width: 100%;
  color: #fff;
}

input::-ms-clear {
  display: none;
}

input::-ms-reveal {
  display: none;
}

input {
  -webkit-appearance: none;
  margin: 0;
  outline: none;
  padding: 0;
}

input::-webkit-input-placeholder {
  color: #ffffff80;
}

input::-ms-input-placeholder {
  color: #ffffff80;
}

input::-moz-placeholder {
  color: #ffffff80;
}

input[type='submit'],
input[type='button'] {
  cursor: pointer;
}

button[disabled],
input[disabled] {
  cursor: default;
}

img {
  border: none;
}

ul,
ol,
li {
  list-style-type: none;
}

a {
  text-decoration: none;
}

::-webkit-scrollbar {
  width: calc(6 / 14 * 1rem);
  height: calc(6 / 14 * 1rem);
}

/* 滚动槽 */
::-webkit-scrollbar-track {
  border-radius: calc(4 / 14 * 1rem);
}

/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
  border-radius: calc(4 / 14 * 1rem);
  background: rgb(215, 218, 231, 0.3);
}

/*  去掉input上下箭头 */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

/* 纯色背景-----自动输出账户名input框色值出错的解决方案
 &:-webkit-autofill {
  box-shadow: 0 0 0px 1000px $bg inset !important;
 -webkit-text-fill-color: $cursor !important;
 }
输入框是背景为透明-----自动输出账户名input框色值出错的解决方案 */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-transition-delay: 99999s;
  -webkit-transition:
    color 99999s ease-out,
    background-color 99999s ease-out;
}
