|
863 | 863 | } |
864 | 864 |
|
865 | 865 | /* |
866 | | - * Chrome Connect attention cue: |
867 | | - * - Section: emerald border + glow (same weight as orange button cue, no scale) |
868 | | - * - Buttons: strong orange pulse (unchanged) |
| 866 | + * Chrome Connect attention cue (orange, synced for section + buttons). |
869 | 867 | * |
870 | | - * Note: a global .orbital-section rule used border/box-shadow !important; the |
871 | | - * wallet-required card is excluded so this cue can paint. |
| 868 | + * Section: border + glow + subtle bitcoin-orange wash — no scale. |
| 869 | + * Buttons: strong orange pulse (with light scale). |
| 870 | + * |
| 871 | + * Flicker guard: attention class carries only `animation` (no static highlight |
| 872 | + * after the run). Keyframe 0%/100% equal rest styles via --wallet-section-*. |
| 873 | + * Class is removed after 2.1s to match the animation duration. |
872 | 874 | */ |
873 | 875 | .auxillaries-bitcode-surface .wallet-required-section, |
874 | 876 | .wallet-required-section { |
| 877 | + --wallet-section-rest-border: rgba(251, 146, 60, 0.36); |
| 878 | + --wallet-section-rest-shadow: 0 18px 44px rgba(0, 0, 0, 0.2); |
| 879 | + --wallet-section-rest-bg: linear-gradient( |
| 880 | + 145deg, |
| 881 | + rgba(42, 25, 11, 0.86), |
| 882 | + rgba(14, 22, 36, 0.86) |
| 883 | + ); |
875 | 884 | position: relative; |
876 | 885 | border-style: solid; |
877 | 886 | border-width: 1px; |
878 | | - box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2); |
879 | | - transition: |
880 | | - border-color 160ms ease, |
881 | | - box-shadow 160ms ease; |
| 887 | + border-color: var(--wallet-section-rest-border); |
| 888 | + box-shadow: var(--wallet-section-rest-shadow); |
| 889 | + background: var(--wallet-section-rest-bg); |
| 890 | + /* No transition on border/shadow — transitions re-flash after animation ends. */ |
| 891 | + transition: none; |
882 | 892 | } |
883 | 893 |
|
884 | 894 | .wallet-required-section--pending { |
885 | | - border-color: rgba(251, 146, 60, 0.36); |
| 895 | + --wallet-section-rest-border: rgba(251, 146, 60, 0.36); |
886 | 896 | } |
887 | 897 |
|
888 | 898 | .wallet-required-section--connected { |
889 | | - border-color: rgba(103, 254, 183, 0.34); |
| 899 | + --wallet-section-rest-border: rgba(103, 254, 183, 0.34); |
890 | 900 | } |
891 | 901 |
|
892 | 902 | @keyframes wallet-section-attention { |
893 | 903 | 0%, |
894 | 904 | 100% { |
895 | | - border-color: rgba(101, 254, 183, 0.4); |
896 | | - box-shadow: |
897 | | - 0 18px 44px rgba(0, 0, 0, 0.2), |
898 | | - 0 0 0 0 rgba(101, 254, 183, 0); |
| 905 | + border-color: var(--wallet-section-rest-border); |
| 906 | + box-shadow: var(--wallet-section-rest-shadow); |
| 907 | + background: var(--wallet-section-rest-bg); |
899 | 908 | } |
900 | 909 | 12%, |
901 | 910 | 38% { |
902 | | - /* No transform/scale — border + glow only (emerald twin of button cue). */ |
903 | | - border-color: rgba(190, 255, 220, 0.95); |
| 911 | + /* Same weight as button cue; border/glow only (no size growth). */ |
| 912 | + border-color: rgba(254, 215, 170, 0.95); |
| 913 | + background: linear-gradient( |
| 914 | + 145deg, |
| 915 | + rgba(92, 42, 10, 0.94), |
| 916 | + rgba(28, 18, 12, 0.9) |
| 917 | + ); |
904 | 918 | box-shadow: |
905 | 919 | 0 18px 44px rgba(0, 0, 0, 0.28), |
906 | | - 0 0 0 2px rgba(101, 254, 183, 0.8), |
907 | | - 0 0 36px rgba(101, 254, 183, 0.58), |
908 | | - 0 0 0 1px rgba(101, 254, 183, 0.28) inset; |
| 920 | + 0 0 0 2px rgba(251, 146, 60, 0.8), |
| 921 | + 0 0 36px rgba(251, 146, 60, 0.58), |
| 922 | + 0 0 0 1px rgba(251, 146, 60, 0.28) inset; |
909 | 923 | } |
910 | 924 | 55% { |
911 | | - border-color: rgba(134, 239, 172, 0.78); |
| 925 | + border-color: rgba(253, 186, 116, 0.82); |
| 926 | + background: linear-gradient( |
| 927 | + 145deg, |
| 928 | + rgba(64, 32, 10, 0.9), |
| 929 | + rgba(18, 16, 20, 0.88) |
| 930 | + ); |
912 | 931 | box-shadow: |
913 | 932 | 0 18px 44px rgba(0, 0, 0, 0.24), |
914 | | - 0 0 0 1px rgba(101, 254, 183, 0.55), |
915 | | - 0 0 22px rgba(101, 254, 183, 0.38); |
| 933 | + 0 0 0 1px rgba(251, 146, 60, 0.55), |
| 934 | + 0 0 22px rgba(251, 146, 60, 0.4); |
916 | 935 | } |
917 | 936 | } |
918 | 937 |
|
|
921 | 940 | 100% { |
922 | 941 | transform: translateY(0) scale(1); |
923 | 942 | box-shadow: none; |
| 943 | + border-color: rgba(251, 146, 60, 0.34); |
| 944 | + background: rgba(251, 146, 60, 0.14); |
| 945 | + color: rgba(255, 247, 237, 0.98); |
924 | 946 | } |
925 | 947 | 12%, |
926 | 948 | 38% { |
|
943 | 965 | } |
944 | 966 | } |
945 | 967 |
|
| 968 | +/* Only animation — no static highlight props (those caused end flicker). */ |
946 | 969 | .auxillaries-bitcode-surface .wallet-required-section.wallet-connect-attention-section, |
947 | 970 | .wallet-required-section.wallet-connect-attention-section { |
948 | | - animation: wallet-section-attention 2.1s ease-out 1; |
949 | | - border-color: rgba(167, 243, 208, 0.88); |
950 | | - box-shadow: |
951 | | - 0 18px 44px rgba(0, 0, 0, 0.28), |
952 | | - 0 0 0 2px rgba(101, 254, 183, 0.72), |
953 | | - 0 0 32px rgba(101, 254, 183, 0.48); |
| 971 | + animation: wallet-section-attention 2.1s ease-out 1 both; |
954 | 972 | } |
955 | 973 |
|
956 | 974 | .wallet-connect-attention-button { |
957 | | - animation: wallet-connect-button-attention 2.1s ease-out 1; |
| 975 | + animation: wallet-connect-button-attention 2.1s ease-out 1 both; |
958 | 976 | will-change: transform, box-shadow, background-color, border-color; |
959 | 977 | } |
960 | 978 |
|
|
966 | 984 |
|
967 | 985 | .auxillaries-bitcode-surface .wallet-required-section.wallet-connect-attention-section, |
968 | 986 | .wallet-required-section.wallet-connect-attention-section { |
969 | | - border-color: rgba(167, 243, 208, 0.85); |
| 987 | + border-color: rgba(254, 215, 170, 0.9); |
| 988 | + background: linear-gradient( |
| 989 | + 145deg, |
| 990 | + rgba(92, 42, 10, 0.94), |
| 991 | + rgba(28, 18, 12, 0.9) |
| 992 | + ); |
970 | 993 | box-shadow: |
971 | 994 | 0 18px 44px rgba(0, 0, 0, 0.2), |
972 | | - 0 0 0 2px rgba(101, 254, 183, 0.65), |
973 | | - 0 0 28px rgba(101, 254, 183, 0.4); |
| 995 | + 0 0 0 2px rgba(251, 146, 60, 0.65), |
| 996 | + 0 0 28px rgba(251, 146, 60, 0.4); |
974 | 997 | } |
975 | 998 |
|
976 | 999 | .wallet-connect-attention-button { |
|
0 commit comments