PluginProbe
Easy Elements for Elementor – Addons & Website Templates / 1.3.7
Easy Elements for Elementor – Addons & Website Templates v1.3.7
1.5.3 1.5.2 1.5.1 1.5.0 1.4.9 1.4.6 1.4.7 1.4.8 1.4.5 1.4.4 1.4.3 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 All 47 releases
easy-elements / widgets / video / css / video.css

video.css in Easy Elements for Elementor – Addons & Website Templates 1.3.7, at widgets/video/css/video.css

177 lines 3.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 :root {
2 --glow-color: rgba(102, 102, 102, 0.1);
3 }
4
5 .eel-video-popup-overlay {
6 display: none;
7 position: fixed;
8 top: 0;
9 left: 0;
10 width: 100%;
11 height: 100%;
12 background: rgba(0, 0, 0, 0.8);
13 justify-content: center;
14 align-items: center;
15 z-index: 99999999;
16 }
17
18 .eel-normal-video {
19 width: 100%;
20 max-width: 800px;
21 margin-bottom: 20px;
22 }
23
24 .eel-video-popup-overlay.active {
25 display: flex;
26 }
27
28 .eel-video-popup-content {
29 position: relative;
30 width: 100%;
31 max-width: 1100px;
32 background: #000;
33 }
34
35 .eel-video-popup-iframe-wrapper {
36 position: relative;
37 height: 700px;
38 overflow: hidden;
39 }
40
41 .eel-video-popup-iframe-wrapper iframe,
42 .eel-video-popup-iframe-wrapper video {
43 position: absolute;
44 width: 100%;
45 height: 100%;
46 top: 0;
47 left: 0;
48 }
49
50 .eel-video-popup-close {
51 position: absolute;
52 top: -15px;
53 right: -18px;
54 font-size: 30px;
55 color: #fff;
56 cursor: pointer;
57 z-index: 1;
58 background: red;
59 border-radius: 50%;
60 width: 36px;
61 height: 36px;
62 display: grid;
63 place-content: center;
64 }
65
66 .eel-video-popup-btn {
67 border: none;
68 background: none;
69 margin: 0;
70 padding: 0;
71 display: flex;
72 align-items: center;
73 gap: 8px;
74 }
75 .eel-video-popup-btn svg,
76 .eel-video-popup-btn i {
77 height: 1em;
78 font-size: 20px;
79 }
80 .eel-video-popup-btn .eel-icon-wrap {
81 display: grid;
82 }
83
84 .eel-vicon-hide-show .eel-video-popup-btn {
85 opacity: 0;
86 visibility: hidden;
87 transition: all ease-in-out 0.4s;
88 transform: scale(1.2);
89 }
90 .eel-vicon-hide-show:hover .eel-video-popup-btn {
91 opacity: 1;
92 visibility: visible;
93 transform: scale(1);
94 }
95
96 .eel-glow-active .eel-icon-wrap {
97 border-radius: 100%;
98 box-sizing: border-box;
99 animation: glow-shadow 0.6s linear infinite;
100 overflow: hidden;
101 }
102
103 @keyframes glow-shadow {
104 0% {
105 box-shadow: 0 4px 10px var(--glow-color), 0 0 0 0 var(--glow-color), 0 0 0 5px var(--glow-color), 0 0 0 10px var(--glow-color);
106 }
107 100% {
108 box-shadow: 0 4px 10px var(--glow-color), 0 0 0 5px var(--glow-color), 0 0 0 10px var(--glow-color), 0 0 0 20px rgba(102, 102, 102, 0); /* fading out */
109 }
110 }
111 .eel-icon-wrap {
112 overflow: hidden;
113 position: relative;
114 }
115
116 .eel-icon-wrap .eel-overlay-play {
117 position: absolute;
118 top: 60px;
119 left: 0;
120 width: 100%;
121 height: 100%;
122 background: #121212;
123 color: #fff;
124 font-size: 14px;
125 display: flex;
126 align-items: center;
127 justify-content: center;
128 opacity: 0;
129 transition: all 0.3s ease;
130 }
131
132 .eel-icon-wrap:hover .eel-overlay-play {
133 opacity: 1;
134 top: 0;
135 }
136
137 /* Video Wrapper */
138 .eel-video-popup-wrapper {
139 position: relative;
140 }
141
142 /* Overlay Image */
143 .eel-video-overlay {
144 position: absolute;
145 width: 100%;
146 height: 100%;
147 background-position: center;
148 background-repeat: no-repeat;
149 cursor: pointer;
150 display: grid;
151 place-content: center;
152 z-index: 99;
153 }
154
155 /* Overlay Icon */
156 .eel-overlay-play-icon {
157 font-size: 25px; /* icon size */
158 color: #fff; /* icon color */
159 border: 4px solid #fff;
160 border-radius: 50%;
161 width: 90px;
162 height: 90px;
163 display: grid;
164 place-content: center;
165 }
166
167 /* Hide overlay when video is playing */
168 .eel-video-popup-wrapper video.playing + .eel-overlay-play-icon {
169 display: none;
170 }
171
172 @media only screen and (max-width: 768px) {
173 .eel-video-popup-close {
174 top: 30px;
175 right: 10px;
176 }
177 }