/* reset */
html {
  -webkit-text-size-adjust: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  font-family: Helvetica;
}

body {
  font-size: 12px;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
dl,
dd,
ul,
ol,
pre,
form,
input,
textarea,
th,
td,
select {
  margin: 0;
  padding: 0;
  font-weight: normal;
  text-indent: 0;
}

a,
button,
input,
textarea,
select {
  background: none;
  -webkit-tap-highlight-color: rgba(255, 0, 0, 0);
  outline: none;
  -webkit-appearance: none;
}

em {
  font-style: normal;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  border: none;
  vertical-align: top;
}

table {
  border-collapse: collapse;
}

textarea {
  resize: none;
  overflow: auto;
}

/* end reset */

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

/* 强制box-sizing: border-box */
*,
*:before,
*:after {
  box-sizing: border-box;
}
/* iphonex 兼容方案
https://aotu.io/notes/2017/11/27/iphonex/index.html */
html,
body {
  height: 100%;
  /* overflow: hidden; */
}
/* iphonex 安全区域 */
body {
  overflow-x: hidden;
  background-color: #fff;
  padding-bottom: constant(safe-area-inset-bottom);
  padding-bottom: env(safe-area-inset-bottom);
}
.clearfix:after {
  content: "";
  display: table;
  clear: both;
}
/* 触摸tap-highlight效果配合js增加删除样式 */
.tap-highlight {
}
.tap-highlight.active {
  opacity: 0.6;
}

/* body */
.body {
  height: 100%;
}
.body-c {
  -webkit-flex: 1 1;
  -ms-flex: 1 1;
  flex: 1 1;
}

.overflowEllipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* table中的loading */
.loader {
  text-align: center;
  color: #777777;
  height: 30px;
  display: none;
  font-size: 12px;
  line-height: 30px;
}
/* table中的loading */

/* 修改placeholder颜色 */
::-webkit-input-placeholder {
  color: #a9a9a9;
}
:-moz-placeholder {
  /* Firefox 18- */
  color: #a9a9a9;
}
::-moz-placeholder {
  /* Firefox 19+ */
  color: #a9a9a9;
}
:-ms-input-placeholder {
  color: #a9a9a9;
}

@import "./dialog.css";
