|
45 | 45 | /*****************************
|
46 | 46 | * Video css (experimental)
|
47 | 47 | *****************************/
|
48 |
| -.flotapp.flot-video video, |
49 |
| -.flotapp.flot-video video::before, |
50 |
| -.flotapp.flot-video video::after { |
| 48 | +.flotapp.flot-video { |
| 49 | + overflow: hidden !important; |
| 50 | + --flot-opacity: 1; |
| 51 | +} |
| 52 | +.flotapp.flot-video *:not(:has(video)):not(video) { |
| 53 | + opacity: 0 !important; |
| 54 | + visibility: hidden !important; |
| 55 | + pointer-events: none !important; |
| 56 | + width: 0 !important; |
| 57 | + height: 0 !important; |
| 58 | + overflow: hidden !important; |
| 59 | +} |
| 60 | +.flotapp.flot-video *:has(video) { |
| 61 | + background-color: transparent !important; |
| 62 | +} |
| 63 | +.flotapp.flot-video video { |
| 64 | + opacity: var(--flot-opacity) !important; |
| 65 | + width: 100vw !important; |
| 66 | + height: 100vh !important; |
51 | 67 | position: fixed !important;
|
52 |
| - display: block !important; |
53 | 68 | top: 0 !important;
|
| 69 | + bottom: 0 !important; |
54 | 70 | left: 0 !important;
|
55 | 71 | right: 0 !important;
|
56 |
| - bottom: 0 !important; |
57 |
| - width: 100vw !important; |
58 |
| - height: 100vh !important; |
59 |
| -} |
60 |
| - |
61 |
| -.flotapp.flot-video video { |
| 72 | + padding: 0 !important; |
| 73 | + margin: 0 !important; |
62 | 74 | object-fit: contain !important;
|
| 75 | + background: rgba(0 0 0 / var(--flot-opacity)) !important; |
63 | 76 | isolation: isolate !important;
|
64 |
| - visibility: visible !important; |
65 |
| - overflow: visible !important; |
66 |
| -} |
67 |
| - |
68 |
| -.flotapp.flot-video video::before, |
69 |
| -.flotapp.flot-video video::after { |
70 |
| - content: "" !important; |
71 |
| - background: #000 !important; |
72 |
| -} |
73 |
| - |
74 |
| -.flotapp.flot-video :not(video) { |
75 |
| - pointer-events: none !important; |
76 |
| - visibility: hidden !important; |
77 |
| - overflow: hidden !important; |
78 | 77 | }
|
0 commit comments