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
571 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 | :root { |
| 159 | --toggleHeight: 22px; |
| 160 | --toggleWidth: 40px; |
| 161 | --toggleGap: 2px; |
| 162 | } |
| 163 | |
| 164 | .asenha-field-checkbox { |
| 165 | width: 0 !important; |
| 166 | height: 0 !important; |
| 167 | opacity: 0; |
| 168 | position: absolute; |
| 169 | } |
| 170 | |
| 171 | .asenha-field-checkbox + label { |
| 172 | position: relative; |
| 173 | background: #c0c0c0; |
| 174 | width: var(--toggleWidth); |
| 175 | min-width: var(--toggleWidth); |
| 176 | height: var(--toggleHeight); |
| 177 | margin-right: 8px; |
| 178 | display: inline-flex; |
| 179 | align-items: center; |
| 180 | border-radius: 25px; |
| 181 | cursor: pointer; |
| 182 | transition: background 0.2s ease-in-out; |
| 183 | text-indent: calc( var(--toggleWidth) + 10px); |
| 184 | } |
| 185 | .asenha-field-checkbox + label:after { |
| 186 | content: ""; |
| 187 | background: #fff; |
| 188 | width: calc(var(--toggleHeight) - (var(--toggleGap) * 2)); |
| 189 | height: calc(var(--toggleHeight) - (var(--toggleGap) * 2)); |
| 190 | position: absolute; |
| 191 | top: var(--toggleGap); |
| 192 | left: var(--toggleGap); |
| 193 | border-radius: 50%; |
| 194 | transition: left 0.3s ease-in-out, background 0.2s ease-in-out; |
| 195 | } |
| 196 | |
| 197 | .asenha-field-checkbox:checked + label { |
| 198 | background: seaGreen; |
| 199 | } |
| 200 | .asenha-field-checkbox:checked + label:after { |
| 201 | left: calc(100% - calc(var(--toggleHeight) - var(--toggleGap))); |
| 202 | } |
| 203 | |
| 204 | /* Vertical Tabs */ |
| 205 | |
| 206 | .asenha-vertical-tabs { |
| 207 | padding: 0px; |
| 208 | margin: 0 auto; |
| 209 | display: flex; |
| 210 | } |
| 211 | |
| 212 | .asenha-tab-buttons { |
| 213 | background: #f5f5f5; |
| 214 | } |
| 215 | |
| 216 | .asenha-tab-buttons > input { |
| 217 | display: none; |
| 218 | } |
| 219 | |
| 220 | .asenha-tab-buttons > label { |
| 221 | display: block; |
| 222 | font-size: 14px; |
| 223 | font-weight: 600; |
| 224 | color: #999; |
| 225 | width: 180px; |
| 226 | padding: 20px; |
| 227 | background: #f5f5f5; |
| 228 | cursor: pointer; |
| 229 | transition: .25s; |
| 230 | } |
| 231 | |
| 232 | .asenha-tab-buttons > label:hover { |
| 233 | color: #444; |
| 234 | background: #f9f9f9; |
| 235 | } |
| 236 | |
| 237 | .asenha-tab-buttons > input:checked + label { |
| 238 | color: #1d2327; |
| 239 | background: #ffffff; |
| 240 | } |
| 241 | |
| 242 | .asenha-tab-contents > section { |
| 243 | display: none; |
| 244 | background: #ffffff; |
| 245 | } |
| 246 | |
| 247 | /* Show all / less toggler | Modified from https://codepen.io/symonsays/pen/rzgEgY */ |
| 248 | |
| 249 | .asenha-field-with-options.field-show-more.is-enabled { |
| 250 | display: block; |
| 251 | position: relative; |
| 252 | -webkit-transition: all 0.5s ease; |
| 253 | -moz-transition: all 0.5s ease; |
| 254 | -o-transition: all 0.5s ease; |
| 255 | transition: all 0.5s ease; |
| 256 | } |
| 257 | |
| 258 | .asenha-field-with-options.field-show-more.is-enabled .asenha-field-options-wrapper.wrapper-show-more { |
| 259 | height: 80px; |
| 260 | overflow: hidden; |
| 261 | -webkit-transition: all 0.5s ease; |
| 262 | -moz-transition: all 0.5s ease; |
| 263 | -o-transition: all 0.5s ease; |
| 264 | transition: all 0.5s ease; |
| 265 | } |
| 266 | |
| 267 | .asenha-field-with-options.field-show-more.is-enabled .opened.asenha-field-options-wrapper.wrapper-show-more { |
| 268 | height: auto; |
| 269 | overflow:visible; |
| 270 | } |
| 271 | |
| 272 | .asenha-field-with-options.field-show-more.is-enabled .opened.asenha-field-options-wrapper.wrapper-show-more:before { |
| 273 | /* bottom: -80px; */ |
| 274 | display: none; |
| 275 | } |
| 276 | |
| 277 | .show-more-less { |
| 278 | display: none; |
| 279 | } |
| 280 | |
| 281 | .is-enabled .show-more-less { |
| 282 | display: block; |
| 283 | background: none; |
| 284 | text-decoration: none; |
| 285 | border: 0; |
| 286 | position: absolute; |
| 287 | left: 0; |
| 288 | bottom: -12px; |
| 289 | margin: auto; |
| 290 | text-align: center; |
| 291 | text-transform: uppercase; |
| 292 | font-size: 11px; |
| 293 | font-weight: 500; |
| 294 | cursor: pointer; |
| 295 | z-index: 3; |
| 296 | transition: .25s; |
| 297 | } |
| 298 | |
| 299 | .is-enabled .show-more-less:active, |
| 300 | .is-enabled .show-more-less:hover, |
| 301 | .is-enabled .show-more-less:focus { |
| 302 | outline: none; |
| 303 | box-shadow: none; |
| 304 | } |
| 305 | |
| 306 | .is-enabled .show-more-less.show-more, |
| 307 | .is-enabled .show-more-less:not(.show-more):hover { |
| 308 | color: #2271b1; |
| 309 | } |
| 310 | |
| 311 | .is-enabled .show-more-less:not(.show-more) { |
| 312 | color: #ddd; |
| 313 | } |
| 314 | |
| 315 | .asenha-field-with-options.field-show-more.is-enabled .asenha-field-options-wrapper.wrapper-show-more:before { |
| 316 | content: ''; |
| 317 | display: block; |
| 318 | position: absolute; |
| 319 | z-index: 1; |
| 320 | font-size: 12px; |
| 321 | left: 0; |
| 322 | right: 0; |
| 323 | bottom: 0; |
| 324 | height: 60px; |
| 325 | width: 100%; |
| 326 | text-align: center; |
| 327 | 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%); |
| 328 | } |
| 329 | |
| 330 | /* Sub Fields */ |
| 331 | |
| 332 | .form-table .asenha-subfields { |
| 333 | display: flex; |
| 334 | flex-wrap: wrap; |
| 335 | margin-top: 12px; |
| 336 | } |
| 337 | |
| 338 | .form-table .asenha-subfields tr:not(.datatable-tr) { |
| 339 | display: block; |
| 340 | width: 100%; |
| 341 | } |
| 342 | |
| 343 | .form-table .asenha-subfields tr.asenha-half { |
| 344 | width: 50%; |
| 345 | } |
| 346 | |
| 347 | .form-table .asenha-subfields tr.asenha-hide-th th:not(.datatable-th) { |
| 348 | display: none; |
| 349 | } |
| 350 | |
| 351 | .form-table .asenha-subfields tr.asenha-th-border-top { |
| 352 | padding-top: 12px; |
| 353 | border-top: 1px solid #eee; |
| 354 | } |
| 355 | |
| 356 | .form-table .asenha-subfields td:not(.datatable-td) { |
| 357 | padding: 0; |
| 358 | } |
| 359 | |
| 360 | .form-table .asenha-subfields td:not(.datatable-td) label { |
| 361 | position: relative; |
| 362 | top: -2px; |
| 363 | } |
| 364 | |
| 365 | /* Text input subfield */ |
| 366 | |
| 367 | .form-table .change-login-url .asenha-subfields, |
| 368 | .form-table .redirect-after-login .asenha-subfields { |
| 369 | margin-top: 8px; |
| 370 | } |
| 371 | |
| 372 | .form-table .asenha-subfields tr.asenha-text.with-prefix-suffix { |
| 373 | display: flex; |
| 374 | justify-content: flex-start; |
| 375 | } |
| 376 | |
| 377 | .form-table .asenha-toggle .asenha-text.with-prefix-suffix th:not(.datatable-th) { |
| 378 | display: flex; |
| 379 | height: 30px; |
| 380 | line-height: 30px; |
| 381 | width: auto; |
| 382 | padding: 0; |
| 383 | margin-right: 6px; |
| 384 | font-weight: normal; |
| 385 | color: #3c434a; |
| 386 | } |
| 387 | |
| 388 | .form-table .asenha-toggle .asenha-text.with-prefix-suffix.no-margin th:not(.datatable-th) { |
| 389 | margin-right: 0; |
| 390 | } |
| 391 | |
| 392 | .form-table .asenha-toggle .asenha-text.with-prefix-suffix td:not(.datatable-td) { |
| 393 | display: flex; |
| 394 | align-items: center; |
| 395 | } |
| 396 | |
| 397 | .form-table .custom-login-slug td:not(.datatable-td) { |
| 398 | margin-bottom: 0; |
| 399 | } |
| 400 | |
| 401 | /* Text area input subfield */ |
| 402 | |
| 403 | .asenha-subfield-textarea-wrapper { |
| 404 | width: 100%; |
| 405 | display: flex; |
| 406 | flex-direction: column; |
| 407 | } |
| 408 | |
| 409 | .asenha-subfield-textarea { |
| 410 | width: 100%; |
| 411 | } |
| 412 | |
| 413 | .asenha-subfield-textarea-description { |
| 414 | margin-top: 8px; |
| 415 | } |
| 416 | |
| 417 | .asenha-subfield-text.with-prefix.with-suffix { |
| 418 | margin: 0 4px; |
| 419 | } |
| 420 | |
| 421 | .asenha-subfield-text.with-prefix { |
| 422 | margin: 0 0 0 4px; |
| 423 | } |
| 424 | |
| 425 | .asenha-subfield-text.with-suffix { |
| 426 | margin: 0 4px 0 0; |
| 427 | } |
| 428 | |
| 429 | .with-prefix-suffix.narrow .asenha-subfield-text { |
| 430 | width: 40px; |
| 431 | } |
| 432 | |
| 433 | .form-table .asenha-subfields td:not(.datatable-td) label .faded { |
| 434 | color: #bbb; |
| 435 | } |
| 436 | |
| 437 | /* Sortable subfield */ |
| 438 | |
| 439 | .form-table .asenha-toggle .asenha-sortable td:not(.datatable-td) { |
| 440 | flex-wrap: wrap; |
| 441 | flex-direction: column; |
| 442 | } |
| 443 | |
| 444 | .subfield-description { |
| 445 | margin-bottom: 12px; |
| 446 | } |
| 447 | |
| 448 | .custom-menu-order ul.menu { |
| 449 | margin-top: 0; |
| 450 | padding-top: 0; |
| 451 | overflow: auto; |
| 452 | } |
| 453 | |
| 454 | .custom-menu-order .menu-item-bar .menu-item-handle { |
| 455 | padding: 7px 15px; |
| 456 | max-width: 320px; |
| 457 | width: 320px; |
| 458 | min-height: 30px; |
| 459 | } |
| 460 | |
| 461 | .custom-menu-order .menu-item-handle .menu-item-checkbox { |
| 462 | display: inline-block; |
| 463 | } |
| 464 | |
| 465 | .custom-menu-order .menu-item-handle .item-title { |
| 466 | display: flex; |
| 467 | justify-content: space-between; |
| 468 | align-items: center; |
| 469 | margin-right: 0; |
| 470 | line-height: 30px; |
| 471 | } |
| 472 | |
| 473 | .custom-menu-order .menu-item-handle .item-title .menu-item-title a { |
| 474 | color: #666; |
| 475 | text-decoration: none; |
| 476 | margin-left: 6px; |
| 477 | } |
| 478 | |
| 479 | .custom-menu-order .menu-item-handle .item-title .menu-item-title a:hover { |
| 480 | color: inherit; |
| 481 | } |
| 482 | |
| 483 | .menu-item-title input[type="text"] { |
| 484 | border: 1px solid #dcdcde; |
| 485 | margin-left: -9px; |
| 486 | font-size: 13px; |
| 487 | } |
| 488 | |
| 489 | .menu-item-title input[type="text"]:focus { |
| 490 | border: 1px solid #999; |
| 491 | box-shadow: none; |
| 492 | outline: none; |
| 493 | } |
| 494 | |
| 495 | .menu-item-checkbox-label span { |
| 496 | font-weight: normal; |
| 497 | } |
| 498 | |
| 499 | .custom-menu-order .menu-item-title span, |
| 500 | .custom-menu-order .menu-item-settings .submenu-item span { |
| 501 | /* display: none; */ |
| 502 | } |
| 503 | |
| 504 | /* .custom-menu-order .menu-item-title span.awaiting-mod, |
| 505 | .custom-menu-order .menu-item-title span.update-plugins { |
| 506 | display: none; |
| 507 | } */ |
| 508 | |
| 509 | #separator1 .menu-item-title, |
| 510 | #separator2 .menu-item-title, |
| 511 | #separator-last .menu-item-title { |
| 512 | font-weight: normal; |
| 513 | color: #999; |
| 514 | } |
| 515 | |
| 516 | .sortable-placeholder { |
| 517 | width: 350px; |
| 518 | max-width: 350px; |
| 519 | height: 46px; |
| 520 | min-height: 42px; |
| 521 | max-height: 42px; |
| 522 | border: 1px dotted #ccc; |
| 523 | } |
| 524 | |
| 525 | .form-table .asenha-subfields td:not(.datatable-td) label.menu-item-checkbox-label { |
| 526 | top: 0; |
| 527 | } |
| 528 | |
| 529 | /* CodeMirror*/ |
| 530 | |
| 531 | .syntax-highlighted .asenha-subfield-textarea { |
| 532 | background: #fcfcfc; |
| 533 | } |
| 534 | |
| 535 | .syntax-highlighted .CodeMirror { |
| 536 | border: 1px solid #ddd; |
| 537 | background: #fcfcfc; |
| 538 | } |
| 539 | |
| 540 | /* DataTable */ |
| 541 | |
| 542 | .form-table .asenha-toggle .datatable > td { |
| 543 | flex-direction: column; |
| 544 | } |
| 545 | |
| 546 | .form-table td.dataTables_empty { |
| 547 | display: block; |
| 548 | width: 100%; |
| 549 | margin-bottom: 0; |
| 550 | padding: 8px 10px !important; |
| 551 | background-color: #fff; |
| 552 | } |
| 553 | |
| 554 | .datatable .dataTables_wrapper { |
| 555 | background: #f5f5f5; |
| 556 | margin-top: 8px; |
| 557 | padding: 12px 10px; |
| 558 | } |
| 559 | |
| 560 | .datatable .dataTables_wrapper .dataTables_length select, |
| 561 | .datatable .dataTables_wrapper .dataTables_filter input { |
| 562 | background-color: #fff; |
| 563 | } |
| 564 | |
| 565 | .datatable .dataTables_wrapper .dataTables_length select { |
| 566 | min-width: 52px; |
| 567 | } |
| 568 | |
| 569 | .datatable table.dataTable thead th { |
| 570 | font-weight: 500 ; |
| 571 | } |