|
25 | 25 | }
|
26 | 26 | }
|
27 | 27 |
|
28 |
| -.pagebuilder-content-snapshot { |
29 |
| - .pagebuilder-header { |
30 |
| - display: none; |
31 |
| - |
32 |
| - &.visible { |
33 |
| - display: block; |
34 |
| - } |
35 |
| - } |
36 |
| -} |
37 |
| - |
38 | 28 | .admin__fieldset > .admin__field > .admin__control-grouped {
|
39 | 29 | &.pagebuilder-active {
|
40 | 30 | float: left;
|
|
56 | 46 | pointer-events: none;
|
57 | 47 | }
|
58 | 48 |
|
59 |
| - &.pagebuilder-content-snapshot { |
60 |
| - &.stage-full-screen { |
61 |
| - .pagebuilder-header { |
62 |
| - display: block; |
63 |
| - |
64 |
| - &.visible { |
65 |
| - display: block; |
66 |
| - } |
67 |
| - } |
68 |
| - |
69 |
| - .pagebuilder-canvas { |
70 |
| - padding-bottom: 120px; |
71 |
| - } |
72 |
| - } |
73 |
| - } |
74 |
| - |
75 | 49 | &.stage-full-screen {
|
76 | 50 | -moz-transform: translateZ(0);
|
77 | 51 | -webkit-transform: translateZ(0);
|
|
126 | 100 | padding-top: 30px;
|
127 | 101 | }
|
128 | 102 |
|
| 103 | + &.stage-content-snapshot { |
| 104 | + .pagebuilder-canvas { |
| 105 | + padding-bottom: 120px; |
| 106 | + } |
| 107 | + } |
| 108 | + |
129 | 109 | .pagebuilder-panel-wrapper {
|
130 | 110 | bottom: 0;
|
131 | 111 | position: fixed;
|
|
305 | 285 | }
|
306 | 286 | }
|
307 | 287 |
|
308 |
| -.pagebuilder-content-snapshot { |
| 288 | +.stage-content-snapshot { |
309 | 289 | .pagebuilder-stage {
|
| 290 | + .pagebuilder-canvas { |
| 291 | + padding-bottom: 0; |
| 292 | + padding-top: 8px; |
| 293 | + } |
| 294 | + } |
| 295 | +} |
| 296 | + |
| 297 | +.pagebuilder-wysiwyg-snapshot { |
| 298 | + .pagebuilder-stage { |
| 299 | + -moz-transition: @pagebuilder-transition; |
| 300 | + -webkit-transition: @pagebuilder-transition; |
| 301 | + margin-left: auto; |
| 302 | + transition: @pagebuilder-transition; |
| 303 | + } |
| 304 | + |
| 305 | + .element-children.content-type-container.root-container-container { |
| 306 | + background-color: @color-white; |
| 307 | + } |
| 308 | + |
| 309 | + .pagebuilder-stage-wrapper { |
310 | 310 | -moz-transition: none;
|
311 | 311 | -webkit-transition: none;
|
312 |
| - margin-left: auto; |
| 312 | + background-color: transparent; |
313 | 313 | transition: none;
|
314 | 314 |
|
315 |
| - .pagebuilder-canvas { |
316 |
| - padding-bottom: 0; |
317 |
| - padding-top: 8px; |
| 315 | + &.stage-full-screen { |
| 316 | + .keyframes(fade-in; { |
| 317 | + 0% { |
| 318 | + background-color: transparent; |
| 319 | + } |
| 320 | + 100% { |
| 321 | + background-color: @color-white; |
| 322 | + } |
| 323 | + }); |
| 324 | + .animation(fade-in @pagebuilder-animation); |
| 325 | + background-color: @color-white; |
| 326 | + |
| 327 | + &.transition-out { |
| 328 | + .keyframes(fade-out; { |
| 329 | + 0% { |
| 330 | + background-color: @color-white; |
| 331 | + } |
| 332 | + 50% { |
| 333 | + background-color: @color-white; |
| 334 | + } |
| 335 | + 100% { |
| 336 | + background-color: transparent; |
| 337 | + } |
| 338 | + }); |
| 339 | + .animation(fade-out @pagebuilder-animation); |
| 340 | + } |
| 341 | + |
| 342 | + .pagebuilder-stage { |
| 343 | + left: 0; |
| 344 | + position: relative; |
| 345 | + top: 0; |
| 346 | + width: calc(~'100% - 150px'); |
| 347 | + } |
318 | 348 | }
|
| 349 | + } |
319 | 350 |
|
| 351 | + .pagebuilder-header { |
| 352 | + .keyframes(slide-in-top; { |
| 353 | + 0% { |
| 354 | + -moz-transform: translateX(-41px); |
| 355 | + -webkit-transform: translateY(-41px); |
| 356 | + transform: translateY(-41px); |
| 357 | + } |
| 358 | + 100% { |
| 359 | + -moz-transform: translateX(0); |
| 360 | + -webkit-transform: translateX(0); |
| 361 | + transform: translateX(0); |
| 362 | + } |
| 363 | + }); |
| 364 | + .animation(slide-in-top @pagebuilder-animation); |
| 365 | + opacity: 1; |
| 366 | + transition: none; |
| 367 | + visibility: visible; |
| 368 | + |
| 369 | + &.transition-out { |
| 370 | + .pagebuilder-stage-wrapper.stage-full-screen.pagebuilder-header; |
| 371 | + .keyframes(slide-out-top; { |
| 372 | + 0% { |
| 373 | + -moz-transform: translateX(0); |
| 374 | + -webkit-transform: translateX(0); |
| 375 | + transform: translateX(0); |
| 376 | + } |
| 377 | + 100% { |
| 378 | + -moz-transform: translateX(-41px); |
| 379 | + -webkit-transform: translateY(-41px); |
| 380 | + transform: translateY(-41px); |
| 381 | + } |
| 382 | + }); |
| 383 | + .animation(slide-out-top @pagebuilder-animation); |
| 384 | + -moz-transition: none; |
| 385 | + -webkit-transition: none; |
| 386 | + transition: none; |
| 387 | + z-index: 801; |
| 388 | + } |
| 389 | + } |
| 390 | + |
| 391 | + .pagebuilder-panel-wrapper { |
| 392 | + .keyframes(slide-in-left; { |
| 393 | + 0% { |
| 394 | + -moz-transform: translateX(-150px); |
| 395 | + -webkit-transform: translateX(-150px); |
| 396 | + transform: translateX(-150px); |
| 397 | + } |
| 398 | + 100% { |
| 399 | + -moz-transform: translateX(0); |
| 400 | + -webkit-transform: translateX(0); |
| 401 | + transform: translateX(0); |
| 402 | + } |
| 403 | + }); |
| 404 | + .animation(slide-in-left @pagebuilder-animation); |
| 405 | + -moz-transition: none; |
| 406 | + -webkit-transition: none; |
| 407 | + opacity: 1; |
| 408 | + transition: none; |
| 409 | + visibility: visible; |
| 410 | + |
| 411 | + &.transition-out { |
| 412 | + .pagebuilder-stage-wrapper.stage-full-screen.pagebuilder-panel-wrapper; |
| 413 | + .keyframes(slide-out-left; { |
| 414 | + 0% { |
| 415 | + -moz-transform: translateX(0); |
| 416 | + -webkit-transform: translateX(0); |
| 417 | + transform: translateX(0); |
| 418 | + } |
| 419 | + 100% { |
| 420 | + -moz-transform: translateX(-150px); |
| 421 | + -webkit-transform: translateX(-150px); |
| 422 | + transform: translateX(-150px); |
| 423 | + } |
| 424 | + }); |
| 425 | + .animation(slide-out-left @pagebuilder-animation); |
| 426 | + -moz-transition: none; |
| 427 | + -webkit-transition: none; |
| 428 | + transition: none; |
| 429 | + z-index: 801; |
| 430 | + } |
320 | 431 | }
|
321 | 432 | }
|
322 | 433 |
|
|
0 commit comments