| 1 |
.jltma-admin .jltma-popup-admin .jltma-popup-list-container { |
| 2 |
margin-top: 20px; |
| 3 |
} |
| 4 |
.jltma-admin .jltma-popup-admin .jltma-popup-status { |
| 5 |
display: inline-block; |
| 6 |
padding: 4px 8px; |
| 7 |
border-radius: 3px; |
| 8 |
font-size: 11px; |
| 9 |
font-weight: 600; |
| 10 |
text-transform: uppercase; |
| 11 |
} |
| 12 |
.jltma-admin .jltma-popup-admin .jltma-popup-status-active { |
| 13 |
background-color: #00cd00; |
| 14 |
color: #ffffff; |
| 15 |
} |
| 16 |
.jltma-admin .jltma-popup-admin .jltma-popup-status-inactive { |
| 17 |
background-color: #e61414; |
| 18 |
color: #ffffff; |
| 19 |
} |
| 20 |
.jltma-admin .jltma-popup-admin .jltma-shortcode-display { |
| 21 |
background: #f0f0f1; |
| 22 |
padding: 4px 8px; |
| 23 |
border-radius: 3px; |
| 24 |
font-family: monospace; |
| 25 |
font-size: 12px; |
| 26 |
display: inline-block; |
| 27 |
margin-bottom: 5px; |
| 28 |
} |
| 29 |
.jltma-admin .jltma-popup-admin .jltma-copy-shortcode { |
| 30 |
color: #2271b1; |
| 31 |
text-decoration: none; |
| 32 |
font-size: 12px; |
| 33 |
display: inline-flex; |
| 34 |
align-items: center; |
| 35 |
gap: 4px; |
| 36 |
transition: color 0.2s ease; |
| 37 |
} |
| 38 |
.jltma-admin .jltma-popup-admin .jltma-copy-shortcode:hover { |
| 39 |
color: #135e96; |
| 40 |
} |
| 41 |
.jltma-admin .jltma-popup-admin .jltma-copy-shortcode .dashicons { |
| 42 |
font-size: 16px; |
| 43 |
width: 16px; |
| 44 |
height: 16px; |
| 45 |
} |
| 46 |
.jltma-admin .jltma-popup-admin .jltma-popup-edit-conditions { |
| 47 |
color: #2271b1; |
| 48 |
text-decoration: none; |
| 49 |
font-size: 13px; |
| 50 |
} |
| 51 |
.jltma-admin .jltma-popup-admin .jltma-popup-edit-conditions:hover { |
| 52 |
color: #135e96; |
| 53 |
text-decoration: underline; |
| 54 |
} |
| 55 |
.jltma-admin .jltma-popup-admin .jltma-popup-conditions { |
| 56 |
font-size: 12px; |
| 57 |
color: #50575e; |
| 58 |
} |
| 59 |
.jltma-admin .jltma-popup-admin .jltma-templates-container { |
| 60 |
padding: 30px; |
| 61 |
max-height: 70vh; |
| 62 |
overflow-y: auto; |
| 63 |
} |
| 64 |
.jltma-admin .jltma-popup-admin .jltma-templates-grid { |
| 65 |
display: grid; |
| 66 |
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); |
| 67 |
gap: 20px; |
| 68 |
} |
| 69 |
.jltma-admin .jltma-popup-admin .jltma-template-item { |
| 70 |
border: 1px solid #e1e8ed; |
| 71 |
border-radius: 8px; |
| 72 |
overflow: hidden; |
| 73 |
background: #fff; |
| 74 |
transition: all 0.3s ease; |
| 75 |
} |
| 76 |
.jltma-admin .jltma-popup-admin .jltma-template-item:hover { |
| 77 |
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); |
| 78 |
transform: translateY(-2px); |
| 79 |
} |
| 80 |
.jltma-admin .jltma-popup-admin .jltma-template-preview .jltma-template-thumbnail { |
| 81 |
height: 200px; |
| 82 |
overflow: hidden; |
| 83 |
position: relative; |
| 84 |
} |
| 85 |
.jltma-admin .jltma-popup-admin .jltma-template-preview .jltma-template-thumbnail .jltma-template-demo { |
| 86 |
transform: scale(0.8); |
| 87 |
transform-origin: top left; |
| 88 |
width: 125%; |
| 89 |
height: 125%; |
| 90 |
} |
| 91 |
.jltma-admin .jltma-popup-admin .jltma-template-preview .jltma-template-info { |
| 92 |
padding: 20px; |
| 93 |
} |
| 94 |
.jltma-admin .jltma-popup-admin .jltma-template-preview .jltma-template-info h4 { |
| 95 |
margin: 0 0 10px 0; |
| 96 |
font-size: 16px; |
| 97 |
font-weight: 600; |
| 98 |
color: #333; |
| 99 |
} |
| 100 |
.jltma-admin .jltma-popup-admin .jltma-template-preview .jltma-template-info p { |
| 101 |
margin: 0; |
| 102 |
font-size: 14px; |
| 103 |
color: #666; |
| 104 |
line-height: 1.4; |
| 105 |
} |
| 106 |
.jltma-admin .jltma-popup-admin .jltma-template-actions { |
| 107 |
padding: 20px; |
| 108 |
border-top: 1px solid #f0f0f1; |
| 109 |
text-align: center; |
| 110 |
} |
| 111 |
.jltma-admin .jltma-popup-admin .jltma-template-actions .jltma-use-template { |
| 112 |
background: #2271b1; |
| 113 |
color: #fff; |
| 114 |
border: none; |
| 115 |
padding: 12px 24px; |
| 116 |
border-radius: 4px; |
| 117 |
font-size: 14px; |
| 118 |
font-weight: 500; |
| 119 |
cursor: pointer; |
| 120 |
transition: background 0.3s ease; |
| 121 |
} |
| 122 |
.jltma-admin .jltma-popup-admin .jltma-template-actions .jltma-use-template:hover { |
| 123 |
background: #135e96; |
| 124 |
} |
| 125 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal *, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal * { |
| 126 |
box-sizing: border-box; |
| 127 |
} |
| 128 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal { |
| 129 |
position: fixed; |
| 130 |
top: 0; |
| 131 |
left: 0; |
| 132 |
width: 100%; |
| 133 |
height: 100%; |
| 134 |
z-index: 999997; |
| 135 |
display: flex; |
| 136 |
align-items: center; |
| 137 |
justify-content: center; |
| 138 |
opacity: 0; |
| 139 |
visibility: hidden; |
| 140 |
pointer-events: none; |
| 141 |
transition: opacity 0.2s ease, visibility 0.2s ease; |
| 142 |
} |
| 143 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal.show, .jltma-admin .jltma-popup-admin .show#jltma_popup_templates_modal { |
| 144 |
opacity: 1; |
| 145 |
visibility: visible; |
| 146 |
pointer-events: auto; |
| 147 |
} |
| 148 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal.show .jltma-modal-content, .jltma-admin .jltma-popup-admin .show#jltma_popup_templates_modal .jltma-modal-content { |
| 149 |
transform: translateY(0); |
| 150 |
} |
| 151 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal.loading .jltma-pop-contents-body::before, .jltma-admin .jltma-popup-admin .loading#jltma_popup_templates_modal .jltma-pop-contents-body::before { |
| 152 |
opacity: 0.5; |
| 153 |
position: absolute; |
| 154 |
content: ""; |
| 155 |
top: 0; |
| 156 |
left: 0; |
| 157 |
width: 100%; |
| 158 |
height: 100%; |
| 159 |
background: #fff; |
| 160 |
z-index: 9999; |
| 161 |
} |
| 162 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal.loading .jltma-spinner, .jltma-admin .jltma-popup-admin .loading#jltma_popup_templates_modal .jltma-spinner { |
| 163 |
opacity: 1; |
| 164 |
visibility: visible; |
| 165 |
} |
| 166 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-spinner, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-spinner { |
| 167 |
position: absolute; |
| 168 |
top: 50%; |
| 169 |
left: 50%; |
| 170 |
transform: translate(-50%, -50%); |
| 171 |
width: 40px; |
| 172 |
height: 40px; |
| 173 |
border: 4px solid #f3f3f3; |
| 174 |
border-top: 4px solid #2271b1; |
| 175 |
border-radius: 50%; |
| 176 |
animation: spin 1s linear infinite; |
| 177 |
opacity: 0; |
| 178 |
visibility: hidden; |
| 179 |
transition: opacity 0.3s ease; |
| 180 |
z-index: 10000; |
| 181 |
} |
| 182 |
@keyframes spin { |
| 183 |
0% { |
| 184 |
transform: translate(-50%, -50%) rotate(0deg); |
| 185 |
} |
| 186 |
100% { |
| 187 |
transform: translate(-50%, -50%) rotate(360deg); |
| 188 |
} |
| 189 |
} |
| 190 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-modal-backdrop, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-modal-backdrop { |
| 191 |
position: fixed; |
| 192 |
top: 0; |
| 193 |
left: 0; |
| 194 |
width: 100%; |
| 195 |
height: 100%; |
| 196 |
background-color: rgba(0, 0, 0, 0.7); |
| 197 |
z-index: 999998; |
| 198 |
} |
| 199 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-modal-dialog, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-modal-dialog { |
| 200 |
position: relative; |
| 201 |
z-index: 999999; |
| 202 |
display: flex; |
| 203 |
align-items: center; |
| 204 |
justify-content: center; |
| 205 |
min-height: 100vh; |
| 206 |
padding: 20px; |
| 207 |
} |
| 208 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-modal-content, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-modal-content { |
| 209 |
background: #fff; |
| 210 |
border-radius: 5px; |
| 211 |
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); |
| 212 |
width: 800px; |
| 213 |
max-width: 90vw; |
| 214 |
max-height: 90vh; |
| 215 |
overflow: hidden; |
| 216 |
transform: translateY(-20px); |
| 217 |
transition: transform 0.2s ease; |
| 218 |
display: flex; |
| 219 |
flex-direction: column; |
| 220 |
} |
| 221 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-modal-content-area, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-modal-content-area { |
| 222 |
flex: 1; |
| 223 |
display: flex; |
| 224 |
flex-direction: column; |
| 225 |
overflow: hidden; |
| 226 |
min-height: 0; |
| 227 |
} |
| 228 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-pop-contents-body, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-pop-contents-body { |
| 229 |
flex: 1; |
| 230 |
display: flex; |
| 231 |
flex-direction: column; |
| 232 |
overflow: hidden; |
| 233 |
position: relative; |
| 234 |
} |
| 235 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-pop-contents-padding, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-pop-contents-padding { |
| 236 |
flex: 1; |
| 237 |
display: flex; |
| 238 |
flex-direction: column; |
| 239 |
overflow: hidden; |
| 240 |
min-height: 0; |
| 241 |
} |
| 242 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal #jltma_popup_modal_form, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal #jltma_popup_modal_form { |
| 243 |
display: flex; |
| 244 |
flex-direction: column; |
| 245 |
height: 100%; |
| 246 |
min-height: 0; |
| 247 |
flex: 1; |
| 248 |
} |
| 249 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-row, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-row { |
| 250 |
display: flex; |
| 251 |
flex-wrap: wrap; |
| 252 |
margin-left: -15px; |
| 253 |
margin-right: -15px; |
| 254 |
} |
| 255 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-col-6, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-col-6 { |
| 256 |
flex: 0 0 50%; |
| 257 |
max-width: 50%; |
| 258 |
padding-left: 15px; |
| 259 |
padding-right: 15px; |
| 260 |
} |
| 261 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-form-group, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-form-group { |
| 262 |
margin-bottom: 1rem; |
| 263 |
} |
| 264 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-form-group.mb-2, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-form-group.mb-2 { |
| 265 |
margin-bottom: 0.5rem; |
| 266 |
} |
| 267 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-form-group label, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-form-group label { |
| 268 |
display: block; |
| 269 |
margin-bottom: 0.5rem; |
| 270 |
font-weight: 600; |
| 271 |
color: #495057; |
| 272 |
} |
| 273 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-form-group .jltma-form-control, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-form-group .jltma-form-control { |
| 274 |
display: block; |
| 275 |
width: 100%; |
| 276 |
padding: 0.375rem 0.75rem; |
| 277 |
font-size: 1rem; |
| 278 |
line-height: 1.5; |
| 279 |
color: #495057; |
| 280 |
background-color: #fff; |
| 281 |
background-clip: padding-box; |
| 282 |
border: 1px solid #ced4da; |
| 283 |
border-radius: 0.25rem; |
| 284 |
transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; |
| 285 |
} |
| 286 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-form-group .jltma-form-control:focus, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-form-group .jltma-form-control:focus { |
| 287 |
color: #495057; |
| 288 |
background-color: #fff; |
| 289 |
border-color: #80bdff; |
| 290 |
outline: 0; |
| 291 |
box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); |
| 292 |
} |
| 293 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-tab-nav, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-tab-nav { |
| 294 |
display: flex; |
| 295 |
border-bottom: 1px solid #e9ecef; |
| 296 |
background: #f8f9fa; |
| 297 |
} |
| 298 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-tab-nav .jltma-tab-button, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-tab-nav .jltma-tab-button { |
| 299 |
padding: 15px 25px; |
| 300 |
background: transparent; |
| 301 |
border: none; |
| 302 |
border-bottom: 3px solid transparent; |
| 303 |
cursor: pointer; |
| 304 |
font-size: 14px; |
| 305 |
font-weight: 500; |
| 306 |
color: #6c757d; |
| 307 |
transition: all 0.3s ease; |
| 308 |
} |
| 309 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-tab-nav .jltma-tab-button:hover, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-tab-nav .jltma-tab-button:hover { |
| 310 |
color: #495057; |
| 311 |
background: rgba(0, 0, 0, 0.05); |
| 312 |
} |
| 313 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-tab-nav .jltma-tab-button.active, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-tab-nav .jltma-tab-button.active { |
| 314 |
color: #2271b1; |
| 315 |
border-bottom-color: #2271b1; |
| 316 |
background: #fff; |
| 317 |
} |
| 318 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-tab-content, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-tab-content { |
| 319 |
display: none; |
| 320 |
flex: 1; |
| 321 |
overflow-y: auto; |
| 322 |
padding: 30px; |
| 323 |
} |
| 324 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-tab-content.active, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-tab-content.active { |
| 325 |
display: block; |
| 326 |
} |
| 327 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jtlma-mega-switcher input[type=checkbox], .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jtlma-mega-switcher input[type=checkbox] { |
| 328 |
display: none; |
| 329 |
} |
| 330 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jtlma-mega-switcher label, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jtlma-mega-switcher label { |
| 331 |
cursor: pointer; |
| 332 |
text-indent: -9999px; |
| 333 |
width: 65px; |
| 334 |
height: 30px; |
| 335 |
background: #aaa; |
| 336 |
display: block; |
| 337 |
border-radius: 100px; |
| 338 |
position: relative; |
| 339 |
} |
| 340 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jtlma-mega-switcher label:after, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jtlma-mega-switcher label:after { |
| 341 |
content: ""; |
| 342 |
position: absolute; |
| 343 |
top: 2px; |
| 344 |
left: 2px; |
| 345 |
width: 26px; |
| 346 |
height: 26px; |
| 347 |
background: #fff; |
| 348 |
border-radius: 90px; |
| 349 |
transition: 0.3s; |
| 350 |
} |
| 351 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jtlma-mega-switcher input:checked + label, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jtlma-mega-switcher input:checked + label { |
| 352 |
background: #2271b1; |
| 353 |
} |
| 354 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jtlma-mega-switcher input:checked + label:after, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jtlma-mega-switcher input:checked + label:after { |
| 355 |
left: calc(100% - 2px); |
| 356 |
transform: translateX(-100%); |
| 357 |
} |
| 358 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jtlma-mega-switcher label:active:after, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jtlma-mega-switcher label:active:after { |
| 359 |
width: 30px; |
| 360 |
} |
| 361 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-modal-footer, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-modal-footer { |
| 362 |
background: #f8f9fa; |
| 363 |
border-top: 1px solid #e9ecef; |
| 364 |
border-radius: 0 0 8px 8px; |
| 365 |
padding: 20px 30px; |
| 366 |
display: flex; |
| 367 |
justify-content: flex-end; |
| 368 |
gap: 15px; |
| 369 |
margin-top: auto; |
| 370 |
flex-shrink: 0; |
| 371 |
} |
| 372 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-modal-footer .jltma-save-btn, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-modal-footer .jltma-save-btn { |
| 373 |
padding: 12px 24px; |
| 374 |
border: none; |
| 375 |
border-radius: 4px; |
| 376 |
cursor: pointer; |
| 377 |
font-size: 14px; |
| 378 |
font-weight: 500; |
| 379 |
text-decoration: none; |
| 380 |
display: inline-flex; |
| 381 |
align-items: center; |
| 382 |
gap: 8px; |
| 383 |
transition: all 0.3s ease; |
| 384 |
} |
| 385 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-modal-footer .jltma-save-btn.jltma-color-two, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-modal-footer .jltma-save-btn.jltma-color-two { |
| 386 |
background: #2271b1; |
| 387 |
color: #fff; |
| 388 |
} |
| 389 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-modal-footer .jltma-save-btn.jltma-color-two:hover, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-modal-footer .jltma-save-btn.jltma-color-two:hover { |
| 390 |
background: #135e96; |
| 391 |
} |
| 392 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-modal-footer .jltma-save-btn.jltma-color-three, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-modal-footer .jltma-save-btn.jltma-color-three { |
| 393 |
background: #f0f0f1; |
| 394 |
color: #2c3338; |
| 395 |
} |
| 396 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-modal-footer .jltma-save-btn.jltma-color-three:hover, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-modal-footer .jltma-save-btn.jltma-color-three:hover { |
| 397 |
background: #e0e0e1; |
| 398 |
} |
| 399 |
@media (max-width: 768px) { |
| 400 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-modal-dialog, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-modal-dialog { |
| 401 |
min-width: auto; |
| 402 |
max-width: 100%; |
| 403 |
} |
| 404 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-row .jltma-col-6, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-row .jltma-col-6 { |
| 405 |
flex: 0 0 100%; |
| 406 |
max-width: 100%; |
| 407 |
} |
| 408 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-modal-footer, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-modal-footer { |
| 409 |
flex-direction: column; |
| 410 |
} |
| 411 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-modal-footer .jltma-save-btn, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-modal-footer .jltma-save-btn { |
| 412 |
width: 100%; |
| 413 |
justify-content: center; |
| 414 |
} |
| 415 |
} |
| 416 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-pop-contents-head, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-pop-contents-head { |
| 417 |
background: #f8f9fa; |
| 418 |
color: #495057; |
| 419 |
padding: 10px 30px 10px 20px; |
| 420 |
border-radius: 8px 8px 0 0; |
| 421 |
border-bottom: 1px solid #e9ecef; |
| 422 |
display: flex; |
| 423 |
flex-direction: column; |
| 424 |
} |
| 425 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-pop-contents-head .jltma-header-top, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-pop-contents-head .jltma-header-top { |
| 426 |
display: flex; |
| 427 |
justify-content: space-between; |
| 428 |
align-items: center; |
| 429 |
} |
| 430 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-pop-contents-head .jltma-popup-head-content, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-pop-contents-head .jltma-popup-head-content, |
| 431 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-pop-contents-head .jltma-pop-close, |
| 432 |
.jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-pop-contents-head .jltma-pop-close { |
| 433 |
display: flex; |
| 434 |
align-items: center; |
| 435 |
} |
| 436 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-pop-contents-head h3, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-pop-contents-head h3 { |
| 437 |
margin: 0; |
| 438 |
color: #495057; |
| 439 |
font-size: 18px; |
| 440 |
font-weight: 600; |
| 441 |
} |
| 442 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-popup-head-content h3, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-popup-head-content h3 { |
| 443 |
margin: 0; |
| 444 |
color: #495057; |
| 445 |
font-size: 18px; |
| 446 |
font-weight: 600; |
| 447 |
} |
| 448 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-pop-close .close-btn, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-pop-close .close-btn { |
| 449 |
background: rgba(73, 80, 87, 0.1); |
| 450 |
border: none; |
| 451 |
color: #6c757d; |
| 452 |
font-size: 20px; |
| 453 |
width: 30px; |
| 454 |
height: 30px; |
| 455 |
border-radius: 50%; |
| 456 |
cursor: pointer; |
| 457 |
display: flex; |
| 458 |
align-items: center; |
| 459 |
justify-content: center; |
| 460 |
transition: background-color 0.2s ease; |
| 461 |
outline: none; |
| 462 |
box-shadow: none; |
| 463 |
} |
| 464 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-pop-close .close-btn:hover, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-pop-close .close-btn:hover { |
| 465 |
background: rgba(73, 80, 87, 0.2); |
| 466 |
color: #495057; |
| 467 |
} |
| 468 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-conditions-header, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-conditions-header { |
| 469 |
text-align: center; |
| 470 |
} |
| 471 |
.jltma-admin .jltma-popup-admin #jltma_popup_modal .jltma-conditions-header h3, .jltma-admin .jltma-popup-admin #jltma_popup_templates_modal .jltma-conditions-header h3 { |
| 472 |
color: #2271b1; |
| 473 |
} |
| 474 |
.jltma-admin #jltma_popup_templates_modal .jltma-modal-content { |
| 475 |
width: 1000px; |
| 476 |
max-width: 95vw; |
| 477 |
} |
| 478 |
.jltma-admin #jltma_popup_templates_modal .jltma-templates-container { |
| 479 |
padding: 30px; |
| 480 |
max-height: 70vh; |
| 481 |
overflow-y: auto; |
| 482 |
} |
| 483 |
.jltma-admin #jltma_popup_templates_modal .jltma-templates-grid { |
| 484 |
display: grid; |
| 485 |
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); |
| 486 |
gap: 25px; |
| 487 |
} |
| 488 |
.jltma-admin #jltma_popup_templates_modal .jltma-template-item { |
| 489 |
border: 1px solid #e1e8ed; |
| 490 |
border-radius: 8px; |
| 491 |
overflow: hidden; |
| 492 |
background: #fff; |
| 493 |
transition: all 0.3s ease; |
| 494 |
cursor: pointer; |
| 495 |
} |
| 496 |
.jltma-admin #jltma_popup_templates_modal .jltma-template-item:hover { |
| 497 |
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); |
| 498 |
transform: translateY(-3px); |
| 499 |
border-color: #2271b1; |
| 500 |
} |
| 501 |
.jltma-admin #jltma_popup_templates_modal .jltma-template-preview .jltma-template-thumbnail { |
| 502 |
height: 180px; |
| 503 |
overflow: hidden; |
| 504 |
position: relative; |
| 505 |
background: #f8f9fa; |
| 506 |
} |
| 507 |
.jltma-admin #jltma_popup_templates_modal .jltma-template-preview .jltma-template-thumbnail .jltma-template-demo { |
| 508 |
transform: scale(0.7); |
| 509 |
transform-origin: top left; |
| 510 |
width: 143%; |
| 511 |
height: 143%; |
| 512 |
pointer-events: none; |
| 513 |
} |
| 514 |
.jltma-admin #jltma_popup_templates_modal .jltma-template-preview .jltma-template-info { |
| 515 |
padding: 20px; |
| 516 |
} |
| 517 |
.jltma-admin #jltma_popup_templates_modal .jltma-template-preview .jltma-template-info h4 { |
| 518 |
margin: 0 0 8px 0; |
| 519 |
font-size: 16px; |
| 520 |
font-weight: 600; |
| 521 |
color: #2c3338; |
| 522 |
} |
| 523 |
.jltma-admin #jltma_popup_templates_modal .jltma-template-preview .jltma-template-info p { |
| 524 |
margin: 0; |
| 525 |
font-size: 13px; |
| 526 |
color: #757575; |
| 527 |
line-height: 1.4; |
| 528 |
} |
| 529 |
.jltma-admin #jltma_popup_templates_modal .jltma-template-actions { |
| 530 |
padding: 20px; |
| 531 |
border-top: 1px solid #f0f0f1; |
| 532 |
text-align: center; |
| 533 |
} |
| 534 |
.jltma-admin #jltma_popup_templates_modal .jltma-template-actions .jltma-use-template { |
| 535 |
background: #2271b1; |
| 536 |
color: #fff; |
| 537 |
border: none; |
| 538 |
padding: 12px 24px; |
| 539 |
border-radius: 4px; |
| 540 |
font-size: 14px; |
| 541 |
font-weight: 500; |
| 542 |
cursor: pointer; |
| 543 |
transition: background 0.3s ease; |
| 544 |
width: 100%; |
| 545 |
} |
| 546 |
.jltma-admin #jltma_popup_templates_modal .jltma-template-actions .jltma-use-template:hover { |
| 547 |
background: #135e96; |
| 548 |
} |
| 549 |
@media (max-width: 768px) { |
| 550 |
.jltma-admin #jltma_popup_templates_modal .jltma-templates-grid { |
| 551 |
grid-template-columns: 1fr; |
| 552 |
gap: 20px; |
| 553 |
} |
| 554 |
.jltma-admin #jltma_popup_templates_modal .jltma-templates-container { |
| 555 |
padding: 20px; |
| 556 |
} |
| 557 |
} |
| 558 |
|
| 559 |
.elementor-editor-active .jltma-popup-canvas { |
| 560 |
position: relative; |
| 561 |
width: 100%; |
| 562 |
max-width: 1140px; |
| 563 |
margin: 0 auto; |
| 564 |
background: #fff; |
| 565 |
box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); |
| 566 |
min-height: 500px; |
| 567 |
} |
| 568 |
.elementor-editor-active .jltma-popup-canvas.jltma-popup-type-modal { |
| 569 |
max-width: 600px; |
| 570 |
} |
| 571 |
.elementor-editor-active .jltma-popup-canvas.jltma-popup-type-slide-in { |
| 572 |
max-width: 400px; |
| 573 |
margin-left: auto; |
| 574 |
margin-right: 0; |
| 575 |
} |
| 576 |
.elementor-editor-active .jltma-popup-canvas.jltma-popup-type-notification { |
| 577 |
max-width: 100%; |
| 578 |
min-height: 80px; |
| 579 |
} |
| 580 |
.elementor-editor-active .jltma-popup-canvas.jltma-popup-type-full-screen { |
| 581 |
max-width: 100%; |
| 582 |
width: 100%; |
| 583 |
min-height: 100vh; |
| 584 |
} |
| 585 |
.elementor-editor-active .jltma-popup-settings-panel { |
| 586 |
position: fixed; |
| 587 |
right: 0; |
| 588 |
top: 0; |
| 589 |
width: 280px; |
| 590 |
height: 100vh; |
| 591 |
background: #f8f9fa; |
| 592 |
border-left: 1px solid #e9ecef; |
| 593 |
z-index: 9999; |
| 594 |
transform: translateX(100%); |
| 595 |
transition: transform 0.3s ease; |
| 596 |
} |
| 597 |
.elementor-editor-active .jltma-popup-settings-panel.active { |
| 598 |
transform: translateX(0); |
| 599 |
} |
| 600 |
.elementor-editor-active .jltma-popup-settings-panel .panel-header { |
| 601 |
padding: 20px; |
| 602 |
background: #fff; |
| 603 |
border-bottom: 1px solid #e9ecef; |
| 604 |
} |
| 605 |
.elementor-editor-active .jltma-popup-settings-panel .panel-header h3 { |
| 606 |
margin: 0; |
| 607 |
font-size: 16px; |
| 608 |
font-weight: 600; |
| 609 |
color: #495057; |
| 610 |
} |
| 611 |
.elementor-editor-active .jltma-popup-settings-panel .panel-body { |
| 612 |
padding: 20px; |
| 613 |
overflow-y: auto; |
| 614 |
height: calc(100vh - 70px); |
| 615 |
} |
| 616 |
.elementor-editor-active .jltma-popup-settings-toggle { |
| 617 |
position: fixed; |
| 618 |
top: 50%; |
| 619 |
right: 0; |
| 620 |
transform: translateY(-50%); |
| 621 |
background: #2271b1; |
| 622 |
color: #fff; |
| 623 |
padding: 10px; |
| 624 |
border-radius: 4px 0 0 4px; |
| 625 |
cursor: pointer; |
| 626 |
z-index: 9998; |
| 627 |
transition: all 0.3s ease; |
| 628 |
} |
| 629 |
.elementor-editor-active .jltma-popup-settings-toggle:hover { |
| 630 |
background: #135e96; |
| 631 |
} |
| 632 |
.elementor-editor-active .jltma-popup-settings-toggle .dashicons { |
| 633 |
font-size: 20px; |
| 634 |
width: 20px; |
| 635 |
height: 20px; |
| 636 |
} |
| 637 |
.elementor-editor-active .jltma-popup-settings-toggle::before { |
| 638 |
content: attr(data-tooltip); |
| 639 |
position: absolute; |
| 640 |
right: 100%; |
| 641 |
top: 50%; |
| 642 |
transform: translateY(-50%); |
| 643 |
background: #333; |
| 644 |
color: #fff; |
| 645 |
padding: 5px 10px; |
| 646 |
border-radius: 4px; |
| 647 |
font-size: 12px; |
| 648 |
white-space: nowrap; |
| 649 |
opacity: 0; |
| 650 |
pointer-events: none; |
| 651 |
transition: opacity 0.3s ease; |
| 652 |
margin-right: 10px; |
| 653 |
} |
| 654 |
.elementor-editor-active .jltma-popup-settings-toggle::after { |
| 655 |
content: ""; |
| 656 |
position: absolute; |
| 657 |
right: 100%; |
| 658 |
top: 50%; |
| 659 |
transform: translateY(-50%); |
| 660 |
border: 5px solid transparent; |
| 661 |
border-left-color: #333; |
| 662 |
opacity: 0; |
| 663 |
pointer-events: none; |
| 664 |
transition: opacity 0.3s ease; |
| 665 |
margin-right: 5px; |
| 666 |
} |
| 667 |
.elementor-editor-active .jltma-popup-settings-toggle:hover::before, .elementor-editor-active .jltma-popup-settings-toggle:hover::after { |
| 668 |
opacity: 1; |
| 669 |
} |
| 670 |
|
| 671 |
.jltma-popup-overlay { |
| 672 |
position: fixed; |
| 673 |
top: 0; |
| 674 |
left: 0; |
| 675 |
width: 100%; |
| 676 |
height: 100%; |
| 677 |
background: rgba(0, 0, 0, 0.7); |
| 678 |
z-index: 999998; |
| 679 |
display: none; |
| 680 |
animation: jltmaFadeIn 0.3s ease; |
| 681 |
} |
| 682 |
.jltma-popup-overlay.active { |
| 683 |
display: block; |
| 684 |
} |
| 685 |
|
| 686 |
.jltma-popup-container { |
| 687 |
position: fixed; |
| 688 |
z-index: 999999; |
| 689 |
display: none; |
| 690 |
} |
| 691 |
.jltma-popup-container.active { |
| 692 |
display: block; |
| 693 |
} |
| 694 |
.jltma-popup-container.position-center { |
| 695 |
top: 50%; |
| 696 |
left: 50%; |
| 697 |
transform: translate(-50%, -50%); |
| 698 |
} |
| 699 |
.jltma-popup-container.position-top-left { |
| 700 |
top: 20px; |
| 701 |
left: 20px; |
| 702 |
} |
| 703 |
.jltma-popup-container.position-top-center { |
| 704 |
top: 20px; |
| 705 |
left: 50%; |
| 706 |
transform: translateX(-50%); |
| 707 |
} |
| 708 |
.jltma-popup-container.position-top-right { |
| 709 |
top: 20px; |
| 710 |
right: 20px; |
| 711 |
} |
| 712 |
.jltma-popup-container.position-bottom-left { |
| 713 |
bottom: 20px; |
| 714 |
left: 20px; |
| 715 |
} |
| 716 |
.jltma-popup-container.position-bottom-center { |
| 717 |
bottom: 20px; |
| 718 |
left: 50%; |
| 719 |
transform: translateX(-50%); |
| 720 |
} |
| 721 |
.jltma-popup-container.position-bottom-right { |
| 722 |
bottom: 20px; |
| 723 |
right: 20px; |
| 724 |
} |
| 725 |
.jltma-popup-container.animation-fade { |
| 726 |
animation: jltmaFadeIn 0.3s ease; |
| 727 |
} |
| 728 |
.jltma-popup-container.animation-slide-down { |
| 729 |
animation: jltmaSlideDown 0.3s ease; |
| 730 |
} |
| 731 |
.jltma-popup-container.animation-slide-up { |
| 732 |
animation: jltmaSlideUp 0.3s ease; |
| 733 |
} |
| 734 |
.jltma-popup-container.animation-slide-left { |
| 735 |
animation: jltmaSlideLeft 0.3s ease; |
| 736 |
} |
| 737 |
.jltma-popup-container.animation-slide-right { |
| 738 |
animation: jltmaSlideRight 0.3s ease; |
| 739 |
} |
| 740 |
.jltma-popup-container.animation-zoom { |
| 741 |
animation: jltmaZoomIn 0.3s ease; |
| 742 |
} |
| 743 |
|
| 744 |
.jltma-popup-content { |
| 745 |
background: #fff; |
| 746 |
border-radius: 8px; |
| 747 |
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2); |
| 748 |
position: relative; |
| 749 |
overflow: hidden; |
| 750 |
} |
| 751 |
.jltma-popup-type-modal .jltma-popup-content { |
| 752 |
min-width: 300px; |
| 753 |
max-width: 600px; |
| 754 |
padding: 30px; |
| 755 |
} |
| 756 |
.jltma-popup-type-notification .jltma-popup-content { |
| 757 |
width: 100vw; |
| 758 |
max-width: none; |
| 759 |
border-radius: 0; |
| 760 |
padding: 15px 20px; |
| 761 |
} |
| 762 |
.jltma-popup-type-slide-in .jltma-popup-content { |
| 763 |
width: 400px; |
| 764 |
height: 100vh; |
| 765 |
border-radius: 0; |
| 766 |
padding: 30px; |
| 767 |
} |
| 768 |
.jltma-popup-type-full-screen .jltma-popup-content { |
| 769 |
width: 100vw; |
| 770 |
height: 100vh; |
| 771 |
border-radius: 0; |
| 772 |
padding: 50px; |
| 773 |
} |
| 774 |
.jltma-popup-type-corner .jltma-popup-content { |
| 775 |
width: 300px; |
| 776 |
padding: 20px; |
| 777 |
} |
| 778 |
|
| 779 |
.jltma-popup-close { |
| 780 |
position: absolute; |
| 781 |
top: 15px; |
| 782 |
right: 15px; |
| 783 |
width: 30px; |
| 784 |
height: 30px; |
| 785 |
background: rgba(0, 0, 0, 0.1); |
| 786 |
border: none; |
| 787 |
border-radius: 50%; |
| 788 |
cursor: pointer; |
| 789 |
display: flex; |
| 790 |
align-items: center; |
| 791 |
justify-content: center; |
| 792 |
transition: all 0.3s ease; |
| 793 |
z-index: 10; |
| 794 |
} |
| 795 |
.jltma-popup-close:hover { |
| 796 |
background: rgba(0, 0, 0, 0.2); |
| 797 |
transform: scale(1.1); |
| 798 |
} |
| 799 |
.jltma-popup-close::before, .jltma-popup-close::after { |
| 800 |
content: ""; |
| 801 |
position: absolute; |
| 802 |
width: 15px; |
| 803 |
height: 2px; |
| 804 |
background: #333; |
| 805 |
} |
| 806 |
.jltma-popup-close::before { |
| 807 |
transform: rotate(45deg); |
| 808 |
} |
| 809 |
.jltma-popup-close::after { |
| 810 |
transform: rotate(-45deg); |
| 811 |
} |
| 812 |
|
| 813 |
@keyframes jltmaFadeIn { |
| 814 |
from { |
| 815 |
opacity: 0; |
| 816 |
} |
| 817 |
to { |
| 818 |
opacity: 1; |
| 819 |
} |
| 820 |
} |
| 821 |
@keyframes jltmaSlideDown { |
| 822 |
from { |
| 823 |
transform: translateY(-100%); |
| 824 |
opacity: 0; |
| 825 |
} |
| 826 |
to { |
| 827 |
transform: translateY(0); |
| 828 |
opacity: 1; |
| 829 |
} |
| 830 |
} |
| 831 |
@keyframes jltmaSlideUp { |
| 832 |
from { |
| 833 |
transform: translateY(100%); |
| 834 |
opacity: 0; |
| 835 |
} |
| 836 |
to { |
| 837 |
transform: translateY(0); |
| 838 |
opacity: 1; |
| 839 |
} |
| 840 |
} |
| 841 |
@keyframes jltmaSlideLeft { |
| 842 |
from { |
| 843 |
transform: translateX(-100%); |
| 844 |
opacity: 0; |
| 845 |
} |
| 846 |
to { |
| 847 |
transform: translateX(0); |
| 848 |
opacity: 1; |
| 849 |
} |
| 850 |
} |
| 851 |
@keyframes jltmaSlideRight { |
| 852 |
from { |
| 853 |
transform: translateX(100%); |
| 854 |
opacity: 0; |
| 855 |
} |
| 856 |
to { |
| 857 |
transform: translateX(0); |
| 858 |
opacity: 1; |
| 859 |
} |
| 860 |
} |
| 861 |
@keyframes jltmaZoomIn { |
| 862 |
from { |
| 863 |
transform: scale(0.5); |
| 864 |
opacity: 0; |
| 865 |
} |
| 866 |
to { |
| 867 |
transform: scale(1); |
| 868 |
opacity: 1; |
| 869 |
} |
| 870 |
} |
| 871 |
@media (max-width: 768px) { |
| 872 |
.jltma-popup-type-modal .jltma-popup-content { |
| 873 |
width: 90vw; |
| 874 |
max-width: none; |
| 875 |
margin: 0 5vw; |
| 876 |
} |
| 877 |
.jltma-popup-type-slide-in .jltma-popup-content { |
| 878 |
width: 80vw; |
| 879 |
} |
| 880 |
.jltma-popup-settings-panel { |
| 881 |
width: 100%; |
| 882 |
} |
| 883 |
} |