index.scss 2.73 KB
@import './sprite.scss';
html,
body .app {
  color: #333333;
  font-family: Arial, Helvetica, 'STHeiti STXihei', 'Microsoft YaHei', Tohoma, sans-serif;
  -webkit-overflow-scrolling: touch;
  height: 100vh;
  overflow: hidden;
}
*{
  -webkit-touch-callout:none; //系统默认菜单被禁用/
  -webkit-user-select:none; //webkit浏览器/
  -khtml-user-select:none; //早期浏览器/
  -moz-user-select:none;//火狐/
  -ms-user-select:none; //IE10/
  user-select:none;
  }
img {
  width: 100%;
  height: 100%;
  vertical-align: top;
}

.flex {
  display: flex;
  align-items: center;
}

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

.text-two-line {
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.text-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flex-around{
  display: flex;
  align-items: center;
 justify-content: space-around;
}
.flex-between{
  display: flex;
  align-items: center;
 justify-content: space-between;
}
.x-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.y-center {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.sticky {
  position: static;
}

canvas {
  user-select: none;
}
.head-bg {
  width: 375px;
  height: 260px;
  background: #3975c6;
  border-radius: 0px 0px 16px 16px;
  position: absolute;
  top: 0;
  left: 0;
  z-index:0;
}
.layout-wrap{
  width:100%;
  height:100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index:99;
}
.small-text{
  height: 15px;
font-size: 12px;
font-weight: 400;
color: #FFFFFF;
line-height: 15px;
}
.num-text{
  height: 33px;
font-size: 24px;
font-weight: 600;
color: #FFFFFF;
line-height: 33px;
}
.headline{
height: 25px;
font-size: 18px;
font-weight: 500;
color: #FFFFFF;
line-height: 25px;
}
.text-half{
  width:50%;
  text-align:left;
}
.text-message{
  height: 15px;
  font-size: 10px;
  font-weight: 400;
  color: #666666;
  line-height: 15px;
  margin-bottom: 2px;
  white-space:nowrap;
  // word-break: break-all;
}
.mb{
  margin-bottom:5px;
  display: inline-block;
}
.gray-text{
  height: 15px;
font-size: 12px;
font-weight: 400;
color: #333333;
line-height: 15px;
}
.gray{

color: #333333;

}

.line-tooltip {
  opacity: 0;
  position: absolute;
  // width: 140px;
  // height: 70px;
  border-radius: 6px;
  box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.05);
  background: #ffffff;
  z-index: 99;
  flex-direction: column;
  font-size: 12px;
  box-sizing: border-box;
  padding: 10px;
  left: 0;
  top: 0;
  .time {
    color: #a9a9a9;
  }
  .item,
  .time {
    width: 100%;
    text-align: left;
    font-size: 12px;
  }
  .arc {
    border-radius: 100%;
    font-size: 5px;
    margin-right: 4px;

  }
}