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
list-tables-content-order.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
select2.min.css
1 year ago
settings-wpeditor.css
1 year ago
wp-admin.css
1 year ago
admin-page.css
1865 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 | width: 24px; |
| 782 | min-width: 24px; |
| 783 | height: 24px; |
| 784 | margin-right: 6px; |
| 785 | } |
| 786 | |
| 787 | .rtl .asenha-tab-buttons > label svg { |
| 788 | margin-right: 0; |
| 789 | margin-left: 6px; |
| 790 | } |
| 791 | |
| 792 | .asenha-tab-buttons > label span { |
| 793 | hyphens: auto; |
| 794 | } |
| 795 | |
| 796 | .asenha-tab-contents > section { |
| 797 | display: none; |
| 798 | background: #ffffff; |
| 799 | } |
| 800 | |
| 801 | /* Show all / less toggler | Modified from https://codepen.io/symonsays/pen/rzgEgY */ |
| 802 | |
| 803 | .asenha-field-with-options.field-show-more.is-enabled { |
| 804 | display: block; |
| 805 | position: relative; |
| 806 | -webkit-transition: all 0.5s ease; |
| 807 | -moz-transition: all 0.5s ease; |
| 808 | -o-transition: all 0.5s ease; |
| 809 | transition: all 0.5s ease; |
| 810 | } |
| 811 | |
| 812 | .asenha-field-with-options.field-show-more.is-enabled .asenha-field-options-wrapper.wrapper-show-more { |
| 813 | height: 80px; |
| 814 | overflow: hidden; |
| 815 | -webkit-transition: all 0.5s ease; |
| 816 | -moz-transition: all 0.5s ease; |
| 817 | -o-transition: all 0.5s ease; |
| 818 | transition: all 0.5s ease; |
| 819 | } |
| 820 | |
| 821 | .asenha-field-with-options.field-show-more.is-enabled .opened.asenha-field-options-wrapper.wrapper-show-more { |
| 822 | height: auto; |
| 823 | overflow:visible; |
| 824 | } |
| 825 | |
| 826 | .asenha-field-with-options.field-show-more.is-enabled .opened.asenha-field-options-wrapper.wrapper-show-more:before { |
| 827 | /* bottom: -80px; */ |
| 828 | display: none; |
| 829 | } |
| 830 | |
| 831 | .show-more-less { |
| 832 | display: none; |
| 833 | } |
| 834 | |
| 835 | .is-enabled .show-more-less { |
| 836 | display: block; |
| 837 | background: none; |
| 838 | text-decoration: none; |
| 839 | border: 0; |
| 840 | position: absolute; |
| 841 | left: 0; |
| 842 | bottom: -12px; |
| 843 | margin: auto; |
| 844 | text-align: center; |
| 845 | text-transform: uppercase; |
| 846 | font-size: 11px; |
| 847 | font-weight: 500; |
| 848 | cursor: pointer; |
| 849 | z-index: 3; |
| 850 | transition: .25s; |
| 851 | } |
| 852 | .rtl .is-enabled .show-more-less { |
| 853 | left: unset; |
| 854 | right: 0; |
| 855 | } |
| 856 | |
| 857 | .is-enabled .show-more-less:active, |
| 858 | .is-enabled .show-more-less:hover, |
| 859 | .is-enabled .show-more-less:focus { |
| 860 | outline: none; |
| 861 | box-shadow: none; |
| 862 | } |
| 863 | |
| 864 | .is-enabled .show-more-less.show-more, |
| 865 | .is-enabled .show-more-less:not(.show-more):hover { |
| 866 | color: var(--ase-accent); |
| 867 | } |
| 868 | |
| 869 | .is-enabled .show-more-less:not(.show-more) { |
| 870 | color: #ddd; |
| 871 | } |
| 872 | |
| 873 | .asenha-field-with-options.field-show-more.is-enabled .asenha-field-options-wrapper.wrapper-show-more:before { |
| 874 | content: ''; |
| 875 | display: block; |
| 876 | position: absolute; |
| 877 | z-index: 2; |
| 878 | font-size: 12px; |
| 879 | left: 0; |
| 880 | right: 0; |
| 881 | bottom: 0; |
| 882 | height: 60px; |
| 883 | width: 100%; |
| 884 | text-align: center; |
| 885 | 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%); |
| 886 | } |
| 887 | |
| 888 | /* Sub Fields */ |
| 889 | |
| 890 | .form-table .asenha-subfields { |
| 891 | display: flex; |
| 892 | flex-wrap: wrap; |
| 893 | margin-top: 12px; |
| 894 | } |
| 895 | |
| 896 | .form-table .asenha-subfields tr:not(.datatable-tr) { |
| 897 | display: block; |
| 898 | width: 100%; |
| 899 | } |
| 900 | |
| 901 | .form-table .asenha-subfields tr.asenha-half { |
| 902 | width: 50%; |
| 903 | } |
| 904 | |
| 905 | .form-table .asenha-toggle .asenha-field-with-options th:not(.datatable-th) { |
| 906 | padding: 0 0 10px 0; |
| 907 | } |
| 908 | |
| 909 | .form-table .asenha-toggle .asenha-text.with-prefix-suffix.full-width th:not(.datatable-th) { |
| 910 | padding: 0 0 4px 0; |
| 911 | } |
| 912 | |
| 913 | .form-table .asenha-subfields tr.asenha-hide-th th:not(.datatable-th) { |
| 914 | display: none; |
| 915 | } |
| 916 | |
| 917 | .form-table .asenha-subfields tr.asenha-th-border-top { |
| 918 | padding-top: 12px; |
| 919 | border-top: 1px solid #eee; |
| 920 | } |
| 921 | |
| 922 | .form-table .asenha-subfields tr.asenha-th-border-bottom { |
| 923 | margin-bottom: 12px; |
| 924 | border-bottom: 1px solid #eee; |
| 925 | } |
| 926 | |
| 927 | .asenha-subfields-heading, |
| 928 | .form-table .asenha-subfields th { |
| 929 | width: 100%; |
| 930 | font-weight: 600; |
| 931 | color: #3c434a; |
| 932 | } |
| 933 | |
| 934 | .non-bold .asenha-subfields-heading { |
| 935 | font-weight: normal; |
| 936 | } |
| 937 | |
| 938 | .underline .asenha-subfields-heading { |
| 939 | width: auto; |
| 940 | padding-bottom: 4px; |
| 941 | border-bottom: 1px solid #ccc; |
| 942 | } |
| 943 | |
| 944 | .full-width.underline .asenha-subfields-heading { |
| 945 | width: 100%; |
| 946 | } |
| 947 | |
| 948 | .form-table .asenha-subfields .non-bold-th th { |
| 949 | font-weight: normal; |
| 950 | } |
| 951 | |
| 952 | .form-table .asenha-subfields td:not(.datatable-td) { |
| 953 | padding: 0; |
| 954 | } |
| 955 | |
| 956 | .form-table .asenha-subfields .padding-left-20 td:not(.datatable-td) { |
| 957 | padding-left: 20px; |
| 958 | } |
| 959 | |
| 960 | .form-table .asenha-toggle .asenha-radio-buttons td:not(.datatable-td) { |
| 961 | display: flex; |
| 962 | flex-direction: column; |
| 963 | align-items: flex-start; |
| 964 | } |
| 965 | |
| 966 | .asenha-subfield-radio-button-wrapper { |
| 967 | display: block; |
| 968 | } |
| 969 | |
| 970 | .smtp-email-delivery .asenha-subfield-radio-button-wrapper { |
| 971 | margin-top: 6px; |
| 972 | } |
| 973 | |
| 974 | .asenha-subfield-description { |
| 975 | display: block; |
| 976 | } |
| 977 | |
| 978 | .asenha-subfield-description.media-subfield { |
| 979 | margin-top: 8px; |
| 980 | } |
| 981 | |
| 982 | .form-table .asenha-subfields td:not(.datatable-td) label { |
| 983 | position: relative; |
| 984 | top: -2px; |
| 985 | text-align: left; |
| 986 | } |
| 987 | |
| 988 | .form-table .asenha-subfields .with-description td:not(.datatable-td) label.asenha-subfield-checkbox-label { |
| 989 | top: 0; |
| 990 | } |
| 991 | |
| 992 | .form-table .asenha-subfields .bold-label td:not(.datatable-td) label { |
| 993 | font-weight: 600; |
| 994 | } |
| 995 | .form-table .asenha-subfields td:not(.datatable-td) .wp-picker-input-wrap label { |
| 996 | top: 0px; |
| 997 | } |
| 998 | |
| 999 | .form-table .asenha-subfields .asenha-radio-buttons td:not(.datatable-td) label { |
| 1000 | margin-right: 12px; |
| 1001 | } |
| 1002 | .rtl .form-table .asenha-subfields .asenha-radio-buttons td:not(.datatable-td) label { |
| 1003 | margin-right: 0; |
| 1004 | margin-left: 12px; |
| 1005 | } |
| 1006 | |
| 1007 | .asenha-subfields .vspacer { |
| 1008 | display: block; |
| 1009 | width: 100%; |
| 1010 | height: 8px; |
| 1011 | } |
| 1012 | |
| 1013 | .field-sublabel { |
| 1014 | display: inline-block; |
| 1015 | } |
| 1016 | |
| 1017 | .sublabel-narrow { |
| 1018 | min-width: 60px; |
| 1019 | } |
| 1020 | |
| 1021 | .sublabel-normal { |
| 1022 | min-width: 100px; |
| 1023 | } |
| 1024 | |
| 1025 | .sublabel-wide { |
| 1026 | min-width: 180px; |
| 1027 | } |
| 1028 | |
| 1029 | .asenha-subfields ul:not(.ui-sortable) { |
| 1030 | list-style: disc; |
| 1031 | padding-left: 16px; |
| 1032 | } |
| 1033 | |
| 1034 | /* Text input subfield */ |
| 1035 | |
| 1036 | .form-table .change-login-url .asenha-subfields, |
| 1037 | .form-table .redirect-after-login .asenha-subfields { |
| 1038 | margin-top: 8px; |
| 1039 | } |
| 1040 | |
| 1041 | .form-table .asenha-subfields tr.asenha-text.with-prefix-suffix, |
| 1042 | .form-table .asenha-subfields tr.asenha-number.with-prefix-suffix, |
| 1043 | .form-table .asenha-subfields tr.asenha-html { |
| 1044 | display: flex; |
| 1045 | flex-wrap: wrap; |
| 1046 | justify-content: flex-start; |
| 1047 | } |
| 1048 | |
| 1049 | .form-table .asenha-subfields tr.asenha-text.with-prefix-suffix.flex-column { |
| 1050 | flex-direction: column; |
| 1051 | } |
| 1052 | |
| 1053 | .form-table .asenha-subfields tr.asenha-radio-buttons.with-prefix-suffix { |
| 1054 | display: flex; |
| 1055 | justify-content: flex-start; |
| 1056 | margin-bottom: 8px; |
| 1057 | } |
| 1058 | |
| 1059 | .form-table .asenha-toggle .asenha-text.with-prefix-suffix th:not(.datatable-th), |
| 1060 | .form-table .asenha-toggle .asenha-number.with-prefix-suffix th:not(.datatable-th), |
| 1061 | .form-table .asenha-toggle .asenha-radio-buttons.with-prefix-suffix th:not(.datatable-th), |
| 1062 | .form-table .asenha-toggle .asenha-html th:not(.datatable-th) |
| 1063 | { |
| 1064 | display: flex; |
| 1065 | height: 30px; |
| 1066 | line-height: 30px; |
| 1067 | width: auto; |
| 1068 | padding: 0; |
| 1069 | margin-right: 6px; |
| 1070 | font-weight: 600; |
| 1071 | color: #3c434a; |
| 1072 | } |
| 1073 | |
| 1074 | .form-table .asenha-toggle .asenha-text.th-normal th:not(.datatable-th) { |
| 1075 | font-weight: normal; |
| 1076 | } |
| 1077 | |
| 1078 | .form-table .asenha-toggle .asenha-text.th-hidden th:not(.datatable-th) { |
| 1079 | display: none; |
| 1080 | } |
| 1081 | |
| 1082 | .form-table .asenha-toggle .asenha-text.with-prefix-suffix.no-field-title th:not(.datatable-th) { |
| 1083 | margin-right: 0; |
| 1084 | } |
| 1085 | |
| 1086 | .form-table .asenha-toggle .asenha-text.with-prefix-suffix.no-margin th:not(.datatable-th), |
| 1087 | .form-table .asenha-toggle .asenha-number.with-prefix-suffix.no-margin th:not(.datatable-th), |
| 1088 | .form-table .asenha-toggle .asenha-radio-buttons.with-prefix-suffix.no-margin th:not(.datatable-th) { |
| 1089 | margin-right: 0; |
| 1090 | } |
| 1091 | |
| 1092 | .form-table .asenha-toggle .asenha-text.with-prefix-suffix td:not(.datatable-td), |
| 1093 | .form-table .asenha-toggle .asenha-number.with-prefix-suffix td:not(.datatable-td), |
| 1094 | .form-table .asenha-toggle .asenha-radio-buttons.with-prefix-suffix td:not(.datatable-td) { |
| 1095 | display: flex; |
| 1096 | align-items: center; |
| 1097 | } |
| 1098 | |
| 1099 | .form-table .asenha-toggle .asenha-text.with-description td:not(.datatable-td) { |
| 1100 | display: flex; |
| 1101 | flex-direction: column; |
| 1102 | align-items: flex-start; |
| 1103 | } |
| 1104 | |
| 1105 | .form-table .asenha-toggle .margin-bottom-4 { |
| 1106 | margin-bottom: 4px; |
| 1107 | } |
| 1108 | |
| 1109 | .form-table .custom-login-slug td:not(.datatable-td), |
| 1110 | .form-table .smtp-security td:not(.datatable-td) { |
| 1111 | margin-bottom: 0; |
| 1112 | } |
| 1113 | |
| 1114 | .form-table .smtp-security td:not(.datatable-td) { |
| 1115 | position: relative; |
| 1116 | top: 2px; |
| 1117 | } |
| 1118 | |
| 1119 | /* Text area input subfield */ |
| 1120 | |
| 1121 | .asenha-subfield-textarea-wrapper, |
| 1122 | .asenha-subfield-wpeditor-wrapper, |
| 1123 | .asenha-subfield-number-wrapper { |
| 1124 | width: 100%; |
| 1125 | display: flex; |
| 1126 | flex-direction: column; |
| 1127 | } |
| 1128 | |
| 1129 | .asenha-subfield-wpeditor-wrapper .wp-editor-wrap { |
| 1130 | margin-bottom: 4px; |
| 1131 | } |
| 1132 | |
| 1133 | .asenha-subfield-textarea { |
| 1134 | width: 100%; |
| 1135 | } |
| 1136 | |
| 1137 | .asenha-subfield-textarea-intro { |
| 1138 | margin-bottom: 8px; |
| 1139 | } |
| 1140 | |
| 1141 | .asenha-subfield-textarea-description { |
| 1142 | margin-top: 4px; |
| 1143 | } |
| 1144 | |
| 1145 | .asenha-subfield-text.with-prefix.with-suffix, |
| 1146 | .asenha-subfield-password.with-prefix.with-suffix, |
| 1147 | .asenha-subfield-number.with-prefix.with-suffix, |
| 1148 | .asenha-subfield-select.with-prefix.with-suffix { |
| 1149 | margin: 0 4px; |
| 1150 | } |
| 1151 | |
| 1152 | .asenha-subfield-text.with-prefix, |
| 1153 | .asenha-subfield-password.with-prefix, |
| 1154 | .asenha-subfield-number.with-prefix, |
| 1155 | .asenha-subfield-select.with-prefix { |
| 1156 | margin: 0 0 0 4px; |
| 1157 | } |
| 1158 | |
| 1159 | .asenha-subfield-text.with-suffix, |
| 1160 | .asenha-subfield-password.with-suffix, |
| 1161 | .asenha-subfield-number.with-suffix, |
| 1162 | .asenha-subfield-select.with-suffix { |
| 1163 | margin: 0 4px 0 0; |
| 1164 | } |
| 1165 | |
| 1166 | .asenha-subfield-select-wrapper .asenha-subfield-select-description { |
| 1167 | margin-top: 4px; |
| 1168 | } |
| 1169 | |
| 1170 | .asenha-subfield-text.narrow { |
| 1171 | width: 80px; |
| 1172 | } |
| 1173 | |
| 1174 | .asenha-subfield-text.normal { |
| 1175 | width: 120px; |
| 1176 | } |
| 1177 | |
| 1178 | .asenha-subfield-text.wide { |
| 1179 | width: 180px; |
| 1180 | } |
| 1181 | |
| 1182 | .wide .asenha-subfield-text, |
| 1183 | .wide .asenha-subfield-password { |
| 1184 | width: 240px; |
| 1185 | } |
| 1186 | |
| 1187 | .full-width .asenha-subfield-text, |
| 1188 | .full-width .asenha-subfield-password { |
| 1189 | width: 100%; |
| 1190 | } |
| 1191 | |
| 1192 | .width-66 .asenha-subfield-text, |
| 1193 | .width-66 .asenha-subfield-password { |
| 1194 | width: 66%; |
| 1195 | } |
| 1196 | |
| 1197 | .width-75 .asenha-subfield-text, |
| 1198 | .width-75 .asenha-subfield-password { |
| 1199 | width: 75%; |
| 1200 | } |
| 1201 | |
| 1202 | .form-table .full-width td { |
| 1203 | margin-bottom: 0; |
| 1204 | } |
| 1205 | |
| 1206 | .narrow .asenha-subfield-text { |
| 1207 | width: 40px; |
| 1208 | } |
| 1209 | |
| 1210 | .narrow .asenha-subfield-number { |
| 1211 | width: 72px; |
| 1212 | } |
| 1213 | |
| 1214 | .extra-narrow .asenha-subfield-number { |
| 1215 | width: 54px; |
| 1216 | } |
| 1217 | |
| 1218 | /* Subfields Container */ |
| 1219 | |
| 1220 | .subfields-container { |
| 1221 | display: flex; |
| 1222 | } |
| 1223 | |
| 1224 | .subfields-container.subfields-in-row { |
| 1225 | flex-direction: row; |
| 1226 | align-items: center; |
| 1227 | } |
| 1228 | |
| 1229 | .flex-gap-40 { |
| 1230 | gap: 40px; |
| 1231 | } |
| 1232 | |
| 1233 | .flex-gap-8 { |
| 1234 | gap: 8px; |
| 1235 | } |
| 1236 | |
| 1237 | .form-table .asenha-subfields .subfields-in-row tr:not(.datatable-tr) { |
| 1238 | width: unset; |
| 1239 | } |
| 1240 | |
| 1241 | .subfields-container.subfields-in-column { |
| 1242 | flex-direction: column; |
| 1243 | } |
| 1244 | |
| 1245 | /* Spacers */ |
| 1246 | |
| 1247 | .form-table .asenha-subfields tr:not(.datatable-tr).shift-up, |
| 1248 | .form-table .asenha-subfields tr:not(.datatable-tr).margin-top-m4 { |
| 1249 | margin-top: -4px; |
| 1250 | } |
| 1251 | |
| 1252 | .form-table .asenha-subfields tr:not(.datatable-tr).margin-top-m8 { |
| 1253 | margin-top: -8px; |
| 1254 | } |
| 1255 | |
| 1256 | .form-table .asenha-subfields tr:not(.datatable-tr).shift-more-up, |
| 1257 | .form-table .asenha-subfields tr:not(.datatable-tr).margin-top-m12 { |
| 1258 | margin-top: -12px; |
| 1259 | } |
| 1260 | |
| 1261 | .form-table .asenha-subfields tr:not(.datatable-tr).margin-top-8 { |
| 1262 | margin-top: 8px !important; |
| 1263 | } |
| 1264 | |
| 1265 | .form-table .asenha-subfields tr:not(.datatable-tr).margin-top-12 { |
| 1266 | margin-top: 12px !important; |
| 1267 | } |
| 1268 | |
| 1269 | .form-table .asenha-subfields tr:not(.datatable-tr).margin-top-16 { |
| 1270 | margin-top: 16px !important; |
| 1271 | } |
| 1272 | |
| 1273 | .form-table .asenha-subfields tr:not(.datatable-tr).margin-top-20 { |
| 1274 | margin-top: 20px !important; |
| 1275 | } |
| 1276 | |
| 1277 | .form-table .asenha-subfields tr:not(.datatable-tr).margin-bottom-8 { |
| 1278 | margin-bottom: 8px !important; |
| 1279 | } |
| 1280 | |
| 1281 | .form-table .asenha-subfields tr:not(.datatable-tr).margin-bottom-9 { |
| 1282 | margin-bottom: 9px !important; |
| 1283 | } |
| 1284 | |
| 1285 | .form-table .asenha-subfields tr:not(.datatable-tr).margin-bottom-10 { |
| 1286 | margin-bottom: 10px !important; |
| 1287 | } |
| 1288 | |
| 1289 | .form-table .asenha-subfields tr:not(.datatable-tr).margin-bottom-12 { |
| 1290 | margin-bottom: 12px !important; |
| 1291 | } |
| 1292 | |
| 1293 | .form-table .asenha-subfields tr:not(.datatable-tr).margin-bottom-16 { |
| 1294 | margin-bottom: 16px !important; |
| 1295 | } |
| 1296 | |
| 1297 | .form-table .asenha-subfields tr:not(.datatable-tr).margin-bottom-20 { |
| 1298 | margin-bottom: 20px !important; |
| 1299 | } |
| 1300 | |
| 1301 | .form-table .asenha-subfields tr:not(.datatable-tr).margin-left-4 { |
| 1302 | margin-left: 4px !important; |
| 1303 | } |
| 1304 | |
| 1305 | .form-table .asenha-subfields tr:not(.datatable-tr).margin-left-8 { |
| 1306 | margin-left: 8px !important; |
| 1307 | } |
| 1308 | |
| 1309 | .form-table .asenha-subfields tr:not(.datatable-tr).margin-left-12 { |
| 1310 | margin-left: 12px !important; |
| 1311 | } |
| 1312 | |
| 1313 | .form-table .asenha-subfields tr:not(.datatable-tr).margin-left-16 { |
| 1314 | margin-left: 16px !important; |
| 1315 | } |
| 1316 | |
| 1317 | .form-table .asenha-subfields tr:not(.datatable-tr).margin-left-20 { |
| 1318 | margin-left: 20px !important; |
| 1319 | } |
| 1320 | |
| 1321 | .form-table .asenha-subfields tr:not(.datatable-tr).padding-top-0 { |
| 1322 | padding-top: 0 !important; |
| 1323 | } |
| 1324 | |
| 1325 | .form-table .asenha-subfields tr:not(.datatable-tr).padding-top-8 { |
| 1326 | padding-top: 8px !important; |
| 1327 | } |
| 1328 | |
| 1329 | .form-table .asenha-subfields tr:not(.datatable-tr).padding-top-12 { |
| 1330 | padding-top: 12px !important; |
| 1331 | } |
| 1332 | |
| 1333 | .form-table .asenha-subfields tr:not(.datatable-tr).padding-top-16 { |
| 1334 | padding-top: 16px !important; |
| 1335 | } |
| 1336 | |
| 1337 | .form-table .asenha-subfields tr:not(.datatable-tr).padding-top-20 { |
| 1338 | padding-top: 20px !important; |
| 1339 | } |
| 1340 | |
| 1341 | .form-table .asenha-subfields tr:not(.datatable-tr).padding-bottom-8 { |
| 1342 | padding-bottom: 8px !important; |
| 1343 | } |
| 1344 | |
| 1345 | .form-table .asenha-subfields tr:not(.datatable-tr).padding-bottom-12 { |
| 1346 | padding-bottom: 12px !important; |
| 1347 | } |
| 1348 | |
| 1349 | .form-table .asenha-subfields tr:not(.datatable-tr).padding-bottom-16 { |
| 1350 | padding-bottom: 16px !important; |
| 1351 | } |
| 1352 | |
| 1353 | .form-table .asenha-subfields tr:not(.datatable-tr).padding-bottom-20 { |
| 1354 | padding-bottom: 20px !important; |
| 1355 | } |
| 1356 | |
| 1357 | .form-table .asenha-subfields tr:not(.datatable-tr).top-border { |
| 1358 | border-top: 1px solid #eee; |
| 1359 | padding-top: 4px; |
| 1360 | margin-top: 6px; |
| 1361 | } |
| 1362 | |
| 1363 | .form-table .asenha-subfields tr:not(.datatable-tr).bottom-border { |
| 1364 | border-bottom: 1px solid #eee; |
| 1365 | padding-bottom: 8px; |
| 1366 | margin-bottom: 6px; |
| 1367 | } |
| 1368 | |
| 1369 | .asenha-subfields .faded, |
| 1370 | .form-table .asenha-subfields td:not(.datatable-td) label .faded { |
| 1371 | color: #bbb; |
| 1372 | } |
| 1373 | |
| 1374 | .asenha-subfields th .faded { |
| 1375 | font-weight: normal; |
| 1376 | } |
| 1377 | |
| 1378 | .asenha-subfield-status { |
| 1379 | display: block; |
| 1380 | padding: 12px 16px; |
| 1381 | background: #f9f9f9; |
| 1382 | border: 1px solid #ddd; |
| 1383 | } |
| 1384 | |
| 1385 | .asenha-subfield-status .status-title { |
| 1386 | font-weight: 600; |
| 1387 | } |
| 1388 | |
| 1389 | .asenha-subfield-status .status-body { |
| 1390 | border-top: 1px solid #ddd; |
| 1391 | border-bottom: 1px solid #ddd; |
| 1392 | margin: 8px 0; |
| 1393 | padding: 8px 0; |
| 1394 | } |
| 1395 | |
| 1396 | .asenha-subfield-status .status-item-title { |
| 1397 | display: inline-block; |
| 1398 | min-width: 96px; |
| 1399 | font-weight: 600; |
| 1400 | } |
| 1401 | |
| 1402 | .asenha-subfield-status .supported { |
| 1403 | color: green; |
| 1404 | font-weight: 500; |
| 1405 | } |
| 1406 | |
| 1407 | .asenha-subfield-status .unsupported { |
| 1408 | color: red; |
| 1409 | font-weight: 500; |
| 1410 | } |
| 1411 | |
| 1412 | /* Sortable subfield */ |
| 1413 | |
| 1414 | .form-table .asenha-toggle .asenha-sortable td:not(.datatable-td) { |
| 1415 | flex-wrap: wrap; |
| 1416 | flex-direction: column; |
| 1417 | } |
| 1418 | |
| 1419 | .subfield-description, |
| 1420 | .asenha-subfield-number-description { |
| 1421 | margin-top: 8px; |
| 1422 | margin-bottom: 8px; |
| 1423 | } |
| 1424 | |
| 1425 | .custom-menu-order ul.menu { |
| 1426 | margin-top: 0; |
| 1427 | padding-top: 0; |
| 1428 | /* overflow: auto; */ |
| 1429 | } |
| 1430 | |
| 1431 | .custom-menu-order .menu-item-bar { |
| 1432 | display: flex; |
| 1433 | align-items: center; |
| 1434 | } |
| 1435 | |
| 1436 | .custom-menu-order .menu-item-bar .menu-item-handle { |
| 1437 | box-sizing: border-box; |
| 1438 | display: flex; |
| 1439 | align-items: center; |
| 1440 | padding: 7px 15px 7px 7px; |
| 1441 | max-width: 500px; |
| 1442 | width: 500px; |
| 1443 | min-height: 30px; |
| 1444 | } |
| 1445 | |
| 1446 | .custom-menu-order .title-wrapper { |
| 1447 | display: flex; |
| 1448 | } |
| 1449 | |
| 1450 | .custom-menu-order .menu-item-handle .menu-item-checkbox { |
| 1451 | display: inline-block; |
| 1452 | } |
| 1453 | |
| 1454 | .custom-menu-order .menu-item-handle .item-title { |
| 1455 | display: flex; |
| 1456 | width: 100%; |
| 1457 | justify-content: space-between; |
| 1458 | align-items: center; |
| 1459 | margin-right: 0; |
| 1460 | line-height: 30px; |
| 1461 | } |
| 1462 | .rtl .custom-menu-order .menu-item-handle .item-title { |
| 1463 | |
| 1464 | } |
| 1465 | |
| 1466 | .custom-menu-order .menu-item-handle .item-title .menu-item-title a { |
| 1467 | color: #666; |
| 1468 | text-decoration: none; |
| 1469 | margin-left: 6px; |
| 1470 | } |
| 1471 | |
| 1472 | .custom-menu-order .menu-item-handle .item-title .menu-item-title a:hover { |
| 1473 | color: inherit; |
| 1474 | } |
| 1475 | |
| 1476 | .menu-item-title input[type="text"] { |
| 1477 | border: 1px solid #dcdcde; |
| 1478 | margin-left: -5px; |
| 1479 | padding: 0 8px 0 4px; |
| 1480 | font-size: 13px; |
| 1481 | } |
| 1482 | |
| 1483 | .menu-item-title input[type="text"]:focus { |
| 1484 | border: 1px solid #999; |
| 1485 | box-shadow: none; |
| 1486 | outline: none; |
| 1487 | } |
| 1488 | |
| 1489 | .menu-item-checkbox-label span { |
| 1490 | font-weight: normal; |
| 1491 | } |
| 1492 | |
| 1493 | .custom-menu-order .menu-item-title span, |
| 1494 | .custom-menu-order .menu-item-settings .submenu-item span { |
| 1495 | /* display: none; */ |
| 1496 | } |
| 1497 | |
| 1498 | /* .custom-menu-order .menu-item-title span.awaiting-mod, |
| 1499 | .custom-menu-order .menu-item-title span.update-plugins { |
| 1500 | display: none; |
| 1501 | } */ |
| 1502 | |
| 1503 | #separator1 .menu-item-title, |
| 1504 | #separator2 .menu-item-title, |
| 1505 | #separator-last .menu-item-title, |
| 1506 | #separator-woocommerce .menu-item-title, |
| 1507 | li[id^="separator"] .menu-item-title { |
| 1508 | font-weight: normal; |
| 1509 | color: #999; |
| 1510 | } |
| 1511 | |
| 1512 | .sortable-placeholder { |
| 1513 | width: 500px !important; |
| 1514 | max-width: 500px !important; |
| 1515 | height: 46px; |
| 1516 | min-height: 42px; |
| 1517 | max-height: 42px; |
| 1518 | background: #cdddd6; |
| 1519 | border: 1px dashed #508871; |
| 1520 | } |
| 1521 | |
| 1522 | .form-table .asenha-subfields td:not(.datatable-td) label.menu-item-checkbox-label { |
| 1523 | top: 0; |
| 1524 | } |
| 1525 | |
| 1526 | #custom-admin-menu .menu-item-depth-0 { |
| 1527 | display: list-item !important; |
| 1528 | margin-block-start: 0; |
| 1529 | padding: 0; |
| 1530 | } |
| 1531 | |
| 1532 | /* |
| 1533 | #custom-admin-menu .menu-item > .menu-item-bar > .menu-item-handle:hover, |
| 1534 | #custom-admin-menu .menu-item:hover > .menu-item-bar > .menu-item-handle { |
| 1535 | cursor: default; |
| 1536 | }*/ |
| 1537 | |
| 1538 | #custom-admin-menu .menu-item-depth-0 .dashicons-menu { |
| 1539 | padding: 5px 8px; |
| 1540 | cursor: move; |
| 1541 | color: #ddd; |
| 1542 | } |
| 1543 | #custom-admin-menu .menu-item-bar .menu-item-handle:hover .dashicons-menu { |
| 1544 | color: #1d2327; |
| 1545 | } |
| 1546 | |
| 1547 | |
| 1548 | .menu-item[data-custom-menu-item="no"] .remove-menu-item { |
| 1549 | display: none; |
| 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 | /* Description subfield */ |
| 1604 | .asenha-warning { |
| 1605 | display: block; |
| 1606 | padding: 12px 16px; |
| 1607 | color: #997404; |
| 1608 | background: #fff3cd; |
| 1609 | border: 1px solid #ffe69c; |
| 1610 | } |
| 1611 | |
| 1612 | /* jBox Modals */ |
| 1613 | |
| 1614 | .jBox-Modal.plugin-sponsor-modal .jBox-content { |
| 1615 | max-height: calc( 100vh - 120px ) !important; |
| 1616 | margin-top: 40px; |
| 1617 | padding: 32px 40px 20px; |
| 1618 | } |
| 1619 | .cta-modal-content .support-content { |
| 1620 | } |
| 1621 | .cta-modal-content h2 { |
| 1622 | margin-top: 8px; |
| 1623 | margin-bottom: 8px; |
| 1624 | font-size: 20px; |
| 1625 | line-height: 1.2; |
| 1626 | } |
| 1627 | .cta-modal-content h3 { |
| 1628 | font-size: 1.5em; |
| 1629 | line-height: 1.4; |
| 1630 | } |
| 1631 | .cta-modal-content p { |
| 1632 | text-align: left; |
| 1633 | font-size: 1.25em; |
| 1634 | line-height: 1.7; |
| 1635 | } |
| 1636 | .cta-modal-content p.support-user-quote { |
| 1637 | padding: 12px 16px; |
| 1638 | background: #e5f2e5; |
| 1639 | border-radius: 4px; |
| 1640 | font-weight: 500; |
| 1641 | text-align: center; |
| 1642 | } |
| 1643 | /* Sponsorship Modal */ |
| 1644 | |
| 1645 | .jBox-Modal.plugin-sponsor-modal .jBox-content { |
| 1646 | } |
| 1647 | .cta-modal-content.support .support-content { |
| 1648 | display: flex !important; |
| 1649 | flex-direction: column; |
| 1650 | align-items: center; |
| 1651 | } |
| 1652 | .cta-modal-content.support .support-header { |
| 1653 | text-align: center; |
| 1654 | } |
| 1655 | |
| 1656 | .support-photo-link { |
| 1657 | margin-top: 16px; |
| 1658 | } |
| 1659 | |
| 1660 | .support-bio-photo { |
| 1661 | width: 96px; |
| 1662 | height: 96px; |
| 1663 | border-radius: 96px; |
| 1664 | } |
| 1665 | |
| 1666 | .cta-modal-content.support .support-content-sections { |
| 1667 | display: flex; |
| 1668 | flex-direction: row; |
| 1669 | justify-content: space-between; |
| 1670 | align-items: flex-start; |
| 1671 | } |
| 1672 | .cta-modal-content .support-info { |
| 1673 | display: flex; |
| 1674 | width: 48%; |
| 1675 | } |
| 1676 | .cta-modal-content .support-methods { |
| 1677 | display: flex; |
| 1678 | width: 48%; |
| 1679 | flex-direction: column; |
| 1680 | justify-content: flex-start; |
| 1681 | align-items: flex-start; |
| 1682 | } |
| 1683 | .cta-modal-content.support a:not(.button) { |
| 1684 | color: #de4c73; |
| 1685 | text-decoration: none; |
| 1686 | } |
| 1687 | .cta-modal-content.support a:not(.button):hover { |
| 1688 | text-decoration: underline; |
| 1689 | } |
| 1690 | .cta-modal-content .support-button { |
| 1691 | display: flex; |
| 1692 | align-items: center; |
| 1693 | font-size: 1.25em; |
| 1694 | } |
| 1695 | .cta-modal-content .support-button.monthly { |
| 1696 | font-weight: 500; |
| 1697 | transition: .25s; |
| 1698 | color: #fff; |
| 1699 | background: #de4c73; |
| 1700 | border-color: #de4c73; |
| 1701 | margin-bottom: 2em; |
| 1702 | } |
| 1703 | .cta-modal-content .support-button.monthly:hover { |
| 1704 | background: #b13c5c; |
| 1705 | border-color: #b13c5c; |
| 1706 | } |
| 1707 | .cta-modal-content .support-button.monthly:focus { |
| 1708 | box-shadow: none; |
| 1709 | } |
| 1710 | .cta-modal-content .support-button.one-time { |
| 1711 | color: #de4c73; |
| 1712 | background: transparent; |
| 1713 | border-color: #de4c73; |
| 1714 | transition: .1s; |
| 1715 | } |
| 1716 | .cta-modal-content .support-button.one-time:hover { |
| 1717 | color: #fff; |
| 1718 | background: #de4c73; |
| 1719 | } |
| 1720 | .cta-modal-content .support-button.one-time:focus { |
| 1721 | box-shadow: none; |
| 1722 | } |
| 1723 | |
| 1724 | .cta-modal-content .support-button .dashicons { |
| 1725 | margin-left: 4px; |
| 1726 | } |
| 1727 | |
| 1728 | /* Send test email subfield */ |
| 1729 | |
| 1730 | .button.send-test-email, |
| 1731 | .button.form-builder-send-test-email { |
| 1732 | margin-left: 8px; |
| 1733 | } |
| 1734 | |
| 1735 | .ajax-result-div { |
| 1736 | /* width: 100%; |
| 1737 | background: #f9f9f9; |
| 1738 | border: 1px solid #ccc; |
| 1739 | padding: 12px 16px; */ |
| 1740 | } |
| 1741 | |
| 1742 | .sending-test-email, |
| 1743 | .form-builder-sending-test-email { |
| 1744 | display: flex; |
| 1745 | } |
| 1746 | |
| 1747 | .sending-test-email img, |
| 1748 | .form-builder-sending-test-email img { |
| 1749 | width: 20px; |
| 1750 | height: 20px; |
| 1751 | margin-right: 6px; |
| 1752 | } |
| 1753 | |
| 1754 | .test-email-success .dashicons-yes { |
| 1755 | color: seagreen; |
| 1756 | } |
| 1757 | |
| 1758 | .test-email-success span, |
| 1759 | .test-email-failed span { |
| 1760 | font-weight: 500; |
| 1761 | } |
| 1762 | |
| 1763 | .test-email-failed .dashicons-no-alt { |
| 1764 | color: red; |
| 1765 | } |
| 1766 | |
| 1767 | #wpfooter { |
| 1768 | display: flex; |
| 1769 | justify-content: center; |
| 1770 | } |
| 1771 | |
| 1772 | /* Content Toggler */ |
| 1773 | .subfield-content-toggler { |
| 1774 | margin-bottom: 16px; |
| 1775 | } |
| 1776 | |
| 1777 | .subfield-content-toggler a { |
| 1778 | text-decoration: none; |
| 1779 | } |
| 1780 | |
| 1781 | .subfield-content-toggler a:focus { |
| 1782 | color: #135e96; |
| 1783 | box-shadow: none; |
| 1784 | outline: none; |
| 1785 | } |
| 1786 | |
| 1787 | .subfield-content-toggler a span { |
| 1788 | font-size: 0.875em; |
| 1789 | } |
| 1790 | |
| 1791 | /* Utility Classes */ |
| 1792 | |
| 1793 | .force-hide { |
| 1794 | display: none !important; |
| 1795 | } |
| 1796 | |
| 1797 | .warning-text { |
| 1798 | color: var(--ase-accent-warning); |
| 1799 | } |
| 1800 | |
| 1801 | .full-width-div { |
| 1802 | width: 100%; |
| 1803 | } |
| 1804 | |
| 1805 | |
| 1806 | |
| 1807 | /* WPML + WPML String Translation */ |
| 1808 | /* Scripts from both plugins are dequeued on ASE settings page for causing errors rendering the page unusable */ |
| 1809 | /* Let's also hide the admin bar items from both plugins */ |
| 1810 | #wp-admin-bar-ate-status-bar, |
| 1811 | #wp-admin-bar-WPML_ALS { |
| 1812 | display: none; |
| 1813 | } |
| 1814 | |
| 1815 | /* ======================================================= */ |
| 1816 | /* MEDIA QUERIES */ |
| 1817 | /* ======================================================= */ |
| 1818 | |
| 1819 | @media (max-width: 1440px) { |
| 1820 | |
| 1821 | .asenha-body, |
| 1822 | .asenha-settings, |
| 1823 | .asenha-footer { |
| 1824 | width: 1176px; |
| 1825 | max-width: 100%; |
| 1826 | } |
| 1827 | |
| 1828 | .asenha-body { |
| 1829 | margin-top: 32px; |
| 1830 | } |
| 1831 | |
| 1832 | } |
| 1833 | |
| 1834 | @media (max-width: 1280px) { |
| 1835 | |
| 1836 | .asenha-body { |
| 1837 | margin-top: 0; |
| 1838 | width: 100%; |
| 1839 | border: 0; |
| 1840 | border-radius: 0; |
| 1841 | border-bottom: 1px solid #ccd0d4; |
| 1842 | } |
| 1843 | |
| 1844 | .asenha-settings { |
| 1845 | width: 100%; |
| 1846 | } |
| 1847 | |
| 1848 | .asenha-footer { |
| 1849 | width: 100%; |
| 1850 | border-right: 0; |
| 1851 | border-left: 0; |
| 1852 | border-radius: 0; |
| 1853 | } |
| 1854 | |
| 1855 | .asenha-upgrade-nudge, |
| 1856 | .asenha-support-nudge { |
| 1857 | border-radius: 0; |
| 1858 | } |
| 1859 | |
| 1860 | .asenha-upgrade-nudge__dismiss { |
| 1861 | border-radius: 0 0 0 8px; |
| 1862 | } |
| 1863 | |
| 1864 | |
| 1865 | } |