index.module.scss 1003 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. .VideoLook {
  2. :global {
  3. .videoLookBox {
  4. cursor: pointer;
  5. width: 100%;
  6. height: 100%;
  7. display: flex;
  8. justify-content: center;
  9. align-items: center;
  10. .videoCover {
  11. width: 100%;
  12. height: 100%;
  13. position: relative;
  14. video {
  15. width: 100%;
  16. height: 100%;
  17. }
  18. .videoInco {
  19. cursor: pointer;
  20. transition: opacity .3s;
  21. opacity: 0;
  22. pointer-events: none;
  23. position: absolute;
  24. top: 0;
  25. left: 0;
  26. width: 100%;
  27. height: 100%;
  28. display: flex;
  29. justify-content: center;
  30. align-items: center;
  31. font-size: 18px;
  32. color: #fff;
  33. background-color: rgba(0, 0, 0, .6);
  34. &>div {
  35. font-size: 14px;
  36. }
  37. }
  38. &:hover {
  39. .videoInco {
  40. opacity: 1;
  41. pointer-events: auto;
  42. }
  43. }
  44. }
  45. }
  46. }
  47. }