WordPress.org

Make WordPress Core

Changeset 22391


Ignore:
Timestamp:
11/06/12 00:05:47 (18 months ago)
Author:
nacin
Message:

For postboxes, only show arrows/handles on hover when JS is enabled. props TobiasBg. fixes #21611.

Location:
trunk/wp-admin/css
Files:
3 edited

Legend:

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

    r22389 r22391  
    650650} 
    651651 
    652 .sidebar-name:hover h3, 
    653 .postbox h3:hover { 
     652.js .sidebar-name:hover h3, 
     653.js .postbox h3:hover { 
    654654    color: #000; 
    655655} 
     
    14861486} 
    14871487 
    1488 .meta-box-sortables .postbox:hover .handlediv { 
     1488.js .meta-box-sortables .postbox:hover .handlediv { 
    14891489    background: transparent url(../images/arrows-vs.png) no-repeat 6px 7px; 
    14901490} 
     
    16211621} 
    16221622 
    1623 .sidebar-name:hover, 
    1624 #removing-widget { 
     1623.js .sidebar-name:hover, 
     1624.js #removing-widget { 
    16251625    color: #d54e21; 
    16261626} 
     
    16301630} 
    16311631 
    1632 .sidebar-name-arrow { 
     1632.js .sidebar-name-arrow { 
    16331633    background: transparent url(../images/arrows-vs.png) no-repeat 5px 9px; 
    16341634} 
    16351635 
    1636 .sidebar-name:hover .sidebar-name-arrow { 
     1636.js .sidebar-name:hover .sidebar-name-arrow { 
    16371637    background: transparent url(../images/arrows-dark-vs.png) no-repeat 5px 9px; 
    16381638} 
     
    19791979 
    19801980/* edit image */ 
    1981 .rtl .meta-box-sortables .postbox:hover .handlediv { 
     1981.js.rtl .meta-box-sortables .postbox:hover .handlediv { 
    19821982    background: transparent url(../images/arrows-vs.png) no-repeat 6px 7px; 
    19831983} 
     
    19881988} 
    19891989 
    1990 .rtl .sidebar-name-arrow { 
     1990.js.rtl .sidebar-name-arrow { 
    19911991    background: transparent url(../images/arrows-vs.png) no-repeat 5px 9px; 
    19921992} 
    19931993 
    1994 .rtl .sidebar-name:hover .sidebar-name-arrow { 
     1994.js.rtl .sidebar-name:hover .sidebar-name-arrow { 
    19951995    background: transparent url(../images/arrows-dark-vs.png) no-repeat 5px 9px; 
    19961996} 
     
    20332033    #adminmenu li.wp-has-current-submenu.wp-menu-open .wp-menu-toggle, 
    20342034    #adminmenu li.wp-has-current-submenu:hover .wp-menu-toggle, 
    2035     .nav-menus-php .item-edit:hover,     
     2035    .nav-menus-php .item-edit:hover, 
    20362036    .sidebar-name:hover .sidebar-name-arrow, 
    20372037    .rtl #adminmenu li.wp-has-current-submenu.wp-menu-open .wp-menu-toggle, 
  • trunk/wp-admin/css/colors-fresh.css

    r22389 r22391  
    656656} 
    657657 
    658 .sidebar-name:hover h3, 
    659 .postbox h3:hover { 
     658.js .sidebar-name:hover h3, 
     659.js .postbox h3:hover { 
    660660    color: #000; 
    661661} 
     
    13831383} 
    13841384 
    1385 .meta-box-sortables .postbox:hover .handlediv { 
     1385.js .meta-box-sortables .postbox:hover .handlediv { 
    13861386    background: transparent url(../images/arrows.png) no-repeat 6px 7px; 
    13871387} 
     
    15181518} 
    15191519 
    1520 .sidebar-name:hover, 
    1521 #removing-widget { 
     1520.js .sidebar-name:hover, 
     1521.js #removing-widget { 
    15221522    color: #d54e21; 
    15231523} 
     
    15271527} 
    15281528 
    1529 .sidebar-name-arrow { 
     1529.js .sidebar-name-arrow { 
    15301530    background: transparent url(../images/arrows.png) no-repeat 5px 9px; 
    15311531} 
    15321532 
    1533 .sidebar-name:hover .sidebar-name-arrow { 
     1533.js .sidebar-name:hover .sidebar-name-arrow { 
    15341534    background: transparent url(../images/arrows-dark.png) no-repeat 5px 9px; 
    15351535} 
     
    18581858 
    18591859/* Edit Image */ 
    1860 .rtl .meta-box-sortables .postbox:hover .handlediv { 
     1860.js.rtl .meta-box-sortables .postbox:hover .handlediv { 
    18611861    background: transparent url(../images/arrows.png) no-repeat 6px 7px; 
    18621862} 
     
    18671867} 
    18681868 
    1869 .rtl .sidebar-name-arrow { 
     1869.js.rtl .sidebar-name-arrow { 
    18701870    background: transparent url(../images/arrows.png) no-repeat 5px 9px; 
    18711871} 
    18721872 
    1873 .rtl .sidebar-name:hover .sidebar-name-arrow { 
     1873.js.rtl .sidebar-name:hover .sidebar-name-arrow { 
    18741874    background: transparent url(../images/arrows-dark.png) no-repeat 5px 9px; 
    18751875} 
  • trunk/wp-admin/css/wp-admin.css

    r22389 r22391  
    20782078 
    20792079.postbox .hndle { 
    2080     cursor: move; 
    20812080    -webkit-border-top-left-radius: 3px; 
    20822081    -webkit-border-top-right-radius: 3px; 
     
    20852084} 
    20862085 
     2086.js .postbox .hndle { 
     2087    cursor: move; 
     2088} 
     2089 
    20872090.postbox.closed .hndle { 
    20882091    -webkit-border-radius: 3px; 
     
    20992102    width: 27px; 
    21002103    height: 30px; 
     2104} 
     2105 
     2106.js .postbox .handlediv { 
    21012107    cursor: pointer; 
    21022108} 
     
    21242130    border-bottom-width: 1px; 
    21252131    border-bottom-style: solid; 
    2126     cursor: move; 
    21272132    -webkit-user-select: none; 
    21282133    -moz-user-select: none; 
     
    21302135} 
    21312136 
    2132 .stuffbox h3 { 
    2133     cursor: auto; 
     2137.js .widget .widget-top, 
     2138.js .postbox h3 { 
     2139    cursor: move; 
    21342140} 
    21352141 
     
    76757681} 
    76767682 
    7677 .postbox:hover .handlediv, 
    7678 .stuffbox:hover .handlediv { 
     7683.js .postbox:hover .handlediv, 
     7684.js .stuffbox:hover .handlediv { 
    76797685    background: transparent url(../images/arrows.png) no-repeat 6px 7px; 
    76807686} 
     
    80218027 
    80228028div.sidebar-name { 
    8023     cursor: pointer; 
    80248029    font-size: 13px; 
    80258030    border-width: 1px; 
     
    80298034    border-top-right-radius: 3px; 
    80308035    border-top-left-radius: 3px; 
     8036} 
     8037 
     8038.js .sidebar-name { 
     8039    cursor: pointer; 
    80318040} 
    80328041 
Note: See TracChangeset for help on using the changeset viewer.