﻿
#slider {
  margin: 4% auto;
  width: 100%;
  height: 40px;
  position: relative;
  border-radius: 20px;
  background-color: #e1dddc;
  overflow: hidden;
  text-align: center;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
}

#slider_bg {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background-color: #D0FFF4;
  z-index: 1;
}

#label {
    width: 30px;
    position: absolute;
    height: 30px;
    line-height: 38px;
    /* border: 1px solid #cccccc; */
    /* background: url(../../img/plugin_an/YHbuttonL.png) no-repeat; */
    z-index: 20000;
    cursor: move;
    /* color: #ff9e77; */
    font-size: 16px;
    font-weight: 900;
    border: none;
    display: block;
    margin-top: 0px;
    margin-left: 0px;
    /* background-size: 97%; */
    border-radius: 20px;
    box-shadow: 0px 2px 4px 0px rgb(0 0 0 / 30%);
    left: 6px;
}
/* 成功状态 */
#labelTip {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  font-size: 14px;
  font-family: "PingFang SC",'Microsoft Yahei', serif;
  color: #41D0AE;
  line-height: 38px;
  text-align: center;
  z-index: 2;
  /*字体样式从左到右移动移画*/
  line-height: 42px;
  background: #f5f5f5;
  -webkit-text-fill-color: unset;
  font-weight: 600;
  border-radius: 30px;
border: 1px solid #41D0AE;
background: #D0FFF4;
}
/* 未成功 */
#labelTip.labelTip {
  color: #8C9093;
  text-align: left;
  padding-left: 43px;
  border: none;
  background: none;
}
.labelTip{
  /* background: -webkit-gradient(linear,left top,right top,color-stop(0,#aaaaaa),color-stop(.4,#c8a575),color-stop(.5,#c8a575),color-stop(.6,#c8a575),color-stop(1,#aaaaaa));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; */
  animation: slidetounlock 3s infinite;
}

@keyframes slidetounlock {
  0% {
    background-position: -100px 0;
  }
  100% {
    background-position: 100px 0;
  }
}

