视频播放器仓库

DefaultPlayer.css 463B

1234567891011121314151617181920212223242526272829303132
  1. .component {
  2. position: relative;
  3. font-family: Helvetica;
  4. font-size: 11px;
  5. background-color: #000;
  6. width: 100%;
  7. }
  8. .video {
  9. width: 100%;
  10. height: 100%;
  11. }
  12. .controls {
  13. position: absolute;
  14. bottom: 0;
  15. right: 0;
  16. left: 0;
  17. height: 34px;
  18. display: block;
  19. background-color: rgba(0, 0, 0, 0.7);
  20. opacity: 0;
  21. transition: opacity 0.2s;
  22. }
  23. .seek {
  24. flex-grow: 1;
  25. }
  26. .component:hover .controls {
  27. opacity: 1;
  28. }