Make WordPress Core

Ticket #33808: 33808.patch

File 33808.patch, 2.0 KB (added by grvrulz, 9 years ago)

Adds circular focus style to arrows on dashboard widgets, post edit metaboxes, nav-menus, and widgets.

  • wp-admin/css/common.css

     
    18471847.postbox .handlediv {
    18481848        display: none;
    18491849        float: right;
    1850         width: 36px;
    1851         height: 36px;
     1850        width: 22px;
     1851        height: 22px;
    18521852        padding: 0;
     1853        margin-right: 10px;
     1854        margin-top: 6px;
     1855        border-radius: 50%;
    18531856}
    18541857
    18551858.js .postbox .handlediv {
     
    27852788        color: #464646;
    27862789}
    27872790
    2788 /* @todo: these seem misplaced */
    2789 .js .meta-box-sortables .postbox:hover .handlediv {
    2790         margin-right: 0 !important;
    2791 }
    27922791
    27932792/* Metabox collapse arrow indicators */
    27942793.js .sidebar-name .sidebar-name-arrow:before,
     
    27982797        display: inline-block;
    27992798        font: normal 20px/1 dashicons;
    28002799        speak: none;
    2801         padding: 8px;
     2800        padding: 1px 3px 4px 1px;
    28022801        -webkit-font-smoothing: antialiased;
    28032802        -moz-osx-font-smoothing: grayscale;
    28042803        text-decoration: none !important;
     
    29592958}
    29602959
    29612960.widget-top a.widget-action:after {
    2962         padding: 12px 12px 11px;
     2961        padding: 1px 2px 1px 0px;
     2962        border-radius: 50%;
     2963        margin-top: 10px;
     2964        margin-right: 10px;
    29632965}
    29642966
    29652967.widget-top a.widget-action:focus:after {
     
    29682970}
    29692971
    29702972.nav-menus-php .item-edit:before {
    2971         line-height: 2.1;
     2973        padding: 1px 2px 1px 0;
    29722974}
    29732975
    29742976.control-section .accordion-section-title:after,
  • wp-admin/css/nav-menus.css

     
    579579/* Menu item controls */
    580580.item-type {
    581581        display: inline-block;
    582         padding: 12px 10px;
     582        padding: 12px 16px;
    583583        color: #666;
    584584        font-size: 12px;
    585585        line-height: 18px;
     
    606606
    607607.nav-menus-php .item-edit {
    608608        position: absolute;
    609         right: -20px;
    610         top: 0;
     609        right: -14px;
     610        top: 10px;
    611611        display: block;
    612         width: 30px;
    613         height: 40px;
     612        width: 22px;
     613        height: 22px;
    614614        margin-right: 0 !important;
    615615        text-indent: 100%;
    616616        outline: none;
    617617        overflow: hidden;
    618618        white-space: nowrap;
     619        border-radius: 50%;
    619620}
    620621
    621622/* Menu editing */