File tree Expand file tree Collapse file tree 2 files changed +19
-17
lines changed
app/code/Magento/PageBuilder/view/adminhtml/web
css/source/content-type/block
template/content-type/block/default Expand file tree Collapse file tree 2 files changed +19
-17
lines changed Original file line number Diff line number Diff line change 21
21
font-weight : lighter ;
22
22
}
23
23
}
24
- .pagebuilder-block-overlay {
25
- -moz-transition : background- color 500ms ease ;
26
- -o-transition : background- color 500ms ease ;
27
- -webkit-transition : background- color 500ms ease ;
28
- height : 100% ;
29
- opacity : .7 ;
30
- position : absolute ;
31
- transition : background- color 500ms ease ;
32
- width : 100% ;
33
- z-index : 10 ;
24
+ > div :first-child {
25
+ & :before {
26
+ content : ' ' ;
27
+ height : 100% ;
28
+ opacity : .7 ;
29
+ position : absolute ;
30
+ -moz-transition : background- color 500ms ease ;
31
+ -o-transition : background- color 500ms ease ;
32
+ -webkit-transition : background- color 500ms ease ;
33
+ transition : background- color 500ms ease ;
34
+ width : 100% ;
35
+ z-index : 10 ;
36
+ }
34
37
35
38
& :hover {
36
- background-color : @color-gray98 ;
39
+ & :before {
40
+ background-color : @color-gray98 ;
41
+ }
37
42
}
38
43
}
39
44
.rendered-content {
Original file line number Diff line number Diff line change 7
7
8
8
< div class ="pagebuilder-content-type pagebuilder-block " event ="{ mouseover: onMouseOver, mouseout: onMouseOut }, mouseoverBubble: false ">
9
9
< div attr ="data.main.attributes " ko-style ="data.main.style " css ="data.main.css ">
10
- < div class ="pagebuilder-block-wrapper ">
11
- < div class ="pagebuilder-block-overlay "> </ div >
12
- < div if ="displayPreview " class ="rendered-content " html ="data.main.html " afterRender ="initializeWidgets "> </ div >
13
- < div ifnot ="displayPreview " class ="pagebuilder-block-placeholder ">
14
- < span class ="placeholder-text " text ="placeholderText "/>
15
- </ div >
10
+ < div if ="displayPreview " class ="rendered-content " html ="data.main.html " afterRender ="initializeWidgets "> </ div >
11
+ < div ifnot ="displayPreview " class ="pagebuilder-block-placeholder ">
12
+ < span class ="placeholder-text " text ="placeholderText "/>
16
13
</ div >
17
14
</ div >
18
15
< div data-role ="spinner "
You can’t perform that action at this time.
0 commit comments