|
94 | 94 | font-weight: bold; |
95 | 95 | } |
96 | 96 |
|
97 | | -/* REWARD CLAIMS CAROUSEL */ |
| 97 | +/* RECENT ACTIVITY CAROUSEL */ |
98 | 98 |
|
99 | | -.reward-claims-header { |
| 99 | +.activity-header { |
100 | 100 | display: flex; |
101 | 101 | justify-content: space-between; |
102 | 102 | align-items: center; |
103 | 103 | margin-bottom: 15px; |
104 | 104 | } |
105 | 105 |
|
106 | | -.reward-claims-header h5 { |
| 106 | +.activity-header h5 { |
107 | 107 | margin: 0; |
108 | 108 | font-size: 16px; |
109 | 109 | font-weight: 600; |
110 | 110 | color: white; |
111 | 111 | } |
112 | 112 |
|
113 | | -.reward-claims-nav { |
| 113 | +.activity-nav { |
114 | 114 | display: flex; |
115 | 115 | gap: 8px; |
116 | 116 | } |
117 | 117 |
|
118 | | -.reward-claims-nav button { |
| 118 | +.activity-nav button { |
119 | 119 | background: rgba(255, 255, 255, 0.08); |
120 | 120 | border: 1px solid rgba(255, 255, 255, 0.1); |
121 | 121 | border-radius: 8px; |
|
130 | 130 | transition: background 0.2s; |
131 | 131 | } |
132 | 132 |
|
133 | | -.reward-claims-nav button:hover { |
| 133 | +.activity-nav button:hover { |
134 | 134 | background: rgba(255, 255, 255, 0.15); |
135 | 135 | } |
136 | 136 |
|
137 | | -.reward-claims-carousel { |
| 137 | +.activity-carousel { |
138 | 138 | display: flex; |
139 | 139 | gap: 14px; |
140 | 140 | overflow-x: auto; |
|
144 | 144 | padding-bottom: 4px; |
145 | 145 | } |
146 | 146 |
|
147 | | -.reward-claims-carousel::-webkit-scrollbar { |
| 147 | +.activity-carousel::-webkit-scrollbar { |
148 | 148 | display: none; |
149 | 149 | } |
150 | 150 |
|
151 | | -.reward-claim-card { |
| 151 | +.activity-card { |
152 | 152 | flex: 0 0 230px; |
153 | 153 | scroll-snap-align: start; |
154 | 154 | background: rgba(255, 255, 255, 0.04); |
|
158 | 158 | transition: border-color 0.2s; |
159 | 159 | } |
160 | 160 |
|
161 | | -.reward-claim-card:hover { |
| 161 | +.activity-card:hover { |
162 | 162 | border-color: rgba(255, 255, 255, 0.2); |
163 | 163 | } |
164 | 164 |
|
165 | | -.reward-claim-card-top { |
| 165 | +.activity-card-top { |
166 | 166 | display: flex; |
167 | 167 | align-items: center; |
168 | 168 | gap: 10px; |
169 | 169 | margin-bottom: 12px; |
170 | 170 | } |
171 | 171 |
|
172 | | -.reward-claim-protocol { |
| 172 | +.activity-protocol { |
173 | 173 | font-size: 12px; |
174 | 174 | font-weight: 600; |
175 | 175 | color: rgba(255, 255, 255, 0.5); |
176 | 176 | text-transform: uppercase; |
177 | 177 | letter-spacing: 0.5px; |
178 | 178 | } |
179 | 179 |
|
180 | | -.reward-claim-amount { |
| 180 | +.activity-type { |
| 181 | + margin-left: auto; |
| 182 | + font-size: 10px; |
| 183 | + font-weight: 600; |
| 184 | + text-transform: uppercase; |
| 185 | + letter-spacing: 0.5px; |
| 186 | + padding: 2px 7px; |
| 187 | + border-radius: 4px; |
| 188 | +} |
| 189 | + |
| 190 | +.activity-type.claimed { |
| 191 | + color: #50e3c2; |
| 192 | + background: rgba(80, 227, 194, 0.12); |
| 193 | +} |
| 194 | + |
| 195 | +.activity-type.delegated { |
| 196 | + color: #7b9cff; |
| 197 | + background: rgba(123, 156, 255, 0.12); |
| 198 | +} |
| 199 | + |
| 200 | +.activity-amount { |
181 | 201 | font-size: 20px; |
182 | 202 | font-weight: 700; |
183 | | - color: #50e3c2; |
184 | 203 | margin-bottom: 14px; |
185 | 204 | } |
186 | 205 |
|
187 | | -.reward-claim-symbol { |
| 206 | +.activity-amount.reward { |
| 207 | + color: #50e3c2; |
| 208 | +} |
| 209 | + |
| 210 | +.activity-symbol { |
188 | 211 | font-size: 13px; |
189 | 212 | font-weight: 500; |
190 | 213 | color: rgba(255, 255, 255, 0.5); |
191 | 214 | } |
192 | 215 |
|
193 | | -.reward-claim-details { |
| 216 | +.activity-details { |
194 | 217 | display: flex; |
195 | 218 | flex-direction: column; |
196 | 219 | gap: 6px; |
197 | 220 | margin-bottom: 12px; |
198 | 221 | } |
199 | 222 |
|
200 | | -.reward-claim-row { |
| 223 | +.activity-row { |
201 | 224 | display: flex; |
202 | 225 | align-items: center; |
203 | 226 | gap: 8px; |
204 | 227 | font-size: 13px; |
205 | 228 | } |
206 | 229 |
|
207 | | -.reward-claim-label { |
| 230 | +.activity-label { |
208 | 231 | color: rgba(255, 255, 255, 0.35); |
209 | 232 | font-size: 12px; |
210 | 233 | min-width: 20px; |
211 | 234 | } |
212 | 235 |
|
213 | | -.reward-claim-time { |
| 236 | +.activity-time { |
214 | 237 | font-size: 12px; |
215 | 238 | color: rgba(255, 255, 255, 0.35); |
216 | 239 | } |
217 | 240 |
|
218 | 241 | /* MOBILE OVERRIDES */ |
219 | 242 |
|
220 | 243 | @media only screen and (max-width: 767px) { |
221 | | - /* Tighter reward claim cards */ |
222 | | - .reward-claim-card { |
| 244 | + .activity-card { |
223 | 245 | flex: 0 0 190px; |
224 | 246 | padding: 14px; |
225 | 247 | border-radius: 10px; |
226 | 248 | } |
227 | 249 |
|
228 | | - .reward-claim-card-top { |
| 250 | + .activity-card-top { |
229 | 251 | margin-bottom: 8px; |
230 | 252 | } |
231 | 253 |
|
232 | | - .reward-claim-amount { |
| 254 | + .activity-amount { |
233 | 255 | font-size: 17px; |
234 | 256 | margin-bottom: 10px; |
235 | 257 | } |
236 | 258 |
|
237 | | - .reward-claim-details { |
| 259 | + .activity-details { |
238 | 260 | margin-bottom: 8px; |
239 | 261 | } |
240 | 262 |
|
241 | | - .reward-claims-carousel { |
| 263 | + .activity-carousel { |
242 | 264 | gap: 10px; |
243 | 265 | scroll-padding-left: 0; |
244 | 266 | } |
|
0 commit comments