| 1 |
/** === Codestar options / Pro Alert === **/ |
| 2 |
.csf-field-image_select figure { |
| 3 |
width: 100px; |
| 4 |
border-radius: 10px; |
| 5 |
|
| 6 |
img { |
| 7 |
border-radius: 10px; |
| 8 |
} |
| 9 |
} |
| 10 |
|
| 11 |
.csf-field .csf-title { |
| 12 |
width: 30%; |
| 13 |
} |
| 14 |
|
| 15 |
.csf-field .csf-fieldset { |
| 16 |
width: calc(70% - 25px); |
| 17 |
} |
| 18 |
|
| 19 |
.csf-nav.csf-nav-normal.csf-nav-options { |
| 20 |
ul li a { |
| 21 |
display: flex; |
| 22 |
align-items: baseline; |
| 23 |
} |
| 24 |
} |
| 25 |
|
| 26 |
/** === Codestar Fontawesome replaced with Dashicons === **/ |
| 27 |
.csf-field .chosen-container-single .chosen-single div b:before, |
| 28 |
.csf-nav ul li .csf-arrow:after { |
| 29 |
content: "\f347"; |
| 30 |
font-family: dashicons; |
| 31 |
font-size: 12px; |
| 32 |
} |
| 33 |
|
| 34 |
.csf-field .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:before { |
| 35 |
content: "\f335" !important; |
| 36 |
font-family: dashicons; |
| 37 |
} |
| 38 |
|
| 39 |
.csf-field .chosen-container-active.chosen-with-drop .chosen-single div b:before { |
| 40 |
content: "\f343"; |
| 41 |
font-family: dashicons; |
| 42 |
} |
| 43 |
|
| 44 |
.csf-cloneable-remove { |
| 45 |
position: absolute; |
| 46 |
top: -2px; |
| 47 |
right: 15px; |
| 48 |
color: #d63638 !important; |
| 49 |
font-size: 16px !important; |
| 50 |
text-decoration: none !important; |
| 51 |
width: 69px !important; |
| 52 |
height: 20px !important; |
| 53 |
display: flex !important; |
| 54 |
align-items: center; |
| 55 |
justify-content: center; |
| 56 |
z-index: 5; |
| 57 |
|
| 58 |
&:before { |
| 59 |
font-family: dashicons !important; |
| 60 |
content: "\f182" !important; |
| 61 |
/* dashicons-trash */ |
| 62 |
} |
| 63 |
|
| 64 |
&:hover { |
| 65 |
color: #b32d2e !important; |
| 66 |
} |
| 67 |
} |
| 68 |
|
| 69 |
.csf-cloneable-title { |
| 70 |
cursor: move; |
| 71 |
} |
| 72 |
|
| 73 |
body { |
| 74 |
&.bbpc-no-pro { |
| 75 |
.st-pro-notice { |
| 76 |
&.csf-field { |
| 77 |
position: relative; |
| 78 |
cursor: pointer; |
| 79 |
|
| 80 |
&::before { |
| 81 |
content: "Pro"; |
| 82 |
background-color: #f1bd6c; |
| 83 |
color: #000; |
| 84 |
padding: 3px 10px; |
| 85 |
border-radius: 3px; |
| 86 |
margin-bottom: 10px; |
| 87 |
} |
| 88 |
|
| 89 |
&::after { |
| 90 |
position: absolute; |
| 91 |
content: ""; |
| 92 |
width: 100%; |
| 93 |
height: 100%; |
| 94 |
top: 0; |
| 95 |
left: 0; |
| 96 |
background-color: transparent; |
| 97 |
z-index: 2; |
| 98 |
} |
| 99 |
} |
| 100 |
|
| 101 |
.csf-fieldset, |
| 102 |
.csf-title { |
| 103 |
opacity: 0.5; |
| 104 |
pointer-events: none; |
| 105 |
} |
| 106 |
} |
| 107 |
} |
| 108 |
|
| 109 |
&.bbpc-no-promax { |
| 110 |
.st-promax-notice { |
| 111 |
&.csf-field { |
| 112 |
position: relative; |
| 113 |
cursor: pointer; |
| 114 |
|
| 115 |
&::before { |
| 116 |
content: "ProMax"; |
| 117 |
background-color: #f1bd6c; |
| 118 |
color: #000; |
| 119 |
padding: 3px 10px; |
| 120 |
border-radius: 3px; |
| 121 |
margin-bottom: 10px; |
| 122 |
} |
| 123 |
|
| 124 |
&::after { |
| 125 |
position: absolute; |
| 126 |
content: ""; |
| 127 |
width: 100%; |
| 128 |
height: 100%; |
| 129 |
top: 0; |
| 130 |
left: 0; |
| 131 |
background-color: transparent; |
| 132 |
z-index: 2; |
| 133 |
} |
| 134 |
} |
| 135 |
|
| 136 |
.csf-fieldset, |
| 137 |
.csf-title { |
| 138 |
opacity: 0.5; |
| 139 |
pointer-events: none; |
| 140 |
} |
| 141 |
} |
| 142 |
} |
| 143 |
} |
| 144 |
|
| 145 |
.upgrade-link { |
| 146 |
background-color: #f1bd6c; |
| 147 |
color: #000; |
| 148 |
padding: 2px 6px; |
| 149 |
} |
| 150 |
|
| 151 |
.swal2-styled.swal2-confirm.upgrade-premium-button { |
| 152 |
background-color: #f1bd6c; |
| 153 |
outline: none; |
| 154 |
box-shadow: none !important; |
| 155 |
} |
| 156 |
|
| 157 |
.swal2-title.upgrade-premium-heading { |
| 158 |
font-size: 24px; |
| 159 |
font-weight: 500; |
| 160 |
line-height: 32px; |
| 161 |
margin-bottom: -15px; |
| 162 |
} |
| 163 |
|
| 164 |
.pro-notification-body-text { |
| 165 |
font-size: 15px; |
| 166 |
display: block; |
| 167 |
margin-bottom: 25px; |
| 168 |
} |
| 169 |
|
| 170 |
.swal2-styled.swal2-confirm.upgrade-premium-button>a { |
| 171 |
color: black; |
| 172 |
font-weight: normal; |
| 173 |
} |
| 174 |
|
| 175 |
.swal2-footer.notification-pro-footer-wrap { |
| 176 |
border-top: none; |
| 177 |
margin: 8px 0px 0px; |
| 178 |
padding: 0px; |
| 179 |
} |
| 180 |
|
| 181 |
.swal2-html-container { |
| 182 |
line-height: 1.6; |
| 183 |
} |
| 184 |
|
| 185 |
#customize-controls .csf-field-image_select img { |
| 186 |
width: 85px; |
| 187 |
height: auto; |
| 188 |
} |
| 189 |
|
| 190 |
.notice.is-dismissible.bottom-10 { |
| 191 |
padding-bottom: 15px; |
| 192 |
} |
| 193 |
|
| 194 |
.notice-warning.eaz-notice { |
| 195 |
background: #ffffbe; |
| 196 |
} |
| 197 |
|
| 198 |
.header-notify-icon .notify-icon { |
| 199 |
padding-top: 10px; |
| 200 |
margin: auto; |
| 201 |
} |
| 202 |
|
| 203 |
.bbpc-core-main * { |
| 204 |
box-sizing: border-box; |
| 205 |
} |
| 206 |
|
| 207 |
.forumax-main .forumax-intro { |
| 208 |
font-size: 16px; |
| 209 |
} |
| 210 |
|
| 211 |
.bbpc-stat-cards { |
| 212 |
display: flex; |
| 213 |
gap: 30px; |
| 214 |
} |
| 215 |
|
| 216 |
.bbpc-stat-card { |
| 217 |
background-color: #fff; |
| 218 |
} |
| 219 |
|
| 220 |
.bbpc-dashboard { |
| 221 |
display: flex |
| 222 |
} |
| 223 |
|
| 224 |
.bbpc-panel { |
| 225 |
width: 250px; |
| 226 |
border-right: 1px solid #ccc; |
| 227 |
margin-right: 20px; |
| 228 |
} |
| 229 |
|
| 230 |
.bbpc-logo { |
| 231 |
margin-bottom: 50px; |
| 232 |
} |
| 233 |
|
| 234 |
.bbpc-stats { |
| 235 |
flex-basis: 3; |
| 236 |
} |
| 237 |
|
| 238 |
.bbpc-heading { |
| 239 |
margin-bottom: 60px; |
| 240 |
} |
| 241 |
|
| 242 |
.bbpc-card-heading h2 { |
| 243 |
margin: 0; |
| 244 |
background: #ddd; |
| 245 |
padding: 10px; |
| 246 |
line-height: 1; |
| 247 |
} |
| 248 |
|
| 249 |
/* Menu */ |
| 250 |
.bbpc-group-menu li a { |
| 251 |
border: 1px solid #6831c1; |
| 252 |
background: #6831c1; |
| 253 |
color: #fff; |
| 254 |
text-decoration: none; |
| 255 |
box-sizing: border-box; |
| 256 |
display: block; |
| 257 |
font-size: 15px; |
| 258 |
width: calc(100% - 20px); |
| 259 |
padding: 10px 20px; |
| 260 |
font-weight: 500; |
| 261 |
letter-spacing: 0px; |
| 262 |
} |
| 263 |
|
| 264 |
.bbpc-card-data { |
| 265 |
padding: 15px 25px; |
| 266 |
} |
| 267 |
|
| 268 |
.forum-info { |
| 269 |
display: flex; |
| 270 |
flex-wrap: wrap; |
| 271 |
} |
| 272 |
|
| 273 |
.forum-info li { |
| 274 |
flex: 50%; |
| 275 |
margin-bottom: 20px; |
| 276 |
font-size: 14px; |
| 277 |
border-bottom: 1px solid #ccc; |
| 278 |
padding-bottom: 18px; |
| 279 |
} |
| 280 |
|
| 281 |
.forum-info li:last-child { |
| 282 |
border-bottom: none; |
| 283 |
padding-bottom: 0; |
| 284 |
margin-bottom: 0; |
| 285 |
} |
| 286 |
|
| 287 |
#bbpc-forum { |
| 288 |
transition: 0.3s all ease; |
| 289 |
} |
| 290 |
|
| 291 |
#bbpc-forum:hover { |
| 292 |
color: var(--clr-white); |
| 293 |
} |
| 294 |
|
| 295 |
.bbpc-approve-btn { |
| 296 |
margin-left: 10px; |
| 297 |
margin-right: 3px; |
| 298 |
border: 1px solid #2DB22D; |
| 299 |
color: #2DB22D; |
| 300 |
border-radius: 50%; |
| 301 |
text-decoration: none; |
| 302 |
width: 26px; |
| 303 |
height: 26px; |
| 304 |
display: flex; |
| 305 |
align-items: center; |
| 306 |
justify-content: center; |
| 307 |
|
| 308 |
&:hover { |
| 309 |
border: 1px solid #07a207; |
| 310 |
color: #07a207; |
| 311 |
} |
| 312 |
} |
| 313 |
|
| 314 |
.bbpc-filter-btn-settings { |
| 315 |
.csf--sibling { |
| 316 |
&.csf--active { |
| 317 |
border: 1px solid #2DB22D; |
| 318 |
background-color: #2DB22D; |
| 319 |
} |
| 320 |
} |
| 321 |
} |
| 322 |
|
| 323 |
/** === FS contents === **/ |
| 324 |
#fs_connect { |
| 325 |
|
| 326 |
.fs-header .fs-plugin-icon, |
| 327 |
.fs-header .fs-plugin-icon img { |
| 328 |
height: auto; |
| 329 |
} |
| 330 |
|
| 331 |
.fs-content { |
| 332 |
h2 { |
| 333 |
font-size: 28px; |
| 334 |
margin: 15px auto; |
| 335 |
line-height: 1.2 !important; |
| 336 |
} |
| 337 |
|
| 338 |
p { |
| 339 |
font-size: 16px !important; |
| 340 |
text-align: center; |
| 341 |
line-height: 1.7; |
| 342 |
} |
| 343 |
} |
| 344 |
|
| 345 |
.fs-box-container { |
| 346 |
border-radius: 15px; |
| 347 |
} |
| 348 |
} |
| 349 |
|
| 350 |
/** === Notification & Mini profile CSS === **/ |
| 351 |
.csf-field-fieldset { |
| 352 |
.csf-fieldset-content { |
| 353 |
|
| 354 |
&[data-depend-id='bbpc_notification_location']='bbpc_notification_location'], |
| 355 |
&[data-depend-id='bbpc_profile_location']='bbpc_profile_location'] { |
| 356 |
>.csf-field { |
| 357 |
width: 100%; |
| 358 |
display: flex; |
| 359 |
|
| 360 |
.csf-after-text { |
| 361 |
font-size: 12px; |
| 362 |
} |
| 363 |
|
| 364 |
input { |
| 365 |
width: 95%; |
| 366 |
} |
| 367 |
|
| 368 |
&.csf-field-select { |
| 369 |
>.csf-fieldset { |
| 370 |
display: flex; |
| 371 |
gap: 10px; |
| 372 |
} |
| 373 |
} |
| 374 |
} |
| 375 |
} |
| 376 |
} |
| 377 |
} |
| 378 |
|
| 379 |
#bbpc_forum_option_link, |
| 380 |
#bbpc_topic_option_link { |
| 381 |
text-decoration: none; |
| 382 |
width: 220px; |
| 383 |
background: #050505; |
| 384 |
display: block; |
| 385 |
color: rgba(255, 255, 255, 0.7019607843); |
| 386 |
text-transform: uppercase; |
| 387 |
padding-top: 100px; |
| 388 |
padding-bottom: 100px; |
| 389 |
text-align: center; |
| 390 |
font-size: 16px; |
| 391 |
font-weight: 700; |
| 392 |
letter-spacing: 0.5px; |
| 393 |
text-shadow: 2px 2px black; |
| 394 |
float: left; |
| 395 |
margin: 0 20px 0 0; |
| 396 |
} |
| 397 |
|
| 398 |
/** === Forumax Pro Upgrade Offer Notice === **/ |
| 399 |
|
| 400 |
// Variables - Premium Dark Theme with Vibrant Accents |
| 401 |
$frmx-offer-primary: #1e1b4b; // Deep indigo |
| 402 |
$frmx-offer-secondary: #312e81; // Rich purple |
| 403 |
$frmx-offer-tertiary: #4338ca; // Bright indigo |
| 404 |
$frmx-offer-accent: #fbbf24; // Golden yellow |
| 405 |
$frmx-offer-accent-hover: #f59e0b; |
| 406 |
$frmx-offer-success: #34d399; // Emerald |
| 407 |
$frmx-offer-text: #ffffff; |
| 408 |
$frmx-offer-text-muted: rgba(255, 255, 255, 0.75); |
| 409 |
|
| 410 |
// Keyframe Animations |
| 411 |
@keyframes frmx-shimmer { |
| 412 |
0% { background-position: -200% 0; } |
| 413 |
100% { background-position: 200% 0; } |
| 414 |
} |
| 415 |
|
| 416 |
@keyframes frmx-pulse { |
| 417 |
0%, 100% { transform: scale(1); } |
| 418 |
50% { transform: scale(1.05); } |
| 419 |
} |
| 420 |
|
| 421 |
@keyframes frmx-float { |
| 422 |
0%, 100% { transform: translateY(0); } |
| 423 |
50% { transform: translateY(-5px); } |
| 424 |
} |
| 425 |
|
| 426 |
@keyframes frmx-glow { |
| 427 |
0%, 100% { opacity: 0.4; transform: scale(1); } |
| 428 |
50% { opacity: 0.7; transform: scale(1.1); } |
| 429 |
} |
| 430 |
|
| 431 |
@keyframes frmx-rotate { |
| 432 |
0% { transform: rotate(0deg); } |
| 433 |
100% { transform: rotate(360deg); } |
| 434 |
} |
| 435 |
|
| 436 |
@keyframes frmx-morph { |
| 437 |
0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; } |
| 438 |
50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; } |
| 439 |
} |
| 440 |
|
| 441 |
// Main Notice Container |
| 442 |
.frmx-offer-notice { |
| 443 |
position: relative; |
| 444 |
background: linear-gradient(135deg, $frmx-offer-primary 0%, $frmx-offer-secondary 40%, $frmx-offer-tertiary 100%); |
| 445 |
border-radius: 16px; |
| 446 |
padding: 28px 36px; |
| 447 |
margin: 20px 20px 20px 0; |
| 448 |
color: $frmx-offer-text; |
| 449 |
box-shadow: |
| 450 |
0 4px 6px -1px rgba(30, 27, 75, 0.4), |
| 451 |
0 10px 15px -3px rgba(30, 27, 75, 0.3), |
| 452 |
0 20px 25px -5px rgba(67, 56, 202, 0.2), |
| 453 |
inset 0 1px 0 rgba(255, 255, 255, 0.1); |
| 454 |
overflow: hidden; |
| 455 |
opacity: 0; |
| 456 |
transform: translateY(-10px); |
| 457 |
transition: opacity 0.4s ease, transform 0.4s ease; |
| 458 |
border: 1px solid rgba(255, 255, 255, 0.08); |
| 459 |
|
| 460 |
&.frmx-offer-visible { |
| 461 |
opacity: 1; |
| 462 |
transform: translateY(0); |
| 463 |
} |
| 464 |
|
| 465 |
// Geometric Background Pattern |
| 466 |
.frmx-offer-bg-pattern { |
| 467 |
position: absolute; |
| 468 |
top: 0; |
| 469 |
left: 0; |
| 470 |
right: 0; |
| 471 |
bottom: 0; |
| 472 |
background-image: |
| 473 |
// Subtle grid pattern |
| 474 |
linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), |
| 475 |
linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px), |
| 476 |
// Radial glows |
| 477 |
radial-gradient(ellipse at 10% 90%, rgba(251, 191, 36, 0.15) 0%, transparent 50%), |
| 478 |
radial-gradient(ellipse at 90% 10%, rgba(99, 102, 241, 0.2) 0%, transparent 40%), |
| 479 |
radial-gradient(ellipse at 50% 50%, rgba(67, 56, 202, 0.1) 0%, transparent 60%); |
| 480 |
background-size: 40px 40px, 40px 40px, 100% 100%, 100% 100%, 100% 100%; |
| 481 |
pointer-events: none; |
| 482 |
} |
| 483 |
|
| 484 |
// Animated Glow Orbs |
| 485 |
.frmx-offer-glow { |
| 486 |
position: absolute; |
| 487 |
pointer-events: none; |
| 488 |
|
| 489 |
// Main golden glow (top right) |
| 490 |
&::before { |
| 491 |
content: ''; |
| 492 |
position: absolute; |
| 493 |
top: -80px; |
| 494 |
right: -40px; |
| 495 |
width: 250px; |
| 496 |
height: 250px; |
| 497 |
background: radial-gradient(circle, rgba(251, 191, 36, 0.35) 0%, rgba(251, 191, 36, 0.1) 40%, transparent 70%); |
| 498 |
animation: frmx-glow 4s ease-in-out infinite; |
| 499 |
border-radius: 50%; |
| 500 |
} |
| 501 |
|
| 502 |
// Secondary purple orb (bottom left) |
| 503 |
&::after { |
| 504 |
content: ''; |
| 505 |
position: absolute; |
| 506 |
bottom: -100px; |
| 507 |
left: -60px; |
| 508 |
width: 200px; |
| 509 |
height: 200px; |
| 510 |
background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, rgba(99, 102, 241, 0.1) 50%, transparent 70%); |
| 511 |
animation: frmx-glow 5s ease-in-out infinite reverse; |
| 512 |
animation-delay: 1s; |
| 513 |
border-radius: 50%; |
| 514 |
} |
| 515 |
} |
| 516 |
|
| 517 |
// Action Buttons (Dismiss & Snooze) |
| 518 |
.frmx-offer-actions { |
| 519 |
position: absolute; |
| 520 |
top: 16px; |
| 521 |
right: 16px; |
| 522 |
display: flex; |
| 523 |
gap: 8px; |
| 524 |
z-index: 10; |
| 525 |
} |
| 526 |
|
| 527 |
.frmx-offer-snooze, |
| 528 |
.frmx-offer-dismiss { |
| 529 |
display: flex; |
| 530 |
align-items: center; |
| 531 |
gap: 4px; |
| 532 |
background: rgba(255, 255, 255, 0.15); |
| 533 |
border: 1px solid rgba(255, 255, 255, 0.2); |
| 534 |
border-radius: 6px; |
| 535 |
padding: 6px 10px; |
| 536 |
color: $frmx-offer-text; |
| 537 |
cursor: pointer; |
| 538 |
transition: all 0.2s ease; |
| 539 |
font-size: 12px; |
| 540 |
|
| 541 |
.dashicons { |
| 542 |
font-size: 16px; |
| 543 |
width: 16px; |
| 544 |
height: 16px; |
| 545 |
} |
| 546 |
|
| 547 |
&:hover { |
| 548 |
background: rgba(255, 255, 255, 0.25); |
| 549 |
border-color: rgba(255, 255, 255, 0.4); |
| 550 |
} |
| 551 |
} |
| 552 |
|
| 553 |
.frmx-offer-dismiss { |
| 554 |
padding: 6px 8px; |
| 555 |
} |
| 556 |
|
| 557 |
// Container Layout |
| 558 |
.frmx-offer-container { |
| 559 |
position: relative; |
| 560 |
display: grid; |
| 561 |
grid-template-columns: 1fr 1.5fr auto; |
| 562 |
gap: 32px; |
| 563 |
align-items: center; |
| 564 |
z-index: 5; |
| 565 |
} |
| 566 |
|
| 567 |
// Header Section |
| 568 |
.frmx-offer-header { |
| 569 |
.frmx-offer-badge { |
| 570 |
display: inline-flex; |
| 571 |
align-items: center; |
| 572 |
gap: 6px; |
| 573 |
background: rgba(245, 158, 11, 0.2); |
| 574 |
border: 1px solid rgba(245, 158, 11, 0.4); |
| 575 |
border-radius: 20px; |
| 576 |
padding: 4px 12px; |
| 577 |
font-size: 12px; |
| 578 |
font-weight: 600; |
| 579 |
margin-bottom: 12px; |
| 580 |
animation: frmx-pulse 2s ease-in-out infinite; |
| 581 |
|
| 582 |
.frmx-offer-badge-icon { |
| 583 |
font-size: 14px; |
| 584 |
} |
| 585 |
} |
| 586 |
|
| 587 |
.frmx-offer-headline { |
| 588 |
font-size: 20px; |
| 589 |
font-weight: 700; |
| 590 |
margin: 0 0 8px 0; |
| 591 |
line-height: 1.3; |
| 592 |
color: $frmx-offer-text; |
| 593 |
} |
| 594 |
|
| 595 |
.frmx-offer-subheadline { |
| 596 |
font-size: 14px; |
| 597 |
color: $frmx-offer-text-muted; |
| 598 |
margin: 0; |
| 599 |
line-height: 1.5; |
| 600 |
} |
| 601 |
} |
| 602 |
|
| 603 |
// Features Grid |
| 604 |
.frmx-offer-features { |
| 605 |
display: grid; |
| 606 |
grid-template-columns: repeat(2, 1fr); |
| 607 |
gap: 12px; |
| 608 |
} |
| 609 |
|
| 610 |
.frmx-offer-feature { |
| 611 |
display: flex; |
| 612 |
align-items: flex-start; |
| 613 |
gap: 10px; |
| 614 |
background: rgba(255, 255, 255, 0.1); |
| 615 |
border-radius: 10px; |
| 616 |
padding: 12px 14px; |
| 617 |
transition: all 0.2s ease; |
| 618 |
|
| 619 |
&:hover { |
| 620 |
background: rgba(255, 255, 255, 0.15); |
| 621 |
transform: translateY(-2px); |
| 622 |
} |
| 623 |
|
| 624 |
.dashicons { |
| 625 |
font-size: 20px; |
| 626 |
width: 20px; |
| 627 |
height: 20px; |
| 628 |
color: $frmx-offer-accent; |
| 629 |
flex-shrink: 0; |
| 630 |
margin-top: 2px; |
| 631 |
} |
| 632 |
|
| 633 |
.frmx-offer-feature-text { |
| 634 |
display: flex; |
| 635 |
flex-direction: column; |
| 636 |
gap: 2px; |
| 637 |
|
| 638 |
strong { |
| 639 |
font-size: 13px; |
| 640 |
font-weight: 600; |
| 641 |
color: $frmx-offer-text; |
| 642 |
} |
| 643 |
|
| 644 |
span { |
| 645 |
font-size: 11px; |
| 646 |
color: $frmx-offer-text-muted; |
| 647 |
} |
| 648 |
} |
| 649 |
} |
| 650 |
|
| 651 |
// CTA Section |
| 652 |
.frmx-offer-cta-section { |
| 653 |
display: flex; |
| 654 |
flex-direction: column; |
| 655 |
align-items: center; |
| 656 |
gap: 12px; |
| 657 |
padding-left: 24px; |
| 658 |
border-left: 1px solid rgba(255, 255, 255, 0.15); |
| 659 |
} |
| 660 |
|
| 661 |
// Discount Badge |
| 662 |
.frmx-offer-discount { |
| 663 |
display: flex; |
| 664 |
align-items: baseline; |
| 665 |
gap: 4px; |
| 666 |
animation: frmx-float 3s ease-in-out infinite; |
| 667 |
|
| 668 |
.frmx-offer-discount-value { |
| 669 |
font-size: 42px; |
| 670 |
font-weight: 800; |
| 671 |
color: $frmx-offer-accent; |
| 672 |
text-shadow: 0 2px 10px rgba(245, 158, 11, 0.4); |
| 673 |
line-height: 1; |
| 674 |
} |
| 675 |
|
| 676 |
.frmx-offer-discount-label { |
| 677 |
font-size: 18px; |
| 678 |
font-weight: 700; |
| 679 |
color: $frmx-offer-accent; |
| 680 |
} |
| 681 |
} |
| 682 |
|
| 683 |
// Coupon Box |
| 684 |
.frmx-offer-coupon { |
| 685 |
text-align: center; |
| 686 |
|
| 687 |
.frmx-offer-coupon-label { |
| 688 |
display: block; |
| 689 |
font-size: 11px; |
| 690 |
color: $frmx-offer-text-muted; |
| 691 |
margin-bottom: 6px; |
| 692 |
} |
| 693 |
|
| 694 |
.frmx-offer-coupon-box { |
| 695 |
display: flex; |
| 696 |
align-items: center; |
| 697 |
gap: 6px; |
| 698 |
background: rgba(255, 255, 255, 0.15); |
| 699 |
border: 1px dashed rgba(255, 255, 255, 0.4); |
| 700 |
border-radius: 8px; |
| 701 |
padding: 6px 10px; |
| 702 |
position: relative; |
| 703 |
} |
| 704 |
|
| 705 |
.frmx-offer-coupon-code { |
| 706 |
font-family: 'SF Mono', 'Consolas', monospace; |
| 707 |
font-size: 14px; |
| 708 |
font-weight: 700; |
| 709 |
color: $frmx-offer-text; |
| 710 |
letter-spacing: 1px; |
| 711 |
background: transparent; |
| 712 |
padding: 0; |
| 713 |
} |
| 714 |
|
| 715 |
.frmx-offer-copy-btn { |
| 716 |
display: flex; |
| 717 |
align-items: center; |
| 718 |
justify-content: center; |
| 719 |
background: rgba(255, 255, 255, 0.2); |
| 720 |
border: none; |
| 721 |
border-radius: 4px; |
| 722 |
padding: 4px; |
| 723 |
cursor: pointer; |
| 724 |
transition: all 0.2s ease; |
| 725 |
|
| 726 |
.dashicons { |
| 727 |
font-size: 14px; |
| 728 |
width: 14px; |
| 729 |
height: 14px; |
| 730 |
color: $frmx-offer-text; |
| 731 |
} |
| 732 |
|
| 733 |
&:hover { |
| 734 |
background: rgba(255, 255, 255, 0.3); |
| 735 |
} |
| 736 |
|
| 737 |
&.copied { |
| 738 |
background: $frmx-offer-success; |
| 739 |
} |
| 740 |
} |
| 741 |
|
| 742 |
.frmx-offer-copy-success { |
| 743 |
position: absolute; |
| 744 |
top: 100%; |
| 745 |
left: 50%; |
| 746 |
transform: translateX(-50%); |
| 747 |
display: flex; |
| 748 |
align-items: center; |
| 749 |
gap: 4px; |
| 750 |
background: $frmx-offer-success; |
| 751 |
color: #fff; |
| 752 |
font-size: 11px; |
| 753 |
font-weight: 600; |
| 754 |
padding: 4px 10px; |
| 755 |
border-radius: 4px; |
| 756 |
margin-top: 6px; |
| 757 |
opacity: 0; |
| 758 |
visibility: hidden; |
| 759 |
transition: all 0.2s ease; |
| 760 |
white-space: nowrap; |
| 761 |
|
| 762 |
.dashicons { |
| 763 |
font-size: 12px; |
| 764 |
width: 12px; |
| 765 |
height: 12px; |
| 766 |
} |
| 767 |
|
| 768 |
&.show { |
| 769 |
opacity: 1; |
| 770 |
visibility: visible; |
| 771 |
} |
| 772 |
} |
| 773 |
} |
| 774 |
|
| 775 |
// CTA Button |
| 776 |
.frmx-offer-cta-btn { |
| 777 |
display: inline-flex; |
| 778 |
align-items: center; |
| 779 |
gap: 8px; |
| 780 |
background: linear-gradient(135deg, $frmx-offer-accent 0%, darken($frmx-offer-accent, 10%) 100%); |
| 781 |
color: #1f2937; |
| 782 |
font-size: 14px; |
| 783 |
font-weight: 700; |
| 784 |
text-decoration: none; |
| 785 |
padding: 12px 24px; |
| 786 |
border-radius: 8px; |
| 787 |
box-shadow: |
| 788 |
0 4px 6px -1px rgba(245, 158, 11, 0.3), |
| 789 |
0 2px 4px -1px rgba(245, 158, 11, 0.2); |
| 790 |
transition: all 0.3s ease; |
| 791 |
background-size: 200% 200%; |
| 792 |
animation: frmx-shimmer 3s ease-in-out infinite; |
| 793 |
|
| 794 |
.dashicons { |
| 795 |
font-size: 16px; |
| 796 |
width: 16px; |
| 797 |
height: 16px; |
| 798 |
transition: transform 0.2s ease; |
| 799 |
} |
| 800 |
|
| 801 |
&:hover { |
| 802 |
transform: translateY(-2px); |
| 803 |
box-shadow: |
| 804 |
0 6px 10px -1px rgba(245, 158, 11, 0.4), |
| 805 |
0 4px 6px -1px rgba(245, 158, 11, 0.3); |
| 806 |
color: #1f2937; |
| 807 |
|
| 808 |
.dashicons { |
| 809 |
transform: translateX(3px); |
| 810 |
} |
| 811 |
} |
| 812 |
|
| 813 |
&:active { |
| 814 |
transform: translateY(0); |
| 815 |
} |
| 816 |
} |
| 817 |
|
| 818 |
// Guarantee Text |
| 819 |
.frmx-offer-guarantee { |
| 820 |
display: flex; |
| 821 |
align-items: center; |
| 822 |
gap: 4px; |
| 823 |
font-size: 11px; |
| 824 |
color: $frmx-offer-text-muted; |
| 825 |
margin: 0; |
| 826 |
|
| 827 |
.dashicons { |
| 828 |
font-size: 14px; |
| 829 |
width: 14px; |
| 830 |
height: 14px; |
| 831 |
color: $frmx-offer-success; |
| 832 |
} |
| 833 |
} |
| 834 |
} |
| 835 |
|
| 836 |
// Responsive Design |
| 837 |
@media (max-width: 1200px) { |
| 838 |
.frmx-offer-notice { |
| 839 |
.frmx-offer-container { |
| 840 |
grid-template-columns: 1fr 1fr; |
| 841 |
gap: 24px; |
| 842 |
} |
| 843 |
|
| 844 |
.frmx-offer-cta-section { |
| 845 |
grid-column: 1 / -1; |
| 846 |
flex-direction: row; |
| 847 |
justify-content: center; |
| 848 |
border-left: none; |
| 849 |
border-top: 1px solid rgba(255, 255, 255, 0.15); |
| 850 |
padding-left: 0; |
| 851 |
padding-top: 20px; |
| 852 |
} |
| 853 |
} |
| 854 |
} |
| 855 |
|
| 856 |
@media (max-width: 782px) { |
| 857 |
.frmx-offer-notice { |
| 858 |
padding: 20px; |
| 859 |
margin: 15px 10px 15px 0; |
| 860 |
|
| 861 |
.frmx-offer-container { |
| 862 |
grid-template-columns: 1fr; |
| 863 |
text-align: center; |
| 864 |
} |
| 865 |
|
| 866 |
.frmx-offer-header { |
| 867 |
.frmx-offer-badge { |
| 868 |
justify-content: center; |
| 869 |
} |
| 870 |
} |
| 871 |
|
| 872 |
.frmx-offer-features { |
| 873 |
grid-template-columns: 1fr; |
| 874 |
} |
| 875 |
|
| 876 |
.frmx-offer-cta-section { |
| 877 |
flex-direction: column; |
| 878 |
padding-top: 16px; |
| 879 |
} |
| 880 |
|
| 881 |
.frmx-offer-snooze-text { |
| 882 |
display: none; |
| 883 |
} |
| 884 |
} |
| 885 |
} |