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.scss

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

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