
  
  .Timeline-container {  
    margin: auto;
    width: 1200px;
    height: 1350px;
    /* height: auto; */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0;
    --left: 380px;
    --color: #0d5dff;
  }


  .timeline-area {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding-bottom: 10px;
    padding-right: 5px;
    /* border: 1px solid #ccc; */
  }

  /* timeline-wrapper 是包裹容器，它的宽高是固定的，timeline 是真正的时间轴，
  当时间轴内容超出容器高度的时候可以上下自由滚动 */
  .timeline-wrapper {
    flex: 1;
    overflow-y: auto;
    padding: 15px 5px 0 0;
  }
  
  .timeline {
    position: relative;
  }
  

  .timeline::before {
    content: "";
    position: absolute;
    left: var(--left);
    width: 1px;
    top: 20px;
    bottom: 0;
    /* background-image: linear-gradient(  
      to bottom,
      rgba(144, 156, 173, 0.6) 60%,
      rgba(255, 255, 255, 0) 0%
    );   */
    /* background-image 来模拟时间轴的虚线 */
    border-left: 2px solid #D8D8D8;
    /* 也可以用这个来划线 */
    background-position: left;
    background-size: 1px 5px;
    background-repeat: repeat-y;
  }
  

  .timeline {
    /* height: 500px; */
    width: 100%;
  }
  
  /* 圆点的样式 */
  .timeline-dot {
    left: calc(var(--left) - 7px);
    width: 22px;
    height: 22px;
    position: absolute;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #d8d8d8;
    background: white;
    background-color: #ecf0f1; /* 使用具体颜色代替$bgColor */
    border: 4px solid #D8D8D8; /* 使用具体颜色代替$primaryColor */
    text-align: center;
    /* top: 0; */
    line-height: 40px;
    margin-left: -3.5px;
  }

  .timeline-item {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 300px;
    margin-top: 15px;
  }
  
  /* 当前节点的圆点样式 处于活动状态的小圆点增加高亮样式*/
  .timeline-item.current .timeline-dot {
    width: 10px;
    height: 10px;
    background-color: var(--color);
    box-shadow: 0 0 4px var(--color);
    border: 1px solid white;
    margin-left: -5px;
  }
  

  /* 时间轴左侧的样式 */
  .timeline-left {
    display: block;
    width: calc(var(--left) - 7px); /* 计算左侧宽度 左侧区域我们需要定义其宽度小于 left 的值，否则会超过分隔线 */
    position: absolute;
    margin-top: -5px;
    text-align: right;
    color: #8492a5;
  }
  
  /* 时间轴右侧的样式 */
  .timeline-right {
    position: relative;
    margin: -3px 0 10px calc(var(--left) + 15px); /* 计算右侧宽度 右侧区域我们要定义 margin-left 的值大于 left 的值，否则也会超过分隔线 */
  }
  
  /* 为了能让大家看到效果，这里临时给左右两侧都设置了背景色和高度 */
  /* .timeline-left {
    background: yellowgreen;
    height: 300px;
  }
  .timeline-right {
    background: greenyellow;
    height: 300px;
  } */
  