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

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