imaginerio/imaginerioNext

View on GitHub
components/Timeline/Timeline.css

Summary

Maintainability
Test Coverage
.___slider{
  position: relative;
  top: -15px;
}

.___track{
  background-color: #f2f2f2;
  height: 30px ;
  border: 1px solid #dedede;
  border-radius: 4px;
  margin-right: 20px;
}

.___track-1, .___triple .___track-2{
  background-color: #CDE1F5;
  border-color: #6CB2F5;
  position: relative;
  z-index: 1;
}

.___thumb{
  height: 20px;
  width: 20px;
  margin-top: 5px;
  background-color: white;
  border: 1px solid #999;
  border-radius: 50%;
  z-index: 5;
  transform: translate(-10px, 0);
  cursor: pointer;
}

.___thumb::after{
  content: '|';
  font-size: 12px;
  width: 100%;
  text-align: center;
  display: block;
  color: #999;
  margin-top: -1px;
}

.___triple .___thumb-1{
  height: 40px;
  margin-top: -5px;
  border-radius: 4px;
  transform: translate(-10px, 0);
}

.___triple .___thumb-1::after{
  margin-top: 6px;
  font-size: 16px;
}

.___thumb .___tooltip{
  position: absolute;
  white-space: nowrap;
  margin: -25px 0 0 -40px;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  width: 100px;
  display: none;
}

.___thumb:hover .___tooltip{
  display: block;
}

.___triple .___thumb-0 .___tooltip{
  left: 45px;
  text-align: left;
}

.___triple .___thumb-1 .___tooltip{
  margin-top: -20px;
}

.___triple .___thumb-2 .___tooltip{
  right: 0px;
}

.___mark{
  border-left:  1px solid #666;
  height: 5px;
  margin-top: 25px;
  z-index: 2;
  user-select: none;
}

.___mark span{
  font-size: 12px;
  position: relative;
  bottom: 23px;
  right: 4px;
}