File tree Expand file tree Collapse file tree 5 files changed +15
-9
lines changed
code/Magento/Widget/view/adminhtml/layout
design/adminhtml/Magento/backend/web/css
lib/web/mage/adminhtml/wysiwyg Expand file tree Collapse file tree 5 files changed +15
-9
lines changed Original file line number Diff line number Diff line change 9
9
<head >
10
10
<link src =" prototype/window.js" />
11
11
<css src =" prototype/windows/themes/default.css" />
12
- <css src =" Magento_Theme::prototype/magento.css" />
13
12
</head >
14
13
<body >
15
14
<referenceContainer name =" content" >
Original file line number Diff line number Diff line change @@ -1983,8 +1983,6 @@ body {
1983
1983
.page-wrapper {
1984
1984
background-color : #ffffff ;
1985
1985
padding-left : 8.8rem ;
1986
- position : relative ;
1987
- z-index : 1 ;
1988
1986
}
1989
1987
.page-content {
1990
1988
padding-left : 3rem ;
@@ -2564,7 +2562,7 @@ fieldset[disabled] .admin__control-text + .ui-datepicker-trigger {
2564
2562
}
2565
2563
.ui-dialog .main-col .breadcrumbs li :after ,
2566
2564
.ui-dialog .magento_message .breadcrumbs li :after {
2567
- content : " " ;
2565
+ content : ' ' ;
2568
2566
margin : 0 0.5rem 0 0 ;
2569
2567
}
2570
2568
.ui-dialog .main-col #contents-uploader ,
@@ -2669,6 +2667,7 @@ fieldset[disabled] .admin__control-text + .ui-datepicker-trigger {
2669
2667
}
2670
2668
.popup-window {
2671
2669
background : #ffffff ;
2670
+ z-index : 1010 !important ;
2672
2671
}
2673
2672
.popup-window .table_window > tbody > tr > td {
2674
2673
background : #ffffff ;
@@ -2691,7 +2690,7 @@ fieldset[disabled] .admin__control-text + .ui-datepicker-trigger {
2691
2690
margin : 0 0 0 3rem ;
2692
2691
}
2693
2692
.overlay_magento {
2694
- z-index : 1000 ;
2693
+ z-index : 800 !important ;
2695
2694
}
2696
2695
.fade {
2697
2696
z-index : 1000 ;
Original file line number Diff line number Diff line change 392
392
393
393
.popup-window {
394
394
background : @popup__background-color ;
395
+ & .dialog {
396
+ z-index : 1010 !important ;
397
+ }
395
398
396
399
.table_window > tbody > tr > td {
397
400
background : @popup__background-color ;
435
438
436
439
.overlay_magento {
437
440
& :extend(.ui-widget-overlay all );
438
- z-index : 1000 ;
441
+ z-index : 800 !important ;
439
442
}
440
443
441
444
//
Original file line number Diff line number Diff line change 29
29
.page-wrapper {
30
30
background-color : @page-wrapper__background-color ;
31
31
padding-left : @page-wrapper__indent-left ;
32
- position : relative ;
33
- z-index : @page-wrapper__z-index__base ; // Base z-index for page wrapper to prevent inner page element overlap with pop-ups
34
32
}
35
33
36
34
.page-content {
Original file line number Diff line number Diff line change @@ -380,12 +380,19 @@ define([
380
380
title : this . config . buttons . open ,
381
381
modal : true ,
382
382
resizable : false ,
383
- zIndex : widgetTools . getMaxZIndex ( ) ,
384
383
width : '75%' ,
385
384
dialogClass : 'popup-window' ,
385
+ position : {
386
+ my : 'left top' ,
387
+ at : 'center top' ,
388
+ of : 'body'
389
+ } ,
386
390
open : function ( ) {
387
391
jQuery ( this ) . closest ( '.ui-dialog' ) . addClass ( 'ui-dialog-active' ) ;
388
392
jQuery ( this ) . addClass ( 'magento_message' ) ;
393
+
394
+ var topMargin = jQuery ( this ) . closest ( '.ui-dialog' ) . children ( '.ui-dialog-titlebar' ) . outerHeight ( ) - 30 ;
395
+ jQuery ( this ) . closest ( '.ui-dialog' ) . css ( 'margin-top' , topMargin ) ;
389
396
} ,
390
397
close : function ( event , ui ) {
391
398
jQuery ( this ) . closest ( '.ui-dialog' ) . removeClass ( 'ui-dialog-active' ) ;
You can’t perform that action at this time.
0 commit comments