| 1 |
/** |
| 2 |
* Master Addons - Modal Popup Frontend Styles |
| 3 |
* Frontend CSS for Popup Builder |
| 4 |
* |
| 5 |
* @package MasterAddons |
| 6 |
* @subpackage PopupBuilder |
| 7 |
*/ |
| 8 |
/* ============================================================ |
| 9 |
Popup Base Styles |
| 10 |
============================================================ */ |
| 11 |
body:not(.elementor-editor-active) .jltma-template-popup { |
| 12 |
display: none; |
| 13 |
} |
| 14 |
|
| 15 |
.jltma-template-popup { |
| 16 |
position: fixed; |
| 17 |
top: 0; |
| 18 |
left: 0; |
| 19 |
width: 100%; |
| 20 |
height: 100%; |
| 21 |
z-index: 99999999; |
| 22 |
} |
| 23 |
|
| 24 |
.jltma-template-popup-inner { |
| 25 |
display: -webkit-box; |
| 26 |
display: -ms-flexbox; |
| 27 |
display: flex; |
| 28 |
position: fixed; |
| 29 |
top: 0; |
| 30 |
left: 0; |
| 31 |
width: 100%; |
| 32 |
height: 100%; |
| 33 |
} |
| 34 |
|
| 35 |
/* ============================================================ |
| 36 |
Popup Container |
| 37 |
============================================================ */ |
| 38 |
.jltma-popup-container { |
| 39 |
position: relative; |
| 40 |
} |
| 41 |
.jltma-popup-container > div { |
| 42 |
width: 100%; |
| 43 |
} |
| 44 |
.jltma-popup-container .e-con > .e-con-inner { |
| 45 |
margin: 0; |
| 46 |
} |
| 47 |
|
| 48 |
.jltma-popup-custom-position .jltma-popup-container { |
| 49 |
position: fixed !important; |
| 50 |
transform: none !important; |
| 51 |
margin: 0 !important; |
| 52 |
} |
| 53 |
|
| 54 |
.jltma-popup-container-inner { |
| 55 |
display: -webkit-box; |
| 56 |
display: -ms-flexbox; |
| 57 |
display: flex; |
| 58 |
overflow: hidden; |
| 59 |
position: relative; |
| 60 |
background: #ffffff; |
| 61 |
padding: 0 !important; |
| 62 |
} |
| 63 |
.jltma-popup-container-inner > div { |
| 64 |
width: 100%; |
| 65 |
-ms-flex-negative: 0; |
| 66 |
flex-shrink: 0; |
| 67 |
} |
| 68 |
.jltma-popup-container-inner .e-con > .e-con-inner { |
| 69 |
padding: 0; |
| 70 |
} |
| 71 |
|
| 72 |
/* ============================================================ |
| 73 |
Popup Overlay |
| 74 |
============================================================ */ |
| 75 |
.jltma-popup-image-overlay { |
| 76 |
position: absolute; |
| 77 |
top: 0; |
| 78 |
left: 0; |
| 79 |
width: 100%; |
| 80 |
height: 100%; |
| 81 |
background: #ffffff; |
| 82 |
} |
| 83 |
|
| 84 |
.jltma-popup-overlay { |
| 85 |
position: absolute; |
| 86 |
top: 0; |
| 87 |
left: 0; |
| 88 |
z-index: -1; |
| 89 |
width: 100%; |
| 90 |
height: 100%; |
| 91 |
background: rgba(0, 0, 0, 0.7); |
| 92 |
} |
| 93 |
|
| 94 |
/* ============================================================ |
| 95 |
Close Button |
| 96 |
============================================================ */ |
| 97 |
.jltma-popup-close-btn { |
| 98 |
display: flex; |
| 99 |
position: absolute; |
| 100 |
top: 15px; |
| 101 |
right: 15px; |
| 102 |
z-index: 99; |
| 103 |
width: 30px; |
| 104 |
height: 30px; |
| 105 |
cursor: pointer; |
| 106 |
align-items: center; |
| 107 |
justify-content: center; |
| 108 |
background: #ffffff !important; |
| 109 |
border: 1px solid #e0e0e0 !important; |
| 110 |
border-radius: 50% !important; |
| 111 |
color: #6b7280; |
| 112 |
transition: all 0.2s ease; |
| 113 |
} |
| 114 |
.jltma-popup-close-btn:hover { |
| 115 |
background: #f3f4f6 !important; |
| 116 |
border-color: #d1d5db !important; |
| 117 |
color: #374151; |
| 118 |
} |
| 119 |
.jltma-popup-close-btn svg { |
| 120 |
width: 14px; |
| 121 |
height: 14px; |
| 122 |
color: inherit; |
| 123 |
pointer-events: none; |
| 124 |
} |
| 125 |
.jltma-popup-close-btn.jltma-popup-close-top-left { |
| 126 |
top: 15px; |
| 127 |
right: auto; |
| 128 |
left: 15px; |
| 129 |
} |
| 130 |
.jltma-popup-close-btn.jltma-popup-close-top-right { |
| 131 |
top: 15px; |
| 132 |
right: 15px; |
| 133 |
left: auto; |
| 134 |
} |
| 135 |
.jltma-popup-close-btn.jltma-popup-close-inside-top-left { |
| 136 |
top: 15px; |
| 137 |
right: auto; |
| 138 |
left: 15px; |
| 139 |
position: absolute; |
| 140 |
} |
| 141 |
.jltma-popup-close-btn.jltma-popup-close-inside-top-right { |
| 142 |
top: 15px; |
| 143 |
right: 15px; |
| 144 |
left: auto; |
| 145 |
position: absolute; |
| 146 |
} |
| 147 |
|
| 148 |
/* ============================================================ |
| 149 |
Notification Bar Style |
| 150 |
============================================================ */ |
| 151 |
.jltma-popup-notification.jltma-template-popup, |
| 152 |
.jltma-popup-notification .jltma-template-popup-inner { |
| 153 |
height: auto !important; |
| 154 |
} |
| 155 |
|
| 156 |
.jltma-popup-notification .jltma-popup-overlay { |
| 157 |
display: none !important; |
| 158 |
} |
| 159 |
|
| 160 |
.jltma-popup-notification .jltma-popup-container .slideInDown { |
| 161 |
-webkit-animation-timing-function: linear; |
| 162 |
animation-timing-function: linear; |
| 163 |
} |
| 164 |
|
| 165 |
.jltma-popup-notification .jltma-popup-container { |
| 166 |
width: 100% !important; |
| 167 |
-webkit-box-align: start !important; |
| 168 |
-ms-flex-align: start !important; |
| 169 |
align-items: flex-start !important; |
| 170 |
} |
| 171 |
|
| 172 |
/* ============================================================ |
| 173 |
Perfect Scrollbar Styles |
| 174 |
============================================================ */ |
| 175 |
.jltma-popup-container-inner.ps-container.ps-active-y > .ps-scrollbar-y-rail, |
| 176 |
.jltma-popup-container-inner.ps.ps--active-y > .ps__rail-y { |
| 177 |
display: block; |
| 178 |
background-color: transparent; |
| 179 |
} |
| 180 |
|
| 181 |
.jltma-popup-container-inner.ps-container > .ps-scrollbar-y-rail, |
| 182 |
.jltma-popup-container-inner.ps > .ps__rail-y { |
| 183 |
display: none; |
| 184 |
position: absolute; |
| 185 |
right: 3px; |
| 186 |
width: 3px; |
| 187 |
} |
| 188 |
|
| 189 |
.jltma-popup-container-inner.ps-container > .ps-scrollbar-y-rail > .ps-scrollbar-y, |
| 190 |
.jltma-popup-container-inner.ps > .ps__rail-y > .ps__thumb-y { |
| 191 |
position: absolute; |
| 192 |
cursor: pointer; |
| 193 |
right: 0; |
| 194 |
width: 3px; |
| 195 |
} |
| 196 |
|
| 197 |
.jltma-popup-container .ps-scrollbar-x-rail { |
| 198 |
display: none !important; |
| 199 |
} |
| 200 |
|
| 201 |
/* ============================================================ |
| 202 |
Trigger Button |
| 203 |
============================================================ */ |
| 204 |
.jltma-popup-trigger-button { |
| 205 |
display: inline-block; |
| 206 |
font-size: 14px; |
| 207 |
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; |
| 208 |
cursor: pointer; |
| 209 |
} |
| 210 |
.jltma-popup-trigger-button svg { |
| 211 |
display: block; |
| 212 |
} |
| 213 |
|
| 214 |
/* ============================================================ |
| 215 |
Position Classes |
| 216 |
============================================================ */ |
| 217 |
.jltma-popup-position-center-center .jltma-template-popup-inner { |
| 218 |
-webkit-box-align: center; |
| 219 |
-ms-flex-align: center; |
| 220 |
align-items: center; |
| 221 |
-webkit-box-pack: center; |
| 222 |
-ms-flex-pack: center; |
| 223 |
justify-content: center; |
| 224 |
} |
| 225 |
|
| 226 |
.jltma-popup-custom-position .jltma-template-popup-inner { |
| 227 |
-webkit-box-align: unset !important; |
| 228 |
-ms-flex-align: unset !important; |
| 229 |
align-items: unset !important; |
| 230 |
-webkit-box-pack: unset !important; |
| 231 |
-ms-flex-pack: unset !important; |
| 232 |
justify-content: unset !important; |
| 233 |
} |
| 234 |
|
| 235 |
.jltma-popup-position-center-left .jltma-template-popup-inner { |
| 236 |
-webkit-box-align: center; |
| 237 |
-ms-flex-align: center; |
| 238 |
align-items: center; |
| 239 |
-webkit-box-pack: start; |
| 240 |
-ms-flex-pack: start; |
| 241 |
justify-content: flex-start; |
| 242 |
} |
| 243 |
|
| 244 |
.jltma-popup-position-center-right .jltma-template-popup-inner { |
| 245 |
-webkit-box-align: center; |
| 246 |
-ms-flex-align: center; |
| 247 |
align-items: center; |
| 248 |
-webkit-box-pack: end; |
| 249 |
-ms-flex-pack: end; |
| 250 |
justify-content: flex-end; |
| 251 |
} |
| 252 |
|
| 253 |
.jltma-popup-position-top-left .jltma-template-popup-inner { |
| 254 |
-webkit-box-align: start; |
| 255 |
-ms-flex-align: start; |
| 256 |
align-items: flex-start; |
| 257 |
-webkit-box-pack: start; |
| 258 |
-ms-flex-pack: start; |
| 259 |
justify-content: flex-start; |
| 260 |
} |
| 261 |
|
| 262 |
.jltma-popup-position-top-center .jltma-template-popup-inner { |
| 263 |
-webkit-box-align: start; |
| 264 |
-ms-flex-align: start; |
| 265 |
align-items: flex-start; |
| 266 |
-webkit-box-pack: center; |
| 267 |
-ms-flex-pack: center; |
| 268 |
justify-content: center; |
| 269 |
} |
| 270 |
|
| 271 |
.jltma-popup-position-top-right .jltma-template-popup-inner { |
| 272 |
-webkit-box-align: start; |
| 273 |
-ms-flex-align: start; |
| 274 |
align-items: flex-start; |
| 275 |
-webkit-box-pack: end; |
| 276 |
-ms-flex-pack: end; |
| 277 |
justify-content: flex-end; |
| 278 |
} |
| 279 |
|
| 280 |
.jltma-popup-position-bottom-left .jltma-template-popup-inner { |
| 281 |
-webkit-box-align: end; |
| 282 |
-ms-flex-align: end; |
| 283 |
align-items: flex-end; |
| 284 |
-webkit-box-pack: start; |
| 285 |
-ms-flex-pack: start; |
| 286 |
justify-content: flex-start; |
| 287 |
} |
| 288 |
|
| 289 |
.jltma-popup-position-bottom-center .jltma-template-popup-inner { |
| 290 |
-webkit-box-align: end; |
| 291 |
-ms-flex-align: end; |
| 292 |
align-items: flex-end; |
| 293 |
-webkit-box-pack: center; |
| 294 |
-ms-flex-pack: center; |
| 295 |
justify-content: center; |
| 296 |
} |
| 297 |
|
| 298 |
.jltma-popup-position-bottom-right .jltma-template-popup-inner { |
| 299 |
-webkit-box-align: end; |
| 300 |
-ms-flex-align: end; |
| 301 |
align-items: flex-end; |
| 302 |
-webkit-box-pack: end; |
| 303 |
-ms-flex-pack: end; |
| 304 |
justify-content: flex-end; |
| 305 |
} |
| 306 |
|
| 307 |
/* ============================================================ |
| 308 |
Responsive Styles |
| 309 |
============================================================ */ |
| 310 |
@media (max-width: 1024px) { |
| 311 |
.jltma-template-popup { |
| 312 |
z-index: 999999; |
| 313 |
} |
| 314 |
} |
| 315 |
@media (max-width: 768px) { |
| 316 |
.jltma-popup-container { |
| 317 |
max-width: 95%; |
| 318 |
} |
| 319 |
.jltma-popup-close-btn svg { |
| 320 |
width: 14px; |
| 321 |
height: 14px; |
| 322 |
} |
| 323 |
} |
| 324 |
@media (max-width: 480px) { |
| 325 |
.jltma-popup-container { |
| 326 |
max-width: 98%; |
| 327 |
} |
| 328 |
} |
| 329 |
/* ============================================================ |
| 330 |
Helper Classes |
| 331 |
============================================================ */ |
| 332 |
.jltma-template-popup-show, |
| 333 |
.jltma-popup-open { |
| 334 |
display: block !important; |
| 335 |
} |
| 336 |
|
| 337 |
body.jltma-popup-open { |
| 338 |
overflow: hidden; |
| 339 |
} |