PluginProbe
Easy Elements for Elementor – Addons & Website Templates / 1.3.9
Easy Elements for Elementor – Addons & Website Templates v1.3.9
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.scss

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

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