File tree Expand file tree Collapse file tree 2 files changed +27
-11
lines changed
app/code/Magento/PageBuilder/view/adminhtml/web Expand file tree Collapse file tree 2 files changed +27
-11
lines changed Original file line number Diff line number Diff line change 23
23
opacity : 1 ;
24
24
visibility : visible ;
25
25
}
26
+
27
+ .tooltip {
28
+ margin-left : 0 ;
29
+ .tooltip-content {
30
+ background : rgba (49 , 48 , 43 , 0.8 );
31
+ text-align : left ;
32
+ font-size : 12px ;
33
+ padding : 7px 9px ;
34
+
35
+ & :before {
36
+ opacity : 0.65 ;
37
+ }
38
+
39
+ .tooltip-label {
40
+ font-weight : bold ;
41
+ }
42
+ }
43
+ }
26
44
}
27
45
28
46
.admin__fieldset > .admin__field > .admin__control-grouped {
Original file line number Diff line number Diff line change 12
12
< div class ="admin__field pagebuilder-header "
13
13
css ="visible: panel.isVisible(), 'transition-out': isSnapshotTransition() "
14
14
if ="!isSnapshot() ">
15
- < span class ="with-tooltip ">
16
- < each args ="data: Object.keys(viewports), as: 'name' ">
17
- < span class ="tooltip ">
18
- < button type ="button " translate ="$parent.viewports[name].label " disable ="name === $parent.viewport() " click ="$parent.toggleViewport.bind($parent, name) "/>
19
- < span class ="tooltip-content ">
20
- < span translate ="$parent.viewports[name].label "/>
21
- < span translate ="'View your content for ' "/> < text args ="name "/>
22
- < span translate ="'Width' "/> : < text args ="Object.values($parent.viewports[name].conditions)[0] "/>
23
- </ span >
15
+ < each args ="data: Object.keys(viewports), as: 'name' ">
16
+ < span class ="tooltip ">
17
+ < button type ="button " translate ="$parent.viewports[name].label " disable ="name === $parent.viewport() " click ="$parent.toggleViewport.bind($parent, name) "/>
18
+ < span class ="tooltip-content ">
19
+ < span class ="tooltip-label " translate ="$parent.viewports[name].label "/> < br />
20
+ < span translate ="'View your content for ' "/> < text args ="name "/> < br />
21
+ < span translate ="'Width' "/> : < text args ="Object.values($parent.viewports[name].conditions)[0] "/>
24
22
</ span >
25
- </ each >
26
- </ span >
23
+ </ span >
24
+ </ each >
27
25
< button type ="button " translate ="'Apply Template' " if ="isAllowedTemplateApply " click ="toggleTemplateManger "/>
28
26
< button type ="button " translate ="'Save as Template' " if ="isAllowedTemplateSave " click ="saveAsTemplate "/>
29
27
< i click ="toggleFullScreen.bind($data, {animate:true}) "
You can’t perform that action at this time.
0 commit comments