| 1 |
/** |
| 2 |
* Settings Wizard Styles |
| 3 |
*/ |
| 4 |
|
| 5 |
:root { |
| 6 |
--wz-primary: #032075; |
| 7 |
--wz-primary-hover: #0d2f8d; |
| 8 |
--wz-accent: #ffbd59; |
| 9 |
--wz-accent-hover: #f08c00; |
| 10 |
--wz-warning: #c8102e; |
| 11 |
--wz-warning-hover: #e04841; |
| 12 |
--wz-success: #1e7e34; |
| 13 |
--wz-success-bg: #f0fff0; |
| 14 |
--wz-text-dark: #0a0a0a; |
| 15 |
--wz-text-main: #1d2327; |
| 16 |
--wz-text-muted: #444; |
| 17 |
--wz-border: #ccd0d4; |
| 18 |
--wz-bg-light: #f1f3f5; |
| 19 |
} |
| 20 |
|
| 21 |
/* Wizard Container */ |
| 22 |
.wizard-wrap { |
| 23 |
max-width: 95%; |
| 24 |
margin: 20px auto; |
| 25 |
background: #fff; |
| 26 |
border: 1px solid var(--wz-border); |
| 27 |
border-radius: 4px; |
| 28 |
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); |
| 29 |
padding: 30px; |
| 30 |
} |
| 31 |
|
| 32 |
/* Content Area */ |
| 33 |
.wizard-step h2 { |
| 34 |
color: var(--wz-primary); |
| 35 |
margin-top: 0; |
| 36 |
} |
| 37 |
|
| 38 |
.wizard-content { |
| 39 |
padding: 30px 0; |
| 40 |
} |
| 41 |
|
| 42 |
.wizard-wrap h1 { |
| 43 |
background: #f1f1f1; |
| 44 |
border-bottom: 1px solid var(--wz-border); |
| 45 |
margin: -30px -30px 0; |
| 46 |
padding: 20px 30px; |
| 47 |
font-size: 24px; |
| 48 |
font-weight: 400; |
| 49 |
color: var(--wz-primary); |
| 50 |
} |
| 51 |
|
| 52 |
/* Steps Navigation */ |
| 53 |
.wizard-steps-nav { |
| 54 |
display: flex; |
| 55 |
justify-content: center; |
| 56 |
align-items: center; |
| 57 |
margin: 0 -30px; |
| 58 |
padding: 20px 30px; |
| 59 |
background: #f9f9f9; |
| 60 |
border-bottom: 1px solid #eee; |
| 61 |
list-style: none; |
| 62 |
gap: 20px; |
| 63 |
flex-wrap: wrap; |
| 64 |
} |
| 65 |
|
| 66 |
.wizard-steps-nav li { |
| 67 |
display: flex; |
| 68 |
flex-direction: column; |
| 69 |
align-items: center; |
| 70 |
text-align: center; |
| 71 |
padding: 10px 15px; |
| 72 |
border-radius: 6px; |
| 73 |
background: #fff; |
| 74 |
border: 2px solid #ddd; |
| 75 |
min-width: 120px; |
| 76 |
transition: all 0.3s ease; |
| 77 |
position: relative; |
| 78 |
} |
| 79 |
|
| 80 |
.wizard-steps-nav li.active { |
| 81 |
border-color: var(--wz-primary); |
| 82 |
background: #eef9ff; |
| 83 |
color: var(--wz-primary); |
| 84 |
font-weight: 600; |
| 85 |
} |
| 86 |
|
| 87 |
.wizard-steps-nav li.done { |
| 88 |
border-color: var(--wz-success); |
| 89 |
background: var(--wz-success-bg); |
| 90 |
color: var(--wz-success); |
| 91 |
} |
| 92 |
|
| 93 |
.wizard-steps-nav li.done::before { |
| 94 |
content: "✓"; |
| 95 |
position: absolute; |
| 96 |
top: -8px; |
| 97 |
left: -8px; |
| 98 |
width: 20px; |
| 99 |
height: 20px; |
| 100 |
background: var(--wz-success); |
| 101 |
color: #fff; |
| 102 |
border-radius: 50%; |
| 103 |
font-size: 12px; |
| 104 |
line-height: 20px; |
| 105 |
text-align: center; |
| 106 |
font-weight: bold; |
| 107 |
} |
| 108 |
|
| 109 |
.wizard-steps-nav .step-number { |
| 110 |
display: block; |
| 111 |
font-size: 14px; |
| 112 |
font-weight: bold; |
| 113 |
margin-bottom: 4px; |
| 114 |
color: var(--wz-text-muted); |
| 115 |
} |
| 116 |
|
| 117 |
.wizard-steps-nav li.active .step-number { |
| 118 |
color: var(--wz-primary); |
| 119 |
} |
| 120 |
|
| 121 |
.wizard-steps-nav li.done .step-number { |
| 122 |
color: var(--wz-success); |
| 123 |
} |
| 124 |
|
| 125 |
.wizard-steps-nav .step-name { |
| 126 |
display: block; |
| 127 |
font-size: 12px; |
| 128 |
line-height: 1.2; |
| 129 |
color: var(--wz-text-main); |
| 130 |
} |
| 131 |
|
| 132 |
.wizard-steps-nav li.active .step-name { |
| 133 |
color: var(--wz-primary); |
| 134 |
font-weight: 600; |
| 135 |
} |
| 136 |
|
| 137 |
.wizard-steps-nav li.done .step-name { |
| 138 |
color: var(--wz-success); |
| 139 |
} |
| 140 |
|
| 141 |
.wizard-steps-nav li.done .step-link { |
| 142 |
display: block; |
| 143 |
padding: 10px; |
| 144 |
margin: -10px; |
| 145 |
text-decoration: none !important; |
| 146 |
color: inherit; |
| 147 |
transition: all 0.2s ease; |
| 148 |
cursor: pointer; |
| 149 |
} |
| 150 |
|
| 151 |
.wizard-steps-nav li.done .step-link:hover { |
| 152 |
color: var(--wz-primary); |
| 153 |
text-decoration: none !important; |
| 154 |
} |
| 155 |
|
| 156 |
.wizard-steps-nav li.done a.step-link, |
| 157 |
.wizard-steps-nav li.done a.step-link:link, |
| 158 |
.wizard-steps-nav li.done a.step-link:visited, |
| 159 |
.wizard-steps-nav li.done a.step-link:active, |
| 160 |
.wizard-steps-nav li.done a.step-link:hover { |
| 161 |
text-decoration: none !important; |
| 162 |
} |
| 163 |
|
| 164 |
.wizard-steps-nav li.done:hover { |
| 165 |
background-color: #c3e6cb; |
| 166 |
border-color: var(--wz-success); |
| 167 |
} |
| 168 |
|
| 169 |
.wizard-steps-nav li.done .step-link:focus { |
| 170 |
outline: 2px solid var(--wz-primary); |
| 171 |
outline-offset: 2px; |
| 172 |
border-radius: 2px; |
| 173 |
} |
| 174 |
|
| 175 |
/* Actions */ |
| 176 |
.wizard-actions { |
| 177 |
border-top: 1px solid #eee; |
| 178 |
padding-top: 20px; |
| 179 |
display: flex; |
| 180 |
justify-content: space-between; |
| 181 |
align-items: center; |
| 182 |
margin: 20px -30px 0; |
| 183 |
padding-right: 30px; |
| 184 |
padding-left: 30px; |
| 185 |
} |
| 186 |
|
| 187 |
.wizard-actions .button-primary { |
| 188 |
background-color: var(--wz-primary) !important; |
| 189 |
border-color: var(--wz-primary) !important; |
| 190 |
color: #fff !important; |
| 191 |
text-shadow: none !important; |
| 192 |
box-shadow: none !important; |
| 193 |
} |
| 194 |
|
| 195 |
.wizard-actions .button-primary:hover, |
| 196 |
.wizard-actions .button-primary:focus { |
| 197 |
background-color: var(--wz-primary-hover) !important; |
| 198 |
border-color: var(--wz-primary-hover) !important; |
| 199 |
color: #fff !important; |
| 200 |
} |
| 201 |
|
| 202 |
.wizard-button-skip { |
| 203 |
background-color: #fff !important; |
| 204 |
border-color: var(--wz-warning) !important; |
| 205 |
color: var(--wz-warning) !important; |
| 206 |
text-shadow: none !important; |
| 207 |
box-shadow: none !important; |
| 208 |
} |
| 209 |
|
| 210 |
.wizard-button-skip:hover, |
| 211 |
.wizard-button-skip:focus { |
| 212 |
background-color: var(--wz-warning) !important; |
| 213 |
border-color: var(--wz-warning) !important; |
| 214 |
color: #fff !important; |
| 215 |
} |
| 216 |
|
| 217 |
/* Progress Bar */ |
| 218 |
.wizard-progress { |
| 219 |
padding: 20px 30px; |
| 220 |
border-bottom: 1px solid #eee; |
| 221 |
background: #fafafa; |
| 222 |
margin: 0 -30px; |
| 223 |
} |
| 224 |
|
| 225 |
.wizard-progress-fill { |
| 226 |
height: 100%; |
| 227 |
background-color: var(--wz-primary); |
| 228 |
transition: width 0.3s ease; |
| 229 |
} |
| 230 |
|
| 231 |
/* Completion Page Styles */ |
| 232 |
.wizard-completion-content { |
| 233 |
padding: 30px 0; |
| 234 |
} |
| 235 |
|
| 236 |
.wizard-setup-top-actions { |
| 237 |
display: flex; |
| 238 |
justify-content: flex-start; |
| 239 |
gap: 20px; |
| 240 |
margin-bottom: 30px; |
| 241 |
} |
| 242 |
|
| 243 |
.wizard-setup-top-actions .button { |
| 244 |
min-height: 50px; |
| 245 |
padding: 12px 24px; |
| 246 |
font-size: 15px; |
| 247 |
font-weight: 600; |
| 248 |
display: inline-flex; |
| 249 |
align-items: center; |
| 250 |
gap: 10px; |
| 251 |
justify-content: center; |
| 252 |
background-color: var(--wz-primary) !important; |
| 253 |
border-color: var(--wz-primary) !important; |
| 254 |
color: #ffffff !important; |
| 255 |
text-shadow: none !important; |
| 256 |
box-shadow: none !important; |
| 257 |
border-radius: 6px; |
| 258 |
} |
| 259 |
|
| 260 |
.wizard-setup-top-actions .button:first-child { |
| 261 |
background-color: var(--wz-warning) !important; |
| 262 |
border-color: var(--wz-warning) !important; |
| 263 |
} |
| 264 |
|
| 265 |
.wizard-setup-top-actions .button:first-child:hover { |
| 266 |
background-color: var(--wz-warning-hover) !important; |
| 267 |
border-color: var(--wz-warning-hover) !important; |
| 268 |
} |
| 269 |
|
| 270 |
.wizard-setup-top-actions .button:hover, |
| 271 |
.wizard-setup-top-actions .button:focus { |
| 272 |
background-color: var(--wz-primary-hover) !important; |
| 273 |
border-color: var(--wz-primary-hover) !important; |
| 274 |
color: #ffffff !important; |
| 275 |
transform: translateY(-1px); |
| 276 |
} |
| 277 |
|
| 278 |
.wizard-setup-guidance { |
| 279 |
background: var(--wz-bg-light); |
| 280 |
border: 2px solid var(--wz-primary); |
| 281 |
border-radius: 6px; |
| 282 |
padding: 20px; |
| 283 |
margin-bottom: 30px; |
| 284 |
color: var(--wz-text-main); |
| 285 |
} |
| 286 |
|
| 287 |
.wizard-setup-guidance p { |
| 288 |
margin: 0; |
| 289 |
color: var(--wz-text-main); |
| 290 |
font-size: 15px; |
| 291 |
} |
| 292 |
|
| 293 |
.wizard-setup-guidance strong { |
| 294 |
color: var(--wz-primary); |
| 295 |
} |
| 296 |
|
| 297 |
.wizard-setup-next-actions-horizontal { |
| 298 |
display: flex; |
| 299 |
flex-wrap: wrap; |
| 300 |
gap: 20px; |
| 301 |
margin: 0; |
| 302 |
padding: 0; |
| 303 |
list-style: none; |
| 304 |
} |
| 305 |
|
| 306 |
.wizard-setup-next-actions-horizontal li { |
| 307 |
flex: 1; |
| 308 |
min-width: 200px; |
| 309 |
text-align: center; |
| 310 |
} |
| 311 |
|
| 312 |
.wizard-setup-next-actions-horizontal .button { |
| 313 |
display: flex; |
| 314 |
align-items: center; |
| 315 |
justify-content: center; |
| 316 |
width: 100%; |
| 317 |
min-height: 50px; |
| 318 |
padding: 10px 15px; |
| 319 |
font-size: 14px; |
| 320 |
font-weight: 600; |
| 321 |
text-decoration: none; |
| 322 |
border-radius: 6px; |
| 323 |
transition: all 0.2s ease; |
| 324 |
flex-direction: row; |
| 325 |
gap: 8px; |
| 326 |
background-color: var(--wz-primary) !important; |
| 327 |
border-color: var(--wz-primary) !important; |
| 328 |
color: #ffffff !important; |
| 329 |
text-shadow: none !important; |
| 330 |
box-shadow: none !important; |
| 331 |
} |
| 332 |
|
| 333 |
.wizard-setup-next-actions-horizontal li.setup-product .button, |
| 334 |
.wizard-setup-next-actions-horizontal li.setup-sections a.button-primary { |
| 335 |
background-color: var(--wz-accent) !important; |
| 336 |
border-color: var(--wz-accent) !important; |
| 337 |
color: var(--wz-text-dark) !important; |
| 338 |
} |
| 339 |
|
| 340 |
.wizard-setup-next-actions-horizontal li.setup-product .button:hover, |
| 341 |
.wizard-setup-next-actions-horizontal li.setup-sections a.button-primary:hover { |
| 342 |
background-color: var(--wz-accent-hover) !important; |
| 343 |
border-color: var(--wz-accent-hover) !important; |
| 344 |
color: var(--wz-text-dark) !important; |
| 345 |
} |
| 346 |
|
| 347 |
.wizard-setup-next-actions-horizontal .button:hover, |
| 348 |
.wizard-setup-next-actions-horizontal .button:focus { |
| 349 |
background-color: var(--wz-primary-hover) !important; |
| 350 |
border-color: var(--wz-primary-hover) !important; |
| 351 |
color: #ffffff !important; |
| 352 |
transform: translateY(-1px); |
| 353 |
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important; |
| 354 |
} |
| 355 |
|
| 356 |
.wizard-setup-next-actions-horizontal .dashicons { |
| 357 |
margin-left: 0; |
| 358 |
font-size: 18px; |
| 359 |
width: 18px; |
| 360 |
height: 18px; |
| 361 |
} |
| 362 |
|
| 363 |
.wizard-action-description { |
| 364 |
display: block; |
| 365 |
margin-top: 6px; |
| 366 |
font-size: 11px; |
| 367 |
color: var(--wz-text-muted); |
| 368 |
} |
| 369 |
|
| 370 |
.wizard-setup-pro-features { |
| 371 |
margin-top: 30px; |
| 372 |
padding-top: 20px; |
| 373 |
border-top: 1px solid #eee; |
| 374 |
} |
| 375 |
|
| 376 |
.wizard-setup-pro-features h3 { |
| 377 |
margin: 0 0 15px 0; |
| 378 |
color: var(--wz-text-main); |
| 379 |
font-size: 1.1em; |
| 380 |
font-weight: 600; |
| 381 |
} |
| 382 |
|
| 383 |
.wizard-setup-pro-actions { |
| 384 |
display: flex; |
| 385 |
flex-wrap: wrap; |
| 386 |
gap: 15px; |
| 387 |
margin: 0; |
| 388 |
padding: 0; |
| 389 |
list-style: none; |
| 390 |
} |
| 391 |
|
| 392 |
.wizard-setup-pro-actions li { |
| 393 |
flex: 1; |
| 394 |
min-width: 200px; |
| 395 |
text-align: center; |
| 396 |
} |
| 397 |
|
| 398 |
.wizard-setup-pro-actions .button { |
| 399 |
display: flex; |
| 400 |
align-items: center; |
| 401 |
justify-content: center; |
| 402 |
width: 100%; |
| 403 |
min-height: 50px; |
| 404 |
padding: 10px 15px; |
| 405 |
font-size: 14px; |
| 406 |
font-weight: 600; |
| 407 |
flex-direction: row; |
| 408 |
gap: 8px; |
| 409 |
background-color: #fff !important; |
| 410 |
border: 1px solid var(--wz-primary) !important; |
| 411 |
color: var(--wz-primary) !important; |
| 412 |
text-shadow: none !important; |
| 413 |
box-shadow: none !important; |
| 414 |
} |
| 415 |
|
| 416 |
.wizard-setup-pro-actions .button:hover { |
| 417 |
background-color: var(--wz-primary) !important; |
| 418 |
color: #fff !important; |
| 419 |
} |
| 420 |
|
| 421 |
.wizard-setup-pro-actions .dashicons { |
| 422 |
margin-left: 0; |
| 423 |
font-size: 18px; |
| 424 |
width: 18px; |
| 425 |
height: 18px; |
| 426 |
} |
| 427 |
|
| 428 |
.wizard-setup-resources { |
| 429 |
margin-top: 30px; |
| 430 |
padding-top: 20px; |
| 431 |
border-top: 1px solid #eee; |
| 432 |
} |
| 433 |
|
| 434 |
.wizard-setup-resources h3 { |
| 435 |
margin: 0 0 15px 0; |
| 436 |
color: var(--wz-text-main); |
| 437 |
font-size: 1.1em; |
| 438 |
font-weight: 600; |
| 439 |
} |
| 440 |
|
| 441 |
.wizard-setup-resource-links { |
| 442 |
display: flex; |
| 443 |
flex-wrap: wrap; |
| 444 |
gap: 15px; |
| 445 |
margin: 0; |
| 446 |
padding: 0; |
| 447 |
list-style: none; |
| 448 |
} |
| 449 |
|
| 450 |
.wizard-setup-resource-links li { |
| 451 |
flex: 1; |
| 452 |
min-width: 200px; |
| 453 |
text-align: center; |
| 454 |
} |
| 455 |
|
| 456 |
.wizard-setup-resource-links .button { |
| 457 |
display: flex; |
| 458 |
align-items: center; |
| 459 |
justify-content: center; |
| 460 |
width: 100%; |
| 461 |
padding: 10px 15px; |
| 462 |
min-height: 50px; |
| 463 |
font-size: 14px; |
| 464 |
font-weight: 600; |
| 465 |
text-decoration: none; |
| 466 |
border-radius: 6px; |
| 467 |
transition: all 0.2s ease; |
| 468 |
flex-direction: row; |
| 469 |
gap: 8px; |
| 470 |
background-color: #fff !important; |
| 471 |
border: 1px solid var(--wz-primary) !important; |
| 472 |
color: var(--wz-primary) !important; |
| 473 |
text-shadow: none !important; |
| 474 |
box-shadow: none !important; |
| 475 |
} |
| 476 |
|
| 477 |
.wizard-setup-resource-links .button:hover { |
| 478 |
background-color: var(--wz-primary) !important; |
| 479 |
color: #fff !important; |
| 480 |
} |
| 481 |
|
| 482 |
.wizard-setup-resource-links .dashicons { |
| 483 |
margin-left: 0; |
| 484 |
font-size: 18px; |
| 485 |
width: 18px; |
| 486 |
height: 18px; |
| 487 |
} |
| 488 |
|
| 489 |
.wizard-completion-header h1 { |
| 490 |
background: none; |
| 491 |
border: none; |
| 492 |
padding: 0; |
| 493 |
margin: 0 0 15px 0; |
| 494 |
color: var(--wz-primary); |
| 495 |
font-size: 28px; |
| 496 |
} |
| 497 |
|
| 498 |
.wizard-completion-message { |
| 499 |
font-size: 16px; |
| 500 |
color: var(--wz-text-muted); |
| 501 |
margin: 0; |
| 502 |
line-height: 1.5; |
| 503 |
} |
| 504 |
|
| 505 |
/* ... rest of the code remains the same ... */ |
| 506 |
|
| 507 |
.wizard-step.welcome-step h2 { |
| 508 |
font-size: 24px; |
| 509 |
margin-bottom: 20px; |
| 510 |
color: var(--wz-primary); |
| 511 |
} |
| 512 |
|
| 513 |
.wizard-step.welcome-step .wizard-step-description { |
| 514 |
font-size: 18px; |
| 515 |
line-height: 1.6; |
| 516 |
max-width: 600px; |
| 517 |
margin: 0 auto 40px auto; |
| 518 |
} |
| 519 |
|
| 520 |
/* ... rest of the code remains the same ... */ |
| 521 |
|
| 522 |
.wizard-loading::after { |
| 523 |
content: ""; |
| 524 |
position: absolute; |
| 525 |
top: 50%; |
| 526 |
right: 50%; |
| 527 |
width: 20px; |
| 528 |
height: 20px; |
| 529 |
margin: -10px -10px 0 0; |
| 530 |
border: 2px solid var(--wz-primary); |
| 531 |
border-radius: 50%; |
| 532 |
border-top-color: transparent; |
| 533 |
animation: spin 1s linear infinite; |
| 534 |
} |
| 535 |
|
| 536 |
@keyframes spin { |
| 537 |
to { |
| 538 |
transform: rotate(-360deg); |
| 539 |
} |
| 540 |
} |
| 541 |
|