number-pb.css 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. .number-pb {
  2. position: relative;
  3. height: 1px;
  4. background-color: #1B2030;
  5. margin: 40px 0;
  6. display: -webkit-box; /* Chrome 4+, Safari 3.1, iOS Safari 3.2+ */
  7. display: -moz-box; /* Firefox 17- */
  8. display: -webkit-flex; /* Chrome 21+, Safari 6.1+, iOS Safari 7+, Opera 15/16 */
  9. display: -moz-flex; /* Firefox 18+ */
  10. display: -ms-flexbox; /* IE 10 */
  11. display: flex; /* Chrome 29+, Firefox 22+, IE 11+, Opera 12.1/17/18, Android 4.4+ */
  12. justify-content: center;
  13. align-items: center;
  14. flex-direction: column;
  15. }
  16. .number-pb .number-pb-shown {
  17. background-color: #DBEDF3;
  18. background-image: linear-gradient(to right, #4d9bbf, #4d9bbf);
  19. height: 1px;
  20. -moz-box-shadow: 0 0 3px 0 #4d9bbf;
  21. -webkit-box-shadow: 0 0 3px 0 #4d9bbf;
  22. box-shadow: 0 0 3px 0 #4d9bbf;
  23. }
  24. .number-pb .number-pb-num {
  25. position: absolute;
  26. background-color: #fff;
  27. left: 0;
  28. top: -0.45em;
  29. padding: 0 5px;
  30. min-width: 50px;
  31. visibility: hidden;
  32. }
  33. .number-pb-shown.dream {
  34. background-image: linear-gradient(to right, #0e153a, #1d2b64, #f8cdda);
  35. -moz-box-shadow: 0 0 3px 0 #f8cdda;
  36. -webkit-box-shadow: 0 0 3px 0 #f8cdda;
  37. box-shadow: 0 0 3px 0 #f8cdda;
  38. }
  39. .number-pb-shown.sun {
  40. background-image: linear-gradient(to right, #0f1b58, #e0a681, #e5e9bf);
  41. -moz-box-shadow: 0 0 3px 0 #e5e9bf;
  42. -webkit-box-shadow: 0 0 3px 0 #e5e9bf;
  43. box-shadow: 0 0 3px 0 #e5e9bf;
  44. }