WordPress.org

Make WordPress Core

Changeset 46561


Ignore:
Timestamp:
10/17/2019 06:36:27 PM (4 weeks ago)
Author:
johnbillion
Message:

Administration: Revert changes to the admin menu styles for long line lengths.

This reverts [46555], [46453], and [46332].

See #42201

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/admin-menu.css

    r46555 r46561  
    168168    color: #b4b9be;
    169169    color: rgba(240, 245, 250, 0.7);
    170     display: flex;
    171170    font-size: 13px;
    172171    line-height: 1.4;
    173172    margin: 0;
    174173    padding: 5px 0;
    175     word-break: break-word;
    176174}
    177175
     
    340338
    341339#adminmenu div.wp-menu-name {
    342     display: flex;
    343340    padding: 8px 0;
    344     word-break: break-word;
    345341}
    346342
     
    513509
    514510/* @todo: consider to use a single rule for these counters and the list table comments counters. */
    515 #adminmenu .wp-submenu a > span,
    516 #adminmenu .wp-menu-name > span {
    517     margin: 0px 1px -1px 5px;
    518 }
    519 
    520 #adminmenu .wp-submenu a > span > span,
    521 #adminmenu .wp-menu-name > span > span,
    522 #adminmenu .wp-submenu-head > span > span{
     511#adminmenu .awaiting-mod,
     512#adminmenu .update-plugins {
    523513    display: inline-block;
    524     min-width: 8px;
     514    vertical-align: top;
     515    box-sizing: border-box;
     516    margin: 1px 0 -1px 2px;
    525517    padding: 0 5px;
     518    min-width: 18px;
    526519    height: 18px;
    527520    border-radius: 9px;
     
    531524    line-height: 1.6;
    532525    text-align: center;
    533     word-break: normal;
    534526    z-index: 26;
    535 
     527}
     528
     529#adminmenu li.current a .awaiting-mod,
     530#adminmenu li a.wp-has-current-submenu .update-plugins {
     531    background-color: #ca4a1f;
     532    color: #fff;
    536533}
    537534
     
    696693
    697694    .auto-fold #adminmenu a.menu-top {
    698         height: auto;
     695        height: 34px;
    699696    }
    700697
Note: See TracChangeset for help on using the changeset viewer.