Changeset 3116570
- Timestamp:
- 07/11/2024 03:57:33 PM (18 months ago)
- Location:
- enhanced-embed-block
- Files:
-
- 8 added
- 6 edited
- 1 copied
-
tags/1.1.0 (copied) (copied from enhanced-embed-block/trunk)
-
tags/1.1.0/css/lite-youtube-custom.css (modified) (2 diffs)
-
tags/1.1.0/enhanced-embed-block.php (modified) (8 diffs)
-
tags/1.1.0/readme.txt (modified) (4 diffs)
-
tags/1.1.0/vendor (added)
-
tags/1.1.0/vendor/lite-youtube (added)
-
tags/1.1.0/vendor/lite-youtube/LICENSE (added)
-
tags/1.1.0/vendor/lite-youtube/lite-youtube.js (added)
-
trunk/css/lite-youtube-custom.css (modified) (2 diffs)
-
trunk/enhanced-embed-block.php (modified) (8 diffs)
-
trunk/readme.txt (modified) (4 diffs)
-
trunk/vendor (added)
-
trunk/vendor/lite-youtube (added)
-
trunk/vendor/lite-youtube/LICENSE (added)
-
trunk/vendor/lite-youtube/lite-youtube.js (added)
Legend:
- Unmodified
- Added
- Removed
-
enhanced-embed-block/tags/1.1.0/css/lite-youtube-custom.css
r3095750 r3116570 6 6 */ 7 7 lite-youtube { 8 display: block ; /* required for layout if JS fails to load */9 padding-bottom: 0 ; /* remove old method of aspect ratio */10 aspect-ratio: 16/9 ;8 display: block !important; /* required for layout if JS fails to load */ 9 padding-bottom: 0 !important; /* remove old method of aspect ratio */ 10 aspect-ratio: 16/9 !important; 11 11 } 12 12 13 13 .lite-youtube-fallback { 14 display: flex; 15 flex-direction: column; 16 justify-content: center; 17 align-items: center; 18 text-align: center; 19 gap: 5%; 20 aspect-ratio: 16/9; 21 padding: 5%; 22 background-color: #000; 23 text-decoration: none; 24 transition: opacity 0.15s ease-in-out; 25 opacity: 0.85; 14 --eeb-fallback-background: #000; 15 16 display: flex !important; 17 flex-direction: column !important; 18 justify-content: center !important; 19 align-items: center !important; 20 text-align: center !important; 21 gap: 5% !important; 22 aspect-ratio: 16/9 !important; 23 padding: 5% !important; 24 background-color: var(--eeb-fallback-background) !important; 25 text-decoration: none !important; 26 transition: opacity 0.15s ease-in-out !important; 26 27 } 27 28 28 29 .lite-youtube-fallback:hover { 29 opacity: 1; 30 text-decoration: underline !important; 31 } 32 .lite-youtube-fallback:hover::before { 33 transform: scale(1.1) !important; 34 } 35