WordPress.org

Make WordPress Core

Changeset 30343


Ignore:
Timestamp:
11/14/2014 07:27:38 PM (7 years ago)
Author:
ocean90
Message:

Sync our jQuery UI styles with jQuery UI 1.11.2 CSS.

Removes also our own implementations for touch-action compatibility for IE Touch.

props georgestephanis, ocean90.
fixes #26843.

Location:
trunk/src
Files:
4 edited

Legend:

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

    r29983 r30343  
    28552855}
    28562856
    2857 /* Enable draggable on IE10 touch events until it's rolled into jQuery UI core */
    2858 .ui-sortable,
    2859 .ui-draggable {
     2857/*!
     2858 * jQuery UI Draggable/Sortable 1.11.2
     2859 * http://jqueryui.com
     2860 *
     2861 * Copyright 2014 jQuery Foundation and other contributors
     2862 * Released under the MIT license.
     2863 * http://jquery.org/license
     2864 */
     2865.ui-draggable-handle,
     2866.ui-sortable-handle {
    28602867    -ms-touch-action: none;
    28612868    touch-action:     none;
    28622869}
    28632870
    2864 .meta-box-sortables.ui-sortable,
    2865 .widgets-holder-wrap .ui-draggable,
    2866 .widgets-holder-wrap .ui-sortable,
    2867 .menu.ui-sortable {
    2868     -ms-touch-action: auto;
    2869     touch-action:     auto;
    2870 }
    2871 
    2872 .meta-box-sortables.ui-sortable .hndle,
    2873 .menu.ui-sortable .menu-item-handle {
    2874     -ms-touch-action: none;
    2875     touch-action:     none;
    2876 }
    2877 
    28782871/* Accordion */
    2879 
    28802872.accordion-section {
    28812873    border-bottom: 1px solid #dfdfdf;
  • trunk/src/wp-admin/css/revisions.css

    r29314 r30343  
    451451}
    452452
    453  /* jQuery UI Slider */
     453/* jQuery UI Slider */
    454454.wp-slider.ui-slider {
    455455    position: relative;
     
    468468    width: 18px;
    469469    z-index: 2;
     470    -ms-touch-action: none;
     471    touch-action: none;
    470472}
    471473
  • trunk/src/wp-includes/css/jquery-ui-dialog.css

    r29616 r30343  
    11/*!
    2  * jQuery UI CSS Framework 1.10.1
     2 * jQuery UI CSS Framework 1.11.2
    33 * http://jqueryui.com
    44 *
    5  * Copyright 2013 jQuery Foundation and other contributors
     5 * Copyright 2014 jQuery Foundation and other contributors
    66 * Released under the MIT license.
    77 * http://jquery.org/license
    88 *
    9  * http://docs.jquery.com/UI/Theming/API
     9 * http://api.jqueryui.com/category/theming/
    1010 */
    1111
     
    5454    position: absolute;
    5555    opacity: 0;
    56     filter:Alpha(Opacity=0);
    57 }
     56    filter:Alpha(Opacity=0); /* support: IE8 */
     57}
     58
     59.ui-front {
     60    z-index: 100;
     61}
     62
    5863
    5964/* Interaction Cues
     
    6267    cursor: default !important;
    6368}
     69
    6470
    6571/* Icons
     
    7480}
    7581
     82
     83/* Misc visuals
     84----------------------------------*/
     85
     86/* Overlays */
     87.ui-widget-overlay {
     88    position: fixed;
     89    top: 0;
     90    left: 0;
     91    width: 100%;
     92    height: 100%;
     93}
     94
    7695/*!
    77  * jQuery UI Resizable 1.10.1
     96 * jQuery UI Resizable 1.11.2
    7897 * http://jqueryui.com
    7998 *
    80  * Copyright 2013 jQuery Foundation and other contributors
     99 * Copyright 2014 jQuery Foundation and other contributors
    81100 * Released under the MIT license.
    82101 * http://jquery.org/license
    83  *
    84  * http://docs.jquery.com/UI/Resizable#theming
    85102 */
    86103.ui-resizable {
     
    91108    font-size: 0.1px;
    92109    display: block;
     110    -ms-touch-action: none;
     111    touch-action: none;
    93112}
    94113.ui-resizable-disabled .ui-resizable-handle,
     
    129148.ui-resizable-se {
    130149    cursor: se-resize;
    131     width: 9px;
    132     height: 9px;
    133     right: -5px;
    134     bottom: -5px;
     150    width: 12px;
     151    height: 12px;
     152    right: 1px;
     153    bottom: 1px;
    135154}
    136155/* @noflip */
  • trunk/src/wp-includes/css/media-views.css

    r29876 r30343  
    105105}
    106106
    107 /* Enable draggable on IE10 touch events until it's rolled into jQuery UI core */
    108 .ui-sortable,
    109 .ui-draggable {
     107/*!
     108 * jQuery UI Draggable/Sortable 1.11.2
     109 * http://jqueryui.com
     110 *
     111 * Copyright 2014 jQuery Foundation and other contributors
     112 * Released under the MIT license.
     113 * http://jquery.org/license
     114 */
     115.ui-draggable-handle,
     116.ui-sortable-handle {
    110117    -ms-touch-action: none;
    111     touch-action: none;
    112 }
    113 
    114 .meta-box-sortables.ui-sortable {
    115     -ms-touch-action: auto;
    116     touch-action: auto;
    117 }
    118 
    119 .meta-box-sortables.ui-sortable .hndle {
    120     -ms-touch-action: none;
    121     touch-action: none;
     118    touch-action:     none;
    122119}
    123120
Note: See TracChangeset for help on using the changeset viewer.