index.scss 1.5 KB
@import './normalize.scss';
@import './sprite.scss';

html,
body .app {
  color: #333333;
  font-family: Arial, Helvetica, 'STHeiti STXihei', 'Microsoft YaHei', Tohoma, sans-serif;
  background-color: #FFF;
  -webkit-overflow-scrolling: touch;
  height: 100%;
  // overflow: hidden;
  --themeColor: #3975C6;
}


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

.x-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

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

.box-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.user-select {
  user-select: none;
}

.pointer {
  cursor: pointer;
}

.box {
  background: #1D1C1C;
}
.inline {
  display: inline-block;
}
.title {
  font-size: 12px;
  color: #E8E8E8;
  line-height: 2.1vh;
  font-weight: 400;
  padding: 0.5vh 0.6vh;
  user-select: none;
}
.title-icon {
  display: flex;
  align-items: center;
  .icon {
    display: inline-block;
    width: 4px;
    height: 4px;
    background: #EB6001;
    box-shadow: 0px 0px 5px 5px rgba(255,104,0,0.3);
    border-radius: 1px;
    margin-right: 6px;
  }
}