Skip to content

Commit 05457f8

Browse files
V48 (implementation-only): Sync Connect highlight settle for bg and border
Align section and button keyframes so background, border, glow, and scale all peak and return to rest on the same stops (rest fully restored by 58%), removing the trailing button bg after size/border quiet down.
1 parent ad194de commit 05457f8

1 file changed

Lines changed: 35 additions & 18 deletions

File tree

uapi/styles/auxillaries-bitcode.css

Lines changed: 35 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -899,16 +899,25 @@
899899
--wallet-section-rest-border: rgba(103, 254, 183, 0.34);
900900
}
901901

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+
*/
902910
@keyframes wallet-section-attention {
903911
0%,
912+
58%,
904913
100% {
905914
border-color: var(--wallet-section-rest-border);
906915
box-shadow: var(--wallet-section-rest-shadow);
907916
background: var(--wallet-section-rest-bg);
908917
}
909918
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). */
912921
border-color: rgba(254, 215, 170, 0.95);
913922
background: linear-gradient(
914923
145deg,
@@ -921,58 +930,66 @@
921930
0 0 36px rgba(251, 146, 60, 0.58),
922931
0 0 0 1px rgba(251, 146, 60, 0.28) inset;
923932
}
924-
55% {
925-
border-color: rgba(253, 186, 116, 0.82);
933+
48% {
934+
border-color: rgba(253, 186, 116, 0.72);
926935
background: linear-gradient(
927936
145deg,
928937
rgba(64, 32, 10, 0.9),
929938
rgba(18, 16, 20, 0.88)
930939
);
931940
box-shadow:
932941
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);
935944
}
936945
}
937946

938947
@keyframes wallet-connect-button-attention {
939948
0%,
949+
58%,
940950
100% {
941951
transform: translateY(0) scale(1);
942952
box-shadow: none;
943953
border-color: rgba(251, 146, 60, 0.34);
954+
background-color: rgba(251, 146, 60, 0.14);
944955
background: rgba(251, 146, 60, 0.14);
945956
color: rgba(255, 247, 237, 0.98);
946957
}
947958
12%,
948-
38% {
959+
40% {
960+
/* Peak: bg, border, glow, and scale all move together. */
949961
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;
953966
box-shadow:
954967
0 0 0 2px rgba(251, 146, 60, 0.75),
955968
0 0 28px rgba(251, 146, 60, 0.65),
956969
0 12px 28px rgba(0, 0, 0, 0.28);
957970
}
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);
962978
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);
965981
}
966982
}
967983

968984
/* Only animation — no static highlight props (those caused end flicker). */
969985
.auxillaries-bitcode-surface .wallet-required-section.wallet-connect-attention-section,
970986
.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;
972989
}
973990

974991
.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;
976993
will-change: transform, box-shadow, background-color, border-color;
977994
}
978995

0 commit comments

Comments
 (0)