File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
packages/block-editor/src/components/block-list Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 406
406
position : absolute ;
407
407
background : var (--wp-admin-theme-color );
408
408
409
- animation : block- editor- inserter__toggle__fade- in- animation 0.3s ease ;
409
+ // Provide a muted animation that isn't too noisy.
410
+ animation : block- editor- inserter__toggle__fade- in- animation- delayed 0.3s ease ;
410
411
animation-fill-mode : forwards ;
411
412
@include reduce-motion (" animation" );
412
413
413
414
.block-editor-block-list__insertion-point.is-vertical > & {
414
- top : calc (50% - #{ $border-width } );
415
- height : var (--wp-admin-border-width-focus );
416
- left : 0 ;
415
+ top : 50% ;
417
416
right : 0 ;
417
+ left : 0 ;
418
+ height : $border-width ;
418
419
}
419
420
420
421
.block-editor-block-list__insertion-point.is-horizontal > & {
421
422
top : 0 ;
422
- height : 100% ;
423
- left : calc (50% - #{ $border-width } );
424
423
right : 0 ;
425
- width : var (--wp-admin-border-width-focus );
424
+ left : 50% ;
425
+ height : 100% ;
426
+ width : $border-width ;
426
427
}
427
428
}
428
429
458
459
.block-editor-block-list__block-popover-inserter {
459
460
.block-editor-inserter__toggle.components-button.has-icon {
460
461
// Basic look
461
- background : $gray-900 ;
462
+ background : var ( --wp-admin-theme-color ) ;
462
463
border-radius : $radius-block-ui ;
463
464
color : $white ;
464
465
padding : 0 ;
469
470
470
471
& :hover {
471
472
color : $white ;
473
+ background : $gray-900 ;
472
474
}
473
475
}
474
476
}
488
490
0% {
489
491
opacity : 0 ;
490
492
}
491
- 80 % {
493
+ 60 % {
492
494
opacity : 0 ;
493
495
}
494
496
100% {
499
501
@keyframes block-editor-inserter__toggle__fade-in-animation {
500
502
from {
501
503
opacity : 0 ;
502
- transform : scale (0 );
503
504
}
504
505
to {
505
506
opacity : 1 ;
506
- transform : scale (1 );
507
507
}
508
508
}
509
509
You can’t perform that action at this time.
0 commit comments