index.css 742 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. .media-player {
  2. display: inline-block;
  3. margin: 2px;
  4. width: 300px;
  5. text-align: left;
  6. white-space: nowrap;
  7. cursor: pointer;
  8. }
  9. .media-player .video-container {
  10. position: relative;
  11. }
  12. .media-player .muted-mask,
  13. .media-player .play-mask {
  14. position: absolute;
  15. top: 0;
  16. right: 0;
  17. bottom: 0;
  18. left: 0;
  19. z-index: 9;
  20. opacity: 0.6;
  21. background-color: #fff;
  22. display: flex;
  23. flex-direction: column;
  24. justify-content: center;
  25. align-items: center;
  26. }
  27. .muted-mask .mask-content,
  28. .play-mask .mask-content {
  29. max-width: 200px;
  30. }
  31. .mask-content .hint {
  32. margin-bottom: 12px;
  33. white-space: break-spaces;
  34. font-size: 14px;
  35. }
  36. .mask-content button {
  37. min-height: 50px;
  38. }
  39. .media-player video {
  40. width: 100%;
  41. height: 100%;
  42. }