-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathquantum-orb.css
More file actions
117 lines (99 loc) · 2.26 KB
/
Copy pathquantum-orb.css
File metadata and controls
117 lines (99 loc) · 2.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
/* Quantum Orb Styles */
.quantum-orb-container {
transform-style: preserve-3d;
perspective: 1000px;
will-change: transform;
transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
/* Hardware acceleration hints */
backface-visibility: hidden;
-webkit-backface-visibility: hidden;
transform: translateZ(0);
-webkit-transform: translateZ(0);
}
.quantum-orb-container:hover {
transform: translateY(-2px) scale(1.02);
}
.quantum-orb-container:active {
transform: translateY(1px) scale(0.98);
}
/* Quantum particles */
.quantum-particle {
position: absolute;
border-radius: 50%;
background-color: theme('colors.quantum.particle');
box-shadow: 0 0 10px theme('colors.brand.emerald-glow-60');
opacity: 0;
transform: scale(0);
animation: quantum-particle-float 10s infinite ease-in-out;
animation-delay: var(--delay, 0s);
}
@keyframes quantum-particle-float {
0% {
opacity: 0;
transform: translateY(10px) scale(0);
}
20% {
opacity: var(--opacity, 0.6);
transform: translateY(0) scale(1);
}
80% {
opacity: var(--opacity, 0.6);
transform: translateY(0) scale(1);
}
100% {
opacity: 0;
transform: translateY(-10px) scale(0);
}
}
/* Orbital ring animations are defined in the SSOT: app/styles/orbital-rings.css */
/* Pulse animation for active state */
@keyframes quantum-pulse {
0%,
100% {
transform: scale(1);
opacity: 0.5;
}
50% {
transform: scale(1.1);
opacity: 0.8;
}
}
/* Glow animation */
@keyframes glow-pulse {
0%,
100% {
opacity: 0.7;
filter: blur(8px);
}
50% {
opacity: 1;
filter: blur(12px);
}
}
/* Performance optimizations */
.wavy-blob-container,
.quantum-orb-ring,
.glow-inner,
.glow-outer,
.core-pulse,
.quantum-orb-outer-glow,
.quantum-orb-active-indicator {
will-change: transform, opacity;
transform: translateZ(0);
backface-visibility: hidden;
}
/* Reduce paint area for blur effects */
.glow-inner,
.glow-outer,
.quantum-orb-outer-glow {
contain: paint;
}
/* Optimize animations */
@media (prefers-reduced-motion: reduce) {
.quantum-orb-container * {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
animation-delay: 0.01ms !important;
}
}