wp2fa-admin-styles.css
2125 lines
| 1 | @charset "UTF-8"; |
| 2 | #excluded_users_buttons,#excluded_roles_buttons,#enforced_roles_buttons,#enforced_users_buttons,#excluded_sites_buttons { |
| 3 | display:inline; |
| 4 | } |
| 5 | |
| 6 | .wp2fa-setup-content #excluded_users_buttons,.wp2fa-setup-content #excluded_roles_buttons { |
| 7 | display:block; |
| 8 | margin-top:20px; |
| 9 | } |
| 10 | |
| 11 | .user-btn { |
| 12 | position:relative; |
| 13 | margin-inline-start:10px !important; |
| 14 | } |
| 15 | |
| 16 | .user-btn .remove-item { |
| 17 | background:red; |
| 18 | height:14px; |
| 19 | width:14px; |
| 20 | position:absolute; |
| 21 | color:#fff; |
| 22 | border-radius:7px; |
| 23 | line-height:11px; |
| 24 | text-align:center; |
| 25 | font-size:10px; |
| 26 | display:block; |
| 27 | inset-inline-end:-7px; |
| 28 | top:-5px; |
| 29 | } |
| 30 | |
| 31 | .mt-5px { |
| 32 | margin-top:7px; |
| 33 | display:inline-block; |
| 34 | } |
| 35 | |
| 36 | label.radio-inline { |
| 37 | padding-inline-start:8px; |
| 38 | } |
| 39 | |
| 40 | .danger-zone-wrapper { |
| 41 | padding:15px; |
| 42 | border:1px solid red; |
| 43 | border-radius:3px; |
| 44 | margin-top:15px; |
| 45 | } |
| 46 | |
| 47 | .learn_more_link { |
| 48 | display:inline-block; |
| 49 | margin-inline-start:10px; |
| 50 | margin-top:6px; |
| 51 | } |
| 52 | |
| 53 | .wp-2fa-settings-wrapper .disabled { |
| 54 | opacity:0.5; |
| 55 | pointer-events:none; |
| 56 | } |
| 57 | |
| 58 | .wp-2fa-settings-wrapper .disabled * { |
| 59 | pointer-events:none; |
| 60 | } |
| 61 | |
| 62 | .wp-2fa-settings-wrapper { |
| 63 | max-width:1010px; |
| 64 | } |
| 65 | |
| 66 | .wp-2fa-settings-wrapper h2 { |
| 67 | margin:3px 0 0; |
| 68 | } |
| 69 | |
| 70 | .wp-2fa-settings-wrapper .method-title em { |
| 71 | font-style:normal; |
| 72 | font-weight:500; |
| 73 | position:relative; |
| 74 | top:6px; |
| 75 | } |
| 76 | |
| 77 | .wp-2fa-settings-wrapper p.description { |
| 78 | font-size:var(--font-size-sm); |
| 79 | font-style: normal; |
| 80 | font-weight: 400; |
| 81 | line-height: 165%; |
| 82 | } |
| 83 | |
| 84 | .settings-card p.description { |
| 85 | font-size:var(--font-size-base); |
| 86 | font-style: normal; |
| 87 | font-weight: 400; |
| 88 | line-height: 165%; |
| 89 | } |
| 90 | |
| 91 | .wp-2fa-settings-wrapper:not(.setup-wizard-wrapper) .description fieldset label+label { |
| 92 | padding-inline-start:10px !important; |
| 93 | } |
| 94 | |
| 95 | label.disabled { |
| 96 | opacity:0.5; |
| 97 | cursor:default; |
| 98 | } |
| 99 | |
| 100 | .button.has-spinner { |
| 101 | padding-inline-end:0 !important; |
| 102 | } |
| 103 | |
| 104 | .notice-after-button { |
| 105 | margin-inline-start:0px !important; |
| 106 | padding:5px 10px !important; |
| 107 | clear:left; |
| 108 | display:block; |
| 109 | } |
| 110 | |
| 111 | input.error { |
| 112 | border-color:#dc3232; |
| 113 | background:#ffebee; |
| 114 | } |
| 115 | |
| 116 | .wp-2fa-user-profile-form .button { |
| 117 | margin-inline-end:5px; |
| 118 | } |
| 119 | |
| 120 | .wp-submenu a[href="wp-2fa-setup"] { |
| 121 | display:none !important; |
| 122 | } |
| 123 | |
| 124 | @media (min-width:1200px) { |
| 125 | .min-input-width { |
| 126 | min-width:360px; |
| 127 | } |
| 128 | |
| 129 | } |
| 130 | |
| 131 | .wp2fa-form-styles .select2-selection--multiple { |
| 132 | min-height:36px; |
| 133 | height:auto; |
| 134 | overflow-y:auto; |
| 135 | } |
| 136 | |
| 137 | .wp2fa-form-styles .select2-container--default .select2-selection--multiple .select2-selection__choice { |
| 138 | background-color:#e4e4e4; |
| 139 | border:1px solid #aaa; |
| 140 | border-radius:4px; |
| 141 | cursor:default; |
| 142 | float:left; |
| 143 | margin-inline-end:5px; |
| 144 | margin-top:4px; |
| 145 | margin-bottom:0px; |
| 146 | padding:0 5px; |
| 147 | } |
| 148 | |
| 149 | .wp2fa-form-styles .select2-container .select2-search--inline { |
| 150 | float:left; |
| 151 | height:15px; |
| 152 | } |
| 153 | |
| 154 | .wp2fa-form-styles .select2-container--default .select2-search--inline .select2-search__field { |
| 155 | height:13px; |
| 156 | margin-top:0px; |
| 157 | } |
| 158 | |
| 159 | .wp2fa-form-styles .select2-container--default .select2-selection--multiple { |
| 160 | padding-top:3px; |
| 161 | } |
| 162 | |
| 163 | .wp2fa-form-styles .wp2fa-setup-actions .button-secondary { |
| 164 | color:#555 !important; |
| 165 | } |
| 166 | |
| 167 | .wp2fa-form-styles .wp2fa-setup-actions .button-secondary:hover { |
| 168 | color:#fff !important; |
| 169 | } |
| 170 | |
| 171 | #exclusion_settings_wrapper.disabled { |
| 172 | height:0; |
| 173 | overflow:hidden; |
| 174 | } |
| 175 | |
| 176 | #notify-admin-settings-page { |
| 177 | text-align:justify; |
| 178 | } |
| 179 | |
| 180 | .wp2fa-quota-exceeded-notice .button { |
| 181 | margin-inline-end:3px; |
| 182 | } |
| 183 | |
| 184 | .method-wrapper { |
| 185 | margin-bottom:3px; |
| 186 | border-bottom:1px solid #c3c4c7; |
| 187 | padding-bottom:20px; |
| 188 | } |
| 189 | |
| 190 | .certain-users-only-inputs { |
| 191 | margin-bottom:15px; |
| 192 | } |
| 193 | |
| 194 | a[href*="wp-2fa-premium-features"] { |
| 195 | color:#ADFF2F !important; |
| 196 | } |
| 197 | |
| 198 | .wp-2fa-nag br { |
| 199 | display:none; |
| 200 | } |
| 201 | |
| 202 | #wp-2fa-side-banner { |
| 203 | background:#fff; |
| 204 | padding:24px 4px; |
| 205 | border:1px solid #bbb; |
| 206 | position:fixed; |
| 207 | width:240px; |
| 208 | inset-inline-end:40px; |
| 209 | bottom:40px; |
| 210 | text-align:center; |
| 211 | } |
| 212 | |
| 213 | #wp-2fa-side-banner p { |
| 214 | font-size:16px; |
| 215 | font-weight:700; |
| 216 | } |
| 217 | |
| 218 | #wp-2fa-side-banner ul { |
| 219 | margin-bottom:20px; |
| 220 | padding:0 15px; |
| 221 | } |
| 222 | |
| 223 | #wp-2fa-side-banner li { |
| 224 | padding-inline-start:25px; |
| 225 | overflow:hidden; |
| 226 | position:relative; |
| 227 | margin-bottom:10px; |
| 228 | text-align:start; |
| 229 | } |
| 230 | |
| 231 | #wp-2fa-side-banner a.link { |
| 232 | position:relative; |
| 233 | top:5px; |
| 234 | margin-inline-start:15px; |
| 235 | } |
| 236 | |
| 237 | #wp-2fa-side-banner .dashicons { |
| 238 | position:absolute; |
| 239 | inset-inline-start:0; |
| 240 | color:#4776ff; |
| 241 | } |
| 242 | |
| 243 | #wp-2fa-side-banner .button-primary { |
| 244 | background:#4776ff; |
| 245 | border-color:#4776ff; |
| 246 | color:#fff; |
| 247 | text-decoration:none; |
| 248 | text-shadow:none; |
| 249 | } |
| 250 | |
| 251 | |
| 252 | |
| 253 | @media (max-width:1320px) { |
| 254 | .wp-2fa-settings-wrapper { |
| 255 | max-width:580px; |
| 256 | } |
| 257 | |
| 258 | } |
| 259 | |
| 260 | @media (max-width:1530px) and (min-width:1320px) { |
| 261 | .wp-2fa-settings-wrapper { |
| 262 | max-width:800px; |
| 263 | } |
| 264 | |
| 265 | } |
| 266 | |
| 267 | @media (max-width:1040px) { |
| 268 | #wp-2fa-side-banner { |
| 269 | display:none; |
| 270 | } |
| 271 | |
| 272 | } |
| 273 | |
| 274 | @media (min-width:1040px) { |
| 275 | .ui-dialog { |
| 276 | min-width:355px; |
| 277 | } |
| 278 | |
| 279 | } |
| 280 | |
| 281 | .wp-2fa-user-profile-form .qr-btn,.wp-2fa-user-profile-form .click-to-copy { |
| 282 | text-decoration:none; |
| 283 | font-size:13px; |
| 284 | line-height:2.15384615; |
| 285 | min-height:30px; |
| 286 | margin:0; |
| 287 | padding:0 10px; |
| 288 | cursor:pointer; |
| 289 | border-width:1px; |
| 290 | border-style:solid; |
| 291 | -webkit-appearance:none; |
| 292 | border-radius:3px; |
| 293 | white-space:nowrap; |
| 294 | box-sizing:border-box; |
| 295 | background:#2271b1; |
| 296 | border-color:#2271b1; |
| 297 | color:#fff; |
| 298 | text-decoration:none; |
| 299 | text-shadow:none; |
| 300 | display:inline-block; |
| 301 | width:140px; |
| 302 | } |
| 303 | |
| 304 | .wp-2fa-user-profile-form .qr-btn:hover,.wp-2fa-user-profile-form .click-to-copy:hover { |
| 305 | background:#135e96; |
| 306 | border-color:#135e96; |
| 307 | color:#fff; |
| 308 | } |
| 309 | |
| 310 | .wp-2fa-user-profile-form .app-key-wrapper { |
| 311 | display:flex; |
| 312 | align-items:stretch; |
| 313 | gap:8px; |
| 314 | margin-top:10px; |
| 315 | } |
| 316 | |
| 317 | .wp-2fa-user-profile-form .app-key-wrapper .click-to-copy { |
| 318 | display:flex; |
| 319 | align-items:center; |
| 320 | justify-content:center; |
| 321 | width:auto; |
| 322 | min-height:auto; |
| 323 | height:auto; |
| 324 | } |
| 325 | |
| 326 | .wp-2fa-user-profile-form #app-key-input { |
| 327 | min-width:320px; |
| 328 | } |
| 329 | |
| 330 | .mt-5px { |
| 331 | margin-top:7px; |
| 332 | display:inline-block; |
| 333 | } |
| 334 | |
| 335 | label.radio-inline { |
| 336 | padding-inline-start:8px; |
| 337 | } |
| 338 | |
| 339 | .wp2fa-modal { |
| 340 | font-family:helvetica; |
| 341 | } |
| 342 | |
| 343 | .modal__overlay { |
| 344 | position:fixed; |
| 345 | top:0; |
| 346 | inset-inline-start:0; |
| 347 | inset-inline-end:0; |
| 348 | bottom:0; |
| 349 | background:rgba(0, 0, 0, 0.6); |
| 350 | display:flex; |
| 351 | justify-content:center; |
| 352 | align-items:center; |
| 353 | z-index:9999; |
| 354 | } |
| 355 | |
| 356 | .modal__container { |
| 357 | background-color:#fff; |
| 358 | padding:40px 40px 30px; |
| 359 | max-width:500px; |
| 360 | max-height:100vh; |
| 361 | border-radius:4px; |
| 362 | overflow-y:auto; |
| 363 | box-sizing:border-box; |
| 364 | z-index:1500; |
| 365 | } |
| 366 | |
| 367 | .modal__header { |
| 368 | display:flex; |
| 369 | justify-content:space-between; |
| 370 | align-items:center; |
| 371 | } |
| 372 | |
| 373 | .modal__title { |
| 374 | margin-top:0; |
| 375 | margin-bottom:0; |
| 376 | font-weight:600; |
| 377 | font-size:1.25rem; |
| 378 | line-height:1.25; |
| 379 | color:#222; |
| 380 | box-sizing:border-box; |
| 381 | } |
| 382 | |
| 383 | .modal__close { |
| 384 | border:0; |
| 385 | outline:none; |
| 386 | z-index:10; |
| 387 | } |
| 388 | |
| 389 | .modal__close:hover { |
| 390 | cursor:pointer; |
| 391 | } |
| 392 | |
| 393 | .modal__header .modal__close:before,.wp2fa-modal .modal__close:before { |
| 394 | content:"✕"; |
| 395 | } |
| 396 | |
| 397 | .modal__content { |
| 398 | font-size:13px; |
| 399 | font-weight:500; |
| 400 | height:100%; |
| 401 | line-height:24px; |
| 402 | margin-bottom:2px; |
| 403 | color:#222; |
| 404 | margin-top:0; |
| 405 | word-break:keep-all; |
| 406 | /* width:100%; */ |
| 407 | } |
| 408 | |
| 409 | .modal__content p { |
| 410 | font-size:13px; |
| 411 | font-weight:500; |
| 412 | line-height:24px; |
| 413 | margin-bottom:2px; |
| 414 | color:#222; |
| 415 | margin-top:0; |
| 416 | word-break:keep-all; |
| 417 | width:100%; |
| 418 | } |
| 419 | |
| 420 | .modal__content label { |
| 421 | font-size:14px; |
| 422 | line-height:28px; |
| 423 | color:#222; |
| 424 | margin-top:0; |
| 425 | word-break:keep-all; |
| 426 | /* width:100%; */ |
| 427 | display:block; |
| 428 | } |
| 429 | |
| 430 | .modal__content p.description { |
| 431 | font-size:12px; |
| 432 | line-height:24px; |
| 433 | opacity:0.9; |
| 434 | } |
| 435 | |
| 436 | .modal__content .apps-wrapper { |
| 437 | position:relative; |
| 438 | overflow:hidden; |
| 439 | display:flex; |
| 440 | } |
| 441 | |
| 442 | .modal__content .apps-wrapper .app-logo { |
| 443 | display:flex; |
| 444 | align-self:center; |
| 445 | flex:1; |
| 446 | padding:0 13px; |
| 447 | } |
| 448 | |
| 449 | .modal__content .apps-wrapper .app-logo img { |
| 450 | margin:0 auto; |
| 451 | width:auto; |
| 452 | max-width:100%; |
| 453 | } |
| 454 | |
| 455 | .modal__content .wp2fa-setup-actions { |
| 456 | clear:both; |
| 457 | } |
| 458 | |
| 459 | .modal__content .iti--allow-dropdown { |
| 460 | width:100%; |
| 461 | } |
| 462 | |
| 463 | .modal__btn-primary { |
| 464 | background-color:#00449e; |
| 465 | color:#fff; |
| 466 | } |
| 467 | |
| 468 | /* --- OLD WIZARD: enable_styling input overrides + wizard-step intl-tel-input |
| 469 | .enable_styling .modal__content input[type="radio"] { |
| 470 | margin-inline-start:0; |
| 471 | appearance:auto; |
| 472 | width:auto; |
| 473 | height:auto; |
| 474 | background:transparent; |
| 475 | } |
| 476 | |
| 477 | .enable_styling .modal__content input[type="radio"]:after { |
| 478 | display:none; |
| 479 | } |
| 480 | |
| 481 | .enable_styling .modal__content input[type="radio"]:focus { |
| 482 | border-color:transparent; |
| 483 | box-shadow:none; |
| 484 | outline:none; |
| 485 | } |
| 486 | |
| 487 | .enable_styling .modal__content input:not([type="radio"]):not(.app-key) { |
| 488 | line-height:1; |
| 489 | margin-bottom:10px; |
| 490 | min-height:2pc; |
| 491 | min-width:15pc; |
| 492 | padding:5px; |
| 493 | margin:0px; |
| 494 | border:none; |
| 495 | border-bottom:3px solid #d0e5ff; |
| 496 | width:100%; |
| 497 | padding:10px 0; |
| 498 | font-size:16px; |
| 499 | font-weight:700; |
| 500 | color:#4498ff; |
| 501 | box-shadow:none; |
| 502 | } |
| 503 | |
| 504 | .enable_styling .modal__content input:not([type="radio"]):focus-visible { |
| 505 | border-bottom:3px solid #4498ff; |
| 506 | outline:none; |
| 507 | } |
| 508 | |
| 509 | .enable_styling .modal__content input:not([type="radio"]):-internal-autofill-selected { |
| 510 | background-color:transparent; |
| 511 | } |
| 512 | |
| 513 | .wizard-step .iti--allow-dropdown input[type=tel] { |
| 514 | z-index:100; |
| 515 | background:transparent; |
| 516 | } |
| 517 | |
| 518 | .wizard-step .iti__flag-container { |
| 519 | width:auto; |
| 520 | z-index:101; |
| 521 | } |
| 522 | |
| 523 | .wizard-step.expand-panel .iti__flag-container { |
| 524 | width:100%; |
| 525 | } |
| 526 | --- END OLD WIZARD: enable_styling input overrides + wizard-step intl-tel-input */ |
| 527 | |
| 528 | .mepr-form .iti__country-list,.mepr-form .iti__flag-container { |
| 529 | width:auto; |
| 530 | } |
| 531 | |
| 532 | @keyframes mmfadeIn { |
| 533 | from { |
| 534 | opacity:0; |
| 535 | } |
| 536 | |
| 537 | to { |
| 538 | opacity:1; |
| 539 | } |
| 540 | |
| 541 | } |
| 542 | |
| 543 | @keyframes mmfadeOut { |
| 544 | from { |
| 545 | opacity:1; |
| 546 | } |
| 547 | |
| 548 | to { |
| 549 | opacity:0; |
| 550 | } |
| 551 | |
| 552 | } |
| 553 | |
| 554 | @keyframes mmslideIn { |
| 555 | from { |
| 556 | transform:translateY(15%); |
| 557 | } |
| 558 | |
| 559 | to { |
| 560 | transform:translateY(0); |
| 561 | } |
| 562 | |
| 563 | } |
| 564 | |
| 565 | @keyframes mmslideOut { |
| 566 | from { |
| 567 | transform:translateY(0); |
| 568 | } |
| 569 | |
| 570 | to { |
| 571 | transform:translateY(-10%); |
| 572 | } |
| 573 | |
| 574 | } |
| 575 | |
| 576 | .micromodal-slide { |
| 577 | display:none; |
| 578 | } |
| 579 | |
| 580 | .micromodal-slide.is-open { |
| 581 | display:block; |
| 582 | } |
| 583 | |
| 584 | .micromodal-slide[aria-hidden="false"] .modal__overlay { |
| 585 | animation:mmfadeIn 0.3s cubic-bezier(0, 0, 0.2, 1); |
| 586 | } |
| 587 | |
| 588 | .micromodal-slide[aria-hidden="false"] .modal__container { |
| 589 | animation:mmslideIn 0.3s cubic-bezier(0, 0, 0.2, 1); |
| 590 | } |
| 591 | |
| 592 | .micromodal-slide[aria-hidden="true"] .modal__overlay { |
| 593 | animation:mmfadeOut 0.3s cubic-bezier(0, 0, 0.2, 1); |
| 594 | } |
| 595 | |
| 596 | .micromodal-slide[aria-hidden="true"] .modal__container { |
| 597 | animation:mmslideOut 0.3s cubic-bezier(0, 0, 0.2, 1); |
| 598 | } |
| 599 | |
| 600 | .micromodal-slide .modal__container,.micromodal-slide .modal__overlay { |
| 601 | will-change:transform; |
| 602 | } |
| 603 | |
| 604 | .danger-zone-wrapper { |
| 605 | padding:15px; |
| 606 | border:1px solid red; |
| 607 | border-radius:3px; |
| 608 | margin-top:15px; |
| 609 | } |
| 610 | |
| 611 | .learn_more_link { |
| 612 | display:inline-block; |
| 613 | margin-inline-start:10px; |
| 614 | margin-top:6px; |
| 615 | } |
| 616 | |
| 617 | .wp-2fa-settings-wrapper .disabled { |
| 618 | opacity:0.5; |
| 619 | pointer-events:none; |
| 620 | } |
| 621 | |
| 622 | .wp-2fa-settings-wrapper .disabled * { |
| 623 | pointer-events:none; |
| 624 | } |
| 625 | |
| 626 | .wp2fa-modal .modal__container { |
| 627 | max-height:70vh; |
| 628 | max-width:872px; |
| 629 | min-width:30vw; |
| 630 | position:relative; |
| 631 | } |
| 632 | |
| 633 | .wp2fa-modal .modal__close { |
| 634 | background:transparent; |
| 635 | color:#4498ff !important; |
| 636 | font-size:15px; |
| 637 | font-weight:700; |
| 638 | position:absolute; |
| 639 | inset-inline-end:20px; |
| 640 | text-decoration:none; |
| 641 | top:20px; |
| 642 | background-color:transparent !important; |
| 643 | } |
| 644 | |
| 645 | .wp2fa-modal .modal__close :hover { |
| 646 | color:#888; |
| 647 | cursor:pointer; |
| 648 | } |
| 649 | |
| 650 | /* --- OLD WIZARD: radio checked, wizard-step show/hide, #configure-2fa actions |
| 651 | .wp2fa-modal input[type=radio]:checked:before { |
| 652 | display:none; |
| 653 | } |
| 654 | |
| 655 | .wizard-step:not(.active),.step-setting-wrapper:not(.active) { |
| 656 | display:none; |
| 657 | } |
| 658 | |
| 659 | .wizard-step.active,.step-setting-wrapper.active { |
| 660 | -webkit-animation:fadein 0.5s; |
| 661 | -moz-animation:fadein 0.5s; |
| 662 | -ms-animation:fadein 0.5s; |
| 663 | -o-animation:fadein 0.5s; |
| 664 | animation:fadein 0.5s; |
| 665 | } |
| 666 | |
| 667 | #configure-2fa .wp2fa-setup-actions,#configure-2fa-backup-codes .wp2fa-setup-actions { |
| 668 | margin-top:25px; |
| 669 | } |
| 670 | |
| 671 | --- END OLD WIZARD: radio checked, wizard-step show/hide, #configure-2fa actions */ |
| 672 | .modal__btn+.modal__btn { |
| 673 | margin-inline-start:10px; |
| 674 | } |
| 675 | |
| 676 | /* --- OLD WIZARD: wp-2fa-configuration-form table display overrides |
| 677 | .wp-2fa-configuration-form td.backup-methods-label,.wp-2fa-configuration-form th { |
| 678 | display:none; |
| 679 | } |
| 680 | |
| 681 | .wp-2fa-configuration-form .wp-2fa-passkey-list-table th { |
| 682 | display:table-cell; |
| 683 | } |
| 684 | --- END OLD WIZARD: wp-2fa-configuration-form table display overrides */ |
| 685 | |
| 686 | .wp2fa-modal h4,.wp2fa-modal h3 { |
| 687 | word-wrap:break-word; |
| 688 | font-family:helvetica; |
| 689 | font-size:22px; |
| 690 | font-weight:700; |
| 691 | margin-bottom:15px; |
| 692 | margin-top:0; |
| 693 | margin:0 0 10px 0; |
| 694 | } |
| 695 | |
| 696 | /* --- OLD WIZARD: enable_styling heading font override |
| 697 | .wp2fa-modal.enable_styling h4,.wp2fa-modal.enable_styling h3 { |
| 698 | font-family:helvetica !important; |
| 699 | } |
| 700 | |
| 701 | --- END OLD WIZARD: enable_styling heading font override */ |
| 702 | /* --- OLD WIZARD: wp2fa-modal fieldset, ol, code.app-key |
| 703 | .wp2fa-modal fieldset { |
| 704 | padding:0; |
| 705 | border:0; |
| 706 | } |
| 707 | |
| 708 | .wp2fa-modal ol { |
| 709 | margin:0 0 15px; |
| 710 | padding-inline-start:17px; |
| 711 | } |
| 712 | |
| 713 | .wp2fa-modal ol li { |
| 714 | position:relative; |
| 715 | padding:6px; |
| 716 | } |
| 717 | |
| 718 | .wp2fa-modal .modal__content code.app-key { |
| 719 | font-size:16px; |
| 720 | padding:7px 12px; |
| 721 | word-break:break-all; |
| 722 | background:#efefef; |
| 723 | color:#222; |
| 724 | } |
| 725 | --- END OLD WIZARD: wp2fa-modal fieldset, ol, code.app-key */ |
| 726 | |
| 727 | /* --- OLD WIZARD: verification-response + configuration-form button.enable_styling + modal focus |
| 728 | label+.verification-response { |
| 729 | margin-top:20px; |
| 730 | } |
| 731 | |
| 732 | .verification-response:not(:empty) { |
| 733 | border:3px solid red; |
| 734 | font-size:9pt; |
| 735 | margin-bottom:15px; |
| 736 | padding:10px; |
| 737 | background:#ffe4e4; |
| 738 | border-radius:10px; |
| 739 | font-size:9pt; |
| 740 | line-height:24px; |
| 741 | width:100%; |
| 742 | } |
| 743 | |
| 744 | .default_styling .verification-response:not(:empty) { |
| 745 | width:calc(100% - 30px); |
| 746 | } |
| 747 | |
| 748 | .wp-2fa-configuration-form .button.enable_styling { |
| 749 | background-color:#fff !important; |
| 750 | color:#3e6bff !important; |
| 751 | font-size:14px; |
| 752 | line-height:14px; |
| 753 | margin-bottom:10px; |
| 754 | outline:none; |
| 755 | padding:13px 13pt; |
| 756 | text-align:center; |
| 757 | text-decoration:none; |
| 758 | font-weight:800; |
| 759 | display:inline-block; |
| 760 | border:3px solid #3e6bff !important; |
| 761 | border-radius:30px; |
| 762 | text-transform:uppercase; |
| 763 | letter-spacing:0.3px; |
| 764 | } |
| 765 | |
| 766 | .wp-2fa-configuration-form .button.enable_styling:hover { |
| 767 | background-color:#3e6bff !important; |
| 768 | color:#fff !important; |
| 769 | border:3px solid #3e6bff !important; |
| 770 | } |
| 771 | |
| 772 | .wp2fa-modal.enable_styling .modal__content .wp2fa-setup-actions .button:focus,.wp2fa-modal.enable_styling .modal__content .modal__btn:focus,.wp2fa-modal.enable_styling .modal__content .modal__btn.button-confirm:focus,.wp2fa-modal.enable_styling .modal__content .modal__btn.button-decline:focus { |
| 773 | box-shadow:none; |
| 774 | } |
| 775 | |
| 776 | .wp2fa-modal.enable_styling .button+.button { |
| 777 | margin-inline-start:10px; |
| 778 | } |
| 779 | |
| 780 | --- END OLD WIZARD: verification-response + configuration-form button.enable_styling + modal focus */ |
| 781 | .modal__footer { |
| 782 | margin-top:20px; |
| 783 | } |
| 784 | |
| 785 | /* --- OLD WIZARD: enable_styling button overrides + configuration-form button + qr-code-wrapper |
| 786 | .enable_styling .wp-2fa-button-primary,.enable_styling .wp-2fa-button-secondary,.enable_styling #wizard-api-key button,.enable_styling #wizard-sid-key button { |
| 787 | background-color:#fff; |
| 788 | color:#3e6bff; |
| 789 | font-size:14px; |
| 790 | line-height:14px; |
| 791 | margin-bottom:10px; |
| 792 | outline:none; |
| 793 | padding:13px 13pt; |
| 794 | text-align:center; |
| 795 | text-decoration:none; |
| 796 | font-weight:800; |
| 797 | display:inline-block; |
| 798 | border:3px solid #3e6bff; |
| 799 | border-radius:30px; |
| 800 | text-transform:uppercase; |
| 801 | letter-spacing:0.3px; |
| 802 | transition:all 0.2s ease-in-out; |
| 803 | } |
| 804 | |
| 805 | .enable_styling .wp-2fa-button-secondary { |
| 806 | color:#555; |
| 807 | border:3px solid #555; |
| 808 | } |
| 809 | |
| 810 | .enable_styling .wp-2fa-configuration-form .button.wp-2fa-button-secondary { |
| 811 | color:#555 !important; |
| 812 | border:3px solid #555 !important; |
| 813 | } |
| 814 | |
| 815 | .enable_styling .wp-2fa-button-primary:focus,.enable_styling .wp-2fa-button-secondary:focus { |
| 816 | box-shadow:none; |
| 817 | } |
| 818 | |
| 819 | .enable_styling .wp-2fa-button-primary:hover,.enable_styling .wp-2fa-button-primary:focus { |
| 820 | background-color:#3e6bff; |
| 821 | color:#fff; |
| 822 | border:3px solid #3e6bff; |
| 823 | transition:all 0.4s ease-in-out; |
| 824 | } |
| 825 | |
| 826 | .enable_styling .wp-2fa-button-secondary:hover,.enable_styling .wp-2fa-button-secondary:focus { |
| 827 | background-color:#555; |
| 828 | color:#fff; |
| 829 | border:3px solid #555; |
| 830 | transition:all 0.4s ease-in-out; |
| 831 | } |
| 832 | |
| 833 | .enable_styling .wp-2fa-configuration-form .button.wp-2fa-button-secondary:hover,.enable_styling #wizard-api-key button:hover,.enable_styling #wizard-sid-key button:hover { |
| 834 | background-color:#555 !important; |
| 835 | color:#fff !important; |
| 836 | border:3px solid #555 !important; |
| 837 | } |
| 838 | |
| 839 | .wp-2fa-configuration-form .button { |
| 840 | margin-inline-end:10px; |
| 841 | } |
| 842 | |
| 843 | .wp-2fa-configuration-form .button:hover { |
| 844 | cursor:pointer; |
| 845 | } |
| 846 | |
| 847 | .qr-code-wrapper { |
| 848 | position:relative; |
| 849 | overflow:hidden; |
| 850 | float:right; |
| 851 | } |
| 852 | --- END OLD WIZARD: enable_styling button overrides + configuration-form button + qr-code-wrapper */ |
| 853 | |
| 854 | #notify-users .modal__container * { |
| 855 | opacity:1; |
| 856 | transition:all 0.3s ease-in-out; |
| 857 | } |
| 858 | |
| 859 | #notify-users .modal__container.saving * { |
| 860 | opacity:0; |
| 861 | transition:all 0.3s ease-in-out; |
| 862 | } |
| 863 | |
| 864 | /* --- OLD WIZARD: qr-code-wrapper.regenerating + backup-codes-wrapper |
| 865 | .qr-code-wrapper.regenerating img { |
| 866 | visibility:hidden; |
| 867 | } |
| 868 | |
| 869 | #backup-codes-wrapper { |
| 870 | border:none; |
| 871 | min-height:2pc; |
| 872 | min-width:15pc; |
| 873 | padding:10px 0; |
| 874 | width:100%; |
| 875 | background-color:transparent !important; |
| 876 | } |
| 877 | |
| 878 | #backup-codes-wrapper :focus-visible { |
| 879 | outline:none; |
| 880 | } |
| 881 | |
| 882 | #backup-codes-wrapper:focus-visible { |
| 883 | outline:none; |
| 884 | } |
| 885 | --- END OLD WIZARD: qr-code-wrapper.regenerating + backup-codes-wrapper */ |
| 886 | |
| 887 | .qr-code-wrapper.regenerating:before,#notify-users .modal__container.saving:before { |
| 888 | content:""; |
| 889 | box-sizing:border-box; |
| 890 | position:absolute; |
| 891 | top:50%; |
| 892 | inset-inline-start:50%; |
| 893 | width:20px; |
| 894 | height:20px; |
| 895 | margin-top:-10px; |
| 896 | margin-inline-start:-10px; |
| 897 | border-radius:50%; |
| 898 | border:2px solid #ccc; |
| 899 | border-top-color:#000; |
| 900 | animation:spinner 0.6s linear infinite; |
| 901 | } |
| 902 | |
| 903 | @keyframes spinner { |
| 904 | to { |
| 905 | transform:rotate(360deg); |
| 906 | } |
| 907 | |
| 908 | } |
| 909 | |
| 910 | /* --- OLD WIZARD: default_styling selectors + responsive media queries for old wizard modal |
| 911 | .default_styling .radio-cells .option-pill { |
| 912 | position:relative; |
| 913 | margin-bottom:11px; |
| 914 | } |
| 915 | |
| 916 | .default_styling .radio-cells .option-pill label { |
| 917 | padding-inline-end:40px; |
| 918 | font-size:12px; |
| 919 | } |
| 920 | |
| 921 | .default_styling .wizard-tooltip { |
| 922 | display:none !important; |
| 923 | } |
| 924 | |
| 925 | .default_styling input[type=checkbox],.default_styling input[type=radio] { |
| 926 | -webkit-appearance:auto; |
| 927 | } |
| 928 | |
| 929 | @media screen and (max-width:1299px) { |
| 930 | .wp2fa-modal .modal__container { |
| 931 | max-width:96vw; |
| 932 | } |
| 933 | |
| 934 | #wp-2fa-totp-qrcode { |
| 935 | max-width:100%; |
| 936 | text-align:center; |
| 937 | margin:15px auto; |
| 938 | display:block; |
| 939 | } |
| 940 | |
| 941 | .qr-code-wrapper { |
| 942 | float:none; |
| 943 | } |
| 944 | |
| 945 | .step-setting-wrapper br { |
| 946 | display:none; |
| 947 | } |
| 948 | |
| 949 | .enable_styling .radio-cells { |
| 950 | flex-wrap:wrap; |
| 951 | margin:0px 0 20px; |
| 952 | width:calc(100% + 10px); |
| 953 | position:relative; |
| 954 | inset-inline-start:-5px; |
| 955 | flex-wrap:wrap; |
| 956 | } |
| 957 | |
| 958 | .enable_styling .radio-cells input:not([type="radio"]) { |
| 959 | margin-top:5px; |
| 960 | } |
| 961 | |
| 962 | .enable_styling .radio-cells .option-pill { |
| 963 | flex-basis:0; |
| 964 | flex-grow:1; |
| 965 | border:3px solid #eee; |
| 966 | border-radius:10px; |
| 967 | padding:10px; |
| 968 | margin:5px; |
| 969 | font-size:11px; |
| 970 | position:relative; |
| 971 | } |
| 972 | |
| 973 | .enable_styling .radio-cells .option-pill p { |
| 974 | height:100%; |
| 975 | } |
| 976 | |
| 977 | .enable_styling .radio-cells.max-3 .option-pill { |
| 978 | flex:33.333%; |
| 979 | display:flex; |
| 980 | flex-direction:column; |
| 981 | } |
| 982 | |
| 983 | .enable_styling .radio-cells.max-3 .option-pill p { |
| 984 | flex:1; |
| 985 | } |
| 986 | |
| 987 | .enable_styling .radio-cells .option-pill.isSelected { |
| 988 | border:3px solid #007cba; |
| 989 | } |
| 990 | |
| 991 | .enable_styling .radio-cells .option-pill label { |
| 992 | display:block; |
| 993 | font-size:13px; |
| 994 | line-height:24px; |
| 995 | font-weight:500; |
| 996 | margin-bottom:2px; |
| 997 | height:100%; |
| 998 | max-width:calc(100% - 20px); |
| 999 | } |
| 1000 | |
| 1001 | .enable_styling .radio-cells .option-pill p { |
| 1002 | font-size:12px; |
| 1003 | line-height:23px; |
| 1004 | opacity:0.9; |
| 1005 | height:auto; |
| 1006 | } |
| 1007 | |
| 1008 | .enable_styling .option-pill { |
| 1009 | margin-bottom:15px; |
| 1010 | } |
| 1011 | |
| 1012 | .enable_styling .tooltip-content-wrapper { |
| 1013 | display:none; |
| 1014 | } |
| 1015 | |
| 1016 | .wp2fa-modal .modal__content code br { |
| 1017 | display:block !important; |
| 1018 | } |
| 1019 | |
| 1020 | .wp2fa-modal .modal__content code.app-key { |
| 1021 | width:100%; |
| 1022 | display:block; |
| 1023 | text-align:center; |
| 1024 | font-size:16px; |
| 1025 | margin-bottom:30px; |
| 1026 | background:#efefef; |
| 1027 | padding:5px; |
| 1028 | word-break:break-all; |
| 1029 | } |
| 1030 | |
| 1031 | .wp2fa-modal .modal__content .apps-wrapper { |
| 1032 | margin:10px 0; |
| 1033 | } |
| 1034 | |
| 1035 | .wp2fa-modal .modal__content a.app-logo { |
| 1036 | padding:0 5px; |
| 1037 | } |
| 1038 | |
| 1039 | .wp2fa-modal .modal__content .wizard-tooltip { |
| 1040 | background:#3e6bff; |
| 1041 | color:white; |
| 1042 | height:18px; |
| 1043 | display:inline-block; |
| 1044 | width:18px; |
| 1045 | border-radius:50%; |
| 1046 | position:absolute; |
| 1047 | overflow:hidden; |
| 1048 | text-align:center; |
| 1049 | line-height:18px; |
| 1050 | font-weight:700; |
| 1051 | margin-inline-start:4px; |
| 1052 | margin-top:3px; |
| 1053 | bottom:10px; |
| 1054 | inset-inline-end:17px; |
| 1055 | } |
| 1056 | |
| 1057 | .wp2fa-modal .modal__content .inline-helper { |
| 1058 | background:#eee; |
| 1059 | padding:10px; |
| 1060 | border-radius:10px; |
| 1061 | display:block; |
| 1062 | margin-top:10px; |
| 1063 | font-size:12px; |
| 1064 | line-height:24px; |
| 1065 | display:none; |
| 1066 | } |
| 1067 | |
| 1068 | .wp2fa-modal .modal__content .click-to-copy { |
| 1069 | border:2px solid #3e6bff; |
| 1070 | border-radius:14px; |
| 1071 | display:inline-block; |
| 1072 | font-size:10px; |
| 1073 | padding:0 9px; |
| 1074 | font-weight:700; |
| 1075 | line-height:16px; |
| 1076 | } |
| 1077 | |
| 1078 | .wp2fa-modal .modal__content .click-to-copy.done { |
| 1079 | background-color:green !important; |
| 1080 | border:2px solid green; |
| 1081 | color:white; |
| 1082 | } |
| 1083 | |
| 1084 | .wp2fa-modal .modal__content .click-to-copy:hover { |
| 1085 | background-color:#3e6bff; |
| 1086 | color:white; |
| 1087 | cursor:pointer; |
| 1088 | opacity:0.5; |
| 1089 | } |
| 1090 | |
| 1091 | .wp2fa-modal .modal__content .app-key-wrapper { |
| 1092 | background:#eee; |
| 1093 | border-radius:4px; |
| 1094 | margin:10px 0 5px; |
| 1095 | overflow:hidden; |
| 1096 | padding:3px 7px; |
| 1097 | } |
| 1098 | |
| 1099 | .wp2fa-modal .modal__content .app-key-wrapper input { |
| 1100 | background:transparent; |
| 1101 | border:none; |
| 1102 | display:inline-block; |
| 1103 | font-size:9pt; |
| 1104 | margin:0 10px 0 0; |
| 1105 | max-width:15pc; |
| 1106 | min-height:0; |
| 1107 | min-width:200px; |
| 1108 | padding:0; |
| 1109 | color:#888; |
| 1110 | } |
| 1111 | |
| 1112 | .wp2fa-modal .modal__content .app-key-wrapper input:focus-visible,.wp2fa-modal .modal__content .app-key-wrapper input:focus { |
| 1113 | border:none; |
| 1114 | background-color:transparent; |
| 1115 | outline:none; |
| 1116 | } |
| 1117 | |
| 1118 | .wp-2fa-configuration-form .button { |
| 1119 | width:auto; |
| 1120 | display:block; |
| 1121 | margin-bottom:10px; |
| 1122 | margin-inline-start:0px; |
| 1123 | margin-inline-end:0px; |
| 1124 | text-align:center; |
| 1125 | } |
| 1126 | |
| 1127 | .wp2fa-modal .modal__content .wp2fa-setup-actions .button,.wp2fa-modal .modal__content .modal__btn { |
| 1128 | width:auto; |
| 1129 | display:inline-block; |
| 1130 | margin-bottom:10px; |
| 1131 | margin-inline-start:0px; |
| 1132 | margin-inline-end:0px; |
| 1133 | text-align:center; |
| 1134 | } |
| 1135 | |
| 1136 | .modal__content input:not([type="radio"]) { |
| 1137 | width:100%; |
| 1138 | margin-bottom:10px; |
| 1139 | } |
| 1140 | |
| 1141 | .hide-on-mobile { |
| 1142 | display:none; |
| 1143 | } |
| 1144 | |
| 1145 | .wp2fa-modal h4,.wp2fa-modal h3 { |
| 1146 | font-size:20px; |
| 1147 | } |
| 1148 | |
| 1149 | .wp2fa-modal h4 { |
| 1150 | clear:both; |
| 1151 | } |
| 1152 | |
| 1153 | } |
| 1154 | |
| 1155 | @media screen and (min-width:1300px) { |
| 1156 | .wp2fa-modal .clear-both { |
| 1157 | clear:both; |
| 1158 | display:block; |
| 1159 | overflow:hidden; |
| 1160 | } |
| 1161 | |
| 1162 | .wp2fa-modal .modal-50 { |
| 1163 | width:50%; |
| 1164 | display:inline-block; |
| 1165 | float:left; |
| 1166 | } |
| 1167 | |
| 1168 | .wp2fa-modal .modal-60 { |
| 1169 | width:70%; |
| 1170 | display:inline-block; |
| 1171 | float:left; |
| 1172 | } |
| 1173 | |
| 1174 | .wp2fa-modal .modal-60 .radio-cells { |
| 1175 | width:100%; |
| 1176 | padding-inline-start:10px; |
| 1177 | } |
| 1178 | |
| 1179 | .wp2fa-modal .modal-40 { |
| 1180 | width:30%; |
| 1181 | float:left; |
| 1182 | display:flex; |
| 1183 | justify-content:center; |
| 1184 | } |
| 1185 | |
| 1186 | .wp2fa-modal .mb-20 { |
| 1187 | margin-bottom:20px; |
| 1188 | } |
| 1189 | |
| 1190 | .wp2fa-modal.enable_styling p+.radio-cells,.wp2fa-modal.enable_styling p+fieldset { |
| 1191 | margin:20px 0; |
| 1192 | display:flex; |
| 1193 | flex-wrap:wrap; |
| 1194 | } |
| 1195 | |
| 1196 | .wp2fa-modal.enable_styling .radio-cells { |
| 1197 | flex-wrap:wrap; |
| 1198 | margin:0px 0 20px; |
| 1199 | width:calc(100% + 10px); |
| 1200 | position:relative; |
| 1201 | inset-inline-start:-5px; |
| 1202 | flex-wrap:wrap; |
| 1203 | } |
| 1204 | |
| 1205 | .wp2fa-modal.enable_styling .radio-cells input:not([type="radio"]) { |
| 1206 | margin-top:5px; |
| 1207 | } |
| 1208 | |
| 1209 | .wp2fa-modal.enable_styling .radio-cells .option-pill { |
| 1210 | flex-basis:0; |
| 1211 | flex-grow:1; |
| 1212 | border:3px solid #eee; |
| 1213 | border-radius:10px; |
| 1214 | padding:10px; |
| 1215 | margin:5px; |
| 1216 | font-size:11px; |
| 1217 | position:relative; |
| 1218 | } |
| 1219 | |
| 1220 | .wp2fa-modal.enable_styling .radio-cells .option-pill p { |
| 1221 | height:100%; |
| 1222 | } |
| 1223 | |
| 1224 | .wp2fa-modal.enable_styling .radio-cells.max-3 .option-pill { |
| 1225 | flex:33.333%; |
| 1226 | display:flex; |
| 1227 | flex-direction:column; |
| 1228 | } |
| 1229 | |
| 1230 | .wp2fa-modal.enable_styling .radio-cells.max-3 .option-pill p { |
| 1231 | flex:1; |
| 1232 | } |
| 1233 | |
| 1234 | .wp2fa-modal.enable_styling .radio-cells .option-pill.isSelected { |
| 1235 | border:3px solid #007cba; |
| 1236 | } |
| 1237 | |
| 1238 | .wp2fa-modal.enable_styling .radio-cells .option-pill label { |
| 1239 | display:block; |
| 1240 | font-size:13px; |
| 1241 | line-height:24px; |
| 1242 | font-weight:500; |
| 1243 | margin-bottom:2px; |
| 1244 | height:100%; |
| 1245 | max-width:calc(100% - 20px); |
| 1246 | } |
| 1247 | |
| 1248 | .wp2fa-modal.enable_styling .radio-cells .option-pill p { |
| 1249 | font-size:12px; |
| 1250 | line-height:23px; |
| 1251 | opacity:0.9; |
| 1252 | height:auto; |
| 1253 | } |
| 1254 | |
| 1255 | .wp2fa-modal .wizard-tooltip { |
| 1256 | background:#3e6bff; |
| 1257 | color:white; |
| 1258 | height:18px; |
| 1259 | display:inline-block; |
| 1260 | width:18px; |
| 1261 | border-radius:50%; |
| 1262 | position:absolute; |
| 1263 | overflow:hidden; |
| 1264 | text-align:center; |
| 1265 | line-height:18px; |
| 1266 | font-weight:700; |
| 1267 | margin-inline-start:4px; |
| 1268 | margin-top:3px; |
| 1269 | bottom:10px; |
| 1270 | inset-inline-end:17px; |
| 1271 | } |
| 1272 | |
| 1273 | .wp2fa-modal .inline-helper { |
| 1274 | background:#eee; |
| 1275 | padding:10px; |
| 1276 | border-radius:10px; |
| 1277 | display:block; |
| 1278 | margin-top:10px; |
| 1279 | font-size:12px; |
| 1280 | line-height:24px; |
| 1281 | display:none; |
| 1282 | } |
| 1283 | |
| 1284 | .wp2fa-modal.enable_styling .tooltip-content-wrapper { |
| 1285 | display:none; |
| 1286 | } |
| 1287 | |
| 1288 | .wp2fa-modal .click-to-copy { |
| 1289 | border:2px solid #3e6bff; |
| 1290 | border-radius:14px; |
| 1291 | display:inline-block; |
| 1292 | font-size:10px; |
| 1293 | padding:0 9px; |
| 1294 | font-weight:700; |
| 1295 | line-height:16px; |
| 1296 | } |
| 1297 | |
| 1298 | .wp2fa-modal .click-to-copy.done { |
| 1299 | background-color:green !important; |
| 1300 | border:2px solid green; |
| 1301 | color:white; |
| 1302 | } |
| 1303 | |
| 1304 | .wp2fa-modal .click-to-copy:hover { |
| 1305 | background-color:#3e6bff; |
| 1306 | color:white; |
| 1307 | cursor:pointer; |
| 1308 | opacity:0.5; |
| 1309 | } |
| 1310 | |
| 1311 | .wp2fa-modal .app-key-wrapper { |
| 1312 | background:#eee; |
| 1313 | border-radius:4px; |
| 1314 | margin:10px 0 5px; |
| 1315 | overflow:hidden; |
| 1316 | padding:3px 7px; |
| 1317 | } |
| 1318 | |
| 1319 | .wp2fa-modal .app-key-wrapper input { |
| 1320 | background:transparent; |
| 1321 | border:none; |
| 1322 | display:inline-block; |
| 1323 | font-size:9pt; |
| 1324 | margin:0 10px 0 0; |
| 1325 | max-width:15pc; |
| 1326 | min-height:0; |
| 1327 | min-width:200px; |
| 1328 | padding:0; |
| 1329 | color:#888; |
| 1330 | } |
| 1331 | |
| 1332 | .wp2fa-modal .app-key-wrapper input:focus-visible,.wp2fa-modal .app-key-wrapper input:focus { |
| 1333 | border:none; |
| 1334 | background-color:transparent; |
| 1335 | outline:none; |
| 1336 | } |
| 1337 | |
| 1338 | .wp2fa-modal .option-pill { |
| 1339 | margin-bottom:15px; |
| 1340 | } |
| 1341 | |
| 1342 | .wp2fa-modal .qr-code { |
| 1343 | float:left; |
| 1344 | width:100%; |
| 1345 | position:relative; |
| 1346 | inset-inline-start:-2%; |
| 1347 | } |
| 1348 | |
| 1349 | .wp2fa-modal .mb-30 { |
| 1350 | margin-bottom:30px; |
| 1351 | } |
| 1352 | |
| 1353 | .show-on-mobile { |
| 1354 | display:none; |
| 1355 | } |
| 1356 | |
| 1357 | } |
| 1358 | |
| 1359 | @media (max-width:500px) { |
| 1360 | .modal__container { |
| 1361 | padding:25px; |
| 1362 | } |
| 1363 | |
| 1364 | .option-pill:not(last-of-type) { |
| 1365 | margin-bottom:40px; |
| 1366 | } |
| 1367 | |
| 1368 | .wp2fa-modal .modal__content .apps-wrapper { |
| 1369 | display:block; |
| 1370 | } |
| 1371 | |
| 1372 | .wp2fa-modal .modal__content a.app-logo { |
| 1373 | width:calc(33.33333% - 13px); |
| 1374 | display:inline-block; |
| 1375 | margin-bottom:5px; |
| 1376 | } |
| 1377 | |
| 1378 | .wp2fa-modal h4,.wp2fa-modal h3 { |
| 1379 | font-size:18px; |
| 1380 | margin-bottom:9px; |
| 1381 | } |
| 1382 | |
| 1383 | #configure-2fa-backup-codes .wp2fa-setup-actions,#configure-2fa .wp2fa-setup-actions { |
| 1384 | margin-top:15px; |
| 1385 | } |
| 1386 | |
| 1387 | .wp2fa-modal .modal__content .modal__btn,.wp2fa-modal .modal__content .wp2fa-setup-actions .button,.wp-2fa-configuration-form .button { |
| 1388 | display:block; |
| 1389 | margin-bottom:10px; |
| 1390 | margin-inline-start:0; |
| 1391 | margin-inline-end:0; |
| 1392 | text-align:center; |
| 1393 | width:auto; |
| 1394 | padding:10px 15px; |
| 1395 | font-size:12px; |
| 1396 | } |
| 1397 | |
| 1398 | .wp2fa-modal .modal__content .radio-cells .option-pill { |
| 1399 | flex-basis:unset; |
| 1400 | flex-grow:1; |
| 1401 | } |
| 1402 | |
| 1403 | .wp2fa-modal .modal__content p+.radio-cells { |
| 1404 | margin-top:20px; |
| 1405 | } |
| 1406 | |
| 1407 | } |
| 1408 | |
| 1409 | @media screen and (min-width:801px) and (max-width:1299px) { |
| 1410 | .wp2fa-modal .modal__content p+.radio-cells { |
| 1411 | margin-top:20px; |
| 1412 | } |
| 1413 | |
| 1414 | .modal-50 { |
| 1415 | width:50%; |
| 1416 | display:inline-block; |
| 1417 | float:left; |
| 1418 | } |
| 1419 | |
| 1420 | .mb-20 { |
| 1421 | margin-bottom:20px; |
| 1422 | } |
| 1423 | |
| 1424 | .modal-60 { |
| 1425 | width:70%; |
| 1426 | display:inline-block; |
| 1427 | float:left; |
| 1428 | } |
| 1429 | |
| 1430 | .modal-60 .radio-cells { |
| 1431 | width:100%; |
| 1432 | padding-inline-start:10px; |
| 1433 | } |
| 1434 | |
| 1435 | .modal-40 { |
| 1436 | width:30%; |
| 1437 | float:left; |
| 1438 | display:flex; |
| 1439 | justify-content:center; |
| 1440 | } |
| 1441 | |
| 1442 | } |
| 1443 | |
| 1444 | @media screen and (min-width:1024px) { |
| 1445 | .wp2fa-modal .modal__container { |
| 1446 | min-width:768px; |
| 1447 | } |
| 1448 | |
| 1449 | } |
| 1450 | |
| 1451 | @media screen and (min-width:501px) and (max-width:800px) { |
| 1452 | .modal-50 { |
| 1453 | width:50%; |
| 1454 | display:inline-block; |
| 1455 | float:left; |
| 1456 | } |
| 1457 | |
| 1458 | .modal-60 { |
| 1459 | width:60%; |
| 1460 | display:inline-block; |
| 1461 | float:left; |
| 1462 | } |
| 1463 | |
| 1464 | .modal-60 .radio-cells { |
| 1465 | width:100%; |
| 1466 | padding-inline-start:10px; |
| 1467 | } |
| 1468 | |
| 1469 | .mb-20 { |
| 1470 | margin-bottom:20px; |
| 1471 | } |
| 1472 | |
| 1473 | .modal-40 { |
| 1474 | width:40%; |
| 1475 | float:left; |
| 1476 | display:flex; |
| 1477 | justify-content:center; |
| 1478 | } |
| 1479 | |
| 1480 | } |
| 1481 | |
| 1482 | @media screen and (max-width:800px) { |
| 1483 | .wp2fa-modal .modal__container { |
| 1484 | max-width:95vw; |
| 1485 | min-width:80vw; |
| 1486 | } |
| 1487 | |
| 1488 | .wp2fa-modal .modal__content .wp2fa-setup-actions .button,.wp2fa-modal .modal__content .modal__btn { |
| 1489 | width:auto; |
| 1490 | display:inline-block; |
| 1491 | margin-bottom:10px; |
| 1492 | margin-inline-start:0px; |
| 1493 | margin-inline-end:0px; |
| 1494 | text-align:center; |
| 1495 | } |
| 1496 | |
| 1497 | .wp2fa-modal .modal__close { |
| 1498 | inset-inline-end:15px; |
| 1499 | top:15px; |
| 1500 | } |
| 1501 | |
| 1502 | } |
| 1503 | |
| 1504 | @media screen and (max-width:500px) { |
| 1505 | .mb-20 { |
| 1506 | margin-bottom:15px; |
| 1507 | } |
| 1508 | |
| 1509 | .wp2fa-modal .modal__content .app-key-wrapper input { |
| 1510 | max-width:200px; |
| 1511 | } |
| 1512 | |
| 1513 | .enable_styling .wp-2fa-button-primary,.enable_styling .wp-2fa-button-secondary { |
| 1514 | display:block !important; |
| 1515 | margin-inline-start:0 !important; |
| 1516 | margin-inline-end:0; |
| 1517 | width:100% !important; |
| 1518 | } |
| 1519 | |
| 1520 | .wp2fa-modal .modal__content .wizard-tooltip { |
| 1521 | inset-inline-end:5px; |
| 1522 | bottom:5px; |
| 1523 | } |
| 1524 | |
| 1525 | .verification-response:not(:empty) { |
| 1526 | width:auto; |
| 1527 | } |
| 1528 | |
| 1529 | } |
| 1530 | --- END OLD WIZARD: default_styling selectors + responsive media queries for old wizard modal */ |
| 1531 | |
| 1532 | /* --- OLD WIZARD: wizard-custom-counter + enable/default_styling backup-codes |
| 1533 | .wizard-custom-counter { |
| 1534 | counter-reset:step-counter; |
| 1535 | list-style:none; |
| 1536 | margin-bottom:0 !important; |
| 1537 | } |
| 1538 | |
| 1539 | .wizard-custom-counter li { |
| 1540 | counter-increment:step-counter; |
| 1541 | } |
| 1542 | |
| 1543 | .wizard-custom-counter li:last-of-type { |
| 1544 | margin-bottom:0 !important; |
| 1545 | } |
| 1546 | |
| 1547 | .enable_styling .wizard-custom-counter li::before { |
| 1548 | content:counter(step-counter); |
| 1549 | background:#3e6bff; |
| 1550 | width:20px; |
| 1551 | height:20px; |
| 1552 | color:white; |
| 1553 | text-align:center; |
| 1554 | display:inline-block; |
| 1555 | line-height:20px; |
| 1556 | position:absolute; |
| 1557 | inset-inline-start:-20px; |
| 1558 | top:8px; |
| 1559 | font-size:14px; |
| 1560 | font-weight:700; |
| 1561 | border-radius:50px; |
| 1562 | } |
| 1563 | |
| 1564 | .enable_styling #backup-codes-wrapper { |
| 1565 | border:none; |
| 1566 | border-bottom:3px solid #d0e5ff; |
| 1567 | color:#4498ff; |
| 1568 | font-size:1pc; |
| 1569 | font-weight:700; |
| 1570 | line-height:1; |
| 1571 | margin:0; |
| 1572 | min-height:2pc; |
| 1573 | min-width:15pc; |
| 1574 | padding:10px 0; |
| 1575 | width:100%; |
| 1576 | line-height:26px; |
| 1577 | background-color:transparent !important; |
| 1578 | } |
| 1579 | |
| 1580 | .enable_styling #backup-codes-wrapper :focus-visible { |
| 1581 | border-bottom:3px solid #4498ff; |
| 1582 | outline:none; |
| 1583 | } |
| 1584 | |
| 1585 | .enable_styling #backup-codes-wrapper:focus-visible { |
| 1586 | border-bottom:3px solid #4498ff; |
| 1587 | outline:none; |
| 1588 | } |
| 1589 | |
| 1590 | .default_styling .wizard-custom-counter li::before { |
| 1591 | content:counter(step-counter); |
| 1592 | width:20px; |
| 1593 | height:20px; |
| 1594 | text-align:center; |
| 1595 | display:inline-block; |
| 1596 | line-height:20px; |
| 1597 | position:absolute; |
| 1598 | inset-inline-start:-20px; |
| 1599 | top:8px; |
| 1600 | font-size:14px; |
| 1601 | font-weight:700; |
| 1602 | border-radius:50px; |
| 1603 | } |
| 1604 | --- END OLD WIZARD: wizard-custom-counter + enable/default_styling backup-codes */ |
| 1605 | |
| 1606 | .mb-0 { |
| 1607 | margin-bottom:0 !important; |
| 1608 | } |
| 1609 | |
| 1610 | .wp-2fa-user-profile-form { |
| 1611 | margin:0; |
| 1612 | } |
| 1613 | |
| 1614 | .wp-2fa-user-profile-form:first-of-type { |
| 1615 | margin-top:20px; |
| 1616 | } |
| 1617 | |
| 1618 | .wp-2fa-user-profile-form:last-of-type { |
| 1619 | margin-bottom:20px; |
| 1620 | } |
| 1621 | |
| 1622 | .wp-2fa-user-profile-form tr+tr th,.wp-2fa-user-profile-form tr+tr td { |
| 1623 | padding-top:0; |
| 1624 | } |
| 1625 | |
| 1626 | .remove-tr-padding th,.remove-tr-padding td { |
| 1627 | padding-bottom:0; |
| 1628 | } |
| 1629 | |
| 1630 | body:not(.wp-admin) .wp-2fa-user-profile-form td,body:not(.wp-admin) .wp-2fa-user-profile-form th { |
| 1631 | padding:0; |
| 1632 | border:none; |
| 1633 | } |
| 1634 | |
| 1635 | .wp-2fa-user-profile-form { |
| 1636 | border:none; |
| 1637 | } |
| 1638 | |
| 1639 | .wp-2fa-button-primary+.wp-2fa-button-secondary { |
| 1640 | margin-inline-start:10px; |
| 1641 | } |
| 1642 | |
| 1643 | /* --- OLD WIZARD: modal-logo-wrapper + wizard-step authy panel expansion |
| 1644 | .modal-logo-wrapper { |
| 1645 | text-align:center; |
| 1646 | padding:0; |
| 1647 | margin:0; |
| 1648 | } |
| 1649 | |
| 1650 | .wizard-step label[for="authy-token"] { |
| 1651 | min-height:70px; |
| 1652 | -webkit-transition:min-height 0.2s ease-in-out; |
| 1653 | -moz-transition:min-height 0.2s ease-in-out; |
| 1654 | -ms-transition:min-height 0.2s ease-in-out; |
| 1655 | -o-transition:min-height 0.2s ease-in-out; |
| 1656 | transition:min-height 0.2s ease-in-out; |
| 1657 | } |
| 1658 | |
| 1659 | .wizard-step.expand-panel label[for="authy-token"] { |
| 1660 | min-height:300px; |
| 1661 | -webkit-transition:min-height 0.2s ease-in-out; |
| 1662 | -moz-transition:min-height 0.2s ease-in-out; |
| 1663 | -ms-transition:min-height 0.2s ease-in-out; |
| 1664 | -o-transition:min-height 0.2s ease-in-out; |
| 1665 | transition:min-height 0.2s ease-in-out; |
| 1666 | } |
| 1667 | |
| 1668 | .wizard-step.expand-panel .authy-step-setting-wrapper { |
| 1669 | overflow:hidden; |
| 1670 | } |
| 1671 | |
| 1672 | .wizard-step.expand-panel .iti__country-list { |
| 1673 | width:100%; |
| 1674 | max-height:240px; |
| 1675 | } |
| 1676 | --- END OLD WIZARD: modal-logo-wrapper + wizard-step authy panel expansion */ |
| 1677 | |
| 1678 | [aria-describedby="authy-diag"],[aria-describedby="twilio-diag"] { |
| 1679 | min-width:400px; |
| 1680 | padding:10px; |
| 1681 | } |
| 1682 | |
| 1683 | [aria-describedby="authy-diag"] .ui-dialog-titlebar,[aria-describedby="twilio-diag"] .ui-dialog-titlebar { |
| 1684 | background:#fff; |
| 1685 | border-bottom:none; |
| 1686 | height:auto; |
| 1687 | font-size:18px; |
| 1688 | font-weight:600; |
| 1689 | line-height:2; |
| 1690 | padding:10px 36px 0 16px; |
| 1691 | word-wrap:break-word; |
| 1692 | font-family:helvetica; |
| 1693 | font-size:22px; |
| 1694 | font-weight:700; |
| 1695 | margin-bottom:15px; |
| 1696 | margin-top:0; |
| 1697 | margin:0 0 10px 0; |
| 1698 | } |
| 1699 | |
| 1700 | [aria-describedby="authy-diag"] .ui-dialog-buttonpane,[aria-describedby="twilio-diag"] .ui-dialog-buttonpane { |
| 1701 | background:#fff; |
| 1702 | border-top:none; |
| 1703 | padding:16px; |
| 1704 | } |
| 1705 | |
| 1706 | [aria-describedby="authy-diag"] .ui-dialog-buttonset .ui-button,[aria-describedby="twilio-diag"] .ui-dialog-buttonset .ui-button { |
| 1707 | background-color:#fff; |
| 1708 | color:#3e6bff; |
| 1709 | font-size:14px; |
| 1710 | line-height:14px; |
| 1711 | margin-bottom:10px; |
| 1712 | outline:none; |
| 1713 | padding:13px 13pt; |
| 1714 | text-align:center; |
| 1715 | text-decoration:none; |
| 1716 | font-weight:800; |
| 1717 | display:inline-block; |
| 1718 | border:3px solid #3e6bff; |
| 1719 | border-radius:30px; |
| 1720 | text-transform:uppercase; |
| 1721 | letter-spacing:0.3px; |
| 1722 | -webkit-transition:all 0.2s ease-in-out; |
| 1723 | transition:all 0.2s ease-in-out; |
| 1724 | height:auto; |
| 1725 | margin-inline-start:0; |
| 1726 | } |
| 1727 | |
| 1728 | [aria-describedby="authy-diag"] .ui-dialog-buttonset .ui-button:hover,[aria-describedby="twilio-diag"] .ui-dialog-buttonset .ui-button:hover { |
| 1729 | background-color:#3e6bff; |
| 1730 | color:#fff; |
| 1731 | } |
| 1732 | |
| 1733 | [aria-describedby="authy-diag"] .ui-dialog-buttonpane .ui-dialog-buttonset,[aria-describedby="twilio-diag"] .ui-dialog-buttonpane .ui-dialog-buttonset { |
| 1734 | float:left; |
| 1735 | } |
| 1736 | |
| 1737 | [aria-describedby="authy-diag"] .ui-dialog-content,[aria-describedby="twilio-diag"] .ui-dialog-content { |
| 1738 | padding:0 16px 9px; |
| 1739 | overflow:auto; |
| 1740 | } |
| 1741 | |
| 1742 | .our-wordpress-plugins { |
| 1743 | width:100%; |
| 1744 | max-width:250px; |
| 1745 | padding:0 20px; |
| 1746 | box-sizing:border-box; |
| 1747 | background:#ffffff; |
| 1748 | } |
| 1749 | |
| 1750 | .our-wordpress-plugins h3 { |
| 1751 | font-size:17px; |
| 1752 | line-height:28px; |
| 1753 | color:#23282D; |
| 1754 | font-weight:500; |
| 1755 | margin:0; |
| 1756 | padding:15px 4px 0px; |
| 1757 | text-align:center; |
| 1758 | } |
| 1759 | |
| 1760 | .our-wordpress-plugins ul { |
| 1761 | list-style:none; |
| 1762 | margin:0; |
| 1763 | padding:20px 0 0; |
| 1764 | display:-ms-flexbox; |
| 1765 | display:flex; |
| 1766 | -ms-flex-wrap:wrap; |
| 1767 | flex-wrap:wrap; |
| 1768 | } |
| 1769 | |
| 1770 | .our-wordpress-plugins ul li { |
| 1771 | width:100%; |
| 1772 | margin-bottom:20px; |
| 1773 | } |
| 1774 | |
| 1775 | .our-wordpress-plugins ul li .plugin-box { |
| 1776 | width:100%; |
| 1777 | background:#F7F7F7; |
| 1778 | border:1px solid #D9D9D9; |
| 1779 | } |
| 1780 | |
| 1781 | .our-wordpress-plugins ul li .plugin-box .plugin-img img { |
| 1782 | width:100%; |
| 1783 | display:block; |
| 1784 | } |
| 1785 | |
| 1786 | .our-wordpress-plugins h4 { |
| 1787 | font-size:16px; |
| 1788 | line-height:19px; |
| 1789 | color:#23282D; |
| 1790 | font-weight:600; |
| 1791 | margin:0; |
| 1792 | padding-bottom:10px; |
| 1793 | } |
| 1794 | |
| 1795 | .plugin-desc { |
| 1796 | padding:20px 15px; |
| 1797 | font-size:14px; |
| 1798 | line-height:22px; |
| 1799 | font-weight:400; |
| 1800 | color:#23282D; |
| 1801 | text-align:center; |
| 1802 | border-top:1px solid #D9D9D9; |
| 1803 | } |
| 1804 | |
| 1805 | .plugin-desc p { |
| 1806 | margin:0 0 15px 0; |
| 1807 | } |
| 1808 | |
| 1809 | .cta-btn a { |
| 1810 | font-size:14px; |
| 1811 | line-height:24px; |
| 1812 | color:#fff; |
| 1813 | font-weight:700; |
| 1814 | background:#2B597A; |
| 1815 | -webkit-border-radius:4px; |
| 1816 | -moz-border-radius:4px; |
| 1817 | border-radius:4px; |
| 1818 | display:inline-block; |
| 1819 | text-decoration:none; |
| 1820 | padding:5px 15px; |
| 1821 | } |
| 1822 | |
| 1823 | .our-wordpress-plugins.full { |
| 1824 | width:100%; |
| 1825 | max-width:880px; |
| 1826 | } |
| 1827 | |
| 1828 | .our-wordpress-plugins.full ul { |
| 1829 | margin-inline-start:-15px; |
| 1830 | margin-inline-end:-15px; |
| 1831 | } |
| 1832 | |
| 1833 | .our-wordpress-plugins.full ul li { |
| 1834 | width:25%; |
| 1835 | padding:0 10px; |
| 1836 | box-sizing:border-box; |
| 1837 | } |
| 1838 | |
| 1839 | .our-wordpress-plugins.full ul li .plugin-box { |
| 1840 | height:100%; |
| 1841 | } |
| 1842 | |
| 1843 | .our-wordpress-plugins.side-bar { |
| 1844 | margin-bottom:30px; |
| 1845 | width:30%; |
| 1846 | padding:0 20px; |
| 1847 | box-sizing:border-box; |
| 1848 | background:#ffffff; |
| 1849 | } |
| 1850 | |
| 1851 | .wp2fa-help-section { |
| 1852 | display:-ms-flexbox; |
| 1853 | display:flex; |
| 1854 | -ms-flex-direction:row-reverse; |
| 1855 | flex-direction:row-reverse; |
| 1856 | -ms-flex-wrap:wrap; |
| 1857 | flex-wrap:wrap; |
| 1858 | justify-content:flex-end; |
| 1859 | padding-bottom:20px; |
| 1860 | max-width:1170px; |
| 1861 | } |
| 1862 | |
| 1863 | .wp2fa-help-section.nav-tabs { |
| 1864 | display:-ms-flexbox; |
| 1865 | display:flex; |
| 1866 | -ms-flex-direction:row-reverse; |
| 1867 | flex-direction:row-reverse; |
| 1868 | -ms-flex-wrap:wrap; |
| 1869 | flex-wrap:wrap; |
| 1870 | justify-content:flex-end; |
| 1871 | padding-bottom:20px; |
| 1872 | max-width:1170px; |
| 1873 | } |
| 1874 | |
| 1875 | .wp2fa-help-main { |
| 1876 | width:60%; |
| 1877 | padding:10px 20px; |
| 1878 | } |
| 1879 | |
| 1880 | .wp2fa-logo { |
| 1881 | text-align:center; |
| 1882 | } |
| 1883 | |
| 1884 | .wp2fa-logo img { |
| 1885 | width:100%; |
| 1886 | max-width:350px; |
| 1887 | } |
| 1888 | |
| 1889 | .wp2fa-about p { |
| 1890 | word-break:break-all; |
| 1891 | } |
| 1892 | |
| 1893 | .title h2 { |
| 1894 | font-size:23px; |
| 1895 | font-weight:400; |
| 1896 | margin:0; |
| 1897 | padding:9px 0; |
| 1898 | line-height:29px; |
| 1899 | } |
| 1900 | |
| 1901 | #system-info-textarea { |
| 1902 | font-family:monospace; |
| 1903 | white-space:pre; |
| 1904 | overflow:auto; |
| 1905 | width:100%; |
| 1906 | height:400px; |
| 1907 | margin:0; |
| 1908 | } |
| 1909 | |
| 1910 | @media (max-width:991px) { |
| 1911 | .our-wordpress-plugins.full ul li { |
| 1912 | width:100%; |
| 1913 | max-width:255px; |
| 1914 | margin:0 auto; |
| 1915 | margin-bottom:20px; |
| 1916 | } |
| 1917 | |
| 1918 | } |
| 1919 | |
| 1920 | @media (max-width:767px) { |
| 1921 | .wp2fa-help-main { |
| 1922 | width:100%; |
| 1923 | padding-top:40px; |
| 1924 | } |
| 1925 | |
| 1926 | .our-wordpress-plugins.side-bar { |
| 1927 | width:100%; |
| 1928 | max-width:100%; |
| 1929 | margin:0 auto; |
| 1930 | } |
| 1931 | |
| 1932 | .wp2fa-help-section.nav-tabs { |
| 1933 | padding-top:30px; |
| 1934 | } |
| 1935 | |
| 1936 | .our-wordpress-plugins ul { |
| 1937 | margin-inline-end:-15px; |
| 1938 | margin-inline-start:-15px; |
| 1939 | } |
| 1940 | |
| 1941 | .our-wordpress-plugins ul li { |
| 1942 | width:33.33%; |
| 1943 | padding:0 15px; |
| 1944 | box-sizing:border-box; |
| 1945 | } |
| 1946 | |
| 1947 | .our-wordpress-plugins ul li .plugin-box { |
| 1948 | height:100%; |
| 1949 | } |
| 1950 | |
| 1951 | } |
| 1952 | |
| 1953 | @media (max-width:580px) { |
| 1954 | .our-wordpress-plugins ul li { |
| 1955 | width:50%; |
| 1956 | margin:0 auto; |
| 1957 | margin-bottom:30px; |
| 1958 | } |
| 1959 | |
| 1960 | } |
| 1961 | |
| 1962 | @media (max-width:400px) { |
| 1963 | .our-wordpress-plugins ul li { |
| 1964 | width:100%; |
| 1965 | margin:0 auto; |
| 1966 | margin-bottom:30px; |
| 1967 | } |
| 1968 | |
| 1969 | } |
| 1970 | |
| 1971 | |
| 1972 | /* ============================================== |
| 1973 | WP 2FA Admin Notices |
| 1974 | ============================================== */ |
| 1975 | |
| 1976 | .wp-2fa-admin-notice { |
| 1977 | border-inline-start: 4px solid #2271b1; |
| 1978 | /* background: #f0f6fc; */ |
| 1979 | padding: 20px 24px; |
| 1980 | margin: 15px 20px 2px 20px; |
| 1981 | box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); |
| 1982 | } |
| 1983 | |
| 1984 | .wp-2fa-admin-notice p { |
| 1985 | margin: 0 0 14px; |
| 1986 | font-size: 14px; |
| 1987 | line-height: 1.6; |
| 1988 | color: #3c434a; |
| 1989 | } |
| 1990 | |
| 1991 | .wp-2fa-admin-notice p:last-of-type { |
| 1992 | margin-bottom: 0; |
| 1993 | } |
| 1994 | |
| 1995 | .wp-2fa-admin-notice strong, |
| 1996 | .wp-2fa-admin-notice b { |
| 1997 | display: block; |
| 1998 | font-size: 15px; |
| 1999 | font-weight: 600; |
| 2000 | color: #1d2327; |
| 2001 | margin-bottom: 6px; |
| 2002 | } |
| 2003 | |
| 2004 | .wp-2fa-admin-notice .button { |
| 2005 | margin-inline-end: 12px; |
| 2006 | padding: 6px 18px; |
| 2007 | font-size: 13px; |
| 2008 | line-height: 1.5; |
| 2009 | height: auto; |
| 2010 | border-radius: 3px; |
| 2011 | text-decoration: none; |
| 2012 | cursor: pointer; |
| 2013 | vertical-align: middle; |
| 2014 | } |
| 2015 | |
| 2016 | .wp-2fa-admin-notice .button-primary { |
| 2017 | background: #2271b1; |
| 2018 | border-color: #2271b1; |
| 2019 | color: #fff; |
| 2020 | } |
| 2021 | |
| 2022 | .wp-2fa-admin-notice .button-primary:hover, |
| 2023 | .wp-2fa-admin-notice .button-primary:focus { |
| 2024 | background: #135e96; |
| 2025 | border-color: #135e96; |
| 2026 | color: #fff; |
| 2027 | } |
| 2028 | |
| 2029 | .wp-2fa-admin-notice .button-secondary { |
| 2030 | background: #fff; |
| 2031 | border: 1px solid #2271b1; |
| 2032 | color: #2271b1; |
| 2033 | } |
| 2034 | |
| 2035 | .wp-2fa-admin-notice .button-secondary:hover, |
| 2036 | .wp-2fa-admin-notice .button-secondary:focus { |
| 2037 | background: #f0f0f1; |
| 2038 | border-color: #135e96; |
| 2039 | color: #135e96; |
| 2040 | } |
| 2041 | |
| 2042 | /* Salt/config notice buttons */ |
| 2043 | .wp-2fa-admin-notice #salt-update, |
| 2044 | .wp-2fa-admin-notice #dismiss-salt-update { |
| 2045 | padding: 6px 18px; |
| 2046 | font-size: 13px; |
| 2047 | line-height: 1.5; |
| 2048 | height: auto; |
| 2049 | border-radius: 3px; |
| 2050 | cursor: pointer; |
| 2051 | vertical-align: middle; |
| 2052 | text-decoration: none; |
| 2053 | } |
| 2054 | |
| 2055 | .wp-2fa-admin-notice #salt-update { |
| 2056 | background: #2271b1; |
| 2057 | border: 1px solid #2271b1; |
| 2058 | color: #fff; |
| 2059 | } |
| 2060 | |
| 2061 | .wp-2fa-admin-notice #salt-update:hover, |
| 2062 | .wp-2fa-admin-notice #salt-update:focus { |
| 2063 | background: #135e96; |
| 2064 | border-color: #135e96; |
| 2065 | color: #fff; |
| 2066 | } |
| 2067 | |
| 2068 | .wp-2fa-admin-notice #dismiss-salt-update { |
| 2069 | background: #fff; |
| 2070 | border: 1px solid #2271b1; |
| 2071 | color: #2271b1; |
| 2072 | margin-inline-start: 12px; |
| 2073 | } |
| 2074 | |
| 2075 | .wp-2fa-admin-notice #dismiss-salt-update:hover, |
| 2076 | .wp-2fa-admin-notice #dismiss-salt-update:focus { |
| 2077 | background: #f0f0f1; |
| 2078 | border-color: #135e96; |
| 2079 | color: #135e96; |
| 2080 | } |
| 2081 | |
| 2082 | /* ============================================= |
| 2083 | Secret/credential field masking with toggle |
| 2084 | ============================================= */ |
| 2085 | .wp2fa-secret-field-wrap { |
| 2086 | display: inline-flex; |
| 2087 | align-items: center; |
| 2088 | position: relative; |
| 2089 | } |
| 2090 | |
| 2091 | .wp2fa-secret-field-wrap input.wp2fa-secret-field { |
| 2092 | -webkit-text-security: disc; |
| 2093 | padding-right: 36px; |
| 2094 | } |
| 2095 | |
| 2096 | .wp2fa-secret-field-wrap input.wp2fa-secret-field.wp2fa-secret-visible { |
| 2097 | -webkit-text-security: none; |
| 2098 | } |
| 2099 | |
| 2100 | .wp2fa-secret-toggle { |
| 2101 | position: absolute; |
| 2102 | right: 8px; |
| 2103 | top: 50%; |
| 2104 | transform: translateY(-50%); |
| 2105 | background: none; |
| 2106 | border: none; |
| 2107 | padding: 2px; |
| 2108 | cursor: pointer; |
| 2109 | color: #8c8f94; |
| 2110 | line-height: 1; |
| 2111 | display: flex; |
| 2112 | align-items: center; |
| 2113 | justify-content: center; |
| 2114 | } |
| 2115 | |
| 2116 | .wp2fa-secret-toggle:hover { |
| 2117 | color: #2271b1; |
| 2118 | } |
| 2119 | |
| 2120 | .wp2fa-secret-toggle svg { |
| 2121 | width: 18px; |
| 2122 | height: 18px; |
| 2123 | fill: currentColor; |
| 2124 | } |
| 2125 |