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

163 lines 2.9 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: -45px;
53 right: 0;
54 font-size: 30px;
55 color: #fff;
56 cursor: pointer;
57 }
58
59 .eel-video-popup-btn {
60 border: none;
61 background: none;
62 margin: 0;
63 padding: 0;
64 display: flex;
65 align-items: center;
66 gap: 8px;
67 }
68 .eel-video-popup-btn svg,
69 .eel-video-popup-btn i {
70 height: 1em;
71 font-size: 20px;
72 }
73 .eel-video-popup-btn .eel-icon-wrap {
74 display: grid;
75 }
76
77 .eel-vicon-hide-show .eel-video-popup-btn {
78 opacity: 0;
79 visibility: hidden;
80 transition: all ease-in-out 0.4s;
81 transform: scale(1.2);
82 }
83 .eel-vicon-hide-show:hover .eel-video-popup-btn {
84 opacity: 1;
85 visibility: visible;
86 transform: scale(1);
87 }
88
89 .eel-glow-active .eel-icon-wrap {
90 border-radius: 100%;
91 box-sizing: border-box;
92 animation: glow-shadow 0.6s linear infinite;
93 overflow: hidden;
94 }
95
96 @keyframes glow-shadow {
97 0% {
98 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);
99 }
100 100% {
101 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 */
102 }
103 }
104 .eel-icon-wrap {
105 overflow: hidden;
106 position: relative;
107 }
108
109 .eel-icon-wrap .eel-overlay-play {
110 position: absolute;
111 top: 60px;
112 left: 0;
113 width: 100%;
114 height: 100%;
115 background: #121212;
116 color: #fff;
117 font-size: 14px;
118 display: flex;
119 align-items: center;
120 justify-content: center;
121 opacity: 0;
122 transition: all 0.3s ease;
123 }
124
125 .eel-icon-wrap:hover .eel-overlay-play {
126 opacity: 1;
127 top: 0;
128 }
129
130 /* Video Wrapper */
131 .eel-video-popup-wrapper {
132 position: relative;
133 }
134
135 /* Overlay Image */
136 .eel-video-overlay {
137 position: absolute;
138 width: 100%;
139 height: 100%;
140 background-position: center;
141 background-repeat: no-repeat;
142 cursor: pointer;
143 display: grid;
144 place-content: center;
145 z-index: 99;
146 }
147
148 /* Overlay Icon */
149 .eel-overlay-play-icon {
150 font-size: 25px; /* icon size */
151 color: #fff; /* icon color */
152 border: 4px solid #fff;
153 border-radius: 50%;
154 width: 90px;
155 height: 90px;
156 display: grid;
157 place-content: center;
158 }
159
160 /* Hide overlay when video is playing */
161 .eel-video-popup-wrapper video.playing + .eel-overlay-play-icon {
162 display: none;
163 }