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