index.scss 1.18 KB
Newer Older
xuzhenghua committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82
.expand-active-toast {
  font-size: 14px;
  background-color: #e8f6ff;
  display: flex;
  justify-content: space-between;
  padding: 0 15px;
  height: 33px;
  line-height: 33px;
  margin-bottom: 10px;

  .expand-toast-swiper {
    width: 240px;
    overflow: hidden;
    position: relative;

    p {
      width: 375px;
      position: absolute;
      -webkit-animation: scollLeft 10s linear 0s infinite;
    }
  }

  .red {
    color: #ff3131;
  }

  img {
    width: 15px;
    height: 15px;
    margin-top: 9px;
  }

  a {
    display: inline-block;
    width: 44px;
    height: 22px;
    background: linear-gradient(90deg, #0099ff 0%, #0080ff 100%);
    border-radius: 11px;
    color: #fff;
    font-size: 12px;
    line-height: 22px;
    margin-top: 5px;
    text-align: center;
  }


  @-webkit-keyframes scollLeft {
    from {
      right: -100%;
    }
    to {
      right: 100%;
    }
  }

  @keyframes scollLeft {
    from {
      right: -100%;
    }
    to {
      right: 100%;
    }
  }

  @-moz-keyframes scollLeft {
    from {
      right: -100%;
    }
    to {
      right: 100%;
    }
  }

  @-o-keyframes scollLeft {
    from {
      right: -100%;
    }
    to {
      right: 100%;
    }
  }
}