File tree Expand file tree Collapse file tree 2 files changed +21
-3
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 +21
-3
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 ;
34
+
35
+ & :hover {
36
+ background-color : @color-gray98 ;
37
+ }
38
+ }
24
39
.rendered-content {
25
40
min-height : 50px ;
26
41
pointer-events : none ;
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 if ="displayPreview " class ="rendered-content " html ="data.main.html "> </ div >
11
- < div ifnot ="displayPreview " class ="pagebuilder-block-placeholder ">
12
- < span class ="placeholder-text " text ="placeholderText "/>
10
+ < div class ="pagebuilder-block-wrapper ">
11
+ < div class ="pagebuilder-block-overlay "> </ div >
12
+ < div if ="displayPreview " class ="rendered-content " html ="data.main.html "> </ div >
13
+ < div ifnot ="displayPreview " class ="pagebuilder-block-placeholder ">
14
+ < span class ="placeholder-text " text ="placeholderText "/>
15
+ </ div >
13
16
</ div >
14
17
</ div >
15
18
< div data-role ="spinner "
You can’t perform that action at this time.
0 commit comments