Changeset 27460
- Timestamp:
- 03/08/2014 12:40:03 AM (11 years ago)
- Location:
- trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/media.css
r27403 r27460 242 242 bottom: 30px; 243 243 left: 50%; 244 z-index: 1 60000;244 z-index: 100105; 245 245 } 246 246 … … 358 358 background: #000; 359 359 opacity: 0.7; 360 z-index: 1 59900;360 z-index: 100100; 361 361 } 362 362 -
trunk/src/wp-includes/css/editor.css
r27289 r27460 14 14 #mce-modal-block.mce-in { 15 15 opacity: 0.7; 16 z-index: 159900 !important; /* Overwrite inline style added by TinyMCE. */17 16 } 18 17 … … 22 21 -webkit-box-shadow: 0 5px 15px rgba(0,0,0,0.7); 23 22 box-shadow: 0 5px 15px rgba(0,0,0,0.7); 24 z-index: 160000 !important; /* Overwrite inline style added by TinyMCE. */25 23 -webkit-font-smoothing: subpixel-antialiased; 26 24 } … … 838 836 position: absolute; 839 837 display: none; 840 z-index: 1 55000;838 z-index: 100020; 841 839 } 842 840 … … 1475 1473 -------------------------------------------------------------- */ 1476 1474 .fullscreen-overlay { 1477 z-index: 1 49999;1475 z-index: 100005; 1478 1476 display: none; 1479 1477 position: fixed; … … 1503 1501 1504 1502 #wp-fullscreen-body { 1505 z-index: 1 50005;1503 z-index: 100010; 1506 1504 display: none; 1507 1505 } … … 1515 1513 bottom: 30px; 1516 1514 top: 60px; 1517 z-index: 1 50010;1515 z-index: 100015; 1518 1516 1519 1517 } … … 1581 1579 top: 0; 1582 1580 width: 100%; 1583 z-index: 1 50050;1581 z-index: 100020; 1584 1582 -webkit-transition: opacity 0.4s; 1585 1583 transition: opacity 0.4s; … … 1720 1718 -------------------------------------------------------------- */ 1721 1719 .wp-fullscreen-active #TB_overlay { 1722 z-index: 1 50100;1720 z-index: 100050; 1723 1721 } 1724 1722 1725 1723 .wp-fullscreen-active #TB_window { 1726 z-index: 150102; 1727 } 1728 1729 /* =TinyMCE Adjustments 1730 -------------------------------------------------------------- */ 1731 .wp-fullscreen-active #mce-modal-block { 1732 z-index: 150100 !important; 1733 } 1734 1735 .wp-fullscreen-active .mce-window { 1736 z-index: 150102 !important; 1724 z-index: 100051; 1737 1725 } 1738 1726 -
trunk/src/wp-includes/css/jquery-ui-dialog.css
r27174 r27460 253 253 .wp-dialog { 254 254 padding: 0; 255 z-index: 300002;255 z-index: 100102; 256 256 border: 0; 257 257 -webkit-box-shadow: 0 5px 15px rgba(0,0,0,0.7); … … 313 313 314 314 .ui-widget-overlay { 315 z-index: 300001;315 z-index: 100101; 316 316 background-color: #000; 317 317 opacity: 0.6; -
trunk/src/wp-includes/js/tinymce/plugins/wordpress/plugin.js
r27449 r27460 1 /* global tinymce, getUserSetting, setUserSetting, switchEditors */ 1 /* global tinymce, getUserSetting, setUserSetting */ 2 3 // Set the minimum value for the modals z-index higher than #wpadminbar (100000) 4 tinymce.ui.FloatPanel.zIndex = 100100; 5 2 6 tinymce.PluginManager.add( 'wordpress', function( editor ) { 3 7 var DOM = tinymce.DOM, wpAdvButton, modKey, style, … … 280 284 deltax = 0, 281 285 bodyClass = ['mceContentBody'], // back-compat for themes that use this in editor-style.css... 282 doc = editor.getDoc(); 286 doc = editor.getDoc(), 287 dom = editor.dom; 283 288 284 289 if ( editor.getParam( 'directionality' ) === 'rtl' ) { … … 300 305 tinymce.each( bodyClass, function( cls ) { 301 306 if ( cls ) { 302 editor.dom.addClass( doc.body, cls );307 dom.addClass( doc.body, cls ); 303 308 } 304 309 }); … … 319 324 if ( ! ( 'ontouchstart' in window ) ) { 320 325 // When scrolling with mouse wheel or trackpad inside the editor, don't scroll the parent window 321 editor.dom.bind( doc, 'onwheel' in doc ? 'wheel' : 'mousewheel', function( event ) {326 dom.bind( doc, 'onwheel' in doc ? 'wheel' : 'mousewheel', function( event ) { 322 327 var delta, top, 323 328 docElement = doc.documentElement; … … 371 376 }); 372 377 } 378 379 dom.bind( doc, 'dragover', function( event ) { 380 if ( typeof window.jQuery !== 'undefined' ) { 381 // Propagate the event to its container for the parent window to catch. 382 window.jQuery( editor.getContainer() ).trigger( event ); 383 } 384 }); 373 385 }); 374 386 … … 400 412 e.content = e.content.replace( /<p>(<br ?\/?>|\u00a0|\uFEFF)?<\/p>/g, '<p> </p>' ); 401 413 402 if ( editor.getParam( 'wpautop', true ) && typeof switchEditors !== 'undefined' ) {403 e.content = switchEditors.pre_wpautop( e.content );414 if ( editor.getParam( 'wpautop', true ) && typeof window.switchEditors !== 'undefined' ) { 415 e.content = window.switchEditors.pre_wpautop( e.content ); 404 416 } 405 417 }); … … 443 455 _hideButtons(); 444 456 }); 445 446 editor.dom.bind( editor.getWin(), 'dragover', function(e) {447 if ( typeof window.jQuery !== 'undefined' ) {448 // Propagate the event to its container for the parent window to catch.449 jQuery( editor.getContainer() ).trigger(e);450 }451 });452 457 }); 453 458
Note: See TracChangeset
for help on using the changeset viewer.