Make WordPress Core

Changeset 26439


Ignore:
Timestamp:
11/27/2013 10:16:27 PM (11 years ago)
Author:
azaozz
Message:

Widgets: fix no-js and accessibility modes, props shaunandrews, fixes #26165.

File:
1 edited

Legend:

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

    r26438 r26439  
    1019010190}
    1019110191
    10192 #available-widgets .widget-title-action {
     10192#available-widgets .widget-action {
    1019310193    display: none;
    1019410194}
     
    1023510235    float: right;
    1023610236    position: relative;
    10237     top: 11px;
    10238     right: 10px;
    10239 }
    10240 
    10241 div#widgets-right a.widget-action:after,
    10242 div#widgets-left .inactive-sidebar .widget-action:after {
    10243     content: '\f140';
    1024410237}
    1024510238
     
    1031410307
    1031510308/* Accessibility Mode */
    10316 #available-widgets .widget-control-edit .edit {
    10317     display :none;
    10318 }
    10319 
    10320 #available-widgets .widget-control-edit .add {
     10309.widgets_access #widgets-left .widget .widget-top {
     10310    cursor: auto;
     10311}
     10312
     10313.widgets_access #wpwrap .widgets-holder-wrap.closed .sidebar-description,
     10314.widgets_access #wpwrap .widgets-holder-wrap.closed .widget,
     10315.widgets_access #wpwrap .widget-control-edit {
    1032110316    display: block;
    10322     position: absolute;
    10323     top: 0;
    10324     right: 50px;
    10325     bottom: 0;
    10326     left: 0;
    10327     z-index: 40;
    10328     text-align: center;
    10329     text-indent: -5000px;
    10330 }
    10331 
    10332 #widgets-right .widget-control-edit {
    10333     background: #EEE;
    10334     margin: -14px -10px 0 0;
    10335     padding: 16px 15px;
    10336     border-left: 1px solid #DDD;
    10337 }
    10338 
     10317}
     10318
     10319.widgets_access #widgets-left .widget .widget-top:hover,
     10320.widgets_access #widgets-right .widget .widget-top:hover {
     10321    border-color: #ddd;
     10322}
     10323
     10324#available-widgets .widget-control-edit .edit,
     10325#widgets-left .inactive-sidebar .widget-control-edit .add,
    1033910326#widgets-right .widget-control-edit .add {
    1034010327    display: none;
    1034110328}
    1034210329
     10330.widget-control-edit {
     10331    display: block;
     10332    color: #666;
     10333    background: #EEE;
     10334    padding: 0 15px;
     10335    line-height: 43px;
     10336    border-left: 1px solid #DDD;
     10337}
     10338
     10339#widgets-left .widget-control-edit:hover,
    1034310340#widgets-right .widget-control-edit:hover {
     10341    color: #fff;
    1034410342    background: #444;
    10345 }
    10346 
    10347 #widgets-right .widget-control-edit:before {
    10348     content: '\f111';
    10349     display: inline-block;
    10350     -webkit-font-smoothing: antialiased;
    10351     -moz-osx-font-smoothing: grayscale;
    10352     font: normal 16px/1 'dashicons';
    10353     vertical-align: top;
    10354     position: relative;
    10355         top: -1px;
    10356     padding-right: 4px;
     10343    border-left: 0;
     10344    outline: 1px solid #444;
    1035710345}
    1035810346
     
    1036710355    margin: 0 auto;
    1036810356}
     10357
     10358.editwidget .widget-inside {
     10359    display: block;
     10360    padding: 0 15px;
     10361}
     10362
    1036910363.editwidget .widget-control-actions {
    1037010364    margin-top: 20px;
     
    1039610390    text-decoration: none !important;
    1039710391}
     10392
     10393.widget-top a.widget-action:after {
     10394    padding: 12px 12px 0;
     10395}
     10396
    1039810397.nav-menus-php .item-edit:before {
    1039910398    line-height: 2.1;
    1040010399}
     10400
    1040110401.control-section .accordion-section-title:after,
    1040210402.accordion-section-title:after {
     
    1040510405    top: -2px;
    1040610406}
     10407
    1040710408.control-section.open .accordion-section-title:after,
    1040810409#customize-info.open .accordion-section-title:after,
     
    1043110432.widgets_access .sidebar-name-arrow,
    1043210433.widgets_access #access-on,
    10433 .widgets_access .widget-holder .description {
     10434.widgets_access .widget-holder .description,
     10435.no-js .widget-holder .description {
    1043410436    display: none;
    1043510437}
     
    1044210444.widgets_access #access-off {
    1044310445    display: inline;
    10444 }
    10445 
    10446 .widgets_access #wpbody-content .widget-title-action,
    10447 .widgets_access #wpbody-content .widget-control-edit,
    10448 .widgets_access .closed .widgets-sortables,
    10449 .widgets_access .closed .widget-holder {
    10450     display: block;
    10451 }
    10452 
    10453 .widgets_access .closed .sidebar-name {
    10454     -webkit-border-bottom-right-radius: 0;
    10455     -webkit-border-bottom-left-radius: 0;
    10456     border-bottom-right-radius: 0;
    10457     border-bottom-left-radius: 0;
    1045810446}
    1045910447
     
    1055810546    cursor: pointer;
    1055910547}
    10560 /* End Widgets Area Chooser merge */
    1056110548
    1056210549/* Enable draggable on IE10 touch events until it's rolled into jQuery UI core */
Note: See TracChangeset for help on using the changeset viewer.