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