|
61 | 61 | .item:hover::before { opacity: 1; } |
62 | 62 | .item:active { transform: scale(0.98); } |
63 | 63 |
|
| 64 | +.auxillariesSolarIcon { |
| 65 | + position: relative; |
| 66 | + display: inline-flex; |
| 67 | + width: 1.85rem; |
| 68 | + height: 1.85rem; |
| 69 | + flex: 0 0 auto; |
| 70 | + align-items: center; |
| 71 | + justify-content: center; |
| 72 | + border-radius: 999px; |
| 73 | + color: #67feb7; |
| 74 | + filter: drop-shadow(0 0 9px rgba(101, 254, 183, 0.22)); |
| 75 | +} |
| 76 | + |
| 77 | +.auxillariesSolarHalo { |
| 78 | + position: absolute; |
| 79 | + inset: 0.24rem; |
| 80 | + border-radius: 999px; |
| 81 | + background: |
| 82 | + radial-gradient(circle at center, rgba(101, 254, 183, 0.2), transparent 58%), |
| 83 | + radial-gradient(circle at 60% 44%, rgba(56, 189, 248, 0.12), transparent 62%); |
| 84 | + opacity: 0.78; |
| 85 | + transform: scale(0.96); |
| 86 | + transition: opacity 180ms ease, transform 180ms ease; |
| 87 | +} |
| 88 | + |
| 89 | +.auxillariesSolarCore { |
| 90 | + position: absolute; |
| 91 | + width: 0.36rem; |
| 92 | + height: 0.36rem; |
| 93 | + border-radius: 999px; |
| 94 | + background: #67feb7; |
| 95 | + box-shadow: |
| 96 | + 0 0 0 2px rgba(101, 254, 183, 0.14), |
| 97 | + 0 0 13px rgba(101, 254, 183, 0.78); |
| 98 | + animation: auxillariesSolarPulse 2600ms ease-in-out infinite; |
| 99 | +} |
| 100 | + |
| 101 | +.auxillariesSolarRing { |
| 102 | + --solar-ring-size: 1.5rem; |
| 103 | + --solar-ring-duration: 9s; |
| 104 | + position: absolute; |
| 105 | + left: 50%; |
| 106 | + top: 50%; |
| 107 | + width: var(--solar-ring-size); |
| 108 | + height: var(--solar-ring-size); |
| 109 | + border: 1px solid rgba(101, 254, 183, 0.44); |
| 110 | + border-radius: 999px; |
| 111 | + transform: translate(-50%, -50%) rotate(0deg); |
| 112 | + animation: auxillariesSolarOrbit var(--solar-ring-duration) linear infinite; |
| 113 | + box-shadow: |
| 114 | + 0 0 10px rgba(101, 254, 183, 0.12), |
| 115 | + inset 0 0 8px rgba(56, 189, 248, 0.08); |
| 116 | +} |
| 117 | + |
| 118 | +.auxillariesSolarRing::after { |
| 119 | + content: ''; |
| 120 | + position: absolute; |
| 121 | + top: 50%; |
| 122 | + right: -0.12rem; |
| 123 | + width: 0.24rem; |
| 124 | + height: 0.24rem; |
| 125 | + border-radius: 999px; |
| 126 | + background: #eafff7; |
| 127 | + box-shadow: |
| 128 | + 0 0 7px rgba(101, 254, 183, 0.8), |
| 129 | + 0 0 14px rgba(56, 189, 248, 0.26); |
| 130 | + transform: translateY(-50%); |
| 131 | +} |
| 132 | + |
| 133 | +.auxillariesSolarRing[data-ring='outer'] { |
| 134 | + --solar-ring-size: 1.78rem; |
| 135 | + --solar-ring-duration: 11s; |
| 136 | + border-color: rgba(101, 254, 183, 0.34); |
| 137 | +} |
| 138 | + |
| 139 | +.auxillariesSolarRing[data-ring='middle'] { |
| 140 | + --solar-ring-size: 1.42rem; |
| 141 | + --solar-ring-duration: 8.2s; |
| 142 | + border-color: rgba(34, 211, 238, 0.34); |
| 143 | + animation-direction: reverse; |
| 144 | +} |
| 145 | + |
| 146 | +.auxillariesSolarRing[data-ring='middle']::after { |
| 147 | + right: auto; |
| 148 | + left: -0.1rem; |
| 149 | + width: 0.2rem; |
| 150 | + height: 0.2rem; |
| 151 | + background: #a7f3d0; |
| 152 | +} |
| 153 | + |
| 154 | +.auxillariesSolarRing[data-ring='inner'] { |
| 155 | + --solar-ring-size: 1.02rem; |
| 156 | + --solar-ring-duration: 6.4s; |
| 157 | + border-color: rgba(251, 191, 36, 0.28); |
| 158 | +} |
| 159 | + |
| 160 | +.auxillariesSolarRing[data-ring='inner']::after { |
| 161 | + width: 0.17rem; |
| 162 | + height: 0.17rem; |
| 163 | + background: #f9c855; |
| 164 | + box-shadow: |
| 165 | + 0 0 7px rgba(249, 200, 85, 0.68), |
| 166 | + 0 0 11px rgba(101, 254, 183, 0.22); |
| 167 | +} |
| 168 | + |
| 169 | +.item:hover .auxillariesSolarIcon { |
| 170 | + filter: |
| 171 | + drop-shadow(0 0 12px rgba(101, 254, 183, 0.44)) |
| 172 | + drop-shadow(0 0 18px rgba(56, 189, 248, 0.16)); |
| 173 | +} |
| 174 | + |
| 175 | +.item:hover .auxillariesSolarHalo { |
| 176 | + opacity: 1; |
| 177 | + transform: scale(1.05); |
| 178 | +} |
| 179 | + |
| 180 | +.item:hover .auxillariesSolarRing[data-ring='outer'] { |
| 181 | + border-color: rgba(101, 254, 183, 0.58); |
| 182 | + animation-duration: 7.2s; |
| 183 | +} |
| 184 | + |
| 185 | +.item:hover .auxillariesSolarRing[data-ring='middle'] { |
| 186 | + border-color: rgba(34, 211, 238, 0.52); |
| 187 | + animation-duration: 5.8s; |
| 188 | +} |
| 189 | + |
| 190 | +.item:hover .auxillariesSolarRing[data-ring='inner'] { |
| 191 | + border-color: rgba(251, 191, 36, 0.44); |
| 192 | + animation-duration: 4.6s; |
| 193 | +} |
| 194 | + |
64 | 195 | .danger { color: #f87171; } |
65 | 196 | .danger:hover { background: rgba(248, 113, 113, 0.08); } |
66 | 197 | .dangerIcon { color: #f87171; } |
|
72 | 203 | box-shadow: 0 10px 40px rgba(0,0,0,0.45), 0 0 0 1px rgba(101, 254, 183, 0.07), inset 0 0 24px rgba(101, 254, 183, 0.04); |
73 | 204 | border-radius: 12px; |
74 | 205 | } |
| 206 | + |
| 207 | +@keyframes auxillariesSolarOrbit { |
| 208 | + from { |
| 209 | + transform: translate(-50%, -50%) rotate(0deg); |
| 210 | + } |
| 211 | + |
| 212 | + to { |
| 213 | + transform: translate(-50%, -50%) rotate(360deg); |
| 214 | + } |
| 215 | +} |
| 216 | + |
| 217 | +@keyframes auxillariesSolarPulse { |
| 218 | + 0%, |
| 219 | + 100% { |
| 220 | + opacity: 0.84; |
| 221 | + transform: scale(0.94); |
| 222 | + } |
| 223 | + |
| 224 | + 50% { |
| 225 | + opacity: 1; |
| 226 | + transform: scale(1.08); |
| 227 | + } |
| 228 | +} |
| 229 | + |
| 230 | +@media (prefers-reduced-motion: reduce) { |
| 231 | + .auxillariesSolarRing, |
| 232 | + .auxillariesSolarCore { |
| 233 | + animation: none; |
| 234 | + } |
| 235 | +} |
0 commit comments