coleswebsite/css/activity.css
2025-06-04 14:23:00 -05:00

163 lines
No EOL
2.6 KiB
CSS

#activity-tab {
overflow-y: auto;
padding-right: 8px;
height: 100%;
}
#activity-tab h2 {
margin-top: 0;
}
#activity-tab::-webkit-scrollbar {
width: 8px;
}
#activity-tab::-webkit-scrollbar-thumb {
background: color-mix(in srgb, var(--accent-color) 40%, transparent);
border-radius: 4px;
}
#activity-tab,
#activity-tab h2,
#activity-tab::-webkit-scrollbar,
#activity-tab::-webkit-scrollbar-thumb,
#activity-logs {
display: flex;
flex-direction: column;
gap: 12px;
}
.activity-filters {
display: flex;
justify-content: center;
gap: 10px;
margin-bottom: 12px;
}
.filter-btn {
background: #1b1429;
color: #e6dbff;
border: none;
padding: 6px 12px;
border-radius: 8px;
cursor: pointer;
transition: background 0.2s, box-shadow 0.2s;
font-size: 0.9rem;
}
.filter-btn:hover {
background: #322a45;
}
.filter-btn.active {
background: var(--accent-color);
box-shadow: 0 0 8px var(--accent-color);
}
.activity-wrapper {
display: flex;
align-items: center;
gap: 12px;
background: #1b1429;
padding: 12px;
border-radius: 12px;
box-shadow: inset 0 0 10px var(--accent-color)20;
}
.activity-icon {
width: 64px;
height: 64px;
border-radius: 50%;
object-fit: cover;
flex-shrink: 0;
border: 2px solid #b592ff;
box-shadow: 0 0 10px var(--accent-color)90;
}
.activity-info {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
}
.activity-title {
font-weight: bold;
font-size: 0.95rem;
color: #e6dbff;
text-decoration: none;
display: flex;
align-items: center;
gap: 6px;
}
.activity-title:hover {
text-decoration: underline;
color: #c9a8ff;
}
.activity-subtitle {
font-size: 0.8rem;
color: #b7a4d4;
margin-top: 2px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.activity-type {
position: absolute;
top: 8px;
right: 8px;
font-size: 0.7rem;
padding: 2px 6px;
border-radius: 10px;
color: white;
}
.type-music {
background: #1DB954;
}
.type-game {
background: #5865F2;
}
.pagination-controls {
display: flex;
justify-content: center;
align-items: center;
margin-top: 24px;
gap: 12px;
width: 100%;
position: relative;
}
.pagination-controls select {
background: #2b1f4c;
color: white;
border: none;
padding: 6px;
border-radius: 6px;
position: absolute;
left: 0;
bottom: -32px;
}
.pagination-controls button {
background: #322a45;
color: #e6dbff;
border: none;
padding: 6px 10px;
border-radius: 6px;
cursor: pointer;
transition: background 0.2s;
}
.pagination-controls button:hover {
background: var(--accent-color);
}
#activity-loading {
display: none;
}