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