| 1 |
/** |
| 2 |
* Weather Effect - Modern Admin Styles (Adapted for Free version) |
| 3 |
* Clean, minimal, user-friendly design |
| 4 |
*/ |
| 5 |
|
| 6 |
/* Hide snowfall effects on admin pages - preview should only show on frontend */ |
| 7 |
.snowfall-flakes, |
| 8 |
.flake, |
| 9 |
img.snowfall-flakes { |
| 10 |
display: none !important; |
| 11 |
} |
| 12 |
|
| 13 |
/* CSS Variables for easy theming */ |
| 14 |
:root { |
| 15 |
--wep-primary: #6366f1; |
| 16 |
--wep-primary-hover: #4f46e5; |
| 17 |
--wep-secondary: #8b5cf6; |
| 18 |
--wep-success: #10b981; |
| 19 |
--wep-warning: #f59e0b; |
| 20 |
--wep-danger: #ef4444; |
| 21 |
--wep-dark: #1e293b; |
| 22 |
--wep-gray-900: #0f172a; |
| 23 |
--wep-gray-800: #1e293b; |
| 24 |
--wep-gray-700: #334155; |
| 25 |
--wep-gray-600: #475569; |
| 26 |
--wep-gray-500: #64748b; |
| 27 |
--wep-gray-400: #94a3b8; |
| 28 |
--wep-gray-300: #cbd5e1; |
| 29 |
--wep-gray-200: #e2e8f0; |
| 30 |
--wep-gray-100: #f1f5f9; |
| 31 |
--wep-gray-50: #f8fafc; |
| 32 |
--wep-white: #ffffff; |
| 33 |
--wep-radius: 6px; |
| 34 |
--wep-radius-sm: 4px; |
| 35 |
--wep-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06); |
| 36 |
--wep-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); |
| 37 |
--wep-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); |
| 38 |
--wep-transition: all 0.2s ease; |
| 39 |
} |
| 40 |
|
| 41 |
/* Reset container styles */ |
| 42 |
.wep-admin-wrap { |
| 43 |
max-width: 900px; |
| 44 |
margin: 10px auto; |
| 45 |
padding: 0 15px; |
| 46 |
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif; |
| 47 |
} |
| 48 |
|
| 49 |
/* Main container card */ |
| 50 |
.snowfalls-page { |
| 51 |
background: var(--wep-white); |
| 52 |
border-radius: 6px; |
| 53 |
box-shadow: var(--wep-shadow) !important; |
| 54 |
padding: 12px !important; |
| 55 |
margin: 0 !important; |
| 56 |
border: 1px solid var(--wep-gray-200); |
| 57 |
} |
| 58 |
|
| 59 |
/* Page header */ |
| 60 |
.snowfalls-page>h1 { |
| 61 |
font-size: 22px !important; |
| 62 |
font-weight: 700 !important; |
| 63 |
color: var(--wep-gray-900) !important; |
| 64 |
margin: 0 0 6px 0 !important; |
| 65 |
display: flex; |
| 66 |
align-items: center; |
| 67 |
gap: 8px; |
| 68 |
} |
| 69 |
|
| 70 |
.snowfalls-page>h1::before { |
| 71 |
content: '❄️'; |
| 72 |
font-size: 24px; |
| 73 |
} |
| 74 |
|
| 75 |
.wep-version-badge { |
| 76 |
font-size: 11px !important; |
| 77 |
font-weight: 600 !important; |
| 78 |
background-color: rgba(99, 102, 241, 0.1) !important; |
| 79 |
color: var(--wep-primary) !important; |
| 80 |
padding: 3px 8px !important; |
| 81 |
border-radius: 12px !important; |
| 82 |
border: 1px solid rgba(99, 102, 241, 0.2) !important; |
| 83 |
text-transform: uppercase !important; |
| 84 |
letter-spacing: 0.5px !important; |
| 85 |
margin-left: 4px !important; |
| 86 |
line-height: 1 !important; |
| 87 |
display: inline-flex !important; |
| 88 |
align-items: center !important; |
| 89 |
} |
| 90 |
|
| 91 |
/* Section titles */ |
| 92 |
.bg-title { |
| 93 |
font-size: 12px !important; |
| 94 |
font-weight: 600 !important; |
| 95 |
color: var(--wep-gray-800) !important; |
| 96 |
margin: 8px 0 4px 0 !important; |
| 97 |
padding: 4px 8px !important; |
| 98 |
background: linear-gradient(135deg, var(--wep-gray-50) 0%, var(--wep-gray-100) 100%) !important; |
| 99 |
border-radius: 4px !important; |
| 100 |
border-left: 3px solid var(--wep-primary) !important; |
| 101 |
} |
| 102 |
|
| 103 |
/* Labels */ |
| 104 |
.bg_label { |
| 105 |
font-size: 15px !important; |
| 106 |
font-weight: 600 !important; |
| 107 |
color: var(--wep-gray-700) !important; |
| 108 |
font-family: inherit !important; |
| 109 |
} |
| 110 |
|
| 111 |
.bg_lower_label { |
| 112 |
font-size: 13px !important; |
| 113 |
font-weight: 500 !important; |
| 114 |
color: var(--wep-gray-600) !important; |
| 115 |
font-family: inherit !important; |
| 116 |
margin-bottom: 2px !important; |
| 117 |
display: block; |
| 118 |
} |
| 119 |
|
| 120 |
.lower_label { |
| 121 |
font-size: 13px !important; |
| 122 |
font-weight: 500 !important; |
| 123 |
color: var(--wep-primary) !important; |
| 124 |
font-family: inherit !important; |
| 125 |
padding-left: 0 !important; |
| 126 |
display: block !important; |
| 127 |
margin-top: 8px !important; |
| 128 |
margin-bottom: 6px !important; |
| 129 |
} |
| 130 |
|
| 131 |
/* Modern toggle switch for radio buttons */ |
| 132 |
.switch-field { |
| 133 |
display: flex !important; |
| 134 |
gap: 0 !important; |
| 135 |
margin: 4px 0 6px 0 !important; |
| 136 |
padding: 0 !important; |
| 137 |
background: var(--wep-gray-100); |
| 138 |
border-radius: var(--wep-radius-sm); |
| 139 |
overflow: hidden; |
| 140 |
width: fit-content; |
| 141 |
} |
| 142 |
|
| 143 |
.switch-field input[type="radio"] { |
| 144 |
position: absolute !important; |
| 145 |
opacity: 0 !important; |
| 146 |
width: 0 !important; |
| 147 |
height: 0 !important; |
| 148 |
} |
| 149 |
|
| 150 |
.switch-field label { |
| 151 |
padding: 6px 14px !important; |
| 152 |
font-size: 13px !important; |
| 153 |
font-weight: 500 !important; |
| 154 |
color: var(--wep-gray-600) !important; |
| 155 |
background: transparent !important; |
| 156 |
cursor: pointer !important; |
| 157 |
transition: var(--wep-transition) !important; |
| 158 |
border: none !important; |
| 159 |
margin: 0 !important; |
| 160 |
} |
| 161 |
|
| 162 |
.switch-field input[type="radio"]:checked+label { |
| 163 |
background: var(--wep-primary) !important; |
| 164 |
color: var(--wep-white) !important; |
| 165 |
} |
| 166 |
|
| 167 |
.switch-field label:hover { |
| 168 |
background: var(--wep-gray-200) !important; |
| 169 |
} |
| 170 |
|
| 171 |
.switch-field input[type="radio"]:checked+label:hover { |
| 172 |
background: var(--wep-primary-hover) !important; |
| 173 |
} |
| 174 |
|
| 175 |
/* Modern select dropdown - Fixed text visibility */ |
| 176 |
.wep-admin-wrap .form-control, |
| 177 |
.wep-admin-wrap select.form-control, |
| 178 |
.wep-admin-wrap select, |
| 179 |
.snowfalls-page select, |
| 180 |
.snowfalls-page .form-control, |
| 181 |
#weather_occasion, |
| 182 |
select#weather_occasion { |
| 183 |
appearance: none !important; |
| 184 |
-webkit-appearance: none !important; |
| 185 |
-moz-appearance: none !important; |
| 186 |
background-color: #ffffff !important; |
| 187 |
border: 2px solid #e2e8f0 !important; |
| 188 |
border-radius: 4px; |
| 189 |
padding: 8px 35px 8px 12px !important; |
| 190 |
font-size: 13px !important; |
| 191 |
font-weight: 500 !important; |
| 192 |
color: #0f172a !important; |
| 193 |
cursor: pointer !important; |
| 194 |
transition: all 0.2s ease !important; |
| 195 |
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") !important; |
| 196 |
background-repeat: no-repeat !important; |
| 197 |
background-position: right 12px center !important; |
| 198 |
width: auto !important; |
| 199 |
min-width: 180px !important; |
| 200 |
margin-left: 0; |
| 201 |
height: auto !important; |
| 202 |
min-height: 36px !important; |
| 203 |
line-height: 1.4 !important; |
| 204 |
box-sizing: border-box !important; |
| 205 |
} |
| 206 |
|
| 207 |
/* Dropdown options styling - ensure visible */ |
| 208 |
.wep-admin-wrap select option, |
| 209 |
.snowfalls-page select option, |
| 210 |
#weather_occasion option, |
| 211 |
select option { |
| 212 |
background-color: #ffffff !important; |
| 213 |
color: #0f172a !important; |
| 214 |
padding: 10px !important; |
| 215 |
font-size: 14px !important; |
| 216 |
} |
| 217 |
|
| 218 |
/* Focus state */ |
| 219 |
.wep-admin-wrap .form-control:focus, |
| 220 |
.wep-admin-wrap select:focus, |
| 221 |
.snowfalls-page select:focus, |
| 222 |
#weather_occasion:focus { |
| 223 |
outline: none !important; |
| 224 |
border-color: #6366f1 !important; |
| 225 |
box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15) !important; |
| 226 |
} |
| 227 |
|
| 228 |
/* Modern range slider */ |
| 229 |
.range-slider { |
| 230 |
display: flex !important; |
| 231 |
align-items: center !important; |
| 232 |
gap: 10px !important; |
| 233 |
padding: 2px 0 !important; |
| 234 |
margin-top: 0 !important; |
| 235 |
margin-bottom: 8px !important; |
| 236 |
} |
| 237 |
|
| 238 |
.range-slider__range { |
| 239 |
-webkit-appearance: none !important; |
| 240 |
appearance: none !important; |
| 241 |
flex: 1 !important; |
| 242 |
width: 100% !important; |
| 243 |
max-width: 100% !important; |
| 244 |
height: 8px !important; |
| 245 |
background: var(--wep-gray-200) !important; |
| 246 |
border-radius: 4px !important; |
| 247 |
outline: none !important; |
| 248 |
cursor: pointer !important; |
| 249 |
} |
| 250 |
|
| 251 |
.range-slider__range::-webkit-slider-thumb { |
| 252 |
-webkit-appearance: none !important; |
| 253 |
appearance: none !important; |
| 254 |
width: 20px !important; |
| 255 |
height: 20px !important; |
| 256 |
background: var(--wep-primary) !important; |
| 257 |
border-radius: 50% !important; |
| 258 |
cursor: pointer !important; |
| 259 |
box-shadow: var(--wep-shadow-md) !important; |
| 260 |
transition: var(--wep-transition) !important; |
| 261 |
} |
| 262 |
|
| 263 |
.range-slider__range::-webkit-slider-thumb:hover { |
| 264 |
transform: scale(1.1) !important; |
| 265 |
background: var(--wep-primary-hover) !important; |
| 266 |
} |
| 267 |
|
| 268 |
.range-slider__range::-moz-range-thumb { |
| 269 |
width: 20px !important; |
| 270 |
height: 20px !important; |
| 271 |
background: var(--wep-primary) !important; |
| 272 |
border-radius: 50% !important; |
| 273 |
cursor: pointer !important; |
| 274 |
border: none !important; |
| 275 |
box-shadow: var(--wep-shadow-md) !important; |
| 276 |
} |
| 277 |
|
| 278 |
.range-slider__value { |
| 279 |
min-width: 35px !important; |
| 280 |
padding: 4px 8px !important; |
| 281 |
background: var(--wep-gray-100) !important; |
| 282 |
border-radius: var(--wep-radius-sm) !important; |
| 283 |
font-size: 12px !important; |
| 284 |
font-weight: 600 !important; |
| 285 |
color: var(--wep-primary) !important; |
| 286 |
text-align: center !important; |
| 287 |
} |
| 288 |
|
| 289 |
/* Modern checkboxes */ |
| 290 |
.wep-admin-wrap .checkbox { |
| 291 |
margin: 8px 0 !important; |
| 292 |
} |
| 293 |
|
| 294 |
.wep-admin-wrap .checkbox label { |
| 295 |
display: flex !important; |
| 296 |
align-items: center !important; |
| 297 |
gap: 12px !important; |
| 298 |
padding: 12px 16px !important; |
| 299 |
background: var(--wep-gray-50) !important; |
| 300 |
border: 2px solid var(--wep-gray-200) !important; |
| 301 |
border-radius: var(--wep-radius-sm) !important; |
| 302 |
cursor: pointer !important; |
| 303 |
transition: var(--wep-transition) !important; |
| 304 |
font-size: 14px !important; |
| 305 |
font-weight: 500 !important; |
| 306 |
color: var(--wep-gray-700) !important; |
| 307 |
width: 100% !important; |
| 308 |
box-sizing: border-box !important; |
| 309 |
} |
| 310 |
|
| 311 |
.wep-admin-wrap .checkbox label:hover { |
| 312 |
border-color: var(--wep-primary) !important; |
| 313 |
background: var(--wep-white) !important; |
| 314 |
} |
| 315 |
|
| 316 |
/* Hide default browser checkbox to let custom .cr represent the state */ |
| 317 |
.wep-admin-wrap .checkbox input[type="checkbox"] { |
| 318 |
display: none !important; |
| 319 |
} |
| 320 |
|
| 321 |
.wep-admin-wrap .checkbox input[type="checkbox"]:checked+.cr { |
| 322 |
background: var(--wep-primary) !important; |
| 323 |
border-color: var(--wep-primary) !important; |
| 324 |
} |
| 325 |
|
| 326 |
.wep-admin-wrap .checkbox .cr { |
| 327 |
width: 22px !important; |
| 328 |
height: 22px !important; |
| 329 |
border: 2px solid var(--wep-gray-300) !important; |
| 330 |
border-radius: 4px; |
| 331 |
display: flex !important; |
| 332 |
align-items: center !important; |
| 333 |
justify-content: center !important; |
| 334 |
transition: var(--wep-transition) !important; |
| 335 |
flex-shrink: 0 !important; |
| 336 |
} |
| 337 |
|
| 338 |
.wep-admin-wrap .checkbox .cr-icon { |
| 339 |
color: var(--wep-white) !important; |
| 340 |
font-size: 12px !important; |
| 341 |
opacity: 0; |
| 342 |
transition: var(--wep-transition); |
| 343 |
} |
| 344 |
|
| 345 |
.wep-admin-wrap .checkbox input[type="checkbox"]:checked~.cr .cr-icon { |
| 346 |
opacity: 1 !important; |
| 347 |
} |
| 348 |
|
| 349 |
/* Modern buttons */ |
| 350 |
.button-hero { |
| 351 |
padding: 14px 28px !important; |
| 352 |
font-size: 15px !important; |
| 353 |
font-weight: 600 !important; |
| 354 |
border-radius: var(--wep-radius-sm) !important; |
| 355 |
transition: var(--wep-transition) !important; |
| 356 |
display: inline-flex !important; |
| 357 |
align-items: center !important; |
| 358 |
gap: 8px !important; |
| 359 |
border: none !important; |
| 360 |
cursor: pointer !important; |
| 361 |
} |
| 362 |
|
| 363 |
.button-primary.button-hero { |
| 364 |
background: linear-gradient(135deg, var(--wep-primary) 0%, var(--wep-secondary) 100%) !important; |
| 365 |
color: var(--wep-white) !important; |
| 366 |
box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35) !important; |
| 367 |
} |
| 368 |
|
| 369 |
.button-primary.button-hero:hover { |
| 370 |
transform: translateY(-2px) !important; |
| 371 |
box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45) !important; |
| 372 |
} |
| 373 |
|
| 374 |
.button-primary.button-hero:active { |
| 375 |
transform: translateY(0) !important; |
| 376 |
} |
| 377 |
|
| 378 |
.button-hero .dashicons { |
| 379 |
font-size: 18px !important; |
| 380 |
width: 18px !important; |
| 381 |
height: 18px !important; |
| 382 |
} |
| 383 |
|
| 384 |
/* Tab content sections */ |
| 385 |
.tab-content { |
| 386 |
padding: 20px 0 !important; |
| 387 |
border-bottom: 1px solid var(--wep-gray-200); |
| 388 |
margin-bottom: 20px; |
| 389 |
} |
| 390 |
|
| 391 |
/* Section dividers */ |
| 392 |
hr { |
| 393 |
border: none !important; |
| 394 |
border-top: 1px solid var(--wep-gray-200) !important; |
| 395 |
margin: 32px 0 !important; |
| 396 |
} |
| 397 |
|
| 398 |
/* Note text */ |
| 399 |
.snowfalls-page h3 { |
| 400 |
font-size: 12px !important; |
| 401 |
font-weight: 500 !important; |
| 402 |
color: var(--wep-gray-500) !important; |
| 403 |
margin: 6px 0 !important; |
| 404 |
} |
| 405 |
|
| 406 |
.snowfalls-page h3 em { |
| 407 |
color: var(--wep-gray-400) !important; |
| 408 |
} |
| 409 |
|
| 410 |
/* Review section */ |
| 411 |
.snowfalls-page>p { |
| 412 |
font-size: 14px !important; |
| 413 |
line-height: 1.6 !important; |
| 414 |
color: var(--wep-gray-600) !important; |
| 415 |
max-width: 600px; |
| 416 |
} |
| 417 |
|
| 418 |
/* Row spacing */ |
| 419 |
.row { |
| 420 |
margin-bottom: 2px !important; |
| 421 |
} |
| 422 |
|
| 423 |
/* Padding adjustments */ |
| 424 |
.padding_settings { |
| 425 |
padding-left: 0 !important; |
| 426 |
} |
| 427 |
|
| 428 |
/* Exclude lists proper spacing */ |
| 429 |
.wep-post-list, |
| 430 |
.wep-page-list, |
| 431 |
.wep-other-page-list { |
| 432 |
background: var(--wep-gray-50) !important; |
| 433 |
border: 1px solid var(--wep-gray-200) !important; |
| 434 |
border-radius: var(--wep-radius-sm) !important; |
| 435 |
padding: 10px !important; |
| 436 |
max-height: 200px !important; |
| 437 |
overflow-y: auto !important; |
| 438 |
} |
| 439 |
|
| 440 |
.wep-post-list p, |
| 441 |
.wep-page-list p, |
| 442 |
.wep-other-page-list p { |
| 443 |
margin: 4px 0 !important; |
| 444 |
padding: 8px 12px !important; |
| 445 |
border-radius: 4px; |
| 446 |
transition: var(--wep-transition) !important; |
| 447 |
} |
| 448 |
|
| 449 |
.wep-post-list p:hover, |
| 450 |
.wep-page-list p:hover, |
| 451 |
.wep-other-page-list p:hover { |
| 452 |
background: var(--wep-white) !important; |
| 453 |
} |
| 454 |
|
| 455 |
/* Weather effect preview area styling - Initially hidden, shown by JS */ |
| 456 |
#christmas_weather_effect, |
| 457 |
#winter_weather_effect, |
| 458 |
#autumn_weather_effect, |
| 459 |
#spring_weather_effect, |
| 460 |
#summer_weather_effect, |
| 461 |
#halloween_weather_effect, |
| 462 |
#rain_weather_effect, |
| 463 |
#thanksgiving_weather_effect, |
| 464 |
#valentine_weather_effect, |
| 465 |
#new_year_weather_effect { |
| 466 |
display: none; |
| 467 |
border-radius: var(--wep-radius-sm) !important; |
| 468 |
padding: 20px !important; |
| 469 |
background: var(--wep-gray-50) !important; |
| 470 |
border: 1px solid var(--wep-gray-200) !important; |
| 471 |
} |
| 472 |
|
| 473 |
/* Responsive adjustments */ |
| 474 |
@media (max-width: 782px) { |
| 475 |
.snowfalls-page { |
| 476 |
padding: 20px !important; |
| 477 |
} |
| 478 |
|
| 479 |
.switch-field { |
| 480 |
flex-wrap: wrap !important; |
| 481 |
} |
| 482 |
|
| 483 |
.switch-field label { |
| 484 |
padding: 8px 14px !important; |
| 485 |
font-size: 13px !important; |
| 486 |
} |
| 487 |
|
| 488 |
.button-hero { |
| 489 |
padding: 12px 20px !important; |
| 490 |
font-size: 14px !important; |
| 491 |
} |
| 492 |
|
| 493 |
.range-slider__range { |
| 494 |
width: 150px !important; |
| 495 |
} |
| 496 |
} |
| 497 |
|
| 498 |
/* ========== COMPACT LAYOUT ========== */ |
| 499 |
|
| 500 |
.snowfalls-page { |
| 501 |
padding: 12px !important; |
| 502 |
} |
| 503 |
|
| 504 |
.snowfalls-page>h1 { |
| 505 |
font-size: 20px !important; |
| 506 |
margin-bottom: 8px !important; |
| 507 |
} |
| 508 |
|
| 509 |
.snowfalls-page>h1::before { |
| 510 |
font-size: 24px; |
| 511 |
} |
| 512 |
|
| 513 |
.bg-title { |
| 514 |
font-size: 13px !important; |
| 515 |
margin: 6px 0 4px 0 !important; |
| 516 |
padding: 5px 10px !important; |
| 517 |
} |
| 518 |
|
| 519 |
.bg_label { |
| 520 |
font-size: 13px !important; |
| 521 |
margin-bottom: 4px !important; |
| 522 |
} |
| 523 |
|
| 524 |
.bg_lower_label { |
| 525 |
font-size: 13px !important; |
| 526 |
margin-bottom: 4px !important; |
| 527 |
} |
| 528 |
|
| 529 |
.row { |
| 530 |
margin-bottom: 4px !important; |
| 531 |
} |
| 532 |
|
| 533 |
.padding_settings { |
| 534 |
padding-left: 20px !important; |
| 535 |
} |
| 536 |
|
| 537 |
.wep-admin-wrap .col-md-6, |
| 538 |
.wep-admin-wrap .col-md-12, |
| 539 |
.wep-admin-wrap .col-lg-12, |
| 540 |
.snowfalls-page .col-md-6, |
| 541 |
.snowfalls-page .col-md-12, |
| 542 |
.snowfalls-page .col-lg-12 { |
| 543 |
padding-left: 10px !important; |
| 544 |
} |
| 545 |
|
| 546 |
.snowfalls-page .bg_lower_label, |
| 547 |
.snowfalls-page label, |
| 548 |
.snowfalls-page h3, |
| 549 |
.snowfalls-page p, |
| 550 |
.snowfalls-page .range-slider, |
| 551 |
.snowfalls-page .button-hero, |
| 552 |
.snowfalls-page hr { |
| 553 |
margin-left: 10px; |
| 554 |
} |
| 555 |
|
| 556 |
.snowfalls-page #we-save_setting, |
| 557 |
.snowfalls-page #we-preview { |
| 558 |
margin-left: 10px; |
| 559 |
} |
| 560 |
|
| 561 |
.snowfalls-page .row { |
| 562 |
padding-left: 5px; |
| 563 |
} |
| 564 |
|
| 565 |
.switch-field { |
| 566 |
margin: 4px 0 8px 0 !important; |
| 567 |
} |
| 568 |
|
| 569 |
.switch-field label { |
| 570 |
padding: 6px 14px !important; |
| 571 |
font-size: 13px !important; |
| 572 |
} |
| 573 |
|
| 574 |
.wep-admin-wrap select, |
| 575 |
.snowfalls-page select { |
| 576 |
padding: 8px 35px 8px 12px !important; |
| 577 |
min-height: 36px !important; |
| 578 |
font-size: 13px !important; |
| 579 |
} |
| 580 |
|
| 581 |
.range-slider { |
| 582 |
padding: 4px 0 !important; |
| 583 |
gap: 12px !important; |
| 584 |
} |
| 585 |
|
| 586 |
.range-slider__range { |
| 587 |
flex: 1 !important; |
| 588 |
width: 100% !important; |
| 589 |
max-width: 100% !important; |
| 590 |
height: 6px !important; |
| 591 |
} |
| 592 |
|
| 593 |
.range-slider__range::-webkit-slider-thumb { |
| 594 |
width: 16px !important; |
| 595 |
height: 16px !important; |
| 596 |
} |
| 597 |
|
| 598 |
.range-slider__value { |
| 599 |
padding: 4px 8px !important; |
| 600 |
font-size: 12px !important; |
| 601 |
min-width: 32px !important; |
| 602 |
} |
| 603 |
|
| 604 |
.wep-admin-wrap .checkbox { |
| 605 |
margin: 4px 0 !important; |
| 606 |
} |
| 607 |
|
| 608 |
.wep-admin-wrap .checkbox label { |
| 609 |
padding: 8px 12px !important; |
| 610 |
font-size: 13px !important; |
| 611 |
gap: 8px !important; |
| 612 |
} |
| 613 |
|
| 614 |
.button-hero { |
| 615 |
padding: 10px 20px !important; |
| 616 |
font-size: 13px !important; |
| 617 |
} |
| 618 |
|
| 619 |
.button-hero .dashicons { |
| 620 |
font-size: 16px !important; |
| 621 |
width: 16px !important; |
| 622 |
height: 16px !important; |
| 623 |
} |
| 624 |
|
| 625 |
hr { |
| 626 |
margin: 16px 0 !important; |
| 627 |
} |
| 628 |
|
| 629 |
.snowfalls-page h3 { |
| 630 |
font-size: 12px !important; |
| 631 |
margin: 8px 0 !important; |
| 632 |
} |
| 633 |
|
| 634 |
.snowfalls-page>p { |
| 635 |
font-size: 12px !important; |
| 636 |
margin: 8px 0 !important; |
| 637 |
} |
| 638 |
|
| 639 |
#christmas_weather_effect, |
| 640 |
#winter_weather_effect, |
| 641 |
#autumn_weather_effect, |
| 642 |
#spring_weather_effect, |
| 643 |
#summer_weather_effect, |
| 644 |
#halloween_weather_effect, |
| 645 |
#rain_weather_effect, |
| 646 |
#thanksgiving_weather_effect, |
| 647 |
#valentine_weather_effect, |
| 648 |
#new_year_weather_effect { |
| 649 |
padding: 12px !important; |
| 650 |
} |
| 651 |
|
| 652 |
.tab-content { |
| 653 |
padding: 12px 0 !important; |
| 654 |
margin-bottom: 12px !important; |
| 655 |
} |
| 656 |
|
| 657 |
|
| 658 |
.wep-post-list p, |
| 659 |
.wep-page-list p, |
| 660 |
.wep-other-page-list p { |
| 661 |
margin: 2px 0 !important; |
| 662 |
padding: 4px 8px !important; |
| 663 |
font-size: 12px !important; |
| 664 |
} |
| 665 |
|
| 666 |
.padding_settings { |
| 667 |
padding-left: 0 !important; |
| 668 |
} |
| 669 |
|
| 670 |
/* ========== AGGRESSIVE WHITESPACE REMOVAL ========== */ |
| 671 |
|
| 672 |
.snowfalls-page br { |
| 673 |
display: none !important; |
| 674 |
} |
| 675 |
|
| 676 |
.snowfalls-page hr { |
| 677 |
margin: 8px 0 !important; |
| 678 |
border: none !important; |
| 679 |
border-top: 1px solid var(--wep-gray-200) !important; |
| 680 |
} |
| 681 |
|
| 682 |
.snowfalls-page .row { |
| 683 |
margin-left: 0; |
| 684 |
margin-right: 0; |
| 685 |
padding: 2px 0; |
| 686 |
} |
| 687 |
|
| 688 |
.snowfalls-page>div { |
| 689 |
margin-bottom: 0 !important; |
| 690 |
} |
| 691 |
|
| 692 |
#christmas_weather_effect, |
| 693 |
#winter_weather_effect, |
| 694 |
#autumn_weather_effect, |
| 695 |
#spring_weather_effect, |
| 696 |
#summer_weather_effect, |
| 697 |
#halloween_weather_effect, |
| 698 |
#rain_weather_effect, |
| 699 |
#thanksgiving_weather_effect, |
| 700 |
#valentine_weather_effect, |
| 701 |
#new_year_weather_effect, |
| 702 |
#custom_image_section, |
| 703 |
#exclude_pages_section, |
| 704 |
#timeout_section { |
| 705 |
padding: 8px !important; |
| 706 |
margin: 0 !important; |
| 707 |
} |
| 708 |
|
| 709 |
.tab-content { |
| 710 |
padding: 5px 0 !important; |
| 711 |
margin: 0 !important; |
| 712 |
} |
| 713 |
|
| 714 |
/* Remove empty element spacing */ |
| 715 |
.snowfalls-page .col-md-12:empty, |
| 716 |
.snowfalls-page .col-lg-12:empty, |
| 717 |
.snowfalls-page .row:empty { |
| 718 |
display: none !important; |
| 719 |
} |
| 720 |
|
| 721 |
.snowfalls-page label { |
| 722 |
margin: 0 0 2px 0 !important; |
| 723 |
display: inline-block !important; |
| 724 |
} |
| 725 |
|
| 726 |
.range-slider.padding_settings { |
| 727 |
padding: 0 !important; |
| 728 |
margin: 2px 0 6px 0 !important; |
| 729 |
} |
| 730 |
|
| 731 |
.snowfalls-page .form-group { |
| 732 |
margin-bottom: 4px !important; |
| 733 |
} |
| 734 |
|
| 735 |
.bg-title { |
| 736 |
margin: 16px 0 10px 0 !important; |
| 737 |
} |
| 738 |
|
| 739 |
.snowfalls-page #we-save_setting, |
| 740 |
.snowfalls-page #we-preview { |
| 741 |
margin-top: 8px !important; |
| 742 |
} |
| 743 |
|
| 744 |
.snowfalls-page h3 { |
| 745 |
margin: 4px 0 !important; |
| 746 |
} |
| 747 |
|
| 748 |
.snowfalls-page .col-md-6, |
| 749 |
.snowfalls-page .col-md-12, |
| 750 |
.snowfalls-page .col-lg-12 { |
| 751 |
padding: 0 5px !important; |
| 752 |
} |
| 753 |
|
| 754 |
.snowfalls-page [style*="padding"] { |
| 755 |
padding: 2px !important; |
| 756 |
} |
| 757 |
|
| 758 |
.snowfalls-page div[style*="padding-left: 20px"] { |
| 759 |
padding-left: 5px !important; |
| 760 |
} |
| 761 |
|
| 762 |
/* 3. LIVE PREVIEW PANEL - Sticky Top Right */ |
| 763 |
.wep-preview-panel { |
| 764 |
position: fixed; |
| 765 |
top: 50px; |
| 766 |
right: 20px; |
| 767 |
width: 378px; |
| 768 |
z-index: 999; |
| 769 |
background: var(--wep-gray-900); |
| 770 |
border-radius: var(--wep-radius); |
| 771 |
overflow: hidden; |
| 772 |
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25); |
| 773 |
} |
| 774 |
|
| 775 |
.wep-preview-panel.wep-minimized .wep-preview-canvas-wrap { |
| 776 |
display: none; |
| 777 |
} |
| 778 |
|
| 779 |
.wep-preview-header { |
| 780 |
display: flex; |
| 781 |
justify-content: space-between; |
| 782 |
align-items: center; |
| 783 |
padding: 10px 14px; |
| 784 |
background: linear-gradient(135deg, var(--wep-primary) 0%, var(--wep-secondary) 100%); |
| 785 |
cursor: move; |
| 786 |
} |
| 787 |
|
| 788 |
.wep-preview-title { |
| 789 |
color: var(--wep-white); |
| 790 |
font-size: 12px; |
| 791 |
font-weight: 600; |
| 792 |
} |
| 793 |
|
| 794 |
.wep-preview-controls { |
| 795 |
display: flex; |
| 796 |
gap: 6px; |
| 797 |
} |
| 798 |
|
| 799 |
.wep-preview-controls button { |
| 800 |
background: rgba(255, 255, 255, 0.2); |
| 801 |
border: none; |
| 802 |
color: var(--wep-white); |
| 803 |
width: 24px; |
| 804 |
height: 24px; |
| 805 |
border-radius: 4px; |
| 806 |
cursor: pointer; |
| 807 |
font-size: 12px; |
| 808 |
transition: var(--wep-transition); |
| 809 |
display: flex; |
| 810 |
align-items: center; |
| 811 |
justify-content: center; |
| 812 |
} |
| 813 |
|
| 814 |
.wep-preview-controls button:hover { |
| 815 |
background: rgba(255, 255, 255, 0.3); |
| 816 |
} |
| 817 |
|
| 818 |
.wep-preview-color-picker { |
| 819 |
-webkit-appearance: none !important; |
| 820 |
-moz-appearance: none !important; |
| 821 |
appearance: none !important; |
| 822 |
width: 24px !important; |
| 823 |
height: 24px !important; |
| 824 |
border: 1px solid rgba(255, 255, 255, 0.3) !important; |
| 825 |
border-radius: 4px !important; |
| 826 |
padding: 0 !important; |
| 827 |
cursor: pointer !important; |
| 828 |
background: transparent !important; |
| 829 |
outline: none !important; |
| 830 |
overflow: hidden !important; |
| 831 |
display: inline-block !important; |
| 832 |
} |
| 833 |
|
| 834 |
.wep-preview-color-picker::-webkit-color-swatch-wrapper { |
| 835 |
padding: 0 !important; |
| 836 |
} |
| 837 |
|
| 838 |
.wep-preview-color-picker::-webkit-color-swatch { |
| 839 |
border: none !important; |
| 840 |
border-radius: 3px !important; |
| 841 |
} |
| 842 |
|
| 843 |
.wep-preview-color-picker::-moz-color-swatch { |
| 844 |
border: none !important; |
| 845 |
border-radius: 3px !important; |
| 846 |
} |
| 847 |
|
| 848 |
.wep-preview-canvas-wrap { |
| 849 |
position: relative; |
| 850 |
height: 212px; |
| 851 |
background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1a 100%); |
| 852 |
} |
| 853 |
|
| 854 |
#wep-admin-preview-canvas { |
| 855 |
width: 100%; |
| 856 |
height: 100%; |
| 857 |
display: block; |
| 858 |
} |
| 859 |
|
| 860 |
.wep-preview-overlay { |
| 861 |
position: absolute; |
| 862 |
top: 50%; |
| 863 |
left: 50%; |
| 864 |
transform: translate(-50%, -50%); |
| 865 |
color: var(--wep-gray-400); |
| 866 |
font-size: 12px; |
| 867 |
text-align: center; |
| 868 |
} |
| 869 |
|
| 870 |
/* Responsive - adjust on smaller screens */ |
| 871 |
@media (max-width: 1024px) { |
| 872 |
.wep-preview-panel { |
| 873 |
right: 10px; |
| 874 |
width: 250px; |
| 875 |
} |
| 876 |
} |
| 877 |
|
| 878 |
@media (max-width: 782px) { |
| 879 |
.wep-preview-panel { |
| 880 |
position: relative; |
| 881 |
right: 0; |
| 882 |
top: 0; |
| 883 |
width: 100%; |
| 884 |
margin: 16px 0; |
| 885 |
} |
| 886 |
} |
| 887 |
|
| 888 |
/* ========================================== |
| 889 |
MODERN COMPACT BUTTONS |
| 890 |
========================================== */ |
| 891 |
|
| 892 |
.wep-btn { |
| 893 |
display: inline-flex; |
| 894 |
align-items: center; |
| 895 |
gap: 6px; |
| 896 |
padding: 8px 16px; |
| 897 |
font-size: 13px; |
| 898 |
font-weight: 500; |
| 899 |
border-radius: 4px; |
| 900 |
border: none; |
| 901 |
cursor: pointer; |
| 902 |
transition: all 0.2s ease; |
| 903 |
font-family: inherit; |
| 904 |
line-height: 1.4; |
| 905 |
text-decoration: none !important; |
| 906 |
} |
| 907 |
|
| 908 |
.wep-btn:hover, |
| 909 |
.wep-btn:focus, |
| 910 |
.wep-btn:active { |
| 911 |
text-decoration: none !important; |
| 912 |
} |
| 913 |
|
| 914 |
.wep-btn .dashicons { |
| 915 |
font-size: 16px; |
| 916 |
width: 16px; |
| 917 |
height: 16px; |
| 918 |
line-height: 1; |
| 919 |
} |
| 920 |
|
| 921 |
/* Primary Button (Save) */ |
| 922 |
.wep-btn-primary { |
| 923 |
background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%); |
| 924 |
color: #ffffff !important; |
| 925 |
box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3); |
| 926 |
} |
| 927 |
|
| 928 |
.wep-btn-primary:hover, |
| 929 |
.wep-btn-primary:focus, |
| 930 |
.wep-btn-primary:active { |
| 931 |
color: #ffffff !important; |
| 932 |
transform: translateY(-1px); |
| 933 |
box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4); |
| 934 |
} |
| 935 |
|
| 936 |
.wep-btn-primary:active { |
| 937 |
transform: translateY(0); |
| 938 |
} |
| 939 |
|
| 940 |
/* Secondary Button (Preview) */ |
| 941 |
.wep-btn-secondary { |
| 942 |
background: #f1f5f9; |
| 943 |
color: #475569; |
| 944 |
border: 1px solid #e2e8f0; |
| 945 |
} |
| 946 |
|
| 947 |
.wep-btn-secondary:hover { |
| 948 |
background: #e2e8f0; |
| 949 |
color: #1e293b; |
| 950 |
border-color: #cbd5e1; |
| 951 |
} |
| 952 |
|
| 953 |
/* Loading Spinner Keyframes & Class */ |
| 954 |
@keyframes wep-spin { |
| 955 |
to { transform: rotate(360deg); } |
| 956 |
} |
| 957 |
|
| 958 |
.wep-spin { |
| 959 |
animation: wep-spin 1s linear infinite !important; |
| 960 |
display: inline-block !important; |
| 961 |
} |
| 962 |
|
| 963 |
/* Action buttons container */ |
| 964 |
.wep-action-buttons { |
| 965 |
margin-left: 10px; |
| 966 |
display: flex; |
| 967 |
gap: 12px; |
| 968 |
flex-wrap: wrap; |
| 969 |
margin-top: 16px; |
| 970 |
padding-top: 16px; |
| 971 |
border-top: 1px solid var(--wep-gray-200); |
| 972 |
} |
| 973 |
|
| 974 |
/* Floating action buttons - ALWAYS visible and fixed */ |
| 975 |
.wep-action-buttons { |
| 976 |
position: fixed !important; |
| 977 |
bottom: 24px !important; |
| 978 |
right: 24px !important; |
| 979 |
z-index: 9999 !important; |
| 980 |
display: flex !important; |
| 981 |
gap: 12px !important; |
| 982 |
padding: 16px 20px !important; |
| 983 |
background: rgba(255, 255, 255, 0.95) !important; |
| 984 |
border-radius: 6px; |
| 985 |
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1) !important; |
| 986 |
backdrop-filter: blur(10px) !important; |
| 987 |
border: 1px solid rgba(230, 230, 230, 0.8) !important; |
| 988 |
margin: 0 !important; |
| 989 |
} |
| 990 |
|
| 991 |
/* Larger button styles inside floating bar */ |
| 992 |
.wep-action-buttons .wep-btn { |
| 993 |
padding: 14px 28px !important; |
| 994 |
font-size: 15px !important; |
| 995 |
font-weight: 600 !important; |
| 996 |
border-radius: 4px; |
| 997 |
display: inline-flex !important; |
| 998 |
align-items: center !important; |
| 999 |
gap: 10px !important; |
| 1000 |
cursor: pointer !important; |
| 1001 |
transition: all 0.2s ease !important; |
| 1002 |
border: none !important; |
| 1003 |
} |
| 1004 |
|
| 1005 |
.wep-action-buttons .wep-btn-primary { |
| 1006 |
background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important; |
| 1007 |
color: #fff !important; |
| 1008 |
box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4) !important; |
| 1009 |
} |
| 1010 |
|
| 1011 |
.wep-action-buttons .wep-btn-primary:hover { |
| 1012 |
transform: translateY(-2px) !important; |
| 1013 |
box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5) !important; |
| 1014 |
} |
| 1015 |
|
| 1016 |
.wep-action-buttons .wep-btn-secondary { |
| 1017 |
background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%) !important; |
| 1018 |
color: #fff !important; |
| 1019 |
box-shadow: 0 4px 14px rgba(14, 165, 233, 0.4) !important; |
| 1020 |
} |
| 1021 |
|
| 1022 |
.wep-action-buttons .wep-btn-secondary:hover { |
| 1023 |
transform: translateY(-2px) !important; |
| 1024 |
box-shadow: 0 6px 20px rgba(14, 165, 233, 0.5) !important; |
| 1025 |
} |
| 1026 |
|
| 1027 |
.wep-action-buttons .wep-btn .dashicons { |
| 1028 |
font-size: 20px !important; |
| 1029 |
width: 20px !important; |
| 1030 |
height: 20px !important; |
| 1031 |
} |
| 1032 |
|
| 1033 |
.snowfalls-page>form>hr { |
| 1034 |
margin: 28px 0 20px 0 !important; |
| 1035 |
} |
| 1036 |
|
| 1037 |
.padding_settings { |
| 1038 |
padding: 4px 0 !important; |
| 1039 |
} |
| 1040 |
|
| 1041 |
.snowfalls-page>div { |
| 1042 |
margin-bottom: 0 !important; |
| 1043 |
} |
| 1044 |
|
| 1045 |
/* ========== COMPACT LAYOUT IMPROVEMENTS ========== */ |
| 1046 |
|
| 1047 |
.snowfalls-page .row { |
| 1048 |
margin-bottom: 2px !important; |
| 1049 |
} |
| 1050 |
|
| 1051 |
.bg-title { |
| 1052 |
margin: 6px 0 3px 0 !important; |
| 1053 |
padding: 3px 8px !important; |
| 1054 |
} |
| 1055 |
|
| 1056 |
.bg_lower_label { |
| 1057 |
margin-bottom: 2px !important; |
| 1058 |
} |
| 1059 |
|
| 1060 |
.switch-field { |
| 1061 |
margin: 2px 0 !important; |
| 1062 |
} |
| 1063 |
|
| 1064 |
.range-slider { |
| 1065 |
margin-bottom: 4px !important; |
| 1066 |
gap: 8px !important; |
| 1067 |
} |
| 1068 |
|
| 1069 |
.range-slider__range { |
| 1070 |
flex: 1 !important; |
| 1071 |
width: 100% !important; |
| 1072 |
max-width: 100% !important; |
| 1073 |
height: 4px !important; |
| 1074 |
} |
| 1075 |
|
| 1076 |
.range-slider__range::-webkit-slider-thumb { |
| 1077 |
width: 14px !important; |
| 1078 |
height: 14px !important; |
| 1079 |
} |
| 1080 |
|
| 1081 |
.range-slider__value { |
| 1082 |
min-width: 28px !important; |
| 1083 |
padding: 2px 5px !important; |
| 1084 |
font-size: 11px !important; |
| 1085 |
} |
| 1086 |
|
| 1087 |
.wep-admin-wrap .checkbox { |
| 1088 |
margin: 2px 0 !important; |
| 1089 |
} |
| 1090 |
|
| 1091 |
.wep-admin-wrap .checkbox label { |
| 1092 |
padding: 6px 10px !important; |
| 1093 |
font-size: 12px !important; |
| 1094 |
} |
| 1095 |
|
| 1096 |
.tab-content { |
| 1097 |
padding: 6px 0 !important; |
| 1098 |
margin-bottom: 4px !important; |
| 1099 |
} |
| 1100 |
|
| 1101 |
/* Section headings - prominent with gradient */ |
| 1102 |
.wep-section-heading { |
| 1103 |
display: block !important; |
| 1104 |
width: 100% !important; |
| 1105 |
margin: 20px 0 16px 0 !important; |
| 1106 |
padding: 12px 16px !important; |
| 1107 |
font-size: 14px !important; |
| 1108 |
font-weight: 600 !important; |
| 1109 |
color: #fff !important; |
| 1110 |
background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important; |
| 1111 |
border-radius: 4px; |
| 1112 |
border: none !important; |
| 1113 |
box-shadow: 0 3px 10px rgba(99, 102, 241, 0.25) !important; |
| 1114 |
letter-spacing: 0.3px; |
| 1115 |
} |
| 1116 |
|
| 1117 |
.tab-content:first-of-type .wep-section-heading, |
| 1118 |
.snowfalls-page>form>.row:first-child .wep-section-heading { |
| 1119 |
margin-top: 8px !important; |
| 1120 |
} |
| 1121 |
|
| 1122 |
/* ========================================== |
| 1123 |
DASHBOARD SPACING & PADDING FIXES |
| 1124 |
========================================== */ |
| 1125 |
|
| 1126 |
.snowfalls-page { |
| 1127 |
padding: 20px 24px !important; |
| 1128 |
} |
| 1129 |
|
| 1130 |
.snowfalls-page>h1 { |
| 1131 |
margin-bottom: 16px !important; |
| 1132 |
padding-bottom: 12px !important; |
| 1133 |
border-bottom: 1px solid var(--wep-gray-200) !important; |
| 1134 |
} |
| 1135 |
|
| 1136 |
.tab-content { |
| 1137 |
padding: 16px 0 24px 0 !important; |
| 1138 |
margin-bottom: 0 !important; |
| 1139 |
border-bottom: none !important; |
| 1140 |
} |
| 1141 |
|
| 1142 |
.tab-content:last-of-type { |
| 1143 |
border-bottom: none !important; |
| 1144 |
padding-bottom: 16px !important; |
| 1145 |
} |
| 1146 |
|
| 1147 |
.wep-control-group { |
| 1148 |
margin-bottom: 8px; |
| 1149 |
} |
| 1150 |
|
| 1151 |
/* Occasion config containers - Clean Gray box style from 1.html */ |
| 1152 |
#christmas_weather_effect, |
| 1153 |
#winter_weather_effect, |
| 1154 |
#autumn_weather_effect, |
| 1155 |
#spring_weather_effect, |
| 1156 |
#summer_weather_effect, |
| 1157 |
#rain_weather_effect, |
| 1158 |
#halloween_weather_effect, |
| 1159 |
#thanksgiving_weather_effect, |
| 1160 |
#valentine_weather_effect, |
| 1161 |
#new_year_weather_effect { |
| 1162 |
background: var(--wep-gray-50) !important; |
| 1163 |
border: 1px solid var(--wep-gray-200) !important; |
| 1164 |
border-radius: var(--wep-radius-sm) !important; |
| 1165 |
padding: 12px !important; |
| 1166 |
} |
| 1167 |
|
| 1168 |
.tab-content { |
| 1169 |
padding: 0; |
| 1170 |
margin-bottom: 0; |
| 1171 |
border-bottom: none; |
| 1172 |
} |
| 1173 |
|
| 1174 |
/* Breathing room between checkbox groups and slider/toggle rows inside occasion panels */ |
| 1175 |
.snowfalls-page .tab-content > div > .row { |
| 1176 |
margin-top: 32px; |
| 1177 |
} |
| 1178 |
|
| 1179 |
.wep-control-group { |
| 1180 |
margin-bottom: 12px; |
| 1181 |
} |
| 1182 |
|
| 1183 |
.bg_lower_label { |
| 1184 |
margin-top: 12px !important; |
| 1185 |
margin-bottom: 6px !important; |
| 1186 |
} |
| 1187 |
|
| 1188 |
.switch-field { |
| 1189 |
margin: 6px 0 12px 0 !important; |
| 1190 |
} |
| 1191 |
|
| 1192 |
.range-slider { |
| 1193 |
margin: 4px 0 12px 0 !important; |
| 1194 |
} |
| 1195 |
|
| 1196 |
.snowfalls-page .row { |
| 1197 |
margin-bottom: 8px !important; |
| 1198 |
padding: 0 !important; |
| 1199 |
} |
| 1200 |
|
| 1201 |
.snowfalls-page .col-md-6, |
| 1202 |
.snowfalls-page .col-md-12, |
| 1203 |
.snowfalls-page .col-lg-12 { |
| 1204 |
padding: 0 8px !important; |
| 1205 |
} |
| 1206 |
|
| 1207 |
.snowfalls-page select, |
| 1208 |
.wep-admin-wrap select { |
| 1209 |
margin-top: 8px !important; |
| 1210 |
margin-bottom: 16px !important; |
| 1211 |
} |
| 1212 |
|
| 1213 |
.snowfalls-page hr { |
| 1214 |
margin: 24px 0 !important; |
| 1215 |
} |
| 1216 |
|
| 1217 |
/* Loading Overlay - inline CSS for immediate loading */ |
| 1218 |
.wep-loading-overlay { |
| 1219 |
position: fixed; |
| 1220 |
top: 0; |
| 1221 |
left: 0; |
| 1222 |
right: 0; |
| 1223 |
bottom: 0; |
| 1224 |
background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); |
| 1225 |
z-index: 999999; |
| 1226 |
display: flex; |
| 1227 |
flex-direction: column; |
| 1228 |
align-items: center; |
| 1229 |
justify-content: center; |
| 1230 |
gap: 20px; |
| 1231 |
} |
| 1232 |
|
| 1233 |
.wep-loading-spinner { |
| 1234 |
width: 50px; |
| 1235 |
height: 50px; |
| 1236 |
border: 4px solid #e2e8f0; |
| 1237 |
border-top-color: #6366f1; |
| 1238 |
border-radius: 50%; |
| 1239 |
animation: wep-spin 0.8s linear infinite; |
| 1240 |
} |
| 1241 |
|
| 1242 |
.wep-loading-text { |
| 1243 |
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; |
| 1244 |
font-size: 16px; |
| 1245 |
font-weight: 500; |
| 1246 |
color: #64748b; |
| 1247 |
} |
| 1248 |
|
| 1249 |
.wep-loading-icon { |
| 1250 |
font-size: 40px; |
| 1251 |
margin-bottom: 10px; |
| 1252 |
} |
| 1253 |
|
| 1254 |
@keyframes wep-spin { |
| 1255 |
to { transform: rotate(360deg); } |
| 1256 |
} |
| 1257 |
|
| 1258 |
/* Hide main content until loaded */ |
| 1259 |
.wep-admin-wrap { |
| 1260 |
opacity: 0; |
| 1261 |
transition: opacity 0.3s ease; |
| 1262 |
} |
| 1263 |
|
| 1264 |
.wep-admin-wrap.wep-loaded { |
| 1265 |
opacity: 1; |
| 1266 |
} |
| 1267 |
|
| 1268 |
.wep-admin-wrap .container { |
| 1269 |
max-width: 100%; |
| 1270 |
padding: 0; |
| 1271 |
} |
| 1272 |
|
| 1273 |
/* ========================================== |
| 1274 |
RESPONSIVE FIXES FOR TABLET & MOBILE |
| 1275 |
========================================== */ |
| 1276 |
|
| 1277 |
#exclude-pages, |
| 1278 |
#common-limit-setting, |
| 1279 |
#exclude-pages.tab-content, |
| 1280 |
#common-limit-setting.tab-content { |
| 1281 |
visibility: visible !important; |
| 1282 |
overflow: visible !important; |
| 1283 |
opacity: 1 !important; |
| 1284 |
height: auto !important; |
| 1285 |
max-height: none !important; |
| 1286 |
clip: auto !important; |
| 1287 |
position: relative !important; |
| 1288 |
} |
| 1289 |
|
| 1290 |
.snowfalls-page, |
| 1291 |
.snowfalls-page>form, |
| 1292 |
.snowfalls-page>form>div, |
| 1293 |
.wep-admin-wrap { |
| 1294 |
overflow: visible !important; |
| 1295 |
height: auto !important; |
| 1296 |
max-height: none !important; |
| 1297 |
} |
| 1298 |
|
| 1299 |
/* Tablet devices (768px - 1024px) */ |
| 1300 |
@media (max-width: 1024px) { |
| 1301 |
.wep-action-buttons { |
| 1302 |
position: fixed !important; |
| 1303 |
bottom: 16px !important; |
| 1304 |
right: 16px !important; |
| 1305 |
position: fixed; |
| 1306 |
bottom: 16px; |
| 1307 |
right: 16px; |
| 1308 |
left: auto; |
| 1309 |
width: auto; |
| 1310 |
max-width: calc(100% - 32px); |
| 1311 |
padding: 12px 16px; |
| 1312 |
z-index: 9999; |
| 1313 |
display: flex; |
| 1314 |
flex-wrap: wrap; |
| 1315 |
gap: 10px; |
| 1316 |
background: rgba(255, 255, 255, 0.98); |
| 1317 |
border-radius: 6px; |
| 1318 |
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18); |
| 1319 |
visibility: visible; |
| 1320 |
opacity: 1; |
| 1321 |
transform: none; |
| 1322 |
} |
| 1323 |
|
| 1324 |
.wep-action-buttons .wep-btn { |
| 1325 |
padding: 12px 20px !important; |
| 1326 |
font-size: 14px !important; |
| 1327 |
display: inline-flex !important; |
| 1328 |
visibility: visible !important; |
| 1329 |
} |
| 1330 |
|
| 1331 |
#exclude-pages, |
| 1332 |
#common-limit-setting, |
| 1333 |
.tab-content { |
| 1334 |
visibility: visible !important; |
| 1335 |
overflow: visible !important; |
| 1336 |
opacity: 1 !important; |
| 1337 |
height: auto !important; |
| 1338 |
max-height: none !important; |
| 1339 |
} |
| 1340 |
|
| 1341 |
.wep-admin-wrap { |
| 1342 |
max-width: 100% !important; |
| 1343 |
padding: 0 12px !important; |
| 1344 |
overflow: visible !important; |
| 1345 |
} |
| 1346 |
|
| 1347 |
.snowfalls-page { |
| 1348 |
padding: 16px !important; |
| 1349 |
padding-bottom: 100px !important; |
| 1350 |
overflow: visible !important; |
| 1351 |
} |
| 1352 |
|
| 1353 |
.snowfalls-page>form { |
| 1354 |
overflow: visible !important; |
| 1355 |
} |
| 1356 |
} |
| 1357 |
|
| 1358 |
/* Mobile devices (max-width: 782px) */ |
| 1359 |
@media (max-width: 782px) { |
| 1360 |
.wep-action-buttons { |
| 1361 |
position: fixed !important; |
| 1362 |
bottom: 0 !important; |
| 1363 |
left: 0 !important; |
| 1364 |
right: 0 !important; |
| 1365 |
width: 100% !important; |
| 1366 |
max-width: 100% !important; |
| 1367 |
padding: 12px 16px !important; |
| 1368 |
z-index: 9999 !important; |
| 1369 |
display: flex !important; |
| 1370 |
justify-content: center !important; |
| 1371 |
gap: 12px !important; |
| 1372 |
background: rgba(255, 255, 255, 0.98) !important; |
| 1373 |
border-radius: 0 !important; |
| 1374 |
box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15) !important; |
| 1375 |
border-top: 1px solid rgba(230, 230, 230, 0.9) !important; |
| 1376 |
backdrop-filter: blur(10px) !important; |
| 1377 |
visibility: visible !important; |
| 1378 |
opacity: 1 !important; |
| 1379 |
transform: none !important; |
| 1380 |
} |
| 1381 |
|
| 1382 |
.wep-action-buttons .wep-btn { |
| 1383 |
flex: 1 !important; |
| 1384 |
padding: 12px 16px !important; |
| 1385 |
font-size: 14px !important; |
| 1386 |
justify-content: center !important; |
| 1387 |
max-width: 180px !important; |
| 1388 |
display: inline-flex !important; |
| 1389 |
visibility: visible !important; |
| 1390 |
} |
| 1391 |
|
| 1392 |
.wep-action-buttons .wep-btn .dashicons { |
| 1393 |
font-size: 18px !important; |
| 1394 |
width: 18px !important; |
| 1395 |
height: 18px !important; |
| 1396 |
} |
| 1397 |
|
| 1398 |
.snowfalls-page { |
| 1399 |
padding-bottom: 90px !important; |
| 1400 |
overflow: visible !important; |
| 1401 |
} |
| 1402 |
|
| 1403 |
#exclude-pages, |
| 1404 |
#common-limit-setting, |
| 1405 |
.tab-content { |
| 1406 |
visibility: visible !important; |
| 1407 |
overflow: visible !important; |
| 1408 |
opacity: 1 !important; |
| 1409 |
height: auto !important; |
| 1410 |
max-height: none !important; |
| 1411 |
} |
| 1412 |
|
| 1413 |
.wep-section-heading { |
| 1414 |
font-size: 13px !important; |
| 1415 |
padding: 10px 14px !important; |
| 1416 |
margin: 16px 0 12px 0 !important; |
| 1417 |
} |
| 1418 |
|
| 1419 |
.tab-content { |
| 1420 |
padding: 12px 0 !important; |
| 1421 |
overflow: visible !important; |
| 1422 |
} |
| 1423 |
|
| 1424 |
.range-slider__range { |
| 1425 |
flex: 1 !important; |
| 1426 |
width: 100% !important; |
| 1427 |
max-width: 100% !important; |
| 1428 |
} |
| 1429 |
|
| 1430 |
.switch-field { |
| 1431 |
flex-wrap: wrap !important; |
| 1432 |
} |
| 1433 |
|
| 1434 |
.switch-field label { |
| 1435 |
padding: 6px 12px !important; |
| 1436 |
font-size: 12px !important; |
| 1437 |
} |
| 1438 |
|
| 1439 |
.col-md-6 { |
| 1440 |
width: 100% !important; |
| 1441 |
max-width: 100% !important; |
| 1442 |
flex: 0 0 100% !important; |
| 1443 |
} |
| 1444 |
} |
| 1445 |
|
| 1446 |
/* Small mobile devices (max-width: 480px) */ |
| 1447 |
@media (max-width: 480px) { |
| 1448 |
.wep-action-buttons { |
| 1449 |
flex-direction: column !important; |
| 1450 |
gap: 8px !important; |
| 1451 |
padding: 12px !important; |
| 1452 |
visibility: visible !important; |
| 1453 |
opacity: 1 !important; |
| 1454 |
} |
| 1455 |
|
| 1456 |
.wep-action-buttons .wep-btn { |
| 1457 |
width: 100% !important; |
| 1458 |
max-width: 100% !important; |
| 1459 |
padding: 12px !important; |
| 1460 |
visibility: visible !important; |
| 1461 |
} |
| 1462 |
|
| 1463 |
.snowfalls-page { |
| 1464 |
padding-bottom: 130px !important; |
| 1465 |
} |
| 1466 |
|
| 1467 |
.wep-admin-wrap { |
| 1468 |
padding: 0 8px !important; |
| 1469 |
overflow: visible !important; |
| 1470 |
} |
| 1471 |
|
| 1472 |
.snowfalls-page { |
| 1473 |
padding: 12px !important; |
| 1474 |
padding-bottom: 130px !important; |
| 1475 |
overflow: visible !important; |
| 1476 |
} |
| 1477 |
|
| 1478 |
.snowfalls-page>h1 { |
| 1479 |
font-size: 18px !important; |
| 1480 |
} |
| 1481 |
|
| 1482 |
.wep-section-heading { |
| 1483 |
font-size: 12px !important; |
| 1484 |
padding: 8px 12px !important; |
| 1485 |
} |
| 1486 |
|
| 1487 |
.range-slider { |
| 1488 |
flex-wrap: wrap !important; |
| 1489 |
} |
| 1490 |
|
| 1491 |
.range-slider__range { |
| 1492 |
flex: 1 !important; |
| 1493 |
width: 100% !important; |
| 1494 |
max-width: 100% !important; |
| 1495 |
} |
| 1496 |
} |
| 1497 |
|
| 1498 |
/* ========================================== |
| 1499 |
UPGRADE BANNER & GRID LAYOUT |
| 1500 |
========================================== */ |
| 1501 |
|
| 1502 |
.wep-top-controls { |
| 1503 |
display: flex !important; |
| 1504 |
gap: 40px !important; |
| 1505 |
flex-wrap: wrap !important; |
| 1506 |
margin-bottom: 10px !important; |
| 1507 |
} |
| 1508 |
|
| 1509 |
.wep-occasion-row { |
| 1510 |
margin-bottom: 20px !important; |
| 1511 |
} |
| 1512 |
|
| 1513 |
.wep-occasion-select-wrap { |
| 1514 |
margin-top: 12px !important; |
| 1515 |
} |
| 1516 |
|
| 1517 |
.wep-preview-note { |
| 1518 |
font-size: 11px !important; |
| 1519 |
color: #64748b !important; |
| 1520 |
margin: 0 0 16px 0 !important; |
| 1521 |
} |
| 1522 |
|
| 1523 |
.wep-review-btn { |
| 1524 |
text-decoration: none !important; |
| 1525 |
} |
| 1526 |
|
| 1527 |
.wep-review-icon { |
| 1528 |
vertical-align: middle !important; |
| 1529 |
} |
| 1530 |
|
| 1531 |
.wep-upgrade-section { |
| 1532 |
background: var(--wep-gray-50) !important; |
| 1533 |
border: 2px solid var(--wep-gray-200) !important; |
| 1534 |
border-radius: var(--wep-radius) !important; |
| 1535 |
padding: 24px !important; |
| 1536 |
margin: 24px 0 !important; |
| 1537 |
} |
| 1538 |
|
| 1539 |
.wep-upgrade-header { |
| 1540 |
display: flex !important; |
| 1541 |
justify-content: space-between !important; |
| 1542 |
align-items: center !important; |
| 1543 |
flex-wrap: wrap !important; |
| 1544 |
gap: 16px !important; |
| 1545 |
margin-bottom: 24px !important; |
| 1546 |
border-bottom: 1px solid var(--wep-gray-200) !important; |
| 1547 |
padding-bottom: 16px !important; |
| 1548 |
} |
| 1549 |
|
| 1550 |
.wep-upgrade-header h2 { |
| 1551 |
font-size: 20px !important; |
| 1552 |
font-weight: 700 !important; |
| 1553 |
color: var(--wep-gray-900) !important; |
| 1554 |
margin: 0 !important; |
| 1555 |
} |
| 1556 |
|
| 1557 |
.wep-upgrade-pricing { |
| 1558 |
display: inline-flex !important; |
| 1559 |
align-items: center !important; |
| 1560 |
gap: 8px !important; |
| 1561 |
} |
| 1562 |
|
| 1563 |
.wep-strike-price { |
| 1564 |
font-size: 16px !important; |
| 1565 |
text-decoration: line-through !important; |
| 1566 |
color: var(--wep-gray-400) !important; |
| 1567 |
} |
| 1568 |
|
| 1569 |
.wep-sale-price { |
| 1570 |
font-size: 24px !important; |
| 1571 |
font-weight: 700 !important; |
| 1572 |
color: var(--wep-success) !important; |
| 1573 |
background: rgba(16, 185, 129, 0.1) !important; |
| 1574 |
padding: 4px 12px !important; |
| 1575 |
border-radius: var(--wep-radius-sm) !important; |
| 1576 |
} |
| 1577 |
|
| 1578 |
.wep-pro-features-grid { |
| 1579 |
display: grid !important; |
| 1580 |
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important; |
| 1581 |
gap: 20px !important; |
| 1582 |
margin-bottom: 24px !important; |
| 1583 |
} |
| 1584 |
|
| 1585 |
.wep-feature-item { |
| 1586 |
display: flex !important; |
| 1587 |
gap: 12px !important; |
| 1588 |
align-items: flex-start !important; |
| 1589 |
} |
| 1590 |
|
| 1591 |
.wep-feature-icon { |
| 1592 |
font-size: 20px !important; |
| 1593 |
background: var(--wep-white) !important; |
| 1594 |
width: 36px !important; |
| 1595 |
height: 36px !important; |
| 1596 |
border-radius: 50% !important; |
| 1597 |
display: flex !important; |
| 1598 |
align-items: center !important; |
| 1599 |
justify-content: center !important; |
| 1600 |
box-shadow: var(--wep-shadow) !important; |
| 1601 |
flex-shrink: 0 !important; |
| 1602 |
} |
| 1603 |
|
| 1604 |
.wep-feature-icon .dashicons { |
| 1605 |
font-size: 18px !important; |
| 1606 |
width: 18px !important; |
| 1607 |
height: 18px !important; |
| 1608 |
color: #6366f1 !important; |
| 1609 |
display: flex !important; |
| 1610 |
align-items: center !important; |
| 1611 |
justify-content: center !important; |
| 1612 |
} |
| 1613 |
|
| 1614 |
.wep-feature-content strong { |
| 1615 |
font-size: 14px !important; |
| 1616 |
font-weight: 600 !important; |
| 1617 |
color: var(--wep-gray-900) !important; |
| 1618 |
display: block !important; |
| 1619 |
margin-bottom: 4px !important; |
| 1620 |
} |
| 1621 |
|
| 1622 |
.wep-feature-content p { |
| 1623 |
font-size: 12px !important; |
| 1624 |
color: var(--wep-gray-600) !important; |
| 1625 |
margin: 0 !important; |
| 1626 |
line-height: 1.5 !important; |
| 1627 |
} |
| 1628 |
|
| 1629 |
.wep-upgrade-actions { |
| 1630 |
display: flex !important; |
| 1631 |
justify-content: center !important; |
| 1632 |
gap: 12px !important; |
| 1633 |
flex-wrap: wrap !important; |
| 1634 |
border-top: 1px solid var(--wep-gray-200) !important; |
| 1635 |
padding-top: 20px !important; |
| 1636 |
} |
| 1637 |
|
| 1638 |
.awp_bale_offer { |
| 1639 |
background: var(--wep-white) !important; |
| 1640 |
border: 2px solid var(--wep-gray-200) !important; |
| 1641 |
border-radius: var(--wep-radius) !important; |
| 1642 |
padding: 24px !important; |
| 1643 |
margin: 20px 0 !important; |
| 1644 |
text-align: center !important; |
| 1645 |
box-shadow: var(--wep-shadow) !important; |
| 1646 |
} |
| 1647 |
|
| 1648 |
.awp_bale_offer h1 { |
| 1649 |
font-size: 22px !important; |
| 1650 |
font-weight: 700 !important; |
| 1651 |
color: var(--wep-gray-900) !important; |
| 1652 |
margin: 0 0 10px 0 !important; |
| 1653 |
} |
| 1654 |
|
| 1655 |
.awp_bale_offer h3 { |
| 1656 |
font-size: 14px !important; |
| 1657 |
font-weight: 500 !important; |
| 1658 |
color: var(--wep-gray-600) !important; |
| 1659 |
margin: 6px 0 !important; |
| 1660 |
} |
| 1661 |
|
| 1662 |
.awp_bale_offer h3 strike { |
| 1663 |
color: var(--wep-danger) !important; |
| 1664 |
} |
| 1665 |
|
| 1666 |
.awp_bale_btn_wrap { |
| 1667 |
margin-top: 16px !important; |
| 1668 |
} |
| 1669 |
|
| 1670 |
.wep-btn-bale { |
| 1671 |
font-size: 14px !important; |
| 1672 |
padding: 10px 24px !important; |
| 1673 |
background: linear-gradient(135deg, var(--wep-primary) 0%, var(--wep-secondary) 100%) !important; |
| 1674 |
color: var(--wep-white) !important; |
| 1675 |
box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3) !important; |
| 1676 |
} |
| 1677 |
|
| 1678 |
.wep-btn-bale:hover, |
| 1679 |
.wep-btn-bale:focus, |
| 1680 |
.wep-btn-bale:active { |
| 1681 |
color: var(--wep-white) !important; |
| 1682 |
} |
| 1683 |
|
| 1684 |
@media (max-width: 782px) { |
| 1685 |
.wep-upgrade-header { |
| 1686 |
flex-direction: column !important; |
| 1687 |
align-items: flex-start !important; |
| 1688 |
} |
| 1689 |
} |
| 1690 |
|
| 1691 |
/* Align select dropdowns and form controls with the indented settings items */ |
| 1692 |
.snowfalls-page select, |
| 1693 |
.snowfalls-page .form-control { |
| 1694 |
margin-left: 0; |
| 1695 |
} |
| 1696 |
|