PluginProbe ʕ •ᴥ•ʔ
EmbedPress – PDF Embedder, Embed PDF viewer, YouTube Videos, 3D FlipBook, Social feeds & more / 4.5.4
EmbedPress – PDF Embedder, Embed PDF viewer, YouTube Videos, 3D FlipBook, Social feeds & more v4.5.4
4.5.6 4.5.5 4.5.4 4.5.3 4.5.2 trunk 1.0.0 1.1.0 1.1.1 1.1.2 1.1.3 1.2.0 1.3.0 1.3.1 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.5.0 1.6.0 1.6.1 1.6.2 1.6.3 1.7.0 1.7.1 1.7.2 1.7.3 1.7.4 1.7.5 2.0.0 2.0.1 2.0.2 2.0.3 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.2.0 2.2.1 2.2.2 2.3.0 2.3.1 2.3.2 2.3.3 2.4.0 2.4.1 2.5.0 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 2.6.0 2.6.1 2.6.2 2.7.0 2.7.1 2.7.2 2.7.3 2.7.4 2.7.5 2.7.6 2.7.7 3.0.0 3.0.1 3.0.2 3.0.3 3.0.4 3.1.0 3.1.1 3.1.2 3.1.3 3.2.0 3.2.1 3.3.0 3.3.1 3.3.2 3.3.3 3.3.4 3.3.5 3.3.6 3.3.7 3.4.0 3.4.1 3.4.2 3.4.3 3.5.0 3.5.1 3.5.2 3.5.3 3.6.0 3.6.1 3.6.2 3.6.3 3.6.4 3.6.5 3.6.6 3.6.7 3.6.8 3.7.0 3.7.1 3.7.2 3.7.3 3.8.0 3.8.1 3.8.2 3.8.3 3.8.4 3.8.5 3.9.0 3.9.1 3.9.10 3.9.11 3.9.12 3.9.13 3.9.14 3.9.15 3.9.16 3.9.17 3.9.2 3.9.3 3.9.4 3.9.5 3.9.6 3.9.7 3.9.8 3.9.9 4.0.0 4.0.1 4.0.10 4.0.11 4.0.12 4.0.13 4.0.14 4.0.2 4.0.3 4.0.4 4.0.5 4.0.6 4.0.7 4.0.8 4.0.9 4.1.0 4.1.1 4.1.10 4.1.2 4.1.3 4.1.4 4.1.5 4.1.6 4.1.7 4.1.8 4.1.9 4.2.0 4.2.1 4.2.2 4.2.3 4.2.4 4.2.5 4.2.6 4.2.7 4.2.8 4.2.9 4.3.0 4.3.1 4.4.0 4.4.1 4.4.10 4.4.11 4.4.2 4.4.3 4.4.4 4.4.5 4.4.6 4.4.7 4.4.8 4.4.9 4.5.0 4.5.1
embedpress / assets / css / lazy-load.css
embedpress / assets / css Last commit date
fonts 9 months ago vendor 8 months ago admin-notices.css 2 months ago admin.build.css 2 months ago admin.css 8 months ago analytics.build.css 1 month ago blocks.build.css 1 month ago carousel.min.css 2 years ago custom-player.build.css 1 month ago el-icon.css 3 months ago embedpress-elementor.css 2 years ago embedpress.css 1 month ago ep-pdf-lightbox.css 3 months ago feature-notices.css 8 months ago font.css 7 years ago glider.min.css 2 years ago index.html 7 years ago instagram-shortcode-generator.css 1 month ago lazy-load.css 6 months ago meetup-events.css 8 months ago modal.css 8 months ago onboarding.build.css 2 months ago pdf-gallery.css 3 months ago plyr.css 9 months ago preview.css 6 years ago settings-icons.css 9 months ago settings.css 1 month ago
lazy-load.css
120 lines
1 /**
2 * EmbedPress Lazy Load Styles
3 *
4 * Styles for lazy loading placeholders and transitions
5 *
6 * @package EmbedPress
7 * @since 4.0.0
8 */
9
10 /* Lazy load placeholder */
11 .ep-lazy-iframe-placeholder, .ose-embedpress-responsive iframe {
12 display: block;
13 position: relative;
14 background: #f5f5f5;
15 border: 1px solid #e0e0e0;
16 border-radius: 4px;
17 overflow: hidden;
18 transition: opacity 0.3s ease-in-out;
19 }
20
21 /* Maintain aspect ratio and prevent layout shift */
22 .ep-lazy-iframe-placeholder::before, .ose-embedpress-responsive iframe::before {
23 content: '';
24 display: block;
25 padding-top: 56.25%; /* 16:9 aspect ratio by default */
26 }
27
28 /* Loading spinner */
29 .ep-lazy-iframe-placeholder::after, .ose-embedpress-responsive iframe::after {
30 content: '';
31 position: absolute;
32 top: 50%;
33 left: 50%;
34 width: 40px;
35 height: 40px;
36 margin: -20px 0 0 -20px;
37 border: 3px solid #e0e0e0;
38 border-top-color: #5B4E96;
39 border-radius: 50%;
40 animation: ep-lazy-spin 0.8s linear infinite;
41 }
42
43 /* Loading state */
44 .ep-lazy-loading {
45 opacity: 0.7;
46 }
47
48 /* Loaded state - iframe is now visible */
49 .ep-lazy-loaded {
50 opacity: 1;
51 animation: ep-lazy-fade-in 0.3s ease-in-out;
52 }
53
54 /* Fade in animation */
55 @keyframes ep-lazy-fade-in {
56 from {
57 opacity: 0;
58 }
59 to {
60 opacity: 1;
61 }
62 }
63
64 /* Error state */
65 .ep-lazy-error {
66 background: #ffebee;
67 border-color: #ef5350;
68 }
69
70 .ep-lazy-error::after {
71 content: '';
72 font-size: 40px;
73 color: #ef5350;
74 border: none;
75 animation: none;
76 width: auto;
77 height: auto;
78 margin: -20px 0 0 -20px;
79 }
80
81 /* Spinner animation */
82 @keyframes ep-lazy-spin {
83 0% {
84 transform: rotate(0deg);
85 }
86 100% {
87 transform: rotate(360deg);
88 }
89 }
90
91 /* Ensure iframes loaded via lazy load maintain proper sizing */
92 iframe[data-ep-lazy-loaded="true"] {
93 display: block;
94 max-width: 100%;
95 }
96
97 /* Responsive adjustments */
98 @media (max-width: 768px) {
99 .ep-lazy-iframe-placeholder::after {
100 width: 30px;
101 height: 30px;
102 margin: -15px 0 0 -15px;
103 border-width: 2px;
104 }
105 }
106
107 /* Dark mode support */
108 /* @media (prefers-color-scheme: dark) {
109 .ep-lazy-iframe-placeholder {
110 background: #2a2a2a;
111 border-color: #404040;
112 }
113
114 .ep-lazy-iframe-placeholder::after {
115 border-color: #404040;
116 border-top-color: #8B7EC8;
117 }
118 } */
119
120