ESPTrainer built with Meteor and React

Score.scss 928B

123456789101112131415161718192021222324252627282930313233
  1. .score {
  2. display: flex;
  3. width: 480px;
  4. flex-direction: column;
  5. margin-bottom: 50px;
  6. .scale {
  7. flex: 1;
  8. position: relative;
  9. //width: 220px;
  10. height: 3px;
  11. background: red; /* For browsers that do not support gradients */
  12. background: -webkit-linear-gradient(left, cyan, blue, green, yellow, orange, red, violet); /* For Safari 5.1 to 6.0 */
  13. background: -o-linear-gradient(right, cyan, blue, green, yellow, orange, red, violet); /* For Opera 11.1 to 12.0 */
  14. background: -moz-linear-gradient(right, cyan, blue, green, yellow, orange, red, violet); /* For Firefox 3.6 to 15 */
  15. background: linear-gradient(to right, cyan, blue, green, yellow, orange, red, violet); /* Standard syntax (must be last) */
  16. .grade {
  17. height:5px;
  18. position: absolute;
  19. top: 0;
  20. }
  21. }
  22. .current-score {
  23. background: #fff;
  24. height: 3px;
  25. //width: 480px;
  26. margin-top: 3px;
  27. }
  28. }