|
43 | 43 | min-width: 400px; |
44 | 44 | } |
45 | 45 |
|
| 46 | +/* New activity feed styles */ |
| 47 | +.contributors-activities { |
| 48 | + display: flex; |
| 49 | + flex-direction: column; |
| 50 | + gap: 8px; |
| 51 | + margin-top: 12px; |
| 52 | + max-height: 240px; |
| 53 | + overflow-y: auto; |
| 54 | + scrollbar-width: thin; |
| 55 | + scrollbar-color: rgba(255, 255, 255, 0.2) transparent; |
| 56 | +} |
| 57 | + |
| 58 | +.contributors-activities::-webkit-scrollbar { |
| 59 | + width: 4px; |
| 60 | +} |
| 61 | + |
| 62 | +.contributors-activities::-webkit-scrollbar-track { |
| 63 | + background: transparent; |
| 64 | +} |
| 65 | + |
| 66 | +.contributors-activities::-webkit-scrollbar-thumb { |
| 67 | + background-color: rgba(255, 255, 255, 0.2); |
| 68 | + border-radius: 4px; |
| 69 | +} |
| 70 | + |
| 71 | +.contributor-activity-item { |
| 72 | + display: flex; |
| 73 | + align-items: center; |
| 74 | + padding: 8px 10px; |
| 75 | + border-radius: 10px; |
| 76 | + background-color: rgba(255, 255, 255, 0.08); |
| 77 | + transition: background-color 0.2s ease; |
| 78 | +} |
| 79 | + |
| 80 | +.contributor-activity-item:hover { |
| 81 | + background-color: rgba(255, 255, 255, 0.12); |
| 82 | +} |
| 83 | + |
| 84 | +.activity-item-avatar { |
| 85 | + margin-right: 12px; |
| 86 | + position: relative; |
| 87 | +} |
| 88 | + |
| 89 | +.activity-item-img { |
| 90 | + width: 32px; |
| 91 | + height: 32px; |
| 92 | + border-radius: 50%; |
| 93 | + border: 2px solid rgba(255, 255, 255, 0.2); |
| 94 | +} |
| 95 | + |
| 96 | +.activity-item-content { |
| 97 | + flex: 1; |
| 98 | + min-width: 0; |
| 99 | +} |
| 100 | + |
| 101 | +.activity-item-user { |
| 102 | + display: flex; |
| 103 | + justify-content: space-between; |
| 104 | + align-items: center; |
| 105 | +} |
| 106 | + |
| 107 | +.activity-item-username { |
| 108 | + font-weight: 600; |
| 109 | + font-size: 0.9rem; |
| 110 | + white-space: nowrap; |
| 111 | + overflow: hidden; |
| 112 | + text-overflow: ellipsis; |
| 113 | + color: rgba(255, 255, 255, 0.95); |
| 114 | +} |
| 115 | + |
| 116 | +.activity-item-badge { |
| 117 | + background-color: rgba(59, 130, 246, 0.2); |
| 118 | + padding: 2px 6px; |
| 119 | + border-radius: 12px; |
| 120 | + font-size: 0.8rem; |
| 121 | + color: rgba(255, 255, 255, 0.9); |
| 122 | +} |
| 123 | + |
| 124 | +.activity-item-action { |
| 125 | + font-size: 0.8rem; |
| 126 | + color: rgba(255, 255, 255, 0.7); |
| 127 | + margin-top: 2px; |
| 128 | +} |
| 129 | + |
| 130 | +.activities-more { |
| 131 | + text-align: center; |
| 132 | + padding: 8px; |
| 133 | + font-size: 0.85rem; |
| 134 | + color: rgba(255, 255, 255, 0.7); |
| 135 | + background-color: rgba(255, 255, 255, 0.05); |
| 136 | + border-radius: 8px; |
| 137 | + margin-top: 4px; |
| 138 | +} |
| 139 | + |
46 | 140 | /* Header embedded version - larger size */ |
47 | 141 | .floating-contributors-container.header-embedded .floating-contributors-card { |
48 | 142 | min-width: 450px; |
|
414 | 508 | transform: translateX(-50%) translateY(-8px); |
415 | 509 | } |
416 | 510 |
|
417 | | -.tooltip-name { |
| 511 | +.tooltip-name, |
| 512 | +.tooltip-username { |
418 | 513 | font-weight: 600; |
419 | 514 | margin-bottom: 2px; |
420 | 515 | } |
|
0 commit comments