index.scss 3.03 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;
}
div {
  user-select: none;
}
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: #061422;
  box-shadow: inset 0 0 10.42px 0 #3d57ff69;
}

.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-bg {
    display: inline-block;
    height: 1.71vh;
    padding-left: 0.83vw;
    transform: rotate(-360deg);
    background-image: linear-gradient(90deg, #003F57 0%, #111056 54%, #07173500 100%);
  }
}

.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 {
  display: inline-block;
  color: #5894FF;
  background-image:-webkit-linear-gradient(left,#24D8FF,#7787FF);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}
.user-box {
  height: 9.63vh;
  width:13.26vw;
  background: #071735;
}
.patch-title {
  position: relative;
  height: 2.22vh;
  color: #fff;
  line-height: 2.22vh;
  padding-left: 0.83vw;
  font-size: 14px;
  z-index: 1;
  &::before {
    content: '';
    position: absolute;
    left: 0;
    width: 7.5vw;
    height: 2.22vh;
    background-image: linear-gradient(269deg, #5663ff00 10%, #6578ffd4 49%, #079FF1 100%);
    z-index: -1;
  }
}