|
83 | 83 | cursor: pointer; /* Add pointer cursor to indicate clickable */ |
84 | 84 | } |
85 | 85 |
|
| 86 | +[data-theme='dark'] .contributor-activity-item { |
| 87 | + background-color: rgba(71, 85, 105, 0.3); |
| 88 | +} |
| 89 | + |
| 90 | +[data-theme='dark'] .contributor-activity-item:hover { |
| 91 | + background-color: rgba(71, 85, 105, 0.5); |
| 92 | +} |
| 93 | + |
| 94 | +[data-theme='light'] .contributor-activity-item { |
| 95 | + background-color: rgba(241, 245, 249, 0.6); |
| 96 | +} |
| 97 | + |
| 98 | +[data-theme='light'] .contributor-activity-item:hover { |
| 99 | + background-color: rgba(226, 232, 240, 0.8); |
| 100 | +} |
| 101 | + |
86 | 102 | .contributor-activity-item:hover { |
87 | 103 | background-color: rgba(255, 255, 255, 0.15); |
88 | 104 | transform: translateY(-2px); /* Slight lift effect on hover */ |
|
131 | 147 | color: rgba(255, 255, 255, 0.95); |
132 | 148 | } |
133 | 149 |
|
| 150 | +[data-theme='dark'] .activity-item-username { |
| 151 | + color: #f1f5f9; |
| 152 | +} |
| 153 | + |
| 154 | +[data-theme='light'] .activity-item-username { |
| 155 | + color: #1e293b; |
| 156 | +} |
| 157 | + |
134 | 158 | .activity-item-badge { |
135 | 159 | background-color: rgba(59, 130, 246, 0.2); |
136 | 160 | padding: 2px 6px; |
|
139 | 163 | color: rgba(255, 255, 255, 0.9); |
140 | 164 | } |
141 | 165 |
|
| 166 | +[data-theme='dark'] .activity-item-badge { |
| 167 | + background-color: rgba(139, 92, 246, 0.2); |
| 168 | + color: #c084fc; |
| 169 | +} |
| 170 | + |
| 171 | +[data-theme='light'] .activity-item-badge { |
| 172 | + background-color: rgba(59, 130, 246, 0.15); |
| 173 | + color: #3b82f6; |
| 174 | +} |
| 175 | + |
142 | 176 | .activity-item-action { |
143 | 177 | font-size: 0.8rem; |
144 | 178 | color: rgba(255, 255, 255, 0.7); |
145 | 179 | margin-top: 2px; |
146 | 180 | } |
147 | 181 |
|
| 182 | +[data-theme='dark'] .activity-item-action { |
| 183 | + color: rgba(203, 213, 225, 0.8); |
| 184 | +} |
| 185 | + |
| 186 | +[data-theme='light'] .activity-item-action { |
| 187 | + color: rgba(71, 85, 105, 0.8); |
| 188 | +} |
| 189 | + |
148 | 190 | .activities-more { |
149 | 191 | text-align: center; |
150 | 192 | padding: 8px; |
|
155 | 197 | margin-top: 4px; |
156 | 198 | } |
157 | 199 |
|
| 200 | +[data-theme='dark'] .activities-more { |
| 201 | + color: rgba(203, 213, 225, 0.8); |
| 202 | + background-color: rgba(71, 85, 105, 0.2); |
| 203 | +} |
| 204 | + |
| 205 | +[data-theme='light'] .activities-more { |
| 206 | + color: rgba(71, 85, 105, 0.8); |
| 207 | + background-color: rgba(241, 245, 249, 0.5); |
| 208 | +} |
| 209 | + |
158 | 210 | /* Header embedded version - larger size */ |
159 | 211 | .floating-contributors-container.header-embedded .floating-contributors-card { |
160 | 212 | min-width: 450px; |
|
199 | 251 | transition: background 0.3s ease, box-shadow 0.3s ease; |
200 | 252 | } |
201 | 253 |
|
| 254 | +/* Dark mode text color overrides */ |
| 255 | +[data-theme='dark'] .floating-contributors-title { |
| 256 | + color: #f1f5f9; |
| 257 | +} |
| 258 | + |
| 259 | +[data-theme='dark'] .floating-contributors-subtitle { |
| 260 | + color: rgba(203, 213, 225, 0.8); |
| 261 | +} |
| 262 | + |
| 263 | +[data-theme='dark'] .floating-contributors-close { |
| 264 | + color: rgba(203, 213, 225, 0.7); |
| 265 | + background: rgba(71, 85, 105, 0.3); |
| 266 | +} |
| 267 | + |
| 268 | +[data-theme='dark'] .activity-username { |
| 269 | + color: #f1f5f9; |
| 270 | +} |
| 271 | + |
| 272 | +[data-theme='dark'] .activity-message { |
| 273 | + color: rgba(203, 213, 225, 0.8); |
| 274 | +} |
| 275 | + |
| 276 | +[data-theme='dark'] .activity-time { |
| 277 | + color: rgba(148, 163, 184, 0.7); |
| 278 | +} |
| 279 | + |
| 280 | +[data-theme='dark'] .contributors-grid-header { |
| 281 | + color: #f1f5f9; |
| 282 | + background: rgba(71, 85, 105, 0.4); |
| 283 | +} |
| 284 | + |
| 285 | +[data-theme='dark'] .floating-contributors-activity { |
| 286 | + background: rgba(71, 85, 105, 0.3); |
| 287 | +} |
| 288 | + |
| 289 | +[data-theme='dark'] .floating-contributors-activity:hover { |
| 290 | + background: rgba(71, 85, 105, 0.5); |
| 291 | +} |
| 292 | + |
| 293 | +[data-theme='dark'] .contributors-avatars { |
| 294 | + background: rgba(71, 85, 105, 0.2); |
| 295 | +} |
| 296 | + |
| 297 | +[data-theme='dark'] .activity-action-badge { |
| 298 | + background: rgba(139, 92, 246, 0.2); |
| 299 | + color: #c084fc; |
| 300 | +} |
| 301 | + |
| 302 | +[data-theme='dark'] .contributors-count { |
| 303 | + background: rgba(139, 92, 246, 0.2); |
| 304 | + color: #c084fc; |
| 305 | +} |
| 306 | + |
| 307 | +[data-theme='dark'] .contributors-more { |
| 308 | + background: rgba(71, 85, 105, 0.3); |
| 309 | + border-color: rgba(148, 163, 184, 0.3); |
| 310 | + color: rgba(203, 213, 225, 0.8); |
| 311 | +} |
| 312 | + |
| 313 | +[data-theme='dark'] .contributors-more:hover { |
| 314 | + background: rgba(139, 92, 246, 0.3); |
| 315 | + border-color: rgba(139, 92, 246, 0.5); |
| 316 | + color: #f1f5f9; |
| 317 | +} |
| 318 | + |
202 | 319 | .floating-contributors-card::before { |
203 | 320 | content: ''; |
204 | 321 | position: absolute; |
|
0 commit comments