WordPress.org

Make WordPress Core

Changeset 26256


Ignore:
Timestamp:
11/18/2013 10:09:51 PM (8 years ago)
Author:
iammattthomas
Message:

Make the item-controls elements on the Edit Menus page line up; use :before instead of :after for item-edit icons for better cross-browser performance; switch to :after instead of ::after for pseudo-elements so IE8 displays these icons properly. Fixes #26059, props jeremyfelt.

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

Legend:

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

    r26243 r26256  
    17301730}
    17311731
    1732 .nav-menus-php .item-edit:after,
     1732.nav-menus-php .item-edit:before,
    17331733#wp_inactive_widgets .widget .widget-top a.widget-action:after {
    17341734    color: #888;
  • trunk/src/wp-admin/css/wp-admin.css

    r26248 r26256  
    90829082    height: auto;
    90839083    width: 400px;
    9084     line-height: 35px;
     9084    line-height: 30px;
    90859085    overflow: hidden;
    90869086    word-wrap: break-word;
     
    91849184    font-size: 12px;
    91859185    padding: 7px 10px;
    9186     line-height: 22px;
     9186    line-height: 18px;
    91879187    display: block;
    91889188}
     
    92109210    position: absolute;
    92119211    right: -20px;
    9212     top: -24px;
     9212    top: 0;
    92139213    display: block;
    9214     width: 40px;
     9214    width: 30px;
    92159215    height: 36px;
    9216     text-indent:-999em;
    92179216    margin-right: 0 !important;
     9217    text-indent: 100%;
     9218    overflow: hidden;
     9219    white-space: nowrap;
    92189220}
    92199221
     
    1040710409    display: none;
    1040810410}
    10409 .nav-menus-php .item-edit:after,
     10411.nav-menus-php .item-edit:before,
    1041010412.widget-top a.widget-action:after,
    10411 .control-section .accordion-section-title::after,
    10412 .accordion-section-title::after {
     10413.control-section .accordion-section-title:after,
     10414.accordion-section-title:after {
    1041310415    right: 0;
    1041410416    content: '\f141';
     
    1042610428    text-decoration: none !important;
    1042710429}
    10428 .control-section .accordion-section-title::after,
    10429 .accordion-section-title::after {
     10430.nav-menus-php .item-edit:before {
     10431    line-height: 1.5;
     10432}
     10433.control-section .accordion-section-title:after,
     10434.accordion-section-title:after {
    1043010435    float: right;
    1043110436    right: 20px;
    1043210437    top: -2px;
    1043310438}
    10434 .control-section.open .accordion-section-title::after,
    10435 #customize-info.open .accordion-section-title::after,
    10436 .nav-menus-php .menu-item-edit-active .item-edit:after {
     10439.control-section.open .accordion-section-title:after,
     10440#customize-info.open .accordion-section-title:after,
     10441.nav-menus-php .menu-item-edit-active .item-edit:before {
    1043710442    content: '\f140';
    10438 }
    10439 .nav-menus-php .item-controls .item-type {
    10440     padding: 11px;
    10441     margin-right: 10px;
    1044210443}
    1044310444
Note: See TracChangeset for help on using the changeset viewer.