WordPress.org

Make WordPress Core

Changeset 41362


Ignore:
Timestamp:
09/10/2017 01:39:13 PM (10 months ago)
Author:
afercia
Message:

Administration: Admin menu: Improve vertical spacing and alignment of menu items with counters.

Props pauldechov, JDTrower.

Fixes #41317.

Location:
trunk/src/wp-admin/css
Files:
2 edited

Legend:

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

    r41062 r41362  
    281281#adminmenu .wp-submenu a {
    282282    font-size: 13px;
    283     line-height: 1.2;
     283    line-height: 18px;
    284284    margin: 0;
    285     padding: 6px 0;
     285    padding: 5px 0;
    286286}
    287287
     
    304304#adminmenu .wp-has-current-submenu ul > li > a,
    305305.folded #adminmenu li.menu-top .wp-submenu > li > a {
    306     padding: 6px 12px;
     306    padding: 5px 12px;
    307307}
    308308
     
    511511}
    512512
     513/* @todo: consider to use a single rule for these counters and the list table comments counters. */
    513514#adminmenu .awaiting-mod,
    514515#adminmenu .update-plugins {
    515516    display: inline-block;
    516     background-color: #d54e21;
     517    vertical-align: top;
     518    margin: 1px 0 0 2px;
     519    padding: 0 5px;
     520    min-width: 7px;
     521    height: 17px;
     522    border-radius: 11px;
     523    background-color: #ca4a1f;
    517524    color: #fff;
    518525    font-size: 9px;
    519526    line-height: 17px;
    520     font-weight: 600;
    521     margin: 1px 0 0 2px;
    522     vertical-align: top;
    523     border-radius: 10px;
     527    text-align: center;
    524528    z-index: 26;
    525529}
    526530
    527 #adminmenu li .awaiting-mod span,
    528 #adminmenu li span.update-plugins span {
    529     display: block;
    530     padding: 0 6px;
    531 }
    532 
    533531#adminmenu li.current a .awaiting-mod,
    534 #adminmenu  li a.wp-has-current-submenu .update-plugins {
     532#adminmenu li a.wp-has-current-submenu .update-plugins {
    535533    background-color: #00b9eb;
    536534    color: #fff;
  • trunk/src/wp-admin/css/list-tables.css

    r41062 r41362  
    9797}
    9898
    99 /* comments bubble pending */
     99/* @todo: consider to use a single rule for these counters and the admin menu counters. */
    100100.column-response .post-com-count-pending,
    101101.column-comments .post-com-count-pending {
Note: See TracChangeset for help on using the changeset viewer.