feat(sns): add my timeline shortcut

This commit is contained in:
aits2026
2026-03-06 10:55:23 +08:00
parent 8d9a042489
commit 4f40b4af49
2 changed files with 214 additions and 1 deletions

View File

@@ -80,6 +80,56 @@
}
}
.feed-my-timeline-entry {
display: inline-flex;
align-items: center;
gap: 8px;
width: fit-content;
padding: 0;
border: none;
background: transparent;
font-size: 14px;
line-height: 1.4;
color: var(--text-secondary);
cursor: default;
transition: color 0.2s ease, opacity 0.2s ease;
.feed-my-timeline-label {
font-weight: 500;
}
.feed-my-timeline-count {
color: var(--text-primary);
font-weight: 600;
}
&.ready {
cursor: pointer;
&:hover {
color: var(--primary);
}
&:hover .feed-my-timeline-count {
color: var(--primary);
}
&:focus-visible {
outline: 2px solid var(--primary);
outline-offset: 3px;
border-radius: 6px;
}
}
&.loading {
opacity: 0.72;
}
&:disabled {
opacity: 0.68;
}
}
.feed-stats-retry {
border: none;
background: transparent;