Playerbar.scss 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. @import './adaptivefont.scss';
  2. .playerbar {
  3. position: sticky;
  4. bottom: 0;
  5. width: 100%;
  6. padding-bottom: 10px;
  7. padding-top: -10px;
  8. background-color: #131341;
  9. @include adaptive-font(20, 13);
  10. &__range {
  11. margin: 0 10px 6px 10px;
  12. -webkit-appearance: none;
  13. outline: none;
  14. cursor: pointer;
  15. &::-webkit-slider-thumb {
  16. -webkit-appearance: none;
  17. border: 1px solid #000000;
  18. height: 20px;
  19. width: 20px;
  20. border-radius: 100%;
  21. cursor: pointer;
  22. margin-top: -8px;
  23. box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  24. }
  25. &::-webkit-slider-runnable-track {
  26. width: 100%;
  27. border: 1px solid rgba(255, 255, 0, 0.26);
  28. height: 4px;
  29. }
  30. }
  31. &__info {
  32. display: flex;
  33. justify-content: space-between;
  34. width: 95%;
  35. margin: 0 auto;
  36. }
  37. button {
  38. //font-size: large;
  39. @include adaptive-font(20, 20);
  40. padding: 0.5%;
  41. background-color: yellow;
  42. border: none;
  43. margin: 0 5px;
  44. }
  45. }
  46. .timestamp {
  47. margin: 0 10px;
  48. font-weight: 500;
  49. }
  50. .plumline {
  51. &::-webkit-slider-runnable-track {
  52. background: #2f1dce;
  53. }
  54. }
  55. .blueline {
  56. &::-webkit-slider-runnable-track {
  57. background: #70b2e7;
  58. }
  59. }
  60. .yellowThumb {
  61. &::-webkit-slider-thumb {
  62. background: yellow;
  63. }
  64. }
  65. .blueThumb {
  66. &::-webkit-slider-thumb {
  67. background: #499fe6;
  68. }
  69. }