[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 /*! This file is auto-generated */ 2 html { 3 --wp-admin--admin-bar--height: 32px; 4 scroll-padding-top: var(--wp-admin--admin-bar--height); 5 } 6 7 #wpadminbar * { 8 height: auto; 9 width: auto; 10 margin: 0; 11 padding: 0; 12 position: static; 13 text-shadow: none; 14 text-transform: none; 15 letter-spacing: normal; 16 font-size: 13px; 17 font-weight: 400; 18 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; 19 font-style: normal; 20 line-height: 2.46153846; 21 border-radius: 0; 22 box-sizing: content-box; 23 transition: none; 24 -webkit-font-smoothing: subpixel-antialiased; /* Prevent Safari from switching to standard antialiasing on hover */ 25 -moz-osx-font-smoothing: auto; /* Prevent Firefox from inheriting from themes that use other values */ 26 } 27 28 .rtl #wpadminbar * { 29 font-family: Tahoma, sans-serif; 30 } 31 32 html:lang(he-il) .rtl #wpadminbar * { 33 font-family: Arial, sans-serif; 34 } 35 36 #wpadminbar .ab-empty-item { 37 cursor: default; 38 } 39 40 #wpadminbar .ab-empty-item, 41 #wpadminbar a.ab-item, 42 #wpadminbar > #wp-toolbar span.ab-label, 43 #wpadminbar > #wp-toolbar span.noticon { 44 color: #f0f0f1; 45 } 46 47 #wpadminbar #wp-admin-bar-site-name a.ab-item, 48 #wpadminbar #wp-admin-bar-my-sites a.ab-item { 49 white-space: nowrap; 50 } 51 52 #wpadminbar ul li:before, 53 #wpadminbar ul li:after { 54 content: normal; 55 } 56 57 #wpadminbar a, 58 #wpadminbar a:hover, 59 #wpadminbar a img, 60 #wpadminbar a img:hover { 61 border: none; 62 text-decoration: none; 63 background: none; 64 box-shadow: none; 65 } 66 67 #wpadminbar a:focus, 68 #wpadminbar a:active, 69 #wpadminbar input[type="text"], 70 #wpadminbar input[type="password"], 71 #wpadminbar input[type="number"], 72 #wpadminbar input[type="search"], 73 #wpadminbar input[type="email"], 74 #wpadminbar input[type="url"], 75 #wpadminbar select, 76 #wpadminbar textarea, 77 #wpadminbar div { 78 box-shadow: none; 79 } 80 81 #wpadminbar a:focus { 82 /* Inherits transparent outline only visible in Windows High Contrast mode */ 83 outline-offset: -1px; 84 } 85 86 #wpadminbar { 87 direction: rtl; 88 color: #c3c4c7; 89 font-size: 13px; 90 font-weight: 400; 91 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; 92 line-height: 2.46153846; 93 height: 32px; 94 position: fixed; 95 top: 0; 96 right: 0; 97 width: 100%; 98 min-width: 600px; /* match the min-width of the body in wp-admin/css/common.css */ 99 z-index: 99999; 100 background: #1d2327; 101 /* Only visible in Windows High Contrast mode */ 102 outline: 1px solid transparent; 103 } 104 105 #wpadminbar .ab-sub-wrapper, 106 #wpadminbar ul, 107 #wpadminbar ul li { 108 background: none; 109 clear: none; 110 list-style: none; 111 margin: 0; 112 padding: 0; 113 position: relative; 114 text-indent: 0; 115 z-index: 99999; 116 } 117 118 #wpadminbar ul#wp-admin-bar-root-default>li { 119 margin-left: 0; 120 } 121 122 #wpadminbar .quicklinks ul { 123 text-align: right; 124 } 125 126 #wpadminbar li { 127 float: right; 128 } 129 130 #wpadminbar .ab-empty-item { 131 outline: none; 132 } 133 134 #wpadminbar .quicklinks a, 135 #wpadminbar .quicklinks .ab-empty-item, 136 #wpadminbar .shortlink-input { 137 height: 32px; 138 display: block; 139 padding: 0 10px; 140 margin: 0; 141 } 142 143 #wpadminbar .quicklinks > ul > li > a { 144 padding: 0 7px 0 8px; 145 } 146 147 #wpadminbar .menupop .ab-sub-wrapper, 148 #wpadminbar .shortlink-input { 149 margin: 0; 150 padding: 0; 151 box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2); 152 background: #2c3338; 153 display: none; 154 position: absolute; 155 float: none; 156 } 157 158 #wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper { 159 min-width: 100%; 160 } 161 162 #wpadminbar .ab-top-secondary .menupop .ab-sub-wrapper { 163 left: 0; 164 right: auto; 165 } 166 167 #wpadminbar .ab-submenu { 168 padding: 6px 0; 169 } 170 171 #wpadminbar .selected .shortlink-input { 172 display: block; 173 } 174 175 #wpadminbar .quicklinks .menupop ul li { 176 float: none; 177 } 178 179 #wpadminbar .quicklinks .menupop ul li a strong { 180 font-weight: 600; 181 } 182 183 #wpadminbar .quicklinks .menupop ul li .ab-item, 184 #wpadminbar .quicklinks .menupop ul li a strong, 185 #wpadminbar .quicklinks .menupop.hover ul li .ab-item, 186 #wpadminbar.nojs .quicklinks .menupop:hover ul li .ab-item, 187 #wpadminbar .shortlink-input { 188 line-height: 2; 189 height: 26px; 190 white-space: nowrap; 191 min-width: 140px; 192 } 193 194 #wpadminbar .shortlink-input { 195 width: 200px; 196 } 197 198 #wpadminbar.nojs li:hover > .ab-sub-wrapper, 199 #wpadminbar li.hover > .ab-sub-wrapper { 200 display: block; 201 /* Only visible in Windows High Contrast mode */ 202 outline: 1px solid transparent; 203 } 204 205 #wpadminbar .menupop li:hover > .ab-sub-wrapper, 206 #wpadminbar .menupop li.hover > .ab-sub-wrapper { 207 margin-right: 100%; 208 margin-top: -32px; 209 } 210 211 #wpadminbar .ab-top-secondary .menupop li:hover > .ab-sub-wrapper, 212 #wpadminbar .ab-top-secondary .menupop li.hover > .ab-sub-wrapper { 213 margin-right: 0; 214 right: inherit; 215 left: 100%; 216 } 217 218 #wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus, 219 #wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, 220 #wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item, 221 #wpadminbar .ab-top-menu > li.hover > .ab-item { 222 background: #2c3338; 223 color: #72aee6; 224 } 225 226 #wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label, 227 #wpadminbar > #wp-toolbar li.hover span.ab-label, 228 #wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label { 229 color: #72aee6; 230 } 231 232 #wpadminbar > #wp-toolbar > #wp-admin-bar-root-default .ab-icon, 233 #wpadminbar .ab-icon, 234 #wpadminbar .ab-item:before, 235 .wp-admin-bar-arrow { 236 position: relative; 237 float: right; 238 font: normal 20px/1 dashicons; 239 speak: never; 240 padding: 4px 0; 241 -webkit-font-smoothing: antialiased; 242 -moz-osx-font-smoothing: grayscale; 243 background-image: none !important; 244 margin-left: 6px; 245 } 246 247 #wpadminbar .ab-icon:before, 248 #wpadminbar .ab-item:before, 249 #wpadminbar #adminbarsearch:before { 250 color: #a7aaad; 251 color: rgba(240, 246, 252, 0.6); 252 } 253 254 #wpadminbar .ab-icon:before, 255 #wpadminbar .ab-item:before, 256 #wpadminbar #adminbarsearch:before { 257 position: relative; 258 transition: color .1s ease-in-out; 259 } 260 261 #wpadminbar .ab-label { 262 display: inline-block; 263 height: 32px; 264 } 265 266 #wpadminbar .ab-submenu .ab-item { 267 color: #c3c4c7; 268 color: rgba(240, 246, 252, 0.7); 269 } 270 271 #wpadminbar .quicklinks .menupop ul li a, 272 #wpadminbar .quicklinks .menupop ul li a strong, 273 #wpadminbar .quicklinks .menupop.hover ul li a, 274 #wpadminbar.nojs .quicklinks .menupop:hover ul li a { 275 color: #c3c4c7; 276 color: rgba(240, 246, 252, 0.7); 277 } 278 279 #wpadminbar .quicklinks .menupop ul li a:hover, 280 #wpadminbar .quicklinks .menupop ul li a:focus, 281 #wpadminbar .quicklinks .menupop ul li a:hover strong, 282 #wpadminbar .quicklinks .menupop ul li a:focus strong, 283 #wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a, 284 #wpadminbar .quicklinks .menupop.hover ul li a:hover, 285 #wpadminbar .quicklinks .menupop.hover ul li a:focus, 286 #wpadminbar .quicklinks .menupop.hover ul li div[tabindex]:hover, 287 #wpadminbar .quicklinks .menupop.hover ul li div[tabindex]:focus, 288 #wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, 289 #wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus, 290 #wpadminbar li:hover .ab-icon:before, 291 #wpadminbar li:hover .ab-item:before, 292 #wpadminbar li a:focus .ab-icon:before, 293 #wpadminbar li .ab-item:focus:before, 294 #wpadminbar li .ab-item:focus .ab-icon:before, 295 #wpadminbar li.hover .ab-icon:before, 296 #wpadminbar li.hover .ab-item:before, 297 #wpadminbar li:hover #adminbarsearch:before, 298 #wpadminbar li #adminbarsearch.adminbar-focused:before { 299 color: #72aee6; 300 } 301 302 #wpadminbar.mobile .quicklinks .ab-icon:before, 303 #wpadminbar.mobile .quicklinks .ab-item:before { 304 color: #c3c4c7; 305 } 306 307 #wpadminbar.mobile .quicklinks .hover .ab-icon:before, 308 #wpadminbar.mobile .quicklinks .hover .ab-item:before { 309 color: #72aee6; 310 } 311 312 #wpadminbar .menupop .menupop > .ab-item .wp-admin-bar-arrow:before, 313 #wpadminbar .ab-top-secondary .menupop .menupop > .ab-item:before { 314 position: absolute; 315 font: normal 17px/1 dashicons; 316 speak: never; 317 -webkit-font-smoothing: antialiased; 318 -moz-osx-font-smoothing: grayscale; 319 } 320 321 #wpadminbar .menupop .menupop > .ab-item { 322 display: block; 323 padding-left: 2em; 324 } 325 326 #wpadminbar .menupop .menupop > .ab-item .wp-admin-bar-arrow:before { 327 top: 1px; 328 left: 10px; 329 padding: 4px 0; 330 content: "\f141"; 331 color: inherit; 332 } 333 334 #wpadminbar .ab-top-secondary .menupop .menupop > .ab-item { 335 padding-right: 2em; 336 padding-left: 1em; 337 } 338 339 #wpadminbar .ab-top-secondary .menupop .menupop > .ab-item .wp-admin-bar-arrow:before { 340 top: 1px; 341 right: 6px; 342 content: "\f139"; 343 } 344 345 #wpadminbar .quicklinks .menupop ul.ab-sub-secondary { 346 display: block; 347 position: relative; 348 left: auto; 349 margin: 0; 350 box-shadow: none; 351 } 352 353 #wpadminbar .quicklinks .menupop ul.ab-sub-secondary, 354 #wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu { 355 background: #3c434a; 356 } 357 358 #wpadminbar .quicklinks .menupop .ab-sub-secondary > li > a:hover, 359 #wpadminbar .quicklinks .menupop .ab-sub-secondary > li .ab-item:focus a { 360 color: #72aee6; 361 } 362 363 #wpadminbar .quicklinks a span#ab-updates { 364 background: #f0f0f1; 365 color: #2c3338; 366 display: inline; 367 padding: 2px 5px; 368 font-size: 10px; 369 font-weight: 600; 370 border-radius: 10px; 371 } 372 373 #wpadminbar .quicklinks a:hover span#ab-updates { 374 background: #fff; 375 color: #000; 376 } 377 378 #wpadminbar .ab-top-secondary { 379 float: left; 380 } 381 382 #wpadminbar ul li:last-child, 383 #wpadminbar ul li:last-child .ab-item { 384 box-shadow: none; 385 } 386 387 /** 388 * Recovery Mode 389 */ 390 #wpadminbar #wp-admin-bar-recovery-mode { 391 color: #fff; 392 background-color: #d63638; 393 } 394 395 #wpadminbar .ab-top-menu > #wp-admin-bar-recovery-mode.hover >.ab-item, 396 #wpadminbar.nojq .quicklinks .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus, 397 #wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode:hover > .ab-item, 398 #wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus { 399 color: #fff; 400 background-color: #d63638; 401 } 402 403 /** 404 * My Account 405 */ 406 #wp-admin-bar-my-account > ul { 407 min-width: 198px; 408 } 409 410 #wp-admin-bar-my-account:not(.with-avatar) > .ab-item { 411 display: inline-block; 412 } 413 414 #wp-admin-bar-my-account > .ab-item:before { 415 content: "\f110"; 416 top: 2px; 417 float: left; 418 margin-right: 6px; 419 margin-left: 0; 420 } 421 422 #wp-admin-bar-my-account.with-avatar > .ab-item:before { 423 display: none; 424 content: none; 425 } 426 427 #wp-admin-bar-my-account.with-avatar > ul { 428 min-width: 270px; 429 } 430 431 #wpadminbar #wp-admin-bar-user-actions > li { 432 margin-right: 16px; 433 margin-left: 16px; 434 } 435 436 #wpadminbar #wp-admin-bar-user-actions.ab-submenu { 437 padding: 6px 0 12px; 438 } 439 440 #wpadminbar #wp-admin-bar-my-account.with-avatar #wp-admin-bar-user-actions > li { 441 margin-right: 88px; 442 } 443 444 #wpadminbar #wp-admin-bar-user-info { 445 margin-top: 6px; 446 margin-bottom: 15px; 447 height: auto; 448 background: none; 449 } 450 451 #wp-admin-bar-user-info .avatar { 452 position: absolute; 453 right: -72px; 454 top: 4px; 455 width: 64px; 456 height: 64px; 457 } 458 459 #wpadminbar #wp-admin-bar-user-info a { 460 background: none; 461 height: auto; 462 } 463 464 #wpadminbar #wp-admin-bar-user-info span { 465 background: none; 466 padding: 0; 467 height: 18px; 468 } 469 470 #wpadminbar #wp-admin-bar-user-info .display-name, 471 #wpadminbar #wp-admin-bar-user-info .username { 472 display: block; 473 } 474 475 #wpadminbar #wp-admin-bar-user-info .username { 476 color: #a7aaad; 477 font-size: 11px; 478 } 479 480 #wpadminbar #wp-admin-bar-my-account.with-avatar > .ab-empty-item img, 481 #wpadminbar #wp-admin-bar-my-account.with-avatar > a img { 482 width: auto; 483 height: 16px; 484 padding: 0; 485 border: 1px solid #8c8f94; 486 background: #f0f0f1; 487 line-height: 1.84615384; 488 vertical-align: middle; 489 margin: -4px 6px 0 0; 490 float: none; 491 display: inline; 492 } 493 494 /** 495 * WP Logo 496 */ 497 #wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon { 498 width: 15px; 499 height: 20px; 500 margin-left: 0; 501 padding: 6px 0 5px; 502 } 503 504 #wpadminbar #wp-admin-bar-wp-logo > .ab-item { 505 padding: 0 7px; 506 } 507 508 #wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon:before { 509 content: "\f120"; 510 top: 2px; 511 } 512 513 /* 514 * My Sites & Site Title 515 */ 516 #wpadminbar .quicklinks li .blavatar { 517 display: inline-block; 518 vertical-align: middle; 519 font: normal 16px/1 dashicons !important; 520 speak: never; 521 -webkit-font-smoothing: antialiased; 522 -moz-osx-font-smoothing: grayscale; 523 color: #f0f0f1; 524 } 525 526 #wpadminbar .quicklinks li a:hover .blavatar, 527 #wpadminbar .quicklinks li a:focus .blavatar, 528 #wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar { 529 color: #72aee6; 530 } 531 532 #wpadminbar .quicklinks li img.blavatar, 533 #wpadminbar .quicklinks li div.blavatar:before { 534 height: 16px; 535 width: 16px; 536 margin: 0 -2px 2px 8px; 537 } 538 539 #wpadminbar .quicklinks li div.blavatar:before { 540 content: "\f120"; 541 display: inline-block; 542 } 543 544 #wpadminbar #wp-admin-bar-appearance { 545 margin-top: -12px; 546 } 547 548 #wpadminbar #wp-admin-bar-my-sites > .ab-item:before, 549 #wpadminbar #wp-admin-bar-site-name > .ab-item:before { 550 content: "\f541"; 551 top: 2px; 552 } 553 554 #wpadminbar #wp-admin-bar-site-editor > .ab-item:before { 555 content: "\f100"; 556 top: 2px; 557 } 558 559 #wpadminbar #wp-admin-bar-customize > .ab-item:before { 560 content: "\f540"; 561 top: 2px; 562 } 563 564 #wpadminbar #wp-admin-bar-edit > .ab-item:before { 565 content: "\f464"; 566 top: 2px; 567 } 568 569 #wpadminbar #wp-admin-bar-site-name > .ab-item:before { 570 content: "\f226"; 571 } 572 573 .wp-admin #wpadminbar #wp-admin-bar-site-name > .ab-item:before { 574 content: "\f102"; 575 } 576 577 578 579 /** 580 * Comments 581 */ 582 #wpadminbar #wp-admin-bar-comments .ab-icon { 583 margin-left: 6px; 584 } 585 586 #wpadminbar #wp-admin-bar-comments .ab-icon:before { 587 content: "\f101"; 588 top: 3px; 589 } 590 591 #wpadminbar #wp-admin-bar-comments .count-0 { 592 opacity: .5; 593 } 594 595 /** 596 * New Content 597 */ 598 #wpadminbar #wp-admin-bar-new-content .ab-icon:before { 599 content: "\f132"; 600 top: 4px; 601 } 602 603 /** 604 * Updates 605 */ 606 #wpadminbar #wp-admin-bar-updates .ab-icon:before { 607 content: "\f463"; 608 top: 2px; 609 } 610 611 #wpadminbar #wp-admin-bar-updates.spin .ab-icon:before { 612 display: inline-block; 613 animation: rotation 2s infinite linear; 614 } 615 616 @media (prefers-reduced-motion: reduce) { 617 #wpadminbar #wp-admin-bar-updates.spin .ab-icon:before { 618 animation: none; 619 } 620 } 621 622 /** 623 * Search 624 */ 625 626 #wpadminbar #wp-admin-bar-search .ab-item { 627 padding: 0; 628 background: transparent; 629 } 630 631 #wpadminbar #adminbarsearch { 632 position: relative; 633 height: 32px; 634 padding: 0 2px; 635 z-index: 1; 636 } 637 638 #wpadminbar #adminbarsearch:before { 639 position: absolute; 640 top: 6px; 641 right: 5px; 642 z-index: 20; 643 font: normal 20px/1 dashicons !important; 644 content: "\f179"; 645 speak: never; 646 -webkit-font-smoothing: antialiased; 647 -moz-osx-font-smoothing: grayscale; 648 } 649 650 /* The admin bar search field needs to reset many styles that might be inherited from the active Theme CSS. See ticket #40313. */ 651 #wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input { 652 display: inline-block; 653 float: none; 654 position: relative; 655 z-index: 30; 656 font-size: 13px; 657 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; 658 line-height: 1.84615384; 659 text-indent: 0; 660 height: 24px; 661 width: 24px; 662 max-width: none; 663 padding: 0 24px 0 3px; 664 margin: 0; 665 color: #c3c4c7; 666 background-color: rgba(255, 255, 255, 0); 667 border: none; 668 outline: none; 669 cursor: pointer; 670 box-shadow: none; 671 box-sizing: border-box; 672 transition-duration: 400ms; 673 transition-property: width, background; 674 transition-timing-function: ease; 675 } 676 677 #wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus { 678 z-index: 10; 679 color: #000; 680 width: 200px; 681 background-color: rgba(255, 255, 255, 0.9); 682 cursor: text; 683 border: 0; 684 } 685 686 #wpadminbar #adminbarsearch .adminbar-button { 687 display: none; 688 } 689 690 /** 691 * Customize support classes 692 */ 693 .no-customize-support .hide-if-no-customize, 694 .customize-support .hide-if-customize, 695 .no-customize-support #wpadminbar .hide-if-no-customize, 696 .no-customize-support.wp-core-ui .hide-if-no-customize, 697 .no-customize-support .wp-core-ui .hide-if-no-customize, 698 .customize-support #wpadminbar .hide-if-customize, 699 .customize-support.wp-core-ui .hide-if-customize, 700 .customize-support .wp-core-ui .hide-if-customize { 701 display: none; 702 } 703 704 /* Skip link */ 705 #wpadminbar .screen-reader-text, 706 #wpadminbar .screen-reader-text span { 707 border: 0; 708 clip: rect(1px, 1px, 1px, 1px); 709 clip-path: inset(50%); 710 height: 1px; 711 margin: -1px; 712 overflow: hidden; 713 padding: 0; 714 position: absolute; 715 width: 1px; 716 word-wrap: normal !important; 717 } 718 719 #wpadminbar .screen-reader-shortcut { 720 position: absolute; 721 top: -1000em; 722 right: 6px; 723 height: auto; 724 width: auto; 725 display: block; 726 font-size: 14px; 727 font-weight: 600; 728 padding: 15px 23px 14px; 729 background: #f0f0f1; 730 color: #2271b1; 731 z-index: 100000; 732 line-height: normal; 733 text-decoration: none; 734 } 735 736 #wpadminbar .screen-reader-shortcut:focus { 737 top: 7px; 738 background: #f0f0f1; 739 box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); 740 } 741 742 @media screen and (max-width: 782px) { 743 html { 744 --wp-admin--admin-bar--height: 46px; 745 } 746 747 /* Toolbar Touchification*/ 748 html #wpadminbar { 749 height: 46px; 750 min-width: 240px; /* match the min-width of the body in wp-admin/css/common.css */ 751 } 752 753 #wpadminbar * { 754 font-size: 14px; 755 font-weight: 400; 756 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; 757 line-height: 2.28571428; 758 } 759 760 #wpadminbar .quicklinks > ul > li > a, 761 #wpadminbar .quicklinks .ab-empty-item { 762 padding: 0; 763 height: 46px; 764 line-height: 3.28571428; 765 width: auto; 766 } 767 768 #wpadminbar .ab-icon { 769 font: 40px/1 dashicons !important; 770 margin: 0; 771 padding: 0; 772 width: 52px; 773 height: 46px; 774 text-align: center; 775 } 776 777 #wpadminbar .ab-icon:before { 778 text-align: center; 779 } 780 781 #wpadminbar .ab-submenu { 782 padding: 0; 783 } 784 785 #wpadminbar #wp-admin-bar-site-name a.ab-item, 786 #wpadminbar #wp-admin-bar-my-sites a.ab-item, 787 #wpadminbar #wp-admin-bar-my-account a.ab-item { 788 text-overflow: clip; 789 } 790 791 #wpadminbar .quicklinks .menupop ul li .ab-item, 792 #wpadminbar .quicklinks .menupop ul li a strong, 793 #wpadminbar .quicklinks .menupop.hover ul li .ab-item, 794 #wpadminbar.nojs .quicklinks .menupop:hover ul li .ab-item, 795 #wpadminbar .shortlink-input { 796 line-height: 1.6; 797 } 798 799 #wpadminbar .ab-label { 800 border: 0; 801 clip: rect(1px, 1px, 1px, 1px); 802 clip-path: inset(50%); 803 height: 1px; 804 margin: -1px; 805 overflow: hidden; 806 padding: 0; 807 position: absolute; 808 width: 1px; 809 word-wrap: normal !important; 810 } 811 812 #wpadminbar .menupop li:hover > .ab-sub-wrapper, 813 #wpadminbar .menupop li.hover > .ab-sub-wrapper { 814 margin-top: -46px; 815 } 816 817 #wpadminbar .ab-top-menu .menupop .ab-sub-wrapper .menupop > .ab-item { 818 padding-left: 30px; 819 } 820 821 #wpadminbar .menupop .menupop > .ab-item:before { 822 top: 10px; 823 left: 6px; 824 } 825 826 #wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper .ab-item { 827 font-size: 16px; 828 padding: 8px 16px; 829 } 830 831 #wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper a:empty { 832 display: none; 833 } 834 835 /* WP logo */ 836 #wpadminbar #wp-admin-bar-wp-logo > .ab-item { 837 padding: 0; 838 } 839 840 #wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon { 841 padding: 0; 842 width: 52px; 843 height: 46px; 844 text-align: center; 845 vertical-align: top; 846 } 847 848 #wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon:before { 849 font: 28px/1 dashicons !important; 850 top: -3px; 851 } 852 853 #wpadminbar .ab-icon, 854 #wpadminbar .ab-item:before { 855 padding: 0; 856 } 857 858 /* My Sites and "Site Title" menu */ 859 #wpadminbar #wp-admin-bar-my-sites > .ab-item, 860 #wpadminbar #wp-admin-bar-site-name > .ab-item, 861 #wpadminbar #wp-admin-bar-site-editor > .ab-item, 862 #wpadminbar #wp-admin-bar-customize > .ab-item, 863 #wpadminbar #wp-admin-bar-edit > .ab-item, 864 #wpadminbar #wp-admin-bar-my-account > .ab-item { 865 text-indent: 100%; 866 white-space: nowrap; 867 overflow: hidden; 868 width: 52px; 869 padding: 0; 870 color: #a7aaad; /* @todo not needed? this text is hidden */ 871 position: relative; 872 } 873 874 #wpadminbar > #wp-toolbar > #wp-admin-bar-root-default .ab-icon, 875 #wpadminbar .ab-icon, 876 #wpadminbar .ab-item:before { 877 padding: 0; 878 margin-left: 0; 879 } 880 881 #wpadminbar #wp-admin-bar-edit > .ab-item:before, 882 #wpadminbar #wp-admin-bar-my-sites > .ab-item:before, 883 #wpadminbar #wp-admin-bar-site-name > .ab-item:before, 884 #wpadminbar #wp-admin-bar-site-editor > .ab-item:before, 885 #wpadminbar #wp-admin-bar-customize > .ab-item:before, 886 #wpadminbar #wp-admin-bar-my-account > .ab-item:before { 887 display: block; 888 text-indent: 0; 889 font: normal 32px/1 dashicons; 890 speak: never; 891 top: 7px; 892 width: 52px; 893 text-align: center; 894 -webkit-font-smoothing: antialiased; 895 -moz-osx-font-smoothing: grayscale; 896 } 897 898 #wpadminbar #wp-admin-bar-appearance { 899 margin-top: 0; 900 } 901 902 #wpadminbar .quicklinks li .blavatar:before { 903 display: none; 904 } 905 906 /* Search */ 907 #wpadminbar #wp-admin-bar-search { 908 display: none; 909 } 910 911 /* New Content */ 912 #wpadminbar #wp-admin-bar-new-content .ab-icon:before { 913 top: 0; 914 line-height: 1.26; 915 height: 46px !important; 916 text-align: center; 917 width: 52px; 918 display: block; 919 } 920 921 /* Updates */ 922 #wpadminbar #wp-admin-bar-updates { 923 text-align: center; 924 } 925 926 #wpadminbar #wp-admin-bar-updates .ab-icon:before { 927 top: 3px; 928 } 929 930 /* Comments */ 931 #wpadminbar #wp-admin-bar-comments .ab-icon { 932 margin: 0; 933 } 934 935 #wpadminbar #wp-admin-bar-comments .ab-icon:before { 936 display: block; 937 font-size: 34px; 938 height: 46px; 939 line-height: 1.38235294; 940 top: 0; 941 } 942 943 /* My Account */ 944 #wpadminbar #wp-admin-bar-my-account > a { 945 position: relative; 946 white-space: nowrap; 947 text-indent: 150%; /* More than 100% indention is needed since this element has padding */ 948 width: 28px; 949 padding: 0 10px; 950 overflow: hidden; /* Prevent link text from forcing horizontal scrolling on mobile */ 951 } 952 953 #wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img { 954 position: absolute; 955 top: 13px; 956 left: 10px; 957 width: 26px; 958 height: 26px; 959 } 960 961 #wpadminbar #wp-admin-bar-user-actions.ab-submenu { 962 padding: 0; 963 } 964 965 #wpadminbar #wp-admin-bar-user-actions.ab-submenu img.avatar { 966 display: none; 967 } 968 969 #wpadminbar #wp-admin-bar-my-account.with-avatar #wp-admin-bar-user-actions > li { 970 margin: 0; 971 } 972 973 #wpadminbar #wp-admin-bar-user-info .display-name { 974 height: auto; 975 font-size: 16px; 976 line-height: 1.5; 977 color: #f0f0f1; 978 } 979 980 #wpadminbar #wp-admin-bar-user-info a { 981 padding-top: 4px; 982 } 983 984 #wpadminbar #wp-admin-bar-user-info .username { 985 line-height: 0.8 !important; 986 margin-bottom: -2px; 987 } 988 989 /* Show only default top level items */ 990 #wp-toolbar > ul > li { 991 display: none; 992 } 993 994 #wpadminbar li#wp-admin-bar-menu-toggle, 995 #wpadminbar li#wp-admin-bar-wp-logo, 996 #wpadminbar li#wp-admin-bar-my-sites, 997 #wpadminbar li#wp-admin-bar-updates, 998 #wpadminbar li#wp-admin-bar-site-name, 999 #wpadminbar li#wp-admin-bar-site-editor, 1000 #wpadminbar li#wp-admin-bar-customize, 1001 #wpadminbar li#wp-admin-bar-new-content, 1002 #wpadminbar li#wp-admin-bar-edit, 1003 #wpadminbar li#wp-admin-bar-comments, 1004 #wpadminbar li#wp-admin-bar-my-account { 1005 display: block; 1006 } 1007 1008 /* Allow dropdown list items to appear normally */ 1009 #wpadminbar li:hover ul li, 1010 #wpadminbar li.hover ul li, 1011 #wpadminbar li:hover ul li:hover ul li { 1012 display: list-item; 1013 } 1014 1015 /* Override default min-width so dropdown lists aren't stretched 1016 to 100% viewport width at responsive sizes. */ 1017 #wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper { 1018 min-width: fit-content; 1019 } 1020 1021 #wpadminbar ul#wp-admin-bar-root-default > li { 1022 margin-left: 0; 1023 } 1024 1025 /* Experimental fix for touch toolbar dropdown positioning */ 1026 #wpadminbar .ab-top-menu, 1027 #wpadminbar .ab-top-secondary, 1028 #wpadminbar #wp-admin-bar-wp-logo, 1029 #wpadminbar #wp-admin-bar-my-sites, 1030 #wpadminbar #wp-admin-bar-site-name, 1031 #wpadminbar #wp-admin-bar-updates, 1032 #wpadminbar #wp-admin-bar-comments, 1033 #wpadminbar #wp-admin-bar-new-content, 1034 #wpadminbar #wp-admin-bar-edit, 1035 #wpadminbar #wp-admin-bar-my-account { 1036 position: static; 1037 } 1038 1039 .network-admin #wpadminbar ul#wp-admin-bar-top-secondary > li#wp-admin-bar-my-account { 1040 margin-left: 0; 1041 } 1042 1043 /* Realign arrows on taller responsive submenus */ 1044 1045 #wpadminbar .ab-top-secondary .menupop .menupop > .ab-item:before { 1046 top: 10px; 1047 right: 0; 1048 } 1049 } 1050 1051 /* Smartphone */ 1052 @media screen and (max-width: 600px) { 1053 #wpadminbar { 1054 position: absolute; 1055 } 1056 1057 #wp-responsive-overlay { 1058 position: fixed; 1059 top: 0; 1060 right: 0; 1061 width: 100%; 1062 height: 100%; 1063 z-index: 400; 1064 } 1065 1066 #wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper { 1067 width: 100%; 1068 right: 0; 1069 } 1070 1071 #wpadminbar .menupop .menupop > .ab-item:before { 1072 display: none; 1073 } 1074 1075 #wpadminbar #wp-admin-bar-wp-logo.menupop .ab-sub-wrapper { 1076 margin-right: 0; 1077 } 1078 1079 #wpadminbar .ab-top-menu > .menupop li > .ab-sub-wrapper { 1080 margin: 0; 1081 width: 100%; 1082 top: auto; 1083 right: auto; 1084 position: relative; 1085 } 1086 1087 #wpadminbar .ab-top-menu > .menupop li > .ab-sub-wrapper .ab-item { 1088 font-size: 16px; 1089 padding: 6px 30px 19px 15px; 1090 } 1091 1092 #wpadminbar li:hover ul li ul li { 1093 display: list-item; 1094 } 1095 1096 #wpadminbar li#wp-admin-bar-wp-logo, 1097 #wpadminbar li#wp-admin-bar-updates { 1098 display: none; 1099 } 1100 1101 /* Make submenus full-width at this size */ 1102 1103 #wpadminbar .ab-top-menu > .menupop li > .ab-sub-wrapper { 1104 position: static; 1105 box-shadow: none; 1106 } 1107 } 1108 1109 /* Very narrow screens */ 1110 @media screen and (max-width: 400px) { 1111 #wpadminbar li#wp-admin-bar-comments { 1112 display: none; 1113 } 1114 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated : Sun Dec 22 08:20:01 2024 | Cross-referenced by PHPXref |