@@ -1532,3 +1532,64 @@ button.scroll-convo {
1532
1532
.hidden-visibility {
1533
1533
visibility : hidden;
1534
1534
}
1535
+
1536
+ .toast-root {
1537
+ align-items : center;
1538
+ display : flex;
1539
+ flex-direction : column;
1540
+ height : 0 ;
1541
+ transition : all .24s cubic-bezier (0 , 0 , .2 , 1 )
1542
+ }
1543
+
1544
+ .toast-root [data-state = open ] {
1545
+ -webkit-animation : toast-open .24s cubic-bezier (.175 , .885 , .32 , 1.175 ) both;
1546
+ animation : toast-open .24s cubic-bezier (.175 , .885 , .32 , 1.175 ) both
1547
+ }
1548
+ .toast-root [data-state = closed ] {
1549
+ -webkit-animation : toast-close .12s cubic-bezier (.4 , 0 , 1 , 1 ) both;
1550
+ animation : toast-close .12s cubic-bezier (.4 , 0 , 1 , 1 ) both
1551
+ }
1552
+ .toast-root .alert-root {
1553
+ box-shadow : 0 0 1px rgba (67 , 90 , 111 , .3 ), 0 5px 8px -4px rgba (67 , 90 , 111 , .3 );
1554
+ flex-shrink : 0 ;
1555
+ pointer-events : all
1556
+ }
1557
+
1558
+ @-webkit-keyframes toast-open {
1559
+ 0% {
1560
+ opacity : 0 ;
1561
+ -webkit-transform : translateY (-100% );
1562
+ transform : translateY (-100% )
1563
+ }
1564
+ to {
1565
+ -webkit-transform : translateY (0 );
1566
+ transform : translateY (0 )
1567
+ }
1568
+ }
1569
+ @keyframes toast-open {
1570
+ 0% {
1571
+ opacity : 0 ;
1572
+ -webkit-transform : translateY (-100% );
1573
+ transform : translateY (-100% )
1574
+ }
1575
+ to {
1576
+ -webkit-transform : translateY (0 );
1577
+ transform : translateY (0 )
1578
+ }
1579
+ }
1580
+ @-webkit-keyframes toast-close {
1581
+ 0% {
1582
+ opacity : 1
1583
+ }
1584
+ to {
1585
+ opacity : 0
1586
+ }
1587
+ }
1588
+ @keyframes toast-close {
1589
+ 0% {
1590
+ opacity : 1
1591
+ }
1592
+ to {
1593
+ opacity : 0
1594
+ }
1595
+ }
0 commit comments