|
899 | 899 | --wallet-section-rest-border: rgba(103, 254, 183, 0.34); |
900 | 900 | } |
901 | 901 |
|
| 902 | +/* |
| 903 | + * Shared timeline for section + buttons so border, bg, glow, and scale all |
| 904 | + * rise and settle together (no trailing bg after size/border go quiet). |
| 905 | + * 0% rest |
| 906 | + * 12–40% peak hold |
| 907 | + * 48% shared soft decay (every property) |
| 908 | + * 58–100% rest hold (every property already reset) |
| 909 | + */ |
902 | 910 | @keyframes wallet-section-attention { |
903 | 911 | 0%, |
| 912 | + 58%, |
904 | 913 | 100% { |
905 | 914 | border-color: var(--wallet-section-rest-border); |
906 | 915 | box-shadow: var(--wallet-section-rest-shadow); |
907 | 916 | background: var(--wallet-section-rest-bg); |
908 | 917 | } |
909 | 918 | 12%, |
910 | | - 38% { |
911 | | - /* Same weight as button cue; border/glow only (no size growth). */ |
| 919 | + 40% { |
| 920 | + /* Peak: border + glow + wash together (no size growth). */ |
912 | 921 | border-color: rgba(254, 215, 170, 0.95); |
913 | 922 | background: linear-gradient( |
914 | 923 | 145deg, |
|
921 | 930 | 0 0 36px rgba(251, 146, 60, 0.58), |
922 | 931 | 0 0 0 1px rgba(251, 146, 60, 0.28) inset; |
923 | 932 | } |
924 | | - 55% { |
925 | | - border-color: rgba(253, 186, 116, 0.82); |
| 933 | + 48% { |
| 934 | + border-color: rgba(253, 186, 116, 0.72); |
926 | 935 | background: linear-gradient( |
927 | 936 | 145deg, |
928 | 937 | rgba(64, 32, 10, 0.9), |
929 | 938 | rgba(18, 16, 20, 0.88) |
930 | 939 | ); |
931 | 940 | box-shadow: |
932 | 941 | 0 18px 44px rgba(0, 0, 0, 0.24), |
933 | | - 0 0 0 1px rgba(251, 146, 60, 0.55), |
934 | | - 0 0 22px rgba(251, 146, 60, 0.4); |
| 942 | + 0 0 0 1px rgba(251, 146, 60, 0.5), |
| 943 | + 0 0 20px rgba(251, 146, 60, 0.35); |
935 | 944 | } |
936 | 945 | } |
937 | 946 |
|
938 | 947 | @keyframes wallet-connect-button-attention { |
939 | 948 | 0%, |
| 949 | + 58%, |
940 | 950 | 100% { |
941 | 951 | transform: translateY(0) scale(1); |
942 | 952 | box-shadow: none; |
943 | 953 | border-color: rgba(251, 146, 60, 0.34); |
| 954 | + background-color: rgba(251, 146, 60, 0.14); |
944 | 955 | background: rgba(251, 146, 60, 0.14); |
945 | 956 | color: rgba(255, 247, 237, 0.98); |
946 | 957 | } |
947 | 958 | 12%, |
948 | | - 38% { |
| 959 | + 40% { |
| 960 | + /* Peak: bg, border, glow, and scale all move together. */ |
949 | 961 | transform: translateY(-1px) scale(1.045); |
950 | | - border-color: rgba(254, 215, 170, 0.95) !important; |
951 | | - background: rgba(251, 146, 60, 0.42) !important; |
952 | | - color: #fff !important; |
| 962 | + border-color: rgba(254, 215, 170, 0.95); |
| 963 | + background-color: rgba(251, 146, 60, 0.42); |
| 964 | + background: rgba(251, 146, 60, 0.42); |
| 965 | + color: #fff; |
953 | 966 | box-shadow: |
954 | 967 | 0 0 0 2px rgba(251, 146, 60, 0.75), |
955 | 968 | 0 0 28px rgba(251, 146, 60, 0.65), |
956 | 969 | 0 12px 28px rgba(0, 0, 0, 0.28); |
957 | 970 | } |
958 | | - 55% { |
959 | | - transform: translateY(0) scale(1.02); |
960 | | - border-color: rgba(253, 186, 116, 0.8) !important; |
961 | | - background: rgba(251, 146, 60, 0.28) !important; |
| 971 | + 48% { |
| 972 | + /* Shared soft decay — bg resets with border/scale, not after. */ |
| 973 | + transform: translateY(0) scale(1.015); |
| 974 | + border-color: rgba(253, 186, 116, 0.72); |
| 975 | + background-color: rgba(251, 146, 60, 0.22); |
| 976 | + background: rgba(251, 146, 60, 0.22); |
| 977 | + color: rgba(255, 247, 237, 0.98); |
962 | 978 | box-shadow: |
963 | | - 0 0 0 1px rgba(251, 146, 60, 0.45), |
964 | | - 0 0 18px rgba(251, 146, 60, 0.4); |
| 979 | + 0 0 0 1px rgba(251, 146, 60, 0.4), |
| 980 | + 0 0 14px rgba(251, 146, 60, 0.32); |
965 | 981 | } |
966 | 982 | } |
967 | 983 |
|
968 | 984 | /* Only animation — no static highlight props (those caused end flicker). */ |
969 | 985 | .auxillaries-bitcode-surface .wallet-required-section.wallet-connect-attention-section, |
970 | 986 | .wallet-required-section.wallet-connect-attention-section { |
971 | | - animation: wallet-section-attention 2.1s ease-out 1 both; |
| 987 | + /* ease-in-out keeps the settle even; rest is fully restored by 58%. */ |
| 988 | + animation: wallet-section-attention 2.1s ease-in-out 1 both; |
972 | 989 | } |
973 | 990 |
|
974 | 991 | .wallet-connect-attention-button { |
975 | | - animation: wallet-connect-button-attention 2.1s ease-out 1 both; |
| 992 | + animation: wallet-connect-button-attention 2.1s ease-in-out 1 both; |
976 | 993 | will-change: transform, box-shadow, background-color, border-color; |
977 | 994 | } |
978 | 995 |
|
|
0 commit comments