mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-23 10:45:33 -04:00
9e0d3976e1
Co-authored-by: Frank <frank@anoma.ly> Co-authored-by: Aarav Sareen <96787824+arvsrn@users.noreply.github.com> Co-authored-by: Brendan Allan <git@brendonovich.dev> Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> Co-authored-by: Jack <jack@anoma.ly> Co-authored-by: Brendan Allan <14191578+Brendonovich@users.noreply.github.com> Co-authored-by: Shoubhit Dash <shoubhit2005@gmail.com> Co-authored-by: opencode-agent[bot] <219766164+opencode-agent[bot]@users.noreply.github.com> Co-authored-by: James Long <longster@gmail.com> Co-authored-by: Dustin Deus <deusdustin@gmail.com> Co-authored-by: starptech <starptech@starptechs-MBP.fritz.box> Co-authored-by: Luke Parker <10430890+Hona@users.noreply.github.com> Co-authored-by: 𝓛𝓲𝓽𝓽𝓵𝓮 𝓕𝓻𝓪𝓷𝓴 <little-frank@opencord.local> Co-authored-by: Dax <mail@thdxr.com> Co-authored-by: usrnk1 <7547651+usrnk1@users.noreply.github.com> Co-authored-by: Jay <53023+jayair@users.noreply.github.com> Co-authored-by: runvip <164729189+runvip@users.noreply.github.com> Co-authored-by: opencode <opencode@sst.dev> Co-authored-by: Julian Coy <julian@ex-machina.co> Co-authored-by: Vladimir Glafirov <vglafirov@gitlab.com> Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com> Co-authored-by: Kit Langton <kit.langton@gmail.com> Co-authored-by: Simon Klee <hello@simonklee.dk> Co-authored-by: Jay <air@live.ca> Co-authored-by: David Hill <1879069+iamdavidhill@users.noreply.github.com>
128 lines
2.5 KiB
CSS
128 lines
2.5 KiB
CSS
[data-component="session-tab-popover-trigger"] {
|
|
display: flex;
|
|
width: 100%;
|
|
min-width: 0;
|
|
}
|
|
|
|
[data-component="session-tab-popover"] {
|
|
z-index: 50;
|
|
box-sizing: border-box;
|
|
width: 256px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
padding: 12px;
|
|
|
|
background: var(--v2-background-bg-base);
|
|
border-radius: 6px;
|
|
box-shadow: var(--v2-elevation-floating);
|
|
|
|
color: var(--v2-text-text-base);
|
|
font-variant-numeric: tabular-nums;
|
|
user-select: none;
|
|
pointer-events: none;
|
|
|
|
transform-origin: var(--kb-hovercard-content-transform-origin);
|
|
/* Entrance: instant (trying no animation — may revert to 120ms ease-out). */
|
|
animation: none;
|
|
|
|
&:focus-visible,
|
|
&:focus-within {
|
|
outline: none;
|
|
}
|
|
|
|
/* Exit: instant (trying no animation — may revert to 80ms ease-out). */
|
|
&[data-closed] {
|
|
animation: none;
|
|
}
|
|
|
|
/* Warm streak (rapid tab hopping): appear/disappear instantly so the enter
|
|
and exit animations don't repeat on every tab. */
|
|
&[data-instant],
|
|
&[data-instant][data-closed] {
|
|
animation: none;
|
|
}
|
|
|
|
[data-slot="header"] {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
width: 100%;
|
|
}
|
|
|
|
[data-slot="project"] {
|
|
font-weight: 440;
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
letter-spacing: -0.04px;
|
|
color: var(--v2-text-text-muted);
|
|
}
|
|
|
|
[data-slot="title"] {
|
|
font-weight: 530;
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
letter-spacing: -0.04px;
|
|
color: var(--v2-text-text-base);
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
[data-slot="row"] {
|
|
display: flex;
|
|
width: 100%;
|
|
min-width: 0;
|
|
}
|
|
|
|
[data-slot="detail"] {
|
|
flex: 1 0 0;
|
|
min-width: 0;
|
|
/* Wrap the full path onto the next line instead of clipping the end. */
|
|
overflow-wrap: anywhere;
|
|
font-weight: 440;
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
letter-spacing: -0.04px;
|
|
color: var(--v2-text-text-muted);
|
|
}
|
|
|
|
[data-slot="server"] {
|
|
font-weight: 440;
|
|
font-size: 13px;
|
|
line-height: 1;
|
|
letter-spacing: -0.04px;
|
|
color: var(--v2-text-text-muted);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
}
|
|
|
|
@keyframes sessionTabPopoverIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: scale(0.96);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
}
|
|
}
|
|
|
|
@keyframes sessionTabPopoverOut {
|
|
from {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
}
|
|
to {
|
|
opacity: 0;
|
|
transform: scale(0.96);
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
[data-component="session-tab-popover"],
|
|
[data-component="session-tab-popover"][data-closed] {
|
|
animation: none;
|
|
}
|
|
}
|