codemirror
4 months ago
datatables
4 months ago
admin-menu-organizer.css
4 months ago
admin-page.css
4 months ago
content-order.css
4 months ago
gutenberg-content-duplication.css
4 months ago
hide-admin-notices.css
4 months ago
image-sizes-panel.css
4 months ago
jBox.all.min.css
4 months ago
list-table.css
4 months ago
list-tables-content-order.css
4 months ago
maintenance.css
4 months ago
media-categories-frontend.css
4 months ago
media-replace-frontend.css
4 months ago
media-replace.css
4 months ago
select2.min.css
4 months ago
settings-wpeditor.css
4 months ago
wp-admin.css
4 months ago
wp-block-editor.css
4 months ago
admin-page.css
2066 lines
| 1 | :root { |
| 2 | --ase-accent: #2271b1; |
| 3 | --ase-accent-hover: #135e96; |
| 4 | --ase-accent-faded: #e8f0f7; |
| 5 | --ase-accent-black: #111111; |
| 6 | --ase-accent-warning: #d63638; |
| 7 | --ase-accent-grey-darker: #333333; |
| 8 | --ase-accent-grey-dark: #666666; |
| 9 | --ase-accent-grey-light: #999999; |
| 10 | --ase-accent-grey-lighter: #cccccc; |
| 11 | --ase-accent-grey-lighter2: #ccd0d4; |
| 12 | --ase-accent-grey-lightest: #fafafa; |
| 13 | --ase-accent-yellow-lightest: #fcf9e8; |
| 14 | --ase-accent-blue-lightest: #f0f6fc; |
| 15 | --ase-body-text: #1d2327; |
| 16 | --ase-link: #2271b1; |
| 17 | --ase-link-hover: #0a4b78; |
| 18 | --ase-toggle-height: 22px; |
| 19 | --ase-toggle-width: 40px; |
| 20 | --ase-toggle-gap: 3px; |
| 21 | } |
| 22 | |
| 23 | /* disable elastic scrolling */ |
| 24 | /* body { |
| 25 | overscroll-behavior-y: none; |
| 26 | } */ |
| 27 | |
| 28 | #wpcontent { |
| 29 | padding-left: 0; |
| 30 | } |
| 31 | |
| 32 | #wpbody-content { |
| 33 | padding-bottom: 25px; |
| 34 | } |
| 35 | |
| 36 | #screen-meta, |
| 37 | #screen-meta-links { |
| 38 | display: none; |
| 39 | } |
| 40 | |
| 41 | .wrap.asenha { |
| 42 | margin: 0 0 20px 0; |
| 43 | display: flex; |
| 44 | flex-direction: column; |
| 45 | align-items: center; |
| 46 | /* kinara-background: linear-gradient(red 0, orange 10%, green 20%, purple 30%, pink 45%, gold 60%, brown 70%, black 80%, red 90%, pink 100%); */ |
| 47 | } |
| 48 | |
| 49 | .asenha-header { |
| 50 | display: flex; |
| 51 | justify-content: space-between; |
| 52 | align-items: center; |
| 53 | box-sizing: border-box; |
| 54 | padding: 20px 32px; |
| 55 | height: 71px; |
| 56 | background-color: #fff; |
| 57 | border-bottom: 1px solid #ccd0d4; |
| 58 | } |
| 59 | |
| 60 | .asenha-header:not(.asenha-sticky) { |
| 61 | width: 100% !important; |
| 62 | } |
| 63 | |
| 64 | .asenha-header.asenha-sticky { |
| 65 | box-shadow: 0 5px 10px rgb(0 0 0 / 10%); |
| 66 | margin-top: 32px; |
| 67 | } |
| 68 | |
| 69 | .asenha-header-left { |
| 70 | position: relative; |
| 71 | display: flex; |
| 72 | justify-content: flex-start; |
| 73 | align-items: center; |
| 74 | } |
| 75 | |
| 76 | .asenha-header-left .nav-tab-wrapper { |
| 77 | display: none; |
| 78 | } |
| 79 | |
| 80 | .asenha-header-right { |
| 81 | position: relative; |
| 82 | display: flex; |
| 83 | justify-content: flex-end; |
| 84 | min-width: 240px; |
| 85 | } |
| 86 | |
| 87 | .asenha-header .notice { |
| 88 | display: none; |
| 89 | } |
| 90 | |
| 91 | .asenha-body { |
| 92 | box-sizing: border-box; |
| 93 | margin-top: 40px; |
| 94 | width: 1140px; |
| 95 | background-color: #fff; |
| 96 | border: 1px solid #ccd0d4; |
| 97 | border-radius: 8px; |
| 98 | overflow: hidden; |
| 99 | } |
| 100 | |
| 101 | /* Upgrade Nudge */ |
| 102 | |
| 103 | .asenha-upgrade-nudge, |
| 104 | .asenha-promo-nudge { |
| 105 | position: relative; |
| 106 | display: flex; |
| 107 | flex-direction: row; |
| 108 | justify-content: center; |
| 109 | align-items: center; |
| 110 | text-align: center; |
| 111 | padding: 8px 20px; |
| 112 | background: var(--ase-accent-grey-lightest); |
| 113 | border-bottom: 1px solid var(--ase-accent-grey-lighter2); |
| 114 | font-size: 1.125em; |
| 115 | font-weight: 600; |
| 116 | line-height: 1.5; |
| 117 | } |
| 118 | |
| 119 | .asenha-promo-nudge { |
| 120 | background: var(--ase-accent-yellow-lightest); |
| 121 | } |
| 122 | |
| 123 | .button.asenha-upgrade-nudge__button, |
| 124 | .button.asenha-promo-nudge__button { |
| 125 | margin-left: 8px; |
| 126 | color: #fff; |
| 127 | background: #333333; |
| 128 | border-color: #333333; |
| 129 | transition: .25s; |
| 130 | } |
| 131 | |
| 132 | .button.asenha-upgrade-nudge__button:hover, |
| 133 | .button.asenha-promo-nudge__button:hover { |
| 134 | color: #fff; |
| 135 | background: var(--ase-accent-black); |
| 136 | border-color: var(--ase-accent-black); |
| 137 | } |
| 138 | |
| 139 | .asenha-upgrade-nudge__dismiss, |
| 140 | .asenha-promo-nudge__dismiss { |
| 141 | position: absolute; |
| 142 | top: -1px; |
| 143 | right: -1px; |
| 144 | color: var(--ase-accent-grey-light); |
| 145 | transition: .25s; |
| 146 | padding: 2px 6px 0; |
| 147 | border-top: 1px solid var(--ase-accent-grey-lighter); |
| 148 | border-right: 1px solid var(--ase-accent-grey-darker); |
| 149 | border-bottom: 1px solid var(--ase-accent-grey-lighter); |
| 150 | border-left: 1px solid var(--ase-accent-grey-lighter); |
| 151 | border-radius: 0 0 0 8px; |
| 152 | } |
| 153 | |
| 154 | .asenha-upgrade-nudge__dismiss:hover, |
| 155 | .asenha-promo-nudge__dismiss:hover { |
| 156 | color: var(--ase-link); |
| 157 | background: var(--ase-accent-faded); |
| 158 | } |
| 159 | |
| 160 | .asenha-upgrade-nudge-bottom { |
| 161 | display: flex; |
| 162 | justify-content: center; |
| 163 | align-items: center; |
| 164 | text-align: center; |
| 165 | font-size: 14px; |
| 166 | font-weight: 600; |
| 167 | padding: 8px 20px; |
| 168 | /* background: var(--ase-accent-grey-lightest); */ |
| 169 | /* background: var(--ase-accent-yellow-lightest); */ |
| 170 | background: var(--ase-accent-blue-lightest); |
| 171 | border-top: 1px solid var(--ase-accent-grey-lighter2); |
| 172 | line-height: 1.5; |
| 173 | } |
| 174 | |
| 175 | .asenha-upgrade-nudge-bottom a { |
| 176 | text-decoration: none; |
| 177 | transition: .25s; |
| 178 | } |
| 179 | |
| 180 | .asenha-upgrade-nudge-bottom a:hover { |
| 181 | text-decoration: underline; |
| 182 | } |
| 183 | |
| 184 | /* Support Nudge */ |
| 185 | |
| 186 | .asenha-support-nudge { |
| 187 | padding: 20px 40px 12px; |
| 188 | border-bottom: 1px solid var(--ase-accent-grey-lighter2); |
| 189 | font-size: 14px; |
| 190 | line-height: 1.5; |
| 191 | border-radius: 8px 8px 0 0; |
| 192 | } |
| 193 | |
| 194 | .asenha-support-nudge.nudge-show-more.is-enabled { |
| 195 | display: block; |
| 196 | position: relative; |
| 197 | /* transition: all 0.5s ease; */ |
| 198 | } |
| 199 | |
| 200 | .asenha-support-nudge.nudge-show-more.is-enabled .nudge-wrapper-show-more { |
| 201 | height: 80px; |
| 202 | overflow: hidden; |
| 203 | /* transition: all 0.5s ease; */ |
| 204 | } |
| 205 | |
| 206 | .asenha-support-nudge.nudge-show-more.is-enabled .nudge-wrapper-show-more:before { |
| 207 | content: ''; |
| 208 | display: block; |
| 209 | position: absolute; |
| 210 | z-index: 1; |
| 211 | font-size: 12px; |
| 212 | left: 0; |
| 213 | right: 0; |
| 214 | bottom: 0; |
| 215 | height: 54px; |
| 216 | width: 100%; |
| 217 | text-align: center; |
| 218 | background: linear-gradient(to bottom, rgba(255,255,255,0.2) 0%,rgba(255,255,255,0.7) 50%,rgba(255,255,255,1) 100%); |
| 219 | } |
| 220 | |
| 221 | .is-enabled .nudge-show-more-less.show-more-less { |
| 222 | transition: none; |
| 223 | } |
| 224 | |
| 225 | .is-enabled .nudge-show-more-less.show-more-less.show-more { |
| 226 | left: calc( 50% - 59px ); |
| 227 | bottom: 8px; |
| 228 | font-size: 14px; |
| 229 | text-transform: uppercase; |
| 230 | text-decoration: none; |
| 231 | } |
| 232 | |
| 233 | .asenha-support-nudge.nudge-show-more.is-enabled .nudge-wrapper-show-more.opened { |
| 234 | height: auto; |
| 235 | overflow: visible; |
| 236 | display: flex; |
| 237 | flex-direction: column; |
| 238 | align-items: center; |
| 239 | } |
| 240 | |
| 241 | .asenha-support-nudge.nudge-show-more.is-enabled .nudge-wrapper-show-more.opened:before { |
| 242 | display: none; |
| 243 | } |
| 244 | |
| 245 | .nudge-content { |
| 246 | display: flex; |
| 247 | justify-content: space-between; |
| 248 | gap: 28px; |
| 249 | margin-bottom: 20px; |
| 250 | } |
| 251 | |
| 252 | .nudge-primary, |
| 253 | .nudge-secondary { |
| 254 | width: 48%; |
| 255 | background: var(--ase-accent-grey-lightest); |
| 256 | border: 1px solid #eee; |
| 257 | padding: 20px 20px 12px; |
| 258 | border-radius: 8px; |
| 259 | } |
| 260 | |
| 261 | .asenha-support-nudge h3 { |
| 262 | text-align: center; |
| 263 | font-size: 18px; |
| 264 | font-weight: 500; |
| 265 | margin: 0 0 4px 0; |
| 266 | } |
| 267 | |
| 268 | .asenha-support-nudge > p { |
| 269 | margin: 0 0 16px; |
| 270 | text-align: center; |
| 271 | } |
| 272 | |
| 273 | .asenha-support-nudge h4 { |
| 274 | font-size: 16px; |
| 275 | font-weight: 500; |
| 276 | margin: 0 0 8px 0; |
| 277 | } |
| 278 | |
| 279 | p.nudge-description { |
| 280 | font-size: 14px; |
| 281 | } |
| 282 | |
| 283 | p.nudge-description.intro { |
| 284 | font-size: 16px; |
| 285 | } |
| 286 | |
| 287 | .nudge-photo-link { |
| 288 | } |
| 289 | |
| 290 | .nudge-photo { |
| 291 | width: 96px; |
| 292 | height: 96px; |
| 293 | border-radius: 96px; |
| 294 | } |
| 295 | |
| 296 | p.nudge-description.nudge-closing { |
| 297 | margin-top: 0; |
| 298 | } |
| 299 | |
| 300 | .nudge-quotes { |
| 301 | display: flex; |
| 302 | justify-content: space-between; |
| 303 | } |
| 304 | |
| 305 | .nudge-quotes .user-quote, |
| 306 | .user-quote.share-quote { |
| 307 | box-sizing: border-box; |
| 308 | width: 48%; |
| 309 | margin-bottom: 20px; |
| 310 | padding: 12px 16px; |
| 311 | /* background: #e5f2e5; */ |
| 312 | background: var(--ase-accent-faded); |
| 313 | border-radius: 4px; |
| 314 | font-weight: 500; |
| 315 | } |
| 316 | |
| 317 | .user-quote.share-quote { |
| 318 | text-align: center; |
| 319 | margin-bottom: 0; |
| 320 | } |
| 321 | |
| 322 | .nudge-ctas { |
| 323 | margin-top: 12px; |
| 324 | display: flex; |
| 325 | align-items: center; |
| 326 | } |
| 327 | |
| 328 | .button.button-solid { |
| 329 | margin-right: 16px; |
| 330 | color: #fff; |
| 331 | font-size: 14px; |
| 332 | font-weight: 500; |
| 333 | height: 40px; |
| 334 | line-height: 40px; |
| 335 | padding: 0 20px; |
| 336 | background: var(--ase-accent-grey-darker); |
| 337 | border-color: var(--ase-accent-grey-darker); |
| 338 | transition: .1s; |
| 339 | } |
| 340 | |
| 341 | .button.button-solid:hover { |
| 342 | background: var(--ase-accent-black); |
| 343 | border-color: var(--ase-accent-black); |
| 344 | } |
| 345 | |
| 346 | .button.button-outline { |
| 347 | margin-right: 16px; |
| 348 | color: var(--ase-body-text); |
| 349 | font-size: 14px; |
| 350 | font-weight: 500; |
| 351 | height: 40px; |
| 352 | line-height: 40px; |
| 353 | padding: 0 20px; |
| 354 | background: #fff; |
| 355 | border-color: var(--ase-accent-grey-dark); |
| 356 | transition: .1s; |
| 357 | } |
| 358 | .rtl .button.button-outline { |
| 359 | margin-right: 0; |
| 360 | margin-left: 16px; |
| 361 | } |
| 362 | |
| 363 | .button.button-outline:hover { |
| 364 | color: #fff; |
| 365 | background: var(--ase-accent-grey-darker); |
| 366 | } |
| 367 | |
| 368 | .is-enabled .nudge-show-more-less.show-more-less:not(.show-more) { |
| 369 | color: var(--ase-accent); |
| 370 | } |
| 371 | |
| 372 | .nudge-stats { |
| 373 | margin-top: 12px; |
| 374 | } |
| 375 | |
| 376 | .dismiss-support-nudge { |
| 377 | text-align: center; |
| 378 | margin-top: -10px; |
| 379 | } |
| 380 | |
| 381 | /* |
| 382 | a.asenha-have-supported, |
| 383 | a.asenha-support-nudge-dismiss, |
| 384 | .nudge-description a { |
| 385 | text-decoration: none; |
| 386 | transition: .25s; |
| 387 | } |
| 388 | |
| 389 | a.asenha-have-supported:hover, |
| 390 | a.asenha-support-nudge-dismiss:hover, |
| 391 | .nudge-description a:hover { |
| 392 | text-decoration: underline; |
| 393 | } |
| 394 | */ |
| 395 | |
| 396 | .asenha .form-table { |
| 397 | margin-top: 0; |
| 398 | } |
| 399 | |
| 400 | .asenha-bottom-spacer { |
| 401 | min-height: 34px; |
| 402 | } |
| 403 | |
| 404 | .asenha-settings { |
| 405 | box-sizing: border-box; |
| 406 | width: 1140px; |
| 407 | min-height: 34px; |
| 408 | display: flex; |
| 409 | justify-content: flex-end; |
| 410 | } |
| 411 | |
| 412 | .asenha-settings a { |
| 413 | padding: 8px; |
| 414 | text-decoration: none; |
| 415 | transition: .25s; |
| 416 | } |
| 417 | |
| 418 | .asenha-settings a:hover { |
| 419 | text-decoration: underline; |
| 420 | } |
| 421 | |
| 422 | .asenha-settings a:focus { |
| 423 | box-shadow: none; |
| 424 | outline: none; |
| 425 | } |
| 426 | |
| 427 | .asenha-footer { |
| 428 | box-sizing: border-box; |
| 429 | margin-bottom: 20px; |
| 430 | padding: 20px 40px 40px; |
| 431 | width: 1140px; |
| 432 | background-color: #fff; |
| 433 | border: 1px solid #ccd0d4; |
| 434 | border-radius: 8px; |
| 435 | overflow: hidden; |
| 436 | } |
| 437 | |
| 438 | .asenha-footer h2 { |
| 439 | font-size: 1.375em; |
| 440 | padding-bottom: 20px; |
| 441 | border-bottom: 1px solid #ddd; |
| 442 | } |
| 443 | |
| 444 | .footer-section.export-import { |
| 445 | box-sizing: border-box; |
| 446 | width: 100%; |
| 447 | gap: 40px; |
| 448 | display: flex; |
| 449 | justify-content: space-between; |
| 450 | margin-bottom: 40px; |
| 451 | } |
| 452 | |
| 453 | .footer-section.export-import:last-of-type { |
| 454 | margin-bottom: 0; |
| 455 | } |
| 456 | |
| 457 | .settings-box { |
| 458 | display: flex; |
| 459 | flex-direction: column; |
| 460 | } |
| 461 | |
| 462 | .settings-box.half { |
| 463 | width: calc(50% - 20px); |
| 464 | } |
| 465 | |
| 466 | .settings-box h3 { |
| 467 | font-size: 1.125em; |
| 468 | line-height: 1.2; |
| 469 | margin: 0; |
| 470 | } |
| 471 | |
| 472 | .settings-box p { |
| 473 | margin-bottom: 0; |
| 474 | } |
| 475 | |
| 476 | .settings-box p.submit { |
| 477 | margin-top: 0; |
| 478 | padding-bottom: 0; |
| 479 | } |
| 480 | |
| 481 | |
| 482 | |
| 483 | .asenha-icon { |
| 484 | width: 40px; |
| 485 | height: 40px; |
| 486 | margin-right: 8px; |
| 487 | border-radius: 4px; |
| 488 | } |
| 489 | |
| 490 | .rtl .asenha-icon { |
| 491 | margin-right: 0; |
| 492 | margin-left: 8px; |
| 493 | } |
| 494 | |
| 495 | .wrap h1.asenha-heading { |
| 496 | font-size: 1.5em; |
| 497 | line-height: 26px; |
| 498 | font-weight: 400; |
| 499 | margin: 0; |
| 500 | padding: 0; |
| 501 | } |
| 502 | |
| 503 | .asenha-header-action { |
| 504 | position: relative; |
| 505 | display: flex; |
| 506 | align-items: center; |
| 507 | box-sizing: border-box; |
| 508 | padding-left: 8px; |
| 509 | padding-right: 8px; |
| 510 | text-decoration: none; |
| 511 | transition: .25s; |
| 512 | font-weight: 500; |
| 513 | line-height: 30px; |
| 514 | color: var(--ase-accent); |
| 515 | border-radius: 4px; |
| 516 | } |
| 517 | |
| 518 | .asenha-header-action:hover { |
| 519 | background: var(--ase-accent-faded); |
| 520 | } |
| 521 | |
| 522 | .asenha-header-action svg { |
| 523 | margin-right: 4px; |
| 524 | transition: .25s; |
| 525 | } |
| 526 | |
| 527 | .rtl .asenha-header-action svg { |
| 528 | margin-right: 0; |
| 529 | margin-left: 4px; |
| 530 | } |
| 531 | |
| 532 | .asenha-header-action:first-child { |
| 533 | margin-left: 0; |
| 534 | } |
| 535 | |
| 536 | .asenha-header-action:hover { |
| 537 | /* text-decoration: underline; */ |
| 538 | } |
| 539 | |
| 540 | /* Button Style */ |
| 541 | |
| 542 | .wp-core-ui .asenha-header .button-primary { |
| 543 | font-size: 14px; |
| 544 | font-weight: 500; |
| 545 | transition: .1s; |
| 546 | min-height: 40px; |
| 547 | line-height: 40px; |
| 548 | padding: 0 20px; |
| 549 | } |
| 550 | |
| 551 | .wp-core-ui .button-primary.plugin-upgrade { |
| 552 | margin-left: 8px; |
| 553 | color: #fff; |
| 554 | background: var(--ase-accent-grey-darker); |
| 555 | border-color: var(--ase-accent-grey-darker); |
| 556 | } |
| 557 | |
| 558 | .wp-core-ui .button-primary.plugin-upgrade:hover { |
| 559 | background: var(--ase-accent-black); |
| 560 | border-color: var(--ase-accent-black); |
| 561 | } |
| 562 | |
| 563 | .wp-core-ui .button-primary.plugin-upgrade:focus { |
| 564 | box-shadow: none; |
| 565 | } |
| 566 | |
| 567 | .wp-core-ui .button-primary.asenha-save-button { |
| 568 | margin-left: 8px; |
| 569 | background: var(--ase-accent); |
| 570 | border-color: var(--ase-accent); |
| 571 | } |
| 572 | |
| 573 | .wp-core-ui .button-primary.asenha-save-button:hover { |
| 574 | background: var(--ase-accent-hover); |
| 575 | border-color: var(--ase-accent-hover); |
| 576 | } |
| 577 | |
| 578 | .asenha-saving-changes { |
| 579 | position: absolute; |
| 580 | right: -28px; |
| 581 | top: 10px; |
| 582 | } |
| 583 | |
| 584 | .asenha-changes-saved { |
| 585 | position: absolute; |
| 586 | right: -30px; |
| 587 | top: 8px; |
| 588 | } |
| 589 | |
| 590 | .asenha-toggle { |
| 591 | /* border-bottom: 1px solid #eee; */ |
| 592 | } |
| 593 | |
| 594 | #module-search-input { |
| 595 | margin-left: 8px; |
| 596 | border-color: #ddd; |
| 597 | /* transition: .25s;*/ |
| 598 | } |
| 599 | |
| 600 | #module-search-input::-webkit-input-placeholder { /* WebKit, Blink, Edge */ |
| 601 | color: #ccc; |
| 602 | } |
| 603 | #module-search-input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ |
| 604 | color: #ccc; |
| 605 | opacity: 1; |
| 606 | } |
| 607 | #module-search-input::-moz-placeholder { /* Mozilla Firefox 19+ */ |
| 608 | color: #ccc; |
| 609 | opacity: 1; |
| 610 | } |
| 611 | #module-search-input:-ms-input-placeholder { /* Internet Explorer 10-11 */ |
| 612 | color: #ccc; |
| 613 | } |
| 614 | #module-search-input::-ms-input-placeholder { /* Microsoft Edge */ |
| 615 | color: #ccc; |
| 616 | } |
| 617 | #module-search-input::placeholder { /* WebKit, Blink, Edge */ |
| 618 | color: #ccc; |
| 619 | } |
| 620 | |
| 621 | #module-search-input:hover::-webkit-input-placeholder { /* WebKit, Blink, Edge */ |
| 622 | color: #999; |
| 623 | } |
| 624 | #module-search-input:hover:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ |
| 625 | color: #999; |
| 626 | opacity: 1; |
| 627 | } |
| 628 | #module-search-input:hover::-moz-placeholder { /* Mozilla Firefox 19+ */ |
| 629 | color: #999; |
| 630 | opacity: 1; |
| 631 | } |
| 632 | #module-search-input:hover:-ms-input-placeholder { /* Internet Explorer 10-11 */ |
| 633 | color: #999; |
| 634 | } |
| 635 | #module-search-input:hover::-ms-input-placeholder { /* Microsoft Edge */ |
| 636 | color: #999; |
| 637 | } |
| 638 | #module-search-input:hover::placeholder { /* WebKit, Blink, Edge */ |
| 639 | color: #999; |
| 640 | } |
| 641 | |
| 642 | input[type="search"]#module-search-input.has-text-input { |
| 643 | background-color: #ffefca; |
| 644 | } |
| 645 | |
| 646 | #module-search-input:hover { |
| 647 | border-color: #8c8f94; |
| 648 | } |
| 649 | |
| 650 | .asenha-toggle.result-is-hidden { |
| 651 | display: none; |
| 652 | } |
| 653 | |
| 654 | .asenha-fields.section-visible, |
| 655 | .asenha-fields.section-visible-for-search, |
| 656 | .asenha-fields.section-visible.section-hidden { |
| 657 | display: block; |
| 658 | } |
| 659 | |
| 660 | .asenha-fields.section-visible-for-search { |
| 661 | padding: 0 10px; |
| 662 | } |
| 663 | .asenha-fields.section-visible-for-search:first-child { |
| 664 | padding-top: 10px; |
| 665 | } |
| 666 | .asenha-fields.section-visible-for-search:last-child { |
| 667 | padding-bottom: 10px; |
| 668 | } |
| 669 | |
| 670 | .asenha-fields.section-hidden { |
| 671 | display: none; |
| 672 | } |
| 673 | |
| 674 | .form-table .asenha-toggle th:not(.datatable-th) { |
| 675 | padding: 20px 10px 16px 20px; |
| 676 | line-height: 1.4; |
| 677 | } |
| 678 | |
| 679 | .form-table .asenha-toggle td:not(.datatable-td) { |
| 680 | padding: 18px 20px 16px 10px; |
| 681 | line-height: 1.4; |
| 682 | } |
| 683 | |
| 684 | .form-table .asenha-toggle.wider-admin-menu > td .asenha-field-with-options.is-enabled, |
| 685 | .form-table .asenha-toggle.change-login-url > td .asenha-field-with-options.is-enabled { |
| 686 | margin-bottom: -16px; |
| 687 | } |
| 688 | |
| 689 | .asenha-toggle:last-child { |
| 690 | border-bottom: 0; |
| 691 | } |
| 692 | |
| 693 | .asenha-field-description { |
| 694 | position: relative; |
| 695 | top: 1px; |
| 696 | color: #3c434a; |
| 697 | } |
| 698 | |
| 699 | .asenha-field-with-options { |
| 700 | width: 100%; |
| 701 | } |
| 702 | |
| 703 | /* WP Core UI overrides */ |
| 704 | |
| 705 | .wp-core-ui.tools_page_admin-site-enhancements .notice { |
| 706 | margin: 20px 20px 0 2px; |
| 707 | } |
| 708 | |
| 709 | .asenha .asenha-body .submit { |
| 710 | position: absolute; |
| 711 | } |
| 712 | |
| 713 | .asenha .asenha-body .submit input { |
| 714 | display: none; |
| 715 | } |
| 716 | |
| 717 | .wp-core-ui .asenha-body tr.attachment { |
| 718 | padding: 0; |
| 719 | } |
| 720 | |
| 721 | /* Toggle Styles -- https://codepen.io/deanelliott/pen/GRJjGqK */ |
| 722 | |
| 723 | .form-table .asenha-toggle td:not(.datatable-td) { |
| 724 | display: flex; |
| 725 | align-items: flex-start; |
| 726 | } |
| 727 | |
| 728 | .form-table .asenha-toggle .asenha-radio-buttons > td:not(.datatable-td) { |
| 729 | align-items: center; |
| 730 | } |
| 731 | |
| 732 | .asenha-checkboxes .wrapper-for-checkboxes { |
| 733 | display: flex; |
| 734 | flex-direction: row; |
| 735 | } |
| 736 | |
| 737 | .asenha-checkboxes .wrapper-for-checkboxes div { |
| 738 | margin-bottom: 9px; |
| 739 | } |
| 740 | |
| 741 | .asenha-checkboxes .wrapper-for-checkboxes div:last-child { |
| 742 | margin-bottom: 4px; |
| 743 | } |
| 744 | |
| 745 | .asenha-checkboxes .wrapper-for-checkboxes.horizontal div { |
| 746 | margin-right: 16px; |
| 747 | margin-bottom: 4px; |
| 748 | } |
| 749 | |
| 750 | .asenha-checkboxes .wrapper-for-checkboxes.vertical { |
| 751 | flex-direction: column; |
| 752 | } |
| 753 | |
| 754 | .asenha-field-checkbox { |
| 755 | width: 0 !important; |
| 756 | height: 0 !important; |
| 757 | opacity: 0; |
| 758 | position: absolute; |
| 759 | } |
| 760 | |
| 761 | .asenha-field-checkbox + label { |
| 762 | position: relative; |
| 763 | background: #c0c0c0; |
| 764 | width: var(--ase-toggle-width); |
| 765 | min-width: var(--ase-toggle-width); |
| 766 | height: var(--ase-toggle-height); |
| 767 | margin-right: 8px; |
| 768 | display: inline-flex; |
| 769 | align-items: center; |
| 770 | border-radius: 25px; |
| 771 | cursor: pointer; |
| 772 | transition: background 0.2s ease-in-out; |
| 773 | text-indent: calc( var(--ase-toggle-width) + 10px); |
| 774 | } |
| 775 | .rtl .asenha-field-checkbox + label { |
| 776 | margin-right: 0; |
| 777 | margin-left: 8px; |
| 778 | } |
| 779 | .asenha-field-checkbox + label:after { |
| 780 | content: ""; |
| 781 | background: #fff; |
| 782 | width: calc(var(--ase-toggle-height) - (var(--ase-toggle-gap) * 2)); |
| 783 | height: calc(var(--ase-toggle-height) - (var(--ase-toggle-gap) * 2)); |
| 784 | position: absolute; |
| 785 | top: var(--ase-toggle-gap); |
| 786 | left: var(--ase-toggle-gap); |
| 787 | border-radius: 50%; |
| 788 | transition: left 0.3s ease-in-out, background 0.2s ease-in-out; |
| 789 | } |
| 790 | |
| 791 | .asenha-field-checkbox:checked + label { |
| 792 | /* background: seaGreen; */ |
| 793 | background: var(--ase-accent); |
| 794 | } |
| 795 | .asenha-field-checkbox:checked + label:after { |
| 796 | left: calc(100% - calc(var(--ase-toggle-height) - var(--ase-toggle-gap))); |
| 797 | } |
| 798 | |
| 799 | /* Vertical Tabs */ |
| 800 | |
| 801 | .asenha-vertical-tabs { |
| 802 | padding: 0px; |
| 803 | margin: 0 auto; |
| 804 | display: flex; |
| 805 | } |
| 806 | |
| 807 | .asenha-tab-buttons { |
| 808 | background: #fff; |
| 809 | border-right: 1px solid #ccd0d4; |
| 810 | } |
| 811 | |
| 812 | .rtl .asenha-tab-buttons { |
| 813 | border-right: none; |
| 814 | border-left: 1px solid #ccd0d4; |
| 815 | } |
| 816 | |
| 817 | .asenha-tab-buttons { |
| 818 | padding: 14px 0; |
| 819 | } |
| 820 | |
| 821 | .asenha-tab-contents > section { |
| 822 | padding: 10px; |
| 823 | } |
| 824 | |
| 825 | .asenha-tab-buttons > input { |
| 826 | display: none; |
| 827 | } |
| 828 | |
| 829 | .asenha-tab-buttons > label { |
| 830 | display: flex; |
| 831 | box-sizing: border-box; |
| 832 | align-items: center; |
| 833 | position: relative; |
| 834 | font-size: 14px; |
| 835 | font-weight: 600; |
| 836 | color: #1d2327; |
| 837 | width: 240px; |
| 838 | padding: 14px 30px; |
| 839 | background: #fff; |
| 840 | cursor: pointer; |
| 841 | transition: .25s; |
| 842 | } |
| 843 | |
| 844 | .asenha-tab-buttons > label:first-of-type { |
| 845 | /* margin-top: 20px; */ |
| 846 | } |
| 847 | |
| 848 | .asenha-tab-buttons > label:hover { |
| 849 | /* color: var(--ase-accent); */ |
| 850 | background: var(--ase-accent-faded); |
| 851 | } |
| 852 | |
| 853 | .asenha-tab-buttons > input:checked + label { |
| 854 | color: var(--ase-accent); |
| 855 | background: #ffffff; |
| 856 | } |
| 857 | |
| 858 | /* .asenha-tab-buttons > label:hover:before, */ |
| 859 | .asenha-tab-buttons > input:checked + label:before { |
| 860 | content: ""; |
| 861 | position: absolute; |
| 862 | z-index: 1; |
| 863 | left: 0; |
| 864 | width: 3px; |
| 865 | height: 32px; |
| 866 | background: var(--ase-accent); |
| 867 | } |
| 868 | |
| 869 | .rtl .asenha-tab-buttons > input:checked + label:before { |
| 870 | left: unset; |
| 871 | right: 0; |
| 872 | } |
| 873 | |
| 874 | .asenha-tab-buttons > label svg { |
| 875 | width: 24px; |
| 876 | min-width: 24px; |
| 877 | height: 24px; |
| 878 | margin-right: 6px; |
| 879 | } |
| 880 | |
| 881 | .rtl .asenha-tab-buttons > label svg { |
| 882 | margin-right: 0; |
| 883 | margin-left: 6px; |
| 884 | } |
| 885 | |
| 886 | .asenha-tab-buttons > label span { |
| 887 | hyphens: auto; |
| 888 | } |
| 889 | |
| 890 | .asenha-tab-contents > section { |
| 891 | display: none; |
| 892 | background: #ffffff; |
| 893 | } |
| 894 | |
| 895 | /* Show all / less toggler | Modified from https://codepen.io/symonsays/pen/rzgEgY */ |
| 896 | |
| 897 | .asenha-field-with-options.field-show-more.is-enabled { |
| 898 | display: block; |
| 899 | position: relative; |
| 900 | -webkit-transition: all 0.5s ease; |
| 901 | -moz-transition: all 0.5s ease; |
| 902 | -o-transition: all 0.5s ease; |
| 903 | transition: all 0.5s ease; |
| 904 | } |
| 905 | |
| 906 | .asenha-field-with-options.field-show-more.is-enabled .asenha-field-options-wrapper.wrapper-show-more { |
| 907 | height: 80px; |
| 908 | overflow: hidden; |
| 909 | -webkit-transition: all 0.5s ease; |
| 910 | -moz-transition: all 0.5s ease; |
| 911 | -o-transition: all 0.5s ease; |
| 912 | transition: all 0.5s ease; |
| 913 | } |
| 914 | |
| 915 | .asenha-field-with-options.field-show-more.is-enabled .opened.asenha-field-options-wrapper.wrapper-show-more { |
| 916 | height: auto; |
| 917 | overflow:visible; |
| 918 | } |
| 919 | |
| 920 | .asenha-field-with-options.field-show-more.is-enabled .opened.asenha-field-options-wrapper.wrapper-show-more:before { |
| 921 | /* bottom: -80px; */ |
| 922 | display: none; |
| 923 | } |
| 924 | |
| 925 | .show-more-less { |
| 926 | display: none; |
| 927 | } |
| 928 | |
| 929 | .is-enabled .show-more-less { |
| 930 | display: block; |
| 931 | background: none; |
| 932 | text-decoration: none; |
| 933 | border: 0; |
| 934 | position: absolute; |
| 935 | left: 0; |
| 936 | bottom: -12px; |
| 937 | margin: auto; |
| 938 | text-align: center; |
| 939 | text-transform: uppercase; |
| 940 | font-size: 11px; |
| 941 | font-weight: 500; |
| 942 | cursor: pointer; |
| 943 | z-index: 3; |
| 944 | transition: .25s; |
| 945 | } |
| 946 | .rtl .is-enabled .show-more-less { |
| 947 | left: unset; |
| 948 | right: 0; |
| 949 | } |
| 950 | |
| 951 | .is-enabled .show-more-less:active, |
| 952 | .is-enabled .show-more-less:hover, |
| 953 | .is-enabled .show-more-less:focus { |
| 954 | outline: none; |
| 955 | box-shadow: none; |
| 956 | } |
| 957 | |
| 958 | .is-enabled .show-more-less.show-more, |
| 959 | .is-enabled .show-more-less:not(.show-more):hover { |
| 960 | color: var(--ase-accent); |
| 961 | } |
| 962 | |
| 963 | .is-enabled .show-more-less:not(.show-more) { |
| 964 | color: #ddd; |
| 965 | } |
| 966 | |
| 967 | .asenha-field-with-options.field-show-more.is-enabled .asenha-field-options-wrapper.wrapper-show-more:before { |
| 968 | content: ''; |
| 969 | display: block; |
| 970 | position: absolute; |
| 971 | z-index: 2; |
| 972 | font-size: 12px; |
| 973 | left: 0; |
| 974 | right: 0; |
| 975 | bottom: 0; |
| 976 | height: 60px; |
| 977 | width: 100%; |
| 978 | text-align: center; |
| 979 | background: linear-gradient(to bottom, rgba(255,255,255,0.2) 0%,rgba(255,255,255,0.7) 50%,rgba(255,255,255,1) 100%); |
| 980 | } |
| 981 | |
| 982 | /* Sub Fields */ |
| 983 | |
| 984 | .form-table .asenha-subfields { |
| 985 | display: flex; |
| 986 | flex-wrap: wrap; |
| 987 | margin-top: 12px; |
| 988 | } |
| 989 | |
| 990 | .form-table .asenha-subfields tr:not(.datatable-tr) { |
| 991 | display: block; |
| 992 | width: 100%; |
| 993 | } |
| 994 | |
| 995 | .form-table .asenha-subfields tr.asenha-half { |
| 996 | width: 50%; |
| 997 | } |
| 998 | |
| 999 | .form-table .asenha-toggle .asenha-field-with-options th:not(.datatable-th) { |
| 1000 | padding: 0 0 10px 0; |
| 1001 | } |
| 1002 | |
| 1003 | .form-table .asenha-toggle .asenha-text.with-prefix-suffix.full-width th:not(.datatable-th) { |
| 1004 | padding: 0 0 4px 0; |
| 1005 | } |
| 1006 | |
| 1007 | .form-table .asenha-subfields tr.asenha-hide-th th:not(.datatable-th) { |
| 1008 | display: none; |
| 1009 | } |
| 1010 | |
| 1011 | .form-table .asenha-subfields tr.asenha-th-border-top { |
| 1012 | padding-top: 12px; |
| 1013 | border-top: 1px solid #eee; |
| 1014 | } |
| 1015 | |
| 1016 | .form-table .asenha-subfields tr.asenha-th-border-bottom { |
| 1017 | margin-bottom: 12px; |
| 1018 | border-bottom: 1px solid #eee; |
| 1019 | } |
| 1020 | |
| 1021 | .asenha-subfields-heading, |
| 1022 | .form-table .asenha-subfields th { |
| 1023 | width: 100%; |
| 1024 | font-weight: 600; |
| 1025 | color: #3c434a; |
| 1026 | } |
| 1027 | |
| 1028 | .non-bold .asenha-subfields-heading { |
| 1029 | font-weight: normal; |
| 1030 | } |
| 1031 | |
| 1032 | .underline .asenha-subfields-heading { |
| 1033 | width: auto; |
| 1034 | padding-bottom: 4px; |
| 1035 | border-bottom: 1px solid #ccc; |
| 1036 | } |
| 1037 | |
| 1038 | .full-width.underline .asenha-subfields-heading { |
| 1039 | width: 100%; |
| 1040 | } |
| 1041 | |
| 1042 | .form-table .asenha-subfields .non-bold-th th { |
| 1043 | font-weight: normal; |
| 1044 | } |
| 1045 | |
| 1046 | .form-table .asenha-subfields td:not(.datatable-td) { |
| 1047 | padding: 0; |
| 1048 | } |
| 1049 | |
| 1050 | .form-table .asenha-subfields .padding-left-20 td:not(.datatable-td) { |
| 1051 | padding-left: 20px; |
| 1052 | } |
| 1053 | |
| 1054 | .form-table .asenha-toggle .asenha-radio-buttons td:not(.datatable-td) { |
| 1055 | display: flex; |
| 1056 | flex-direction: column; |
| 1057 | align-items: flex-start; |
| 1058 | } |
| 1059 | |
| 1060 | .asenha-subfield-radio-button-wrapper { |
| 1061 | display: block; |
| 1062 | } |
| 1063 | |
| 1064 | .smtp-email-delivery .asenha-subfield-radio-button-wrapper { |
| 1065 | margin-top: 6px; |
| 1066 | } |
| 1067 | |
| 1068 | .asenha-subfield-description { |
| 1069 | display: block; |
| 1070 | } |
| 1071 | |
| 1072 | .asenha-subfield-description.media-subfield, |
| 1073 | .login-attempts-log-table .asenha-subfield-description { |
| 1074 | margin-top: 8px; |
| 1075 | } |
| 1076 | |
| 1077 | .form-table .asenha-subfields td:not(.datatable-td) label { |
| 1078 | position: relative; |
| 1079 | top: -2px; |
| 1080 | text-align: left; |
| 1081 | } |
| 1082 | |
| 1083 | .form-table .asenha-subfields .with-description td:not(.datatable-td) label.asenha-subfield-checkbox-label { |
| 1084 | top: 0; |
| 1085 | } |
| 1086 | |
| 1087 | .form-table .asenha-subfields .bold-label td:not(.datatable-td) label { |
| 1088 | font-weight: 600; |
| 1089 | } |
| 1090 | .form-table .asenha-subfields td:not(.datatable-td) .wp-picker-input-wrap label { |
| 1091 | top: 0px; |
| 1092 | } |
| 1093 | |
| 1094 | .form-table .asenha-subfields .asenha-radio-buttons td:not(.datatable-td) label { |
| 1095 | margin-right: 12px; |
| 1096 | } |
| 1097 | .rtl .form-table .asenha-subfields .asenha-radio-buttons td:not(.datatable-td) label { |
| 1098 | margin-right: 0; |
| 1099 | margin-left: 12px; |
| 1100 | } |
| 1101 | |
| 1102 | .asenha-admin-bar-rescan-wrap { |
| 1103 | display: flex; |
| 1104 | align-items: center; |
| 1105 | gap: 10px; |
| 1106 | } |
| 1107 | |
| 1108 | .asenha-admin-bar-rescan-status { |
| 1109 | display: none; |
| 1110 | color: var(--ase-accent-grey-dark); |
| 1111 | } |
| 1112 | |
| 1113 | .asenha-admin-bar-rescan-status.is-success { |
| 1114 | color: seagreen; |
| 1115 | } |
| 1116 | |
| 1117 | .asenha-admin-bar-rescan-status.is-error { |
| 1118 | color: var(--ase-accent-warning); |
| 1119 | } |
| 1120 | |
| 1121 | .asenha-subfields .vspacer { |
| 1122 | display: block; |
| 1123 | width: 100%; |
| 1124 | height: 8px; |
| 1125 | } |
| 1126 | |
| 1127 | .field-sublabel { |
| 1128 | display: inline-block; |
| 1129 | } |
| 1130 | |
| 1131 | .sublabel-narrow { |
| 1132 | min-width: 60px; |
| 1133 | } |
| 1134 | |
| 1135 | .sublabel-normal { |
| 1136 | min-width: 100px; |
| 1137 | } |
| 1138 | |
| 1139 | .sublabel-wide { |
| 1140 | min-width: 180px; |
| 1141 | } |
| 1142 | |
| 1143 | .asenha-subfields ul:not(.ui-sortable) { |
| 1144 | list-style: disc; |
| 1145 | padding-left: 16px; |
| 1146 | } |
| 1147 | |
| 1148 | /* Text input subfield */ |
| 1149 | |
| 1150 | .form-table .change-login-url .asenha-subfields, |
| 1151 | .form-table .redirect-after-login .asenha-subfields { |
| 1152 | margin-top: 8px; |
| 1153 | } |
| 1154 | |
| 1155 | .form-table .asenha-subfields tr.asenha-text.with-prefix-suffix, |
| 1156 | .form-table .asenha-subfields tr.asenha-number.with-prefix-suffix, |
| 1157 | .form-table .asenha-subfields tr.asenha-html { |
| 1158 | display: flex; |
| 1159 | flex-wrap: wrap; |
| 1160 | justify-content: flex-start; |
| 1161 | } |
| 1162 | |
| 1163 | .form-table .asenha-subfields tr.asenha-text.with-prefix-suffix.flex-column { |
| 1164 | flex-direction: column; |
| 1165 | } |
| 1166 | |
| 1167 | .form-table .asenha-subfields tr.asenha-radio-buttons.with-prefix-suffix { |
| 1168 | display: flex; |
| 1169 | justify-content: flex-start; |
| 1170 | margin-bottom: 8px; |
| 1171 | } |
| 1172 | |
| 1173 | .form-table .asenha-toggle .asenha-text.with-prefix-suffix th:not(.datatable-th), |
| 1174 | .form-table .asenha-toggle .asenha-number.with-prefix-suffix th:not(.datatable-th), |
| 1175 | .form-table .asenha-toggle .asenha-radio-buttons.with-prefix-suffix th:not(.datatable-th), |
| 1176 | .form-table .asenha-toggle .asenha-html th:not(.datatable-th) |
| 1177 | { |
| 1178 | display: flex; |
| 1179 | height: 30px; |
| 1180 | line-height: 30px; |
| 1181 | width: auto; |
| 1182 | padding: 0; |
| 1183 | margin-right: 6px; |
| 1184 | font-weight: 600; |
| 1185 | color: #3c434a; |
| 1186 | } |
| 1187 | |
| 1188 | .subfield-prefix { |
| 1189 | font-weight: 600; |
| 1190 | color: #3c434a; |
| 1191 | } |
| 1192 | |
| 1193 | .form-table .asenha-toggle .asenha-text.th-normal th:not(.datatable-th) { |
| 1194 | font-weight: normal; |
| 1195 | } |
| 1196 | |
| 1197 | .form-table .asenha-toggle .asenha-text.th-hidden th:not(.datatable-th) { |
| 1198 | display: none; |
| 1199 | } |
| 1200 | |
| 1201 | .form-table .asenha-toggle .asenha-text.with-prefix-suffix.no-field-title th:not(.datatable-th) { |
| 1202 | margin-right: 0; |
| 1203 | } |
| 1204 | |
| 1205 | .form-table .asenha-toggle .asenha-text.with-prefix-suffix.no-margin th:not(.datatable-th), |
| 1206 | .form-table .asenha-toggle .asenha-number.with-prefix-suffix.no-margin th:not(.datatable-th), |
| 1207 | .form-table .asenha-toggle .asenha-radio-buttons.with-prefix-suffix.no-margin th:not(.datatable-th) { |
| 1208 | margin-right: 0; |
| 1209 | } |
| 1210 | |
| 1211 | .form-table .asenha-toggle .asenha-text.with-prefix-suffix td:not(.datatable-td), |
| 1212 | .form-table .asenha-toggle .asenha-number.with-prefix-suffix td:not(.datatable-td), |
| 1213 | .form-table .asenha-toggle .asenha-radio-buttons.with-prefix-suffix td:not(.datatable-td) { |
| 1214 | display: flex; |
| 1215 | align-items: center; |
| 1216 | } |
| 1217 | |
| 1218 | .form-table .asenha-toggle .asenha-text.with-description td:not(.datatable-td) { |
| 1219 | display: flex; |
| 1220 | flex-direction: column; |
| 1221 | align-items: flex-start; |
| 1222 | } |
| 1223 | |
| 1224 | .form-table .asenha-toggle .margin-bottom-4 { |
| 1225 | margin-bottom: 4px; |
| 1226 | } |
| 1227 | |
| 1228 | .form-table .custom-login-slug td:not(.datatable-td), |
| 1229 | .form-table .smtp-security td:not(.datatable-td) { |
| 1230 | margin-bottom: 0; |
| 1231 | } |
| 1232 | |
| 1233 | .form-table .smtp-security td:not(.datatable-td) { |
| 1234 | position: relative; |
| 1235 | top: 2px; |
| 1236 | } |
| 1237 | |
| 1238 | /* Text area input subfield */ |
| 1239 | |
| 1240 | .asenha-subfield-textarea-wrapper, |
| 1241 | .asenha-subfield-wpeditor-wrapper, |
| 1242 | .asenha-subfield-number-wrapper { |
| 1243 | width: 100%; |
| 1244 | display: flex; |
| 1245 | flex-direction: column; |
| 1246 | } |
| 1247 | |
| 1248 | .asenha-subfield-wpeditor-wrapper .wp-editor-wrap { |
| 1249 | margin-bottom: 4px; |
| 1250 | } |
| 1251 | |
| 1252 | .asenha-subfield-textarea { |
| 1253 | width: 100%; |
| 1254 | } |
| 1255 | |
| 1256 | .asenha-subfield-textarea-intro { |
| 1257 | margin-bottom: 8px; |
| 1258 | } |
| 1259 | |
| 1260 | .asenha-subfield-textarea-description { |
| 1261 | margin-top: 4px; |
| 1262 | } |
| 1263 | |
| 1264 | .asenha-subfield-text.with-prefix.with-suffix, |
| 1265 | .asenha-subfield-password.with-prefix.with-suffix, |
| 1266 | .asenha-subfield-number.with-prefix.with-suffix, |
| 1267 | .asenha-subfield-select.with-prefix.with-suffix { |
| 1268 | margin: 0 4px; |
| 1269 | } |
| 1270 | |
| 1271 | .asenha-subfield-text.with-prefix, |
| 1272 | .asenha-subfield-password.with-prefix, |
| 1273 | .asenha-subfield-number.with-prefix, |
| 1274 | .asenha-subfield-select.with-prefix { |
| 1275 | margin: 0 0 0 4px; |
| 1276 | } |
| 1277 | |
| 1278 | .asenha-subfield-text.with-suffix, |
| 1279 | .asenha-subfield-password.with-suffix, |
| 1280 | .asenha-subfield-number.with-suffix, |
| 1281 | .asenha-subfield-select.with-suffix { |
| 1282 | margin: 0 4px 0 0; |
| 1283 | } |
| 1284 | |
| 1285 | .asenha-subfield-select-wrapper .asenha-subfield-select-description { |
| 1286 | margin-top: 4px; |
| 1287 | } |
| 1288 | |
| 1289 | .asenha-subfield-text.narrow { |
| 1290 | width: 80px; |
| 1291 | } |
| 1292 | |
| 1293 | .asenha-subfield-text.normal { |
| 1294 | width: 120px; |
| 1295 | } |
| 1296 | |
| 1297 | .asenha-subfield-text.wide { |
| 1298 | width: 180px; |
| 1299 | } |
| 1300 | |
| 1301 | .wide .asenha-subfield-text, |
| 1302 | .wide .asenha-subfield-password { |
| 1303 | width: 240px; |
| 1304 | } |
| 1305 | |
| 1306 | .full-width .asenha-subfield-text, |
| 1307 | .full-width .asenha-subfield-password { |
| 1308 | width: 100%; |
| 1309 | } |
| 1310 | |
| 1311 | .width-66 .asenha-subfield-text, |
| 1312 | .width-66 .asenha-subfield-password { |
| 1313 | width: 66%; |
| 1314 | } |
| 1315 | |
| 1316 | .width-75 .asenha-subfield-text, |
| 1317 | .width-75 .asenha-subfield-password { |
| 1318 | width: 75%; |
| 1319 | } |
| 1320 | |
| 1321 | .form-table .full-width td { |
| 1322 | margin-bottom: 0; |
| 1323 | } |
| 1324 | |
| 1325 | .narrow .asenha-subfield-text { |
| 1326 | width: 40px; |
| 1327 | } |
| 1328 | |
| 1329 | .narrow .asenha-subfield-number { |
| 1330 | width: 72px; |
| 1331 | } |
| 1332 | |
| 1333 | .extra-narrow .asenha-subfield-number { |
| 1334 | width: 54px; |
| 1335 | } |
| 1336 | |
| 1337 | /* Subfields Container */ |
| 1338 | |
| 1339 | .subfields-container { |
| 1340 | display: flex; |
| 1341 | } |
| 1342 | |
| 1343 | .subfields-container.subfields-in-row { |
| 1344 | flex-direction: row; |
| 1345 | align-items: center; |
| 1346 | } |
| 1347 | |
| 1348 | .flex-gap-40 { |
| 1349 | gap: 40px; |
| 1350 | } |
| 1351 | |
| 1352 | .flex-gap-8 { |
| 1353 | gap: 8px; |
| 1354 | } |
| 1355 | |
| 1356 | .form-table .asenha-subfields .subfields-in-row tr:not(.datatable-tr) { |
| 1357 | width: unset; |
| 1358 | } |
| 1359 | |
| 1360 | .subfields-container.subfields-in-column { |
| 1361 | flex-direction: column; |
| 1362 | } |
| 1363 | |
| 1364 | /* Spacers */ |
| 1365 | |
| 1366 | .form-table .asenha-subfields tr:not(.datatable-tr).shift-up, |
| 1367 | .form-table .asenha-subfields tr:not(.datatable-tr).margin-top-m4 { |
| 1368 | margin-top: -4px; |
| 1369 | } |
| 1370 | |
| 1371 | .form-table .asenha-subfields tr:not(.datatable-tr).margin-top-m8 { |
| 1372 | margin-top: -8px; |
| 1373 | } |
| 1374 | |
| 1375 | .form-table .asenha-subfields tr:not(.datatable-tr).shift-more-up, |
| 1376 | .form-table .asenha-subfields tr:not(.datatable-tr).margin-top-m12 { |
| 1377 | margin-top: -12px; |
| 1378 | } |
| 1379 | |
| 1380 | .form-table .asenha-subfields tr:not(.datatable-tr).margin-top-m16 { |
| 1381 | margin-top: -16px; |
| 1382 | } |
| 1383 | |
| 1384 | .form-table .asenha-subfields tr:not(.datatable-tr).margin-top-m20 { |
| 1385 | margin-top: -20px; |
| 1386 | } |
| 1387 | |
| 1388 | .form-table .asenha-subfields tr:not(.datatable-tr).margin-top-m24 { |
| 1389 | margin-top: -24px; |
| 1390 | } |
| 1391 | |
| 1392 | .form-table .asenha-subfields tr:not(.datatable-tr).margin-top-8 { |
| 1393 | margin-top: 8px !important; |
| 1394 | } |
| 1395 | |
| 1396 | .form-table .asenha-subfields tr:not(.datatable-tr).margin-top-12 { |
| 1397 | margin-top: 12px !important; |
| 1398 | } |
| 1399 | |
| 1400 | .form-table .asenha-subfields tr:not(.datatable-tr).margin-top-16 { |
| 1401 | margin-top: 16px !important; |
| 1402 | } |
| 1403 | |
| 1404 | .form-table .asenha-subfields tr:not(.datatable-tr).margin-top-20 { |
| 1405 | margin-top: 20px !important; |
| 1406 | } |
| 1407 | |
| 1408 | .form-table .asenha-subfields tr:not(.datatable-tr).margin-bottom-8 { |
| 1409 | margin-bottom: 8px !important; |
| 1410 | } |
| 1411 | |
| 1412 | .form-table .asenha-subfields tr:not(.datatable-tr).margin-bottom-9 { |
| 1413 | margin-bottom: 9px !important; |
| 1414 | } |
| 1415 | |
| 1416 | .form-table .asenha-subfields tr:not(.datatable-tr).margin-bottom-10 { |
| 1417 | margin-bottom: 10px !important; |
| 1418 | } |
| 1419 | |
| 1420 | .form-table .asenha-subfields tr:not(.datatable-tr).margin-bottom-12 { |
| 1421 | margin-bottom: 12px !important; |
| 1422 | } |
| 1423 | |
| 1424 | .form-table .asenha-subfields tr:not(.datatable-tr).margin-bottom-16 { |
| 1425 | margin-bottom: 16px !important; |
| 1426 | } |
| 1427 | |
| 1428 | .form-table .asenha-subfields tr:not(.datatable-tr).margin-bottom-20 { |
| 1429 | margin-bottom: 20px !important; |
| 1430 | } |
| 1431 | |
| 1432 | .form-table .asenha-subfields tr:not(.datatable-tr).margin-left-4 { |
| 1433 | margin-left: 4px !important; |
| 1434 | } |
| 1435 | |
| 1436 | .form-table .asenha-subfields tr:not(.datatable-tr).margin-left-8 { |
| 1437 | margin-left: 8px !important; |
| 1438 | } |
| 1439 | |
| 1440 | .form-table .asenha-subfields tr:not(.datatable-tr).margin-left-12 { |
| 1441 | margin-left: 12px !important; |
| 1442 | } |
| 1443 | |
| 1444 | .form-table .asenha-subfields tr:not(.datatable-tr).margin-left-16 { |
| 1445 | margin-left: 16px !important; |
| 1446 | } |
| 1447 | |
| 1448 | .form-table .asenha-subfields tr:not(.datatable-tr).margin-left-20 { |
| 1449 | margin-left: 20px !important; |
| 1450 | } |
| 1451 | |
| 1452 | .form-table .asenha-subfields tr:not(.datatable-tr).padding-top-0 { |
| 1453 | padding-top: 0 !important; |
| 1454 | } |
| 1455 | |
| 1456 | .form-table .asenha-subfields tr:not(.datatable-tr).padding-top-8 { |
| 1457 | padding-top: 8px !important; |
| 1458 | } |
| 1459 | |
| 1460 | .form-table .asenha-subfields tr:not(.datatable-tr).padding-top-12 { |
| 1461 | padding-top: 12px !important; |
| 1462 | } |
| 1463 | |
| 1464 | .form-table .asenha-subfields tr:not(.datatable-tr).padding-top-16 { |
| 1465 | padding-top: 16px !important; |
| 1466 | } |
| 1467 | |
| 1468 | .form-table .asenha-subfields tr:not(.datatable-tr).padding-top-20 { |
| 1469 | padding-top: 20px !important; |
| 1470 | } |
| 1471 | |
| 1472 | .form-table .asenha-subfields tr:not(.datatable-tr).padding-bottom-8 { |
| 1473 | padding-bottom: 8px !important; |
| 1474 | } |
| 1475 | |
| 1476 | .form-table .asenha-subfields tr:not(.datatable-tr).padding-bottom-12 { |
| 1477 | padding-bottom: 12px !important; |
| 1478 | } |
| 1479 | |
| 1480 | .form-table .asenha-subfields tr:not(.datatable-tr).padding-bottom-16 { |
| 1481 | padding-bottom: 16px !important; |
| 1482 | } |
| 1483 | |
| 1484 | .form-table .asenha-subfields tr:not(.datatable-tr).padding-bottom-20 { |
| 1485 | padding-bottom: 20px !important; |
| 1486 | } |
| 1487 | |
| 1488 | .form-table .asenha-subfields tr:not(.datatable-tr).top-border { |
| 1489 | border-top: 1px solid #eee; |
| 1490 | padding-top: 4px; |
| 1491 | margin-top: 6px; |
| 1492 | } |
| 1493 | |
| 1494 | .form-table .asenha-subfields tr:not(.datatable-tr).bottom-border { |
| 1495 | border-bottom: 1px solid #eee; |
| 1496 | padding-bottom: 8px; |
| 1497 | margin-bottom: 6px; |
| 1498 | } |
| 1499 | |
| 1500 | .asenha-subfields .faded, |
| 1501 | .form-table .asenha-subfields td:not(.datatable-td) label .faded { |
| 1502 | color: #bbb; |
| 1503 | } |
| 1504 | |
| 1505 | .asenha-subfields th .faded { |
| 1506 | font-weight: normal; |
| 1507 | } |
| 1508 | |
| 1509 | .faded code { |
| 1510 | background: rgba(0, 0, 0, 0.05); |
| 1511 | } |
| 1512 | |
| 1513 | .asenha-subfield-status { |
| 1514 | display: block; |
| 1515 | padding: 12px 16px; |
| 1516 | background: #f9f9f9; |
| 1517 | border: 1px solid #ddd; |
| 1518 | } |
| 1519 | |
| 1520 | .asenha-subfield-status .status-title { |
| 1521 | font-weight: 600; |
| 1522 | } |
| 1523 | |
| 1524 | .asenha-subfield-status .status-body { |
| 1525 | border-top: 1px solid #ddd; |
| 1526 | border-bottom: 1px solid #ddd; |
| 1527 | margin: 8px 0; |
| 1528 | padding: 8px 0; |
| 1529 | } |
| 1530 | |
| 1531 | .asenha-subfield-status .status-item-title { |
| 1532 | display: inline-block; |
| 1533 | min-width: 96px; |
| 1534 | font-weight: 600; |
| 1535 | } |
| 1536 | |
| 1537 | .asenha-subfield-status .supported { |
| 1538 | color: green; |
| 1539 | font-weight: 500; |
| 1540 | } |
| 1541 | |
| 1542 | .asenha-subfield-status .unsupported { |
| 1543 | color: red; |
| 1544 | font-weight: 500; |
| 1545 | } |
| 1546 | |
| 1547 | .asenha-subfield-number-description { |
| 1548 | margin-top: 8px; |
| 1549 | margin-bottom: 8px; |
| 1550 | } |
| 1551 | |
| 1552 | /* CodeMirror*/ |
| 1553 | |
| 1554 | .syntax-highlighted .asenha-subfield-textarea { |
| 1555 | background: #fcfcfc; |
| 1556 | } |
| 1557 | |
| 1558 | .syntax-highlighted .CodeMirror { |
| 1559 | border: 1px solid #ddd; |
| 1560 | background: #fcfcfc; |
| 1561 | } |
| 1562 | |
| 1563 | .CodeMirror-wrap pre.CodeMirror-line { |
| 1564 | line-break: anywhere; |
| 1565 | } |
| 1566 | |
| 1567 | /* DataTable */ |
| 1568 | |
| 1569 | .form-table .asenha-toggle .datatable > td { |
| 1570 | flex-direction: column; |
| 1571 | } |
| 1572 | |
| 1573 | .form-table td.dataTables_empty { |
| 1574 | display: block; |
| 1575 | width: 100%; |
| 1576 | margin-bottom: 0; |
| 1577 | padding: 8px 10px !important; |
| 1578 | background-color: #fff; |
| 1579 | } |
| 1580 | |
| 1581 | .datatable .dataTables_wrapper { |
| 1582 | background: #f5f5f5; |
| 1583 | padding: 12px 10px; |
| 1584 | } |
| 1585 | |
| 1586 | .datatable .dataTables_wrapper .dataTables_length select, |
| 1587 | .datatable .dataTables_wrapper .dataTables_filter input { |
| 1588 | background-color: #fff; |
| 1589 | } |
| 1590 | |
| 1591 | .datatable .dataTables_wrapper .dataTables_length select { |
| 1592 | min-width: 52px; |
| 1593 | } |
| 1594 | |
| 1595 | .datatable table.dataTable thead th { |
| 1596 | font-weight: 500 ; |
| 1597 | } |
| 1598 | |
| 1599 | #login-attempts-log .unixtime { |
| 1600 | display: none; |
| 1601 | } |
| 1602 | |
| 1603 | .wp-core-ui .button.asenha-release-login-lock { |
| 1604 | margin-bottom: 4px; |
| 1605 | } |
| 1606 | |
| 1607 | /* Description subfield */ |
| 1608 | .asenha-warning { |
| 1609 | display: block; |
| 1610 | padding: 12px 16px; |
| 1611 | background: #fcf9e8; |
| 1612 | border: 1px solid #dba617; |
| 1613 | border-radius: 3px; |
| 1614 | } |
| 1615 | |
| 1616 | /* jBox Modals */ |
| 1617 | |
| 1618 | .jBox-Modal.plugin-sponsor-modal .jBox-content { |
| 1619 | max-height: calc( 100vh - 120px ) !important; |
| 1620 | margin-top: 40px; |
| 1621 | padding: 32px 40px 20px; |
| 1622 | } |
| 1623 | .cta-modal-content .support-content { |
| 1624 | } |
| 1625 | .cta-modal-content h2 { |
| 1626 | margin-top: 8px; |
| 1627 | margin-bottom: 8px; |
| 1628 | font-size: 20px; |
| 1629 | line-height: 1.2; |
| 1630 | } |
| 1631 | .cta-modal-content h3 { |
| 1632 | font-size: 1.5em; |
| 1633 | line-height: 1.4; |
| 1634 | } |
| 1635 | .cta-modal-content p { |
| 1636 | text-align: left; |
| 1637 | font-size: 1.25em; |
| 1638 | line-height: 1.7; |
| 1639 | } |
| 1640 | .cta-modal-content p.support-user-quote { |
| 1641 | padding: 12px 16px; |
| 1642 | background: #e5f2e5; |
| 1643 | border-radius: 4px; |
| 1644 | font-weight: 500; |
| 1645 | text-align: center; |
| 1646 | } |
| 1647 | /* Sponsorship Modal */ |
| 1648 | |
| 1649 | .jBox-Modal.plugin-sponsor-modal .jBox-content { |
| 1650 | } |
| 1651 | .cta-modal-content.support .support-content { |
| 1652 | display: flex !important; |
| 1653 | flex-direction: column; |
| 1654 | align-items: center; |
| 1655 | } |
| 1656 | .cta-modal-content.support .support-header { |
| 1657 | text-align: center; |
| 1658 | } |
| 1659 | |
| 1660 | .support-photo-link { |
| 1661 | margin-top: 16px; |
| 1662 | } |
| 1663 | |
| 1664 | .support-bio-photo { |
| 1665 | width: 96px; |
| 1666 | height: 96px; |
| 1667 | border-radius: 96px; |
| 1668 | } |
| 1669 | |
| 1670 | .cta-modal-content.support .support-content-sections { |
| 1671 | display: flex; |
| 1672 | flex-direction: row; |
| 1673 | justify-content: space-between; |
| 1674 | align-items: flex-start; |
| 1675 | } |
| 1676 | .cta-modal-content .support-info { |
| 1677 | display: flex; |
| 1678 | width: 48%; |
| 1679 | } |
| 1680 | .cta-modal-content .support-methods { |
| 1681 | display: flex; |
| 1682 | width: 48%; |
| 1683 | flex-direction: column; |
| 1684 | justify-content: flex-start; |
| 1685 | align-items: flex-start; |
| 1686 | } |
| 1687 | .cta-modal-content.support a:not(.button) { |
| 1688 | color: #de4c73; |
| 1689 | text-decoration: none; |
| 1690 | } |
| 1691 | .cta-modal-content.support a:not(.button):hover { |
| 1692 | text-decoration: underline; |
| 1693 | } |
| 1694 | .cta-modal-content .support-button { |
| 1695 | display: flex; |
| 1696 | align-items: center; |
| 1697 | font-size: 1.25em; |
| 1698 | } |
| 1699 | .cta-modal-content .support-button.monthly { |
| 1700 | font-weight: 500; |
| 1701 | transition: .25s; |
| 1702 | color: #fff; |
| 1703 | background: #de4c73; |
| 1704 | border-color: #de4c73; |
| 1705 | margin-bottom: 2em; |
| 1706 | } |
| 1707 | .cta-modal-content .support-button.monthly:hover { |
| 1708 | background: #b13c5c; |
| 1709 | border-color: #b13c5c; |
| 1710 | } |
| 1711 | .cta-modal-content .support-button.monthly:focus { |
| 1712 | box-shadow: none; |
| 1713 | } |
| 1714 | .cta-modal-content .support-button.one-time { |
| 1715 | color: #de4c73; |
| 1716 | background: transparent; |
| 1717 | border-color: #de4c73; |
| 1718 | transition: .1s; |
| 1719 | } |
| 1720 | .cta-modal-content .support-button.one-time:hover { |
| 1721 | color: #fff; |
| 1722 | background: #de4c73; |
| 1723 | } |
| 1724 | .cta-modal-content .support-button.one-time:focus { |
| 1725 | box-shadow: none; |
| 1726 | } |
| 1727 | |
| 1728 | .cta-modal-content .support-button .dashicons { |
| 1729 | margin-left: 4px; |
| 1730 | } |
| 1731 | |
| 1732 | /* Send test email subfield */ |
| 1733 | |
| 1734 | .button.send-test-email, |
| 1735 | .button.form-builder-send-test-email { |
| 1736 | margin-left: 8px; |
| 1737 | } |
| 1738 | |
| 1739 | .ajax-result-div { |
| 1740 | /* width: 100%; |
| 1741 | background: #f9f9f9; |
| 1742 | border: 1px solid #ccc; |
| 1743 | padding: 12px 16px; */ |
| 1744 | } |
| 1745 | |
| 1746 | .sending-test-email, |
| 1747 | .form-builder-sending-test-email { |
| 1748 | display: flex; |
| 1749 | } |
| 1750 | |
| 1751 | .sending-test-email img, |
| 1752 | .form-builder-sending-test-email img { |
| 1753 | width: 20px; |
| 1754 | height: 20px; |
| 1755 | margin-right: 6px; |
| 1756 | } |
| 1757 | |
| 1758 | .test-email-success .dashicons-yes { |
| 1759 | color: seagreen; |
| 1760 | } |
| 1761 | |
| 1762 | .test-email-success span, |
| 1763 | .test-email-failed span { |
| 1764 | font-weight: 500; |
| 1765 | } |
| 1766 | |
| 1767 | .test-email-failed .dashicons-no-alt { |
| 1768 | color: red; |
| 1769 | } |
| 1770 | |
| 1771 | #wpfooter { |
| 1772 | display: flex; |
| 1773 | justify-content: center; |
| 1774 | } |
| 1775 | |
| 1776 | /* Content Toggler */ |
| 1777 | .subfield-content-toggler { |
| 1778 | margin-bottom: 16px; |
| 1779 | } |
| 1780 | |
| 1781 | .subfield-content-toggler a { |
| 1782 | text-decoration: none; |
| 1783 | } |
| 1784 | |
| 1785 | .subfield-content-toggler a:focus { |
| 1786 | color: #135e96; |
| 1787 | box-shadow: none; |
| 1788 | outline: none; |
| 1789 | } |
| 1790 | |
| 1791 | .subfield-content-toggler a span { |
| 1792 | font-size: 0.875em; |
| 1793 | } |
| 1794 | |
| 1795 | /* Utility Classes */ |
| 1796 | |
| 1797 | .force-hide { |
| 1798 | display: none !important; |
| 1799 | } |
| 1800 | |
| 1801 | .warning-text { |
| 1802 | color: var(--ase-accent-warning); |
| 1803 | } |
| 1804 | |
| 1805 | .full-width-div { |
| 1806 | width: 100%; |
| 1807 | } |
| 1808 | |
| 1809 | .weight-normal { |
| 1810 | font-weight: normal !important; |
| 1811 | } |
| 1812 | |
| 1813 | |
| 1814 | |
| 1815 | /* WPML + WPML String Translation */ |
| 1816 | /* Scripts from both plugins are dequeued on ASE settings page for causing errors rendering the page unusable */ |
| 1817 | /* Let's also hide the admin bar items from both plugins */ |
| 1818 | #wp-admin-bar-ate-status-bar, |
| 1819 | #wp-admin-bar-WPML_ALS { |
| 1820 | display: none; |
| 1821 | } |
| 1822 | |
| 1823 | /* ===================================================== |
| 1824 | Toast Notifications |
| 1825 | ===================================================== */ |
| 1826 | |
| 1827 | #asenha-toast-container { |
| 1828 | position: fixed; |
| 1829 | bottom: 20px; |
| 1830 | right: 20px; |
| 1831 | z-index: 99999; |
| 1832 | display: flex; |
| 1833 | flex-direction: column; |
| 1834 | gap: 10px; |
| 1835 | pointer-events: none; |
| 1836 | } |
| 1837 | |
| 1838 | .asenha-toast { |
| 1839 | display: flex; |
| 1840 | align-items: center; |
| 1841 | gap: 10px; |
| 1842 | padding: 12px 16px; |
| 1843 | border-radius: 6px; |
| 1844 | box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); |
| 1845 | background: #fff; |
| 1846 | max-width: 350px; |
| 1847 | transform: translateX(120%); |
| 1848 | transition: transform 0.3s ease; |
| 1849 | pointer-events: auto; |
| 1850 | } |
| 1851 | |
| 1852 | .asenha-toast-visible { |
| 1853 | transform: translateX(0); |
| 1854 | } |
| 1855 | |
| 1856 | /* Toast type styles */ |
| 1857 | .asenha-toast-success { |
| 1858 | border-left: 4px solid #00a32a; |
| 1859 | } |
| 1860 | |
| 1861 | .asenha-toast-error { |
| 1862 | border-left: 4px solid #d63638; |
| 1863 | } |
| 1864 | |
| 1865 | .asenha-toast-warning { |
| 1866 | border-left: 4px solid #dba617; |
| 1867 | } |
| 1868 | |
| 1869 | .asenha-toast-info { |
| 1870 | border-left: 4px solid #2271b1; |
| 1871 | } |
| 1872 | |
| 1873 | /* Toast icon */ |
| 1874 | .asenha-toast-icon { |
| 1875 | font-size: 16px; |
| 1876 | width: 20px; |
| 1877 | text-align: center; |
| 1878 | flex-shrink: 0; |
| 1879 | } |
| 1880 | |
| 1881 | .asenha-toast-success .asenha-toast-icon { |
| 1882 | color: #00a32a; |
| 1883 | } |
| 1884 | |
| 1885 | .asenha-toast-error .asenha-toast-icon { |
| 1886 | color: #d63638; |
| 1887 | } |
| 1888 | |
| 1889 | .asenha-toast-warning .asenha-toast-icon { |
| 1890 | color: #dba617; |
| 1891 | } |
| 1892 | |
| 1893 | .asenha-toast-info .asenha-toast-icon { |
| 1894 | color: #2271b1; |
| 1895 | } |
| 1896 | |
| 1897 | /* Toast message */ |
| 1898 | .asenha-toast-message { |
| 1899 | flex: 1; |
| 1900 | font-size: 13px; |
| 1901 | line-height: 1.4; |
| 1902 | color: #1d2327; |
| 1903 | } |
| 1904 | |
| 1905 | /* Toast close button */ |
| 1906 | .asenha-toast-close { |
| 1907 | background: none; |
| 1908 | border: none; |
| 1909 | font-size: 18px; |
| 1910 | color: #787c82; |
| 1911 | cursor: pointer; |
| 1912 | padding: 0 4px; |
| 1913 | line-height: 1; |
| 1914 | flex-shrink: 0; |
| 1915 | } |
| 1916 | |
| 1917 | .asenha-toast-close:hover { |
| 1918 | color: #1d2327; |
| 1919 | } |
| 1920 | |
| 1921 | .asenha-toast-close:focus { |
| 1922 | outline: 1px dotted #787c82; |
| 1923 | outline-offset: 1px; |
| 1924 | } |
| 1925 | |
| 1926 | /* Limit Login Attempts: whitelisted indicator */ |
| 1927 | .asenha-whitelisted-indicator { |
| 1928 | display: inline-flex; |
| 1929 | align-items: center; |
| 1930 | gap: 6px; |
| 1931 | color: inherit; |
| 1932 | font-size: 13px; |
| 1933 | line-height: 1.4; |
| 1934 | font-weight: 400; |
| 1935 | } |
| 1936 | |
| 1937 | .asenha-whitelisted-indicator .asenha-whitelisted-check, |
| 1938 | .asenha-whitelisted-indicator .asenha-whitelisted-text { |
| 1939 | color: inherit; |
| 1940 | } |
| 1941 | |
| 1942 | /* Dark mode support for toast */ |
| 1943 | @media (prefers-color-scheme: dark) { |
| 1944 | .asenha-toast { |
| 1945 | background: #2c3338; |
| 1946 | box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); |
| 1947 | } |
| 1948 | |
| 1949 | .asenha-toast-message { |
| 1950 | color: #f0f0f1; |
| 1951 | } |
| 1952 | |
| 1953 | .asenha-toast-close { |
| 1954 | color: #a7aaad; |
| 1955 | } |
| 1956 | |
| 1957 | .asenha-toast-close:hover { |
| 1958 | color: #f0f0f1; |
| 1959 | } |
| 1960 | } |
| 1961 | |
| 1962 | /* Info icon + hover/focus tooltip (e.g. 2FA checkbox field descriptions) */ |
| 1963 | .asenha-info-tooltip-wrap { |
| 1964 | position: relative; |
| 1965 | display: inline-flex; |
| 1966 | align-items: center; |
| 1967 | margin-left: 4px; |
| 1968 | vertical-align: middle; |
| 1969 | } |
| 1970 | |
| 1971 | .asenha-info-tooltip-toggle { |
| 1972 | display: inline-flex; |
| 1973 | align-items: center; |
| 1974 | justify-content: center; |
| 1975 | width: 18px; |
| 1976 | height: 18px; |
| 1977 | padding: 0; |
| 1978 | border: 0; |
| 1979 | background: transparent; |
| 1980 | color: #2271b1; |
| 1981 | cursor: help; |
| 1982 | } |
| 1983 | |
| 1984 | .asenha-info-tooltip-toggle .dashicons { |
| 1985 | width: 18px; |
| 1986 | height: 18px; |
| 1987 | font-size: 18px; |
| 1988 | } |
| 1989 | |
| 1990 | .asenha-info-tooltip-toggle:focus { |
| 1991 | outline: 2px solid #2271b1; |
| 1992 | outline-offset: 2px; |
| 1993 | border-radius: 50%; |
| 1994 | } |
| 1995 | |
| 1996 | .asenha-info-tooltip { |
| 1997 | position: absolute; |
| 1998 | right: 0; |
| 1999 | top: calc(100% + 6px); |
| 2000 | z-index: 10; |
| 2001 | display: none; |
| 2002 | width: 280px; |
| 2003 | padding: 8px 10px; |
| 2004 | border-radius: 4px; |
| 2005 | background: #1d2327; |
| 2006 | color: #fff; |
| 2007 | box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16); |
| 2008 | line-height: 1.4; |
| 2009 | } |
| 2010 | |
| 2011 | .asenha-info-tooltip-wrap:hover .asenha-info-tooltip, |
| 2012 | .asenha-info-tooltip-wrap:focus-within .asenha-info-tooltip { |
| 2013 | display: block; |
| 2014 | } |
| 2015 | |
| 2016 | /* ======================================================= */ |
| 2017 | /* MEDIA QUERIES */ |
| 2018 | /* ======================================================= */ |
| 2019 | |
| 2020 | @media (max-width: 1440px) { |
| 2021 | |
| 2022 | .asenha-body, |
| 2023 | .asenha-settings, |
| 2024 | .asenha-footer { |
| 2025 | width: 1176px; |
| 2026 | max-width: 100%; |
| 2027 | } |
| 2028 | |
| 2029 | .asenha-body { |
| 2030 | margin-top: 32px; |
| 2031 | } |
| 2032 | |
| 2033 | } |
| 2034 | |
| 2035 | @media (max-width: 1280px) { |
| 2036 | |
| 2037 | .asenha-body { |
| 2038 | margin-top: 0; |
| 2039 | width: 100%; |
| 2040 | border: 0; |
| 2041 | border-radius: 0; |
| 2042 | border-bottom: 1px solid #ccd0d4; |
| 2043 | } |
| 2044 | |
| 2045 | .asenha-settings { |
| 2046 | width: 100%; |
| 2047 | } |
| 2048 | |
| 2049 | .asenha-footer { |
| 2050 | width: 100%; |
| 2051 | border-right: 0; |
| 2052 | border-left: 0; |
| 2053 | border-radius: 0; |
| 2054 | } |
| 2055 | |
| 2056 | .asenha-upgrade-nudge, |
| 2057 | .asenha-support-nudge { |
| 2058 | border-radius: 0; |
| 2059 | } |
| 2060 | |
| 2061 | .asenha-upgrade-nudge__dismiss { |
| 2062 | border-radius: 0 0 0 8px; |
| 2063 | } |
| 2064 | |
| 2065 | |
| 2066 | } |