index.scss 2.45 KB
@import './normalize.scss';

@font-face {
  font-family: 'PingFangSC-Regular';
  src: url('../font/PingFang-Regular.ttf');
}

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

    overflow-x: hidden;

}

img {
  width: 100%;
  height: 100%;
  vertical-align: top;
}

.flex {
  display: flex;
  align-items: center;
}
.flex-around {
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.flex-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: 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: #0b0e31;
  // overflow: hidden;
}

.inline {
  display: inline-block;
}

.title {
  font-size: 0.75vw;
  font-weight: 400;
  font-size: 11px;
  color: #ffffff;
  user-select: none;
  box-sizing: border-box;
  height: 2.07vh;
  margin-top: 4px;
}

.title-icon {
  display: flex;
  align-items: center;

  .icon {
    display: inline-block;
    width: 18px;
    height: 10px;
    margin-right: 4px;
    background-image: url(../images/icon.png);
  }
}

.container {
  height: 8.54vh;
  margin: 8px 6px 8px 8px;
}
.user-container{
  height:6.1vh;
  margin: 5px 6px 5px 6px;
}
.empty {
  display: flex;
  width: 100%;
  height: calc(100% - 4.1vh);
  align-items: center;
  justify-content: center;

  img {
    max-width: 20vh;
    height: 9.5vh;
  }
}
.text-linear {
  background: linear-gradient(top, #b4bdff, #7e8eff);
  color: transparent;
  -webkit-background-clip: text;
}
.user-box {
  height: 9.51vh;
  width:11.18vw;
  margin-right: 0.28vw;
  margin-bottom: 0.28vw;
  background: #0b0e31;
}