[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/css/ -> admin-bar.css (source)

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


Generated : Tue Jun 2 08:20:01 2020 Cross-referenced by PHPXref