@@ -1362,6 +1362,140 @@ button.mistica-display-card:has(.mistica-card__media):active:after {
13621362 opacity : initial; /* avoid applying 0.5 opacity twice */
13631363}
13641364
1365+ /* FeedbackScreen */
1366+
1367+ @keyframes mistica-animation-shake {
1368+ 10% ,
1369+ 90% {
1370+ transform : translateX (3px );
1371+ }
1372+ 20% ,
1373+ 80% {
1374+ transform : translateX (6px );
1375+ }
1376+ 30% ,
1377+ 50% ,
1378+ 70% {
1379+ transform : translateX (0 );
1380+ }
1381+ 40% ,
1382+ 60% {
1383+ transform : translateX (8px );
1384+ }
1385+ }
1386+
1387+ @keyframes mistica-animation-text-appear {
1388+ 0% {
1389+ opacity : 0 ;
1390+ transform : translateY (var (--text-appear-distance ));
1391+ }
1392+ 100% {
1393+ opacity : 1 ;
1394+ transform : translateY (0 );
1395+ }
1396+ }
1397+
1398+ .mistica-feedback-screen {
1399+ --text-animation : mistica-animation-text-appear 1s both cubic-bezier (0.215 , 0.61 , 0.355 , 1 );
1400+ --text-appear-distance : 16px ;
1401+ padding : 64px 0 16px ;
1402+ }
1403+
1404+ @media (min-width : 1024px ) {
1405+ .mistica-feedback-screen {
1406+ --text-appear-distance : 40px ;
1407+ margin-top : 64px ;
1408+ border-radius : var (--mistica-border-radius-legacyDisplay );
1409+ border : var (--mistica-boxed-border );
1410+ background : var (--mistica-color-backgroundContainer );
1411+ padding : 64px ;
1412+ }
1413+
1414+ .mistica-feedback-screen > .mistica-fixed-footer-buttons {
1415+ margin-top : 40px ;
1416+ }
1417+ }
1418+
1419+ @media (max-width : 1023px ) {
1420+ .mistica-feedback-screen {
1421+ /* Space for fixed buttons */
1422+ padding-bottom : 142px ;
1423+ }
1424+ }
1425+
1426+ .mistica-feedback-screen__asset {
1427+ --asset-animation : mistica-animation-shake 0.82s cubic-bezier (0.36 , 0.07 , 0.19 , 0.97 ) both;
1428+ width : 48px ;
1429+ height : 48px ;
1430+ margin-bottom : 24px ;
1431+ }
1432+
1433+ .mistica-feedback-screen__asset-error-inside {
1434+ animation : var (--asset-animation );
1435+ animation-delay : 0.8s ;
1436+ }
1437+
1438+ .mistica-feedback-screen__asset-error-outside {
1439+ animation : var (--asset-animation );
1440+ animation-delay : 0.84s ;
1441+ }
1442+
1443+ .mistica-feedback-screen__title {
1444+ font-size : var (--mistica-font-size-6 );
1445+ line-height : var (--mistica-line-height-6 );
1446+ font-weight : var (--mistica-font-weight-6 );
1447+ color : var (--mistica-color-textPrimary );
1448+ animation : var (--text-animation );
1449+ animation-delay : 0.6s ;
1450+ }
1451+
1452+ .mistica-feedback-screen__description {
1453+ margin-top : 16px ;
1454+ font-size : var (--mistica-font-size-3 );
1455+ line-height : var (--mistica-line-height-3 );
1456+ font-weight : 400 ;
1457+ color : var (--mistica-color-textSecondary );
1458+ animation : var (--text-animation );
1459+ animation-delay : 0.8s ;
1460+ }
1461+
1462+ .mistica-feedback-screen__slot {
1463+ margin-top : 16px ;
1464+ animation : var (--text-animation );
1465+ color : var (--mistica-color-textSecondary );
1466+ animation-delay : 1s ;
1467+ }
1468+
1469+ .mistica-fixed-footer-buttons {
1470+ display : flex;
1471+ gap : 16px ;
1472+ }
1473+
1474+ @media (max-width : 1023px ) {
1475+ .mistica-fixed-footer ,
1476+ .mistica-fixed-footer-buttons {
1477+ position : fixed;
1478+ bottom : 0 ;
1479+ left : 0 ;
1480+ right : 0 ;
1481+ background : var (--mistica-color-background );
1482+ box-shadow : 0 -2px 8px 0 rgba (0 , 0 , 0 , 0.1 );
1483+ }
1484+
1485+ .mistica-fixed-footer-buttons {
1486+ padding : 16px ;
1487+ display : flex;
1488+ flex-direction : column;
1489+ gap : 16px ;
1490+ }
1491+ }
1492+
1493+ @media (min-width : 768px ) and (max-width : 1023px ) {
1494+ .mistica-fixed-footer-buttons {
1495+ padding : 32px 24px ;
1496+ }
1497+ }
1498+
13651499/* TextField */
13661500.mistica-text-field {
13671501 --border-width : 1px ;
0 commit comments