codemirror
3 years ago
datatables
3 years ago
admin-page.css
3 years ago
hide-admin-notices.css
3 years ago
jBox.all.min.css
3 years ago
list-table.css
3 years ago
media-replace.css
3 years ago
wp-admin.css
3 years ago
admin-page.css
629 lines
| 1 | .asenha-header { |
| 2 | display: flex; |
| 3 | justify-content: space-between; |
| 4 | align-items: center; |
| 5 | width: 100%; |
| 6 | box-sizing: border-box; |
| 7 | margin-top: 24px; |
| 8 | padding: 28px 20px; |
| 9 | background-color: #fafafa; |
| 10 | border: 1px solid #ccd0d4; |
| 11 | transition: .25s; |
| 12 | } |
| 13 | |
| 14 | .asenha-header.asenha-sticky { |
| 15 | box-shadow: 0 5px 10px rgb(0 0 0 / 10%); |
| 16 | } |
| 17 | |
| 18 | .asenha-header-left { |
| 19 | position: relative; |
| 20 | display: flex; |
| 21 | justify-content: flex-start; |
| 22 | } |
| 23 | |
| 24 | .asenha-header-right { |
| 25 | position: relative; |
| 26 | display: flex; |
| 27 | justify-content: flex-end; |
| 28 | min-width: 240px; |
| 29 | } |
| 30 | |
| 31 | .asenha-header .notice { |
| 32 | display: none; |
| 33 | } |
| 34 | |
| 35 | .asenha-body { |
| 36 | background-color: #fff; |
| 37 | border-right: 1px solid #ccd0d4; |
| 38 | border-bottom: 1px solid #ccd0d4; |
| 39 | border-left: 1px solid #ccd0d4; |
| 40 | } |
| 41 | |
| 42 | .asenha .form-table { |
| 43 | margin-top: 0; |
| 44 | } |
| 45 | |
| 46 | .asenha-footer { |
| 47 | /* display: flex; */ |
| 48 | display: none; |
| 49 | flex-direction: column; |
| 50 | width: 100%; |
| 51 | box-sizing: border-box; |
| 52 | padding: 12px 20px; |
| 53 | background-color: #fafafa; |
| 54 | border-right: 1px solid #ccd0d4; |
| 55 | border-bottom: 1px solid #ccd0d4; |
| 56 | border-left: 1px solid #ccd0d4; |
| 57 | } |
| 58 | |
| 59 | .wrap h1.asenha-heading { |
| 60 | font-size: 1.5em; |
| 61 | line-height: 26px; |
| 62 | font-weight: 400; |
| 63 | margin: 0; |
| 64 | padding: 0; |
| 65 | } |
| 66 | |
| 67 | .asenha-heading a { |
| 68 | text-decoration: none; |
| 69 | transition: .25s; |
| 70 | } |
| 71 | |
| 72 | .asenha-heading a:hover { |
| 73 | text-decoration: underline; |
| 74 | } |
| 75 | |
| 76 | .asenha-heading small { |
| 77 | font-size: 14px; |
| 78 | font-weight: 500; |
| 79 | color: #555; |
| 80 | } |
| 81 | |
| 82 | .asenha-header-action { |
| 83 | position: relative; |
| 84 | top: 1px; |
| 85 | margin-left: 16px; |
| 86 | text-decoration: none; |
| 87 | transition: .25s; |
| 88 | line-height: 30px; |
| 89 | } |
| 90 | |
| 91 | .asenha-header-action:first-child { |
| 92 | margin-left: 0; |
| 93 | } |
| 94 | |
| 95 | .asenha-header-action:hover { |
| 96 | text-decoration: underline; |
| 97 | } |
| 98 | |
| 99 | .asenha-changes-saved { |
| 100 | position: absolute; |
| 101 | right: 0; |
| 102 | top: 33px; |
| 103 | background: seagreen; |
| 104 | color: #fff; |
| 105 | padding: 2px 8px; |
| 106 | border-radius: 3px; |
| 107 | } |
| 108 | |
| 109 | .asenha-toggle { |
| 110 | border-bottom: 1px solid #eee; |
| 111 | } |
| 112 | |
| 113 | .form-table .asenha-toggle th:not(.datatable-th) { |
| 114 | padding: 20px 10px 16px 20px; |
| 115 | line-height: 1.4; |
| 116 | } |
| 117 | |
| 118 | .form-table .asenha-toggle td:not(.datatable-td) { |
| 119 | padding: 18px 20px 16px 10px; |
| 120 | line-height: 1.4; |
| 121 | } |
| 122 | |
| 123 | .asenha-toggle:last-child { |
| 124 | border-bottom: 0; |
| 125 | } |
| 126 | |
| 127 | .asenha-field-description { |
| 128 | position: relative; |
| 129 | top: 1px; |
| 130 | color: #3c434a; |
| 131 | } |
| 132 | |
| 133 | .asenha-field-with-options { |
| 134 | width: 100%; |
| 135 | } |
| 136 | |
| 137 | /* WP Core UI overrides */ |
| 138 | |
| 139 | .wp-core-ui.tools_page_admin-site-enhancements .notice { |
| 140 | margin: 20px 20px 0 2px; |
| 141 | } |
| 142 | |
| 143 | .asenha .submit { |
| 144 | position: absolute; |
| 145 | } |
| 146 | |
| 147 | .asenha .submit input { |
| 148 | display: none; |
| 149 | } |
| 150 | |
| 151 | /* Toggle Styles -- https://codepen.io/deanelliott/pen/GRJjGqK */ |
| 152 | |
| 153 | .form-table .asenha-toggle td:not(.datatable-td) { |
| 154 | display: flex; |
| 155 | align-items: flex-start; |
| 156 | } |
| 157 | |
| 158 | .form-table .asenha-toggle .asenha-radio-buttons > td:not(.datatable-td) { |
| 159 | align-items: center; |
| 160 | } |
| 161 | |
| 162 | :root { |
| 163 | --toggleHeight: 22px; |
| 164 | --toggleWidth: 40px; |
| 165 | --toggleGap: 2px; |
| 166 | } |
| 167 | |
| 168 | .asenha-field-checkbox { |
| 169 | width: 0 !important; |
| 170 | height: 0 !important; |
| 171 | opacity: 0; |
| 172 | position: absolute; |
| 173 | } |
| 174 | |
| 175 | .asenha-field-checkbox + label { |
| 176 | position: relative; |
| 177 | background: #c0c0c0; |
| 178 | width: var(--toggleWidth); |
| 179 | min-width: var(--toggleWidth); |
| 180 | height: var(--toggleHeight); |
| 181 | margin-right: 8px; |
| 182 | display: inline-flex; |
| 183 | align-items: center; |
| 184 | border-radius: 25px; |
| 185 | cursor: pointer; |
| 186 | transition: background 0.2s ease-in-out; |
| 187 | text-indent: calc( var(--toggleWidth) + 10px); |
| 188 | } |
| 189 | .asenha-field-checkbox + label:after { |
| 190 | content: ""; |
| 191 | background: #fff; |
| 192 | width: calc(var(--toggleHeight) - (var(--toggleGap) * 2)); |
| 193 | height: calc(var(--toggleHeight) - (var(--toggleGap) * 2)); |
| 194 | position: absolute; |
| 195 | top: var(--toggleGap); |
| 196 | left: var(--toggleGap); |
| 197 | border-radius: 50%; |
| 198 | transition: left 0.3s ease-in-out, background 0.2s ease-in-out; |
| 199 | } |
| 200 | |
| 201 | .asenha-field-checkbox:checked + label { |
| 202 | background: seaGreen; |
| 203 | } |
| 204 | .asenha-field-checkbox:checked + label:after { |
| 205 | left: calc(100% - calc(var(--toggleHeight) - var(--toggleGap))); |
| 206 | } |
| 207 | |
| 208 | /* Vertical Tabs */ |
| 209 | |
| 210 | .asenha-vertical-tabs { |
| 211 | padding: 0px; |
| 212 | margin: 0 auto; |
| 213 | display: flex; |
| 214 | } |
| 215 | |
| 216 | .asenha-tab-buttons { |
| 217 | background: #f5f5f5; |
| 218 | } |
| 219 | |
| 220 | .asenha-tab-buttons > input { |
| 221 | display: none; |
| 222 | } |
| 223 | |
| 224 | .asenha-tab-buttons > label { |
| 225 | display: block; |
| 226 | font-size: 14px; |
| 227 | font-weight: 600; |
| 228 | color: #999; |
| 229 | width: 180px; |
| 230 | padding: 20px; |
| 231 | background: #f5f5f5; |
| 232 | cursor: pointer; |
| 233 | transition: .25s; |
| 234 | } |
| 235 | |
| 236 | .asenha-tab-buttons > label:hover { |
| 237 | color: #444; |
| 238 | background: #f9f9f9; |
| 239 | } |
| 240 | |
| 241 | .asenha-tab-buttons > input:checked + label { |
| 242 | color: #1d2327; |
| 243 | background: #ffffff; |
| 244 | } |
| 245 | |
| 246 | .asenha-tab-contents > section { |
| 247 | display: none; |
| 248 | background: #ffffff; |
| 249 | } |
| 250 | |
| 251 | /* Show all / less toggler | Modified from https://codepen.io/symonsays/pen/rzgEgY */ |
| 252 | |
| 253 | .asenha-field-with-options.field-show-more.is-enabled { |
| 254 | display: block; |
| 255 | position: relative; |
| 256 | -webkit-transition: all 0.5s ease; |
| 257 | -moz-transition: all 0.5s ease; |
| 258 | -o-transition: all 0.5s ease; |
| 259 | transition: all 0.5s ease; |
| 260 | } |
| 261 | |
| 262 | .asenha-field-with-options.field-show-more.is-enabled .asenha-field-options-wrapper.wrapper-show-more { |
| 263 | height: 80px; |
| 264 | overflow: hidden; |
| 265 | -webkit-transition: all 0.5s ease; |
| 266 | -moz-transition: all 0.5s ease; |
| 267 | -o-transition: all 0.5s ease; |
| 268 | transition: all 0.5s ease; |
| 269 | } |
| 270 | |
| 271 | .asenha-field-with-options.field-show-more.is-enabled .opened.asenha-field-options-wrapper.wrapper-show-more { |
| 272 | height: auto; |
| 273 | overflow:visible; |
| 274 | } |
| 275 | |
| 276 | .asenha-field-with-options.field-show-more.is-enabled .opened.asenha-field-options-wrapper.wrapper-show-more:before { |
| 277 | /* bottom: -80px; */ |
| 278 | display: none; |
| 279 | } |
| 280 | |
| 281 | .show-more-less { |
| 282 | display: none; |
| 283 | } |
| 284 | |
| 285 | .is-enabled .show-more-less { |
| 286 | display: block; |
| 287 | background: none; |
| 288 | text-decoration: none; |
| 289 | border: 0; |
| 290 | position: absolute; |
| 291 | left: 0; |
| 292 | bottom: -12px; |
| 293 | margin: auto; |
| 294 | text-align: center; |
| 295 | text-transform: uppercase; |
| 296 | font-size: 11px; |
| 297 | font-weight: 500; |
| 298 | cursor: pointer; |
| 299 | z-index: 3; |
| 300 | transition: .25s; |
| 301 | } |
| 302 | |
| 303 | .is-enabled .show-more-less:active, |
| 304 | .is-enabled .show-more-less:hover, |
| 305 | .is-enabled .show-more-less:focus { |
| 306 | outline: none; |
| 307 | box-shadow: none; |
| 308 | } |
| 309 | |
| 310 | .is-enabled .show-more-less.show-more, |
| 311 | .is-enabled .show-more-less:not(.show-more):hover { |
| 312 | color: #2271b1; |
| 313 | } |
| 314 | |
| 315 | .is-enabled .show-more-less:not(.show-more) { |
| 316 | color: #ddd; |
| 317 | } |
| 318 | |
| 319 | .asenha-field-with-options.field-show-more.is-enabled .asenha-field-options-wrapper.wrapper-show-more:before { |
| 320 | content: ''; |
| 321 | display: block; |
| 322 | position: absolute; |
| 323 | z-index: 1; |
| 324 | font-size: 12px; |
| 325 | left: 0; |
| 326 | right: 0; |
| 327 | bottom: 0; |
| 328 | height: 60px; |
| 329 | width: 100%; |
| 330 | text-align: center; |
| 331 | 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%); |
| 332 | } |
| 333 | |
| 334 | /* Sub Fields */ |
| 335 | |
| 336 | .form-table .asenha-subfields { |
| 337 | display: flex; |
| 338 | flex-wrap: wrap; |
| 339 | margin-top: 12px; |
| 340 | } |
| 341 | |
| 342 | .form-table .asenha-subfields tr:not(.datatable-tr) { |
| 343 | display: block; |
| 344 | width: 100%; |
| 345 | } |
| 346 | |
| 347 | .form-table .asenha-subfields tr.asenha-half { |
| 348 | width: 50%; |
| 349 | } |
| 350 | |
| 351 | .form-table .asenha-toggle .asenha-field-with-options th:not(.datatable-th) { |
| 352 | padding: 0 0 10px 0; |
| 353 | } |
| 354 | |
| 355 | .form-table .asenha-subfields tr.asenha-hide-th th:not(.datatable-th) { |
| 356 | display: none; |
| 357 | } |
| 358 | |
| 359 | .form-table .asenha-subfields tr.asenha-th-border-top { |
| 360 | padding-top: 12px; |
| 361 | border-top: 1px solid #eee; |
| 362 | } |
| 363 | |
| 364 | .form-table .asenha-subfields th { |
| 365 | width: 100% |
| 366 | } |
| 367 | |
| 368 | .form-table .asenha-subfields td:not(.datatable-td) { |
| 369 | padding: 0; |
| 370 | } |
| 371 | |
| 372 | .form-table .asenha-subfields td:not(.datatable-td) label { |
| 373 | position: relative; |
| 374 | top: -2px; |
| 375 | } |
| 376 | |
| 377 | .form-table .asenha-subfields .asenha-radio-buttons td:not(.datatable-td) label { |
| 378 | margin-right: 12px; |
| 379 | } |
| 380 | |
| 381 | .asenha-subfields .vspacer { |
| 382 | display: block; |
| 383 | width: 100%; |
| 384 | height: 8px; |
| 385 | } |
| 386 | |
| 387 | /* Text input subfield */ |
| 388 | |
| 389 | .form-table .change-login-url .asenha-subfields, |
| 390 | .form-table .redirect-after-login .asenha-subfields { |
| 391 | margin-top: 8px; |
| 392 | } |
| 393 | |
| 394 | .form-table .asenha-subfields tr.asenha-text.with-prefix-suffix, |
| 395 | .form-table .asenha-subfields tr.asenha-number.with-prefix-suffix { |
| 396 | display: flex; |
| 397 | justify-content: flex-start; |
| 398 | } |
| 399 | |
| 400 | .form-table .asenha-toggle .asenha-text.with-prefix-suffix th:not(.datatable-th), |
| 401 | .form-table .asenha-toggle .asenha-number.with-prefix-suffix th:not(.datatable-th) { |
| 402 | display: flex; |
| 403 | height: 30px; |
| 404 | line-height: 30px; |
| 405 | width: auto; |
| 406 | padding: 0; |
| 407 | margin-right: 6px; |
| 408 | font-weight: normal; |
| 409 | color: #3c434a; |
| 410 | } |
| 411 | |
| 412 | .form-table .asenha-toggle .asenha-text.with-prefix-suffix.no-margin th:not(.datatable-th), |
| 413 | .form-table .asenha-toggle .asenha-number.with-prefix-suffix.no-margin th:not(.datatable-th) { |
| 414 | margin-right: 0; |
| 415 | } |
| 416 | |
| 417 | .form-table .asenha-toggle .asenha-text.with-prefix-suffix td:not(.datatable-td), |
| 418 | .form-table .asenha-toggle .asenha-number.with-prefix-suffix td:not(.datatable-td) { |
| 419 | display: flex; |
| 420 | align-items: center; |
| 421 | } |
| 422 | |
| 423 | .form-table .custom-login-slug td:not(.datatable-td) { |
| 424 | margin-bottom: 0; |
| 425 | } |
| 426 | |
| 427 | /* Text area input subfield */ |
| 428 | |
| 429 | .asenha-subfield-textarea-wrapper, |
| 430 | .asenha-subfield-number-wrapper { |
| 431 | width: 100%; |
| 432 | display: flex; |
| 433 | flex-direction: column; |
| 434 | } |
| 435 | |
| 436 | .asenha-subfield-textarea { |
| 437 | width: 100%; |
| 438 | } |
| 439 | |
| 440 | .asenha-subfield-textarea-intro { |
| 441 | margin-bottom: 8px; |
| 442 | } |
| 443 | |
| 444 | .asenha-subfield-textarea-description { |
| 445 | margin-top: 8px; |
| 446 | } |
| 447 | |
| 448 | .asenha-subfield-text.with-prefix.with-suffix, |
| 449 | .asenha-subfield-password.with-prefix.with-suffix, |
| 450 | .asenha-subfield-number.with-prefix.with-suffix, |
| 451 | .asenha-subfield-select.with-prefix.with-suffix { |
| 452 | margin: 0 4px; |
| 453 | } |
| 454 | |
| 455 | .asenha-subfield-text.with-prefix, |
| 456 | .asenha-subfield-password.with-prefix, |
| 457 | .asenha-subfield-number.with-prefix, |
| 458 | .asenha-subfield-select.with-prefix { |
| 459 | margin: 0 0 0 4px; |
| 460 | } |
| 461 | |
| 462 | .asenha-subfield-text.with-suffix, |
| 463 | .asenha-subfield-password.with-suffix, |
| 464 | .asenha-subfield-number.with-suffix, |
| 465 | .asenha-subfield-select.with-suffix { |
| 466 | margin: 0 4px 0 0; |
| 467 | } |
| 468 | |
| 469 | .narrow .asenha-subfield-text { |
| 470 | width: 40px; |
| 471 | } |
| 472 | |
| 473 | .narrow .asenha-subfield-number { |
| 474 | width: 72px; |
| 475 | } |
| 476 | |
| 477 | .extra-narrow .asenha-subfield-number { |
| 478 | width: 54px; |
| 479 | } |
| 480 | |
| 481 | .form-table .asenha-subfields tr:not(.datatable-tr).shift-up { |
| 482 | margin-top: -4px; |
| 483 | } |
| 484 | |
| 485 | .form-table .asenha-subfields tr:not(.datatable-tr).top-border { |
| 486 | border-top: 1px solid #eee; |
| 487 | padding-top: 8px; |
| 488 | } |
| 489 | |
| 490 | .asenha-subfields .faded, |
| 491 | .form-table .asenha-subfields td:not(.datatable-td) label .faded { |
| 492 | color: #bbb; |
| 493 | } |
| 494 | |
| 495 | /* Sortable subfield */ |
| 496 | |
| 497 | .form-table .asenha-toggle .asenha-sortable td:not(.datatable-td) { |
| 498 | flex-wrap: wrap; |
| 499 | flex-direction: column; |
| 500 | } |
| 501 | |
| 502 | .subfield-description { |
| 503 | margin-bottom: 12px; |
| 504 | } |
| 505 | |
| 506 | .custom-menu-order ul.menu { |
| 507 | margin-top: 0; |
| 508 | padding-top: 0; |
| 509 | overflow: auto; |
| 510 | } |
| 511 | |
| 512 | .custom-menu-order .menu-item-bar .menu-item-handle { |
| 513 | padding: 7px 15px; |
| 514 | max-width: 320px; |
| 515 | width: 320px; |
| 516 | min-height: 30px; |
| 517 | } |
| 518 | |
| 519 | .custom-menu-order .menu-item-handle .menu-item-checkbox { |
| 520 | display: inline-block; |
| 521 | } |
| 522 | |
| 523 | .custom-menu-order .menu-item-handle .item-title { |
| 524 | display: flex; |
| 525 | justify-content: space-between; |
| 526 | align-items: center; |
| 527 | margin-right: 0; |
| 528 | line-height: 30px; |
| 529 | } |
| 530 | |
| 531 | .custom-menu-order .menu-item-handle .item-title .menu-item-title a { |
| 532 | color: #666; |
| 533 | text-decoration: none; |
| 534 | margin-left: 6px; |
| 535 | } |
| 536 | |
| 537 | .custom-menu-order .menu-item-handle .item-title .menu-item-title a:hover { |
| 538 | color: inherit; |
| 539 | } |
| 540 | |
| 541 | .menu-item-title input[type="text"] { |
| 542 | border: 1px solid #dcdcde; |
| 543 | margin-left: -9px; |
| 544 | font-size: 13px; |
| 545 | } |
| 546 | |
| 547 | .menu-item-title input[type="text"]:focus { |
| 548 | border: 1px solid #999; |
| 549 | box-shadow: none; |
| 550 | outline: none; |
| 551 | } |
| 552 | |
| 553 | .menu-item-checkbox-label span { |
| 554 | font-weight: normal; |
| 555 | } |
| 556 | |
| 557 | .custom-menu-order .menu-item-title span, |
| 558 | .custom-menu-order .menu-item-settings .submenu-item span { |
| 559 | /* display: none; */ |
| 560 | } |
| 561 | |
| 562 | /* .custom-menu-order .menu-item-title span.awaiting-mod, |
| 563 | .custom-menu-order .menu-item-title span.update-plugins { |
| 564 | display: none; |
| 565 | } */ |
| 566 | |
| 567 | #separator1 .menu-item-title, |
| 568 | #separator2 .menu-item-title, |
| 569 | #separator-last .menu-item-title { |
| 570 | font-weight: normal; |
| 571 | color: #999; |
| 572 | } |
| 573 | |
| 574 | .sortable-placeholder { |
| 575 | width: 350px; |
| 576 | max-width: 350px; |
| 577 | height: 46px; |
| 578 | min-height: 42px; |
| 579 | max-height: 42px; |
| 580 | border: 1px dotted #ccc; |
| 581 | } |
| 582 | |
| 583 | .form-table .asenha-subfields td:not(.datatable-td) label.menu-item-checkbox-label { |
| 584 | top: 0; |
| 585 | } |
| 586 | |
| 587 | /* CodeMirror*/ |
| 588 | |
| 589 | .syntax-highlighted .asenha-subfield-textarea { |
| 590 | background: #fcfcfc; |
| 591 | } |
| 592 | |
| 593 | .syntax-highlighted .CodeMirror { |
| 594 | border: 1px solid #ddd; |
| 595 | background: #fcfcfc; |
| 596 | } |
| 597 | |
| 598 | /* DataTable */ |
| 599 | |
| 600 | .form-table .asenha-toggle .datatable > td { |
| 601 | flex-direction: column; |
| 602 | } |
| 603 | |
| 604 | .form-table td.dataTables_empty { |
| 605 | display: block; |
| 606 | width: 100%; |
| 607 | margin-bottom: 0; |
| 608 | padding: 8px 10px !important; |
| 609 | background-color: #fff; |
| 610 | } |
| 611 | |
| 612 | .datatable .dataTables_wrapper { |
| 613 | background: #f5f5f5; |
| 614 | margin-top: 8px; |
| 615 | padding: 12px 10px; |
| 616 | } |
| 617 | |
| 618 | .datatable .dataTables_wrapper .dataTables_length select, |
| 619 | .datatable .dataTables_wrapper .dataTables_filter input { |
| 620 | background-color: #fff; |
| 621 | } |
| 622 | |
| 623 | .datatable .dataTables_wrapper .dataTables_length select { |
| 624 | min-width: 52px; |
| 625 | } |
| 626 | |
| 627 | .datatable table.dataTable thead th { |
| 628 | font-weight: 500 ; |
| 629 | } |