/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.3.6,
* Autoprefixer: v10.3.1
* Browsers: last 4 version
*/

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.is-loading {
  /* 宽度和高度根据要展示元素大小设定 */
  width: 500px;
  height: 500px;
  position: relative;
  margin: 0 auto;
  top: 100px;
  
  /* 以下代码实现背景动画效果 */
  animation: loading2 1.4s ease infinite;
  -webkit-animation: loading2 1.4s ease infinite;
  background-image: -webkit-gradient(linear, left top, right top, color-stop(25%, #F0F0F0), color-stop(37%, #E3E3E3), color-stop(63%, #F0F0F0));
  background-image: -o-linear-gradient(left, #F0F0F0 25%, #E3E3E3 37%, #F0F0F0 63%);
  background-image: linear-gradient(90deg, #F0F0F0 25%, #E3E3E3 37%, #F0F0F0 63%);
  background-size: 400% 100%
}

@-webkit-keyframes loading2 {
  0% {
    background-position: 100% 50%
  }
  
  to {
    background-position: 0 50%
  }
}

@keyframes loading2 {
  0% {
    background-position: 100% 50%
  }
  
  to {
    background-position: 0 50%
  }
}

@-webkit-keyframes skeleton-loading {
  to {
    background-position-x: -20%;
  }
}

@keyframes skeleton-loading {
  to {
    background-position-x: -20%;
  }
}

:root {
  --loading-grey: #EDEDED;
  --loading-black: #646464;
}

#skeleton {
  /*background: #161A22;*/
  position: relative;
  z-index: 9999;
  width: 100%;
  min-width: 3.2rem;
  max-width: 4.8rem;
  margin: 0 auto;
  
}

.black-them #skeleton {
  background: #161A22;
}

.black-them .skeleton {
  background-color: var(--loading-black);
  /*background: -o-linear-gradient(350deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, .5) 50%, rgba(255, 255, 255, 0) 60%) var(--loading-black);*/
  /*background: linear-gradient(100deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, .5) 50%, rgba(255, 255, 255, 0) 60%) var(--loading-black);*/
  
  /*animation: loading2 1.4s ease infinite;*/
  /*-webkit-animation: loading2 1.4s ease infinite;*/
  /*background-image: -webkit-gradient(100deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, .5) 50%, rgba(255, 255, 255, 0) 60%);*/
  /*background-image: -o-linear-gradient(100deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, .5) 50%, rgba(255, 255, 255, 0) 60%);*/
  /*background-image: linear-gradient(100deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, .5) 50%, rgba(255, 255, 255, 0) 60%);*/
  background-size: 400% 100%
}

.white-them #skeleton {
  background: #FFFFFF;
}

.white-them .skeleton {
  background-color: var(--loading-grey);
  /*background: linear-gradient(100deg, rgba(50,50,50, 0) 40%, rgba(50,50,50, .5) 50%, rgba(50,50,50, 0) 60%) #646464;*/
  animation: loading2 1.4s ease infinite;
  -webkit-animation: loading2 1.4s ease infinite;
  background-image: -webkit-gradient(100deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, .5) 50%, rgba(255, 255, 255, 0) 60%);
  background-image: -o-linear-gradient(100deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, .5) 50%, rgba(255, 255, 255, 0) 60%);
  background-image: linear-gradient(100deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, .5) 50%, rgba(255, 255, 255, 0) 60%);
  background-size: 400% 100%
}

.art-skeleton {
  padding: 0.1rem 0.15rem;
}

.skeleton-title {
  height:0.58rem;
  /*overflow: hidden;*/
  margin-bottom: 0.1rem;
}

.skeleton-title .t1 {
  width: 100%;
  height: 0.22rem;
  margin: 0.09rem 0;
}

.skeleton-title .t2 {
  width: 80%;
  height: 0.22rem;
  margin: 0.09rem 0;
}

.art-skeleton .skeleton-info {
  height: 0.39rem;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.art-skeleton .skeleton-info .user-portrait {
  vertical-align: top;
  display: inline-block;
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 50%;
}

.art-skeleton .skeleton-info .user-info__name {
  position: absolute;
  left: 0.42rem;
  /*top: 0.02rem;*/
  top: 0.02rem;
  
  height: 0.14rem;
  
  width: 1rem;
}

.art-skeleton .skeleton-info .user-info__time {
  position: absolute;
  left: 0.42rem;
  top: 0.2rem;
  height: 0.12rem;
  
  width: 1.2rem;
}

.art-skeleton .skeleton-info .guanzhu {
  display: inline-block;
  width: 0.7rem;
  height: 0.28rem;
  border-radius: 0.04rem;
  /*margin-left: 1.02rem;*/
  position: absolute;
  right: 0;
  top: 0.02rem;
}

.art-skeleton .skeleton-stock .icon-stock-exchange {
  height: 0.14rem !important;
  display: inline-block;
  margin-right: 0.05rem;
}

.art-skeleton .skeleton-stock .stock-name {
  display: inline-block;
  width: 0.8rem;
  height: 0.14rem;
}

.art-skeleton .skeleton-stock .stock-price {
  display: inline-block;
  width: 0.6rem;
  height: 0.14rem;
  margin-right: 0.38rem;
}

.art-skeleton .skeleton-stock .stock-limit {
  display: inline-block;
  width: 0.5rem !important;
  height: 0.14rem;
}

.art-skeleton .p1 {
  height: 0.18rem;
  margin: 0.05rem 0;
}

.art-skeleton .img1 {
  height: 1.67rem;
}

.skeleton-stock {
  padding: 0.1rem 0;
}

.skeleton-stock::after {
  border-color: #EFF0F3;
}

.skeleton-stock .skeleton-stock__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 0.24rem;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 0.05rem;
}

.skeleton-stock .skeleton-stock__item .stock-info {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.skeleton-stock .skeleton-stock__item .stock-info .icon-stock-exchange {
  width: 0.15rem;
  height: 0.12rem;
  display: inline-block;
  background-size: 0.15rem 0.12rem;
  background-position: center;
}

.skeleton-stock .skeleton-stock__item .stock-info .stock-name {
  padding: 0 0.03rem;
  font-size: 0.14rem;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
}

.skeleton-stock .skeleton-stock__item .stock-info .stock-icon {
  height: 0.24rem;
  display: inline-block;
  background-size: auto 0.1rem;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 0.03rem;
}

.skeleton-stock .skeleton-stock__item .stock-market {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.skeleton-stock .skeleton-stock__item .stock-market .stock-price {
  height: 0.14rem;
  font-size: 0.14rem;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
}

.skeleton-stock .skeleton-stock__item .stock-market .stock-limit {
  text-align: right;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 0.88rem;
  font-size: 0.14rem;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
}

.skeleton-stock .skeleton-stock__item .stock-sub-info p {
  font-family: PingFangSC-Regular, "sans-serif", sans-serif;
  font-size: 0.1rem;
  line-height: 0.12rem;
  color: #333333;
}

.skeleton-stock .skeleton-stock__item .stock-sub-info p span {
  color: #868E95;
}

.skeleton-stock {
  padding: 0.1rem 0;
}

.skeleton-stock::after {
  border-color: #EFF0F3;
}

.skeleton-stock .skeleton-stock__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 0.24rem;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 0.05rem;
}

.skeleton-stock .skeleton-stock__item .stock-info {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.skeleton-stock .skeleton-stock__item .stock-info .stock-name {
  padding: 0 0.03rem;
  font-size: 0.14rem;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
}

.skeleton-stock .skeleton-stock__item .stock-market {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.skeleton-stock .skeleton-stock__item .stock-market .stock-price {
  height: 0.14rem;
  font-size: 0.14rem;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
}

.skeleton-stock .skeleton-stock__item .stock-market .stock-limit {
  text-align: right;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 0.88rem;
  font-size: 0.14rem;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
}
