PluginProbe
Easy Elements for Elementor – Addons & Website Templates / 1.2.9
Easy Elements for Elementor – Addons & Website Templates v1.2.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 / gallery / css / gallery.scss

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

131 lines 2.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* === Gallery Grid === */
2 .eel-gallery-grid {
3 display: grid;
4 grid-template-columns: repeat(3, 1fr);
5 gap: 15px;
6 }
7
8 /* === Gallery Item === */
9 .eel-gallery-item {
10 position: relative;
11 overflow: hidden;
12 border-radius: 8px;
13 }
14
15 .eel-gallery-item a {
16 overflow: hidden;
17 display: block;
18 }
19
20 /* === Image === */
21 .eel-gallery-item img {
22 width: 100%;
23 height: auto;
24 display: block;
25 transition: transform 0.4s ease;
26 object-fit: cover;
27 }
28
29 .eel-gallery-item:hover img {
30 transform: scale(1.05);
31 }
32
33 /* === Hover Overlay === */
34 .eel-hover-content {
35 position: absolute;
36 inset: 0;
37 display: flex;
38 justify-content: center;
39 align-items: center;
40 opacity: 0;
41 transition: all 0.3s ease;
42 background: rgba(0, 0, 0, 0.55);
43 }
44
45 .eel-gallery-item:hover .eel-hover-content {
46 opacity: 1;
47 }
48
49 /* === Hover Text === */
50 .eel-hover-text span {
51 color: #fff;
52 font-size: 18px;
53 text-transform: capitalize;
54 letter-spacing: 0.5px;
55 }
56
57 /* === Hover Icon === */
58 .eel-hover-icon i,
59 .eel-hover-icon svg {
60 color: #fff;
61 font-size: 36px;
62 transition: transform 0.3s ease;
63 }
64
65 .eel-hover-icon:hover i,
66 .eel-hover-icon:hover svg {
67 transform: scale(1.2);
68 }
69 .eel-gallery-image-wrap{
70 position: relative;
71 overflow: hidden;
72 }
73 /* === Caption === */
74 .eel-gallery-caption {
75 position: absolute;
76 bottom: 0;
77 width: 100%;
78 background: rgba(0,0,0,0.6);
79 color: #fff;
80 text-align: center;
81 padding: 8px;
82 font-size: 14px;
83 opacity: 1;
84 transition: opacity 0.3s ease;
85 }
86
87
88 /* === Lightbox === */
89 .eel-lightbox-gallery {
90 display: none;
91 position: fixed;
92 z-index: 9999;
93 top: 0;
94 left: 0;
95 width: 100%;
96 height: 100%;
97 background: rgba(0,0,0,0.9);
98 justify-content: center;
99 align-items: center;
100 place-items: center;
101 }
102
103 .eel-lightbox-gallery img {
104 max-width: 90%;
105 max-height: 80%;
106 border-radius: 10px;
107 }
108
109 .eel-lightbox-gallery .eel-close {
110 position: absolute;
111 top: 15px;
112 right: 25px;
113 font-size: 35px;
114 color: white;
115 cursor: pointer;
116 }
117
118 .eel-lightbox-gallery button {
119 background: none;
120 border: none;
121 color: white;
122 font-size: 40px;
123 position: absolute;
124 top: 50%;
125 transform: translateY(-50%);
126 cursor: pointer;
127 }
128
129 .eel-prev { left: 40px; }
130 .eel-next { right: 40px; }
131