Skip to content

Commit c46db31

Browse files
committed
MC-5423: Scheduled Update slide out issues
- Update full screen icons - Add basic full screen animation
1 parent e7c3584 commit c46db31

File tree

13 files changed

+96
-1692
lines changed

13 files changed

+96
-1692
lines changed

app/code/Magento/PageBuilder/view/adminhtml/web/css/source/_page-builder.less

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424
}
2525

2626
.pagebuilder-stage-wrapper {
27+
background: white;
2728
position: relative;
29+
transition: .35s ease-in-out;
2830

2931
._disabled & {
3032
opacity: .5;
@@ -54,11 +56,12 @@
5456
width: auto;
5557
z-index: 101;
5658

57-
.action-close {
59+
.icon-pagebuilder-fullscreen-exit {
5860
background: rgba(255,255,255,.8);
5961
border: none;
6062
border-radius: 0;
6163
box-shadow: none;
64+
cursor: pointer;
6265
display: inline-block;
6366
margin: 0;
6467
padding: 15px 20px;
@@ -114,8 +117,8 @@
114117
.pagebuilder-header {
115118
.pagebuilder-stage-wrapper.stage-full-screen.pagebuilder-header;
116119

117-
.action-close {
118-
.pagebuilder-stage-wrapper.stage-full-screen.pagebuilder-header.action-close;
120+
.icon-pagebuilder-fullscreen-exit {
121+
.pagebuilder-stage-wrapper.stage-full-screen.pagebuilder-header.icon-pagebuilder-fullscreen-exit;
119122
}
120123
}
121124
}
@@ -162,16 +165,15 @@
162165
}
163166

164167
.pagebuilder-stage {
165-
-moz-user-select: none; /* Firefox */
166-
-ms-user-select: none; /* IE10+ */
167-
/* Rules below not implemented in browsers yet */
168+
-moz-user-select: none;
169+
-ms-user-select: none;
168170
-o-user-select: none;
169-
-webkit-user-select: none; /* Chrome/Safari */
171+
-webkit-user-select: none;
170172

171173
font-size: 0;
172-
margin-left: 170px; // temp
174+
margin-left: 170px;
173175
min-height: 200px;
174-
padding: 0 0 60px; // 60px to include the add row button
176+
padding: 0;
175177
user-select: none;
176178

177179
&.stage-full-screen {
@@ -180,12 +182,10 @@
180182

181183
&.pagebuilder-no-user-select {
182184
* {
183-
-moz-user-select: none !important; /* Firefox */
184-
-ms-user-select: none !important; /* IE10+ */
185-
186-
/* Rules below not implemented in browsers yet */
185+
-moz-user-select: none !important;
186+
-ms-user-select: none !important;
187187
-o-user-select: none !important;
188-
-webkit-user-select: none !important; /* Chrome/Safari */
188+
-webkit-user-select: none !important;
189189
user-select: none !important;
190190
}
191191
}
@@ -209,7 +209,7 @@
209209
-moz-transition: opacity .75s ease-in-out, visibility .75s ease-in-out;
210210
-webkit-transition: opacity .75s ease-in-out, visibility .75s ease-in-out;
211211
opacity: 0;
212-
padding-bottom: 60px;
212+
padding-bottom: 120px;
213213
transition: opacity .75s ease-in-out, visibility .75s ease-in-out;
214214
visibility: hidden;
215215

app/code/Magento/PageBuilder/view/adminhtml/web/css/source/_panel.less

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -217,18 +217,6 @@
217217
speak: none;
218218
}
219219
}
220-
&.full-screen {
221-
cursor: pointer;
222-
float: right;
223-
margin-right: 4px;
224-
225-
&:before {
226-
content: @icon-pagebuilder-fullscreen__content;
227-
font-family: @icon_font;
228-
line-height: 1;
229-
speak: none;
230-
}
231-
}
232220
}
233221
}
234222
}

app/code/Magento/PageBuilder/view/adminhtml/web/fonts/pagebuilder-icons/pagebuilder-icons.svg

Lines changed: 2 additions & 2 deletions
Loading

0 commit comments

Comments
 (0)