/* reset */
body,
div,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
input,
p,
tr,
th,
td,
span,
a,
header,
footer {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}
li {
  list-style: none;
}
em,
i,
u {
  font-style: normal;
}
input {
  outline: none;
  border: none;
  box-shadow: 100px 100px 100px #fff inset;
  font-family: "Microsoft YaHei", Tahoma, Helvetica, Arial, sans-serif;
  -webkit-appearance: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}
fieldset,
img {
  border: 0;
}
abbr {
  border: 0;
  font-variant: normal;
}
a {
  text-decoration: none;
  color: inherit;
  *color: #999;
}
img {
  vertical-align: middle;
}
button {
  outline: 0;
}

/* common-style */
input:-webkit-autofill {
  box-shadow: 0 0 0 1000px white inset;
}
input[type="text"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
textarea:focus {
  box-shadow: 0 0 0 1000px white inset;
}
input,
select {
  -webkit-appearance: none;
}

/* browse style */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background: transparent;
}
::-webkit-scrollbar-button {
  display: none;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: @gray;
}
::-webkit-scrollbar-corner {
  background: transparent;
}
::-webkit-scrollbar-resizer {
  background: transparent;
}

body {
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: @fontSize;
  color: @fontMain;
}

/* part */
.part-box {
  box-shadow: 0 0 2px 1px #e9e9e9;
  padding: 20px 30px;
  margin-bottom: 15px;
  background-color: #fff;

  .ivu-form-item-label {
    text-align: right;
  }

  &-head {
    margin-bottom: 15px;
    overflow: hidden;
    &-left {
      float: left;
    }
    &-right {
      float: right;
    }
  }
}
.part-title {
  font-size: 16px;
  margin-bottom: 15px;
  height: 32px;
  line-height: 32px;
}
.part-title h2 {
  float: left;
  font-weight: 600;
}
.part-title-infos {
  float: right;
  > .ivu-btn:not(:first-child) {
    margin-left: 5px;
  }
}
.part-page {
  margin-top: 15px;
  text-align: center;
}
.part-filter {
  border-bottom: 1px dashed #e0e0e0;
  margin-bottom: 20px;
}
.part-none {
  padding: 100px;
  font-size: 20px;
  color: @gray;
  text-align: center;
}
.part-box-top {
  margin-bottom: 10px;
  text-align: right;
}
// page
.page {
  &-navs {
    margin-bottom: 10px;
  }
}
/* table */
.table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  text-align: center;
  margin-bottom: 30px;

  &.table-noborder {
    th,
    td {
      border: none;
    }
  }
}
.table th {
  padding: 8px;
  line-height: 20px;
  letter-spacing: 1px;
  border: 1px solid @shadowGray;
}
.table td {
  padding: 8px;
  line-height: 20px;
  border: 1px solid @shadowGray;
}
.table .td-th {
  font-weight: 600;
  color: @dark;
}
tr.row-active td {
  color: @mainColor;
}
tr.tr-tips-error td {
  padding: 2px 10px;
  font-size: 13px;
  color: @pink;
}

/* list */
.list-lr-right {
  float: right;
  width: 300px;
}
.list-lr-left {
  margin-right: 320px;
}

/* user reset */
h3.account-title {
  text-align: center;
  font-weight: 600;
}
.account-form {
  width: 60%;
  min-width: 600px;
  margin: 50px auto;
}
.vlcode {
  height: 36px;
}
.vlcode-left {
  margin-right: 135px;
}
.vlcode-right {
  float: right;
  width: 120px;
}

// vue-echarts
.echarts {
  width: 100% !important;
}
.chart-box {
  padding: 10px;
  height: 400px;
  box-shadow: 0 0 1px #e0e0e0;
  background: #fff;
  position: relative;
}
.chart-box .chart-none {
  padding-top: 150px;
  font-size: 30px;
  text-align: center;
}
.chart-box .chart-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  position: absolute;
  top: 10px;
  left: 16px;
  line-height: 30px;
  z-index: 99;
}

// other
.tips-info {
  font-size: 14px;
  height: 25px;
  line-height: 25px;
  color: @gray;
}
.tips-error {
  color: @pink;
}
.text-center {
  text-align: center;
}
