PluginProbe
Easy Elements for Elementor – Addons & Website Templates / 1.5.0
Easy Elements for Elementor – Addons & Website Templates v1.5.0
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.5.0, at widgets/video/css/video.css

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