slopus--happy
98e40dac97
CLI Smoke Test / smoke-test-linux (20) (push) Has been cancelled
CLI Smoke Test / smoke-test-linux (24) (push) Has been cancelled
CLI Smoke Test / smoke-test-windows (20) (push) Has been cancelled
CLI Smoke Test / smoke-test-windows (24) (push) Has been cancelled
Expo App TypeScript typecheck / typecheck (push) Has been cancelled
232 行
4.7 KiB
CSS
232 行
4.7 KiB
CSS
.app__sidebar {
|
|
position: relative;
|
|
width: var(--sidebar-width, 319px);
|
|
min-width: var(--sidebar-width, 319px);
|
|
padding-top: var(--height-toolbar);
|
|
background: transparent;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: visible;
|
|
transition:
|
|
width 180ms ease,
|
|
min-width 180ms ease,
|
|
opacity 120ms ease;
|
|
}
|
|
|
|
html.is-resizing-sidebar .app__sidebar,
|
|
html.is-resizing-sidebar .app__toolbar {
|
|
transition: none !important;
|
|
}
|
|
|
|
.app__sidebar > .app__sidebar-nav,
|
|
.app__sidebar > .app__sidebar-footer {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.app__sidebar-nav {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1px;
|
|
padding: 0 8px;
|
|
}
|
|
|
|
.app__sidebar-footer {
|
|
margin-top: auto;
|
|
padding: 8px;
|
|
border-top: 1px solid var(--color-border-light);
|
|
}
|
|
|
|
.app__sidebar-header,
|
|
.app__sidebar-section-header {
|
|
/* Match Codex: regular case 13px, no tracking, slight indent. */
|
|
padding: 8px 8px 2px;
|
|
font-size: var(--text-base);
|
|
line-height: 1.5;
|
|
color: var(--color-text-foreground-tertiary);
|
|
}
|
|
|
|
.app__nav-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
width: 100%;
|
|
min-height: 30px;
|
|
padding: 5px 8px;
|
|
border-radius: 12.5px;
|
|
font-size: var(--text-sm);
|
|
line-height: 1.42;
|
|
color: var(--color-text-foreground);
|
|
text-align: left;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.app__nav-item:hover,
|
|
.app__nav-item:focus-visible {
|
|
background: var(--color-hover);
|
|
color: var(--color-text-foreground);
|
|
}
|
|
|
|
.app__nav-item:focus-visible {
|
|
outline: 2px solid var(--color-border-focus);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.app__nav-item--active,
|
|
.app__nav-item--active:hover,
|
|
.app__nav-item--active:focus-visible {
|
|
background: var(--color-active);
|
|
color: var(--color-text-foreground);
|
|
}
|
|
|
|
.app__nav-item--nested {
|
|
padding-left: 20px;
|
|
}
|
|
|
|
.app__nav-item > span {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.app__nav-kbd {
|
|
margin-left: auto;
|
|
padding: 2px 6px;
|
|
border-radius: 10px;
|
|
background: color-mix(in srgb, currentColor 10%, transparent);
|
|
color: inherit;
|
|
font-size: 11px;
|
|
line-height: 1;
|
|
font-family: inherit;
|
|
}
|
|
|
|
.app__sidebar-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.app__sidebar-row {
|
|
display: flex;
|
|
align-items: stretch;
|
|
width: 100%;
|
|
}
|
|
|
|
.app__sidebar-row-main {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
/* Truncate long chat titles instead of wrapping. */
|
|
.app__sidebar-row-label {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
min-width: 0;
|
|
}
|
|
|
|
.app__sidebar-row-close {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 24px;
|
|
height: 24px;
|
|
margin: 3px 0 3px 4px;
|
|
border-radius: 10px;
|
|
color: var(--color-text-foreground-tertiary);
|
|
background: transparent;
|
|
opacity: 0;
|
|
transition:
|
|
opacity 120ms ease,
|
|
background 120ms ease,
|
|
color 120ms ease;
|
|
}
|
|
|
|
.app__sidebar-row:hover .app__sidebar-row-close,
|
|
.app__sidebar-row-close:focus-visible {
|
|
opacity: 1;
|
|
}
|
|
|
|
.app__sidebar-row-close:hover {
|
|
background: var(--color-hover);
|
|
color: var(--color-text-foreground);
|
|
}
|
|
|
|
.app__project {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1px;
|
|
}
|
|
|
|
.app__project-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 2px 0;
|
|
}
|
|
|
|
.app__project-title {
|
|
flex: 1;
|
|
min-width: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 5px 8px;
|
|
color: var(--color-text-foreground-secondary);
|
|
font-size: var(--text-sm);
|
|
}
|
|
|
|
.app__project-title span {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.app__project-add {
|
|
width: 26px;
|
|
height: 26px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 9px;
|
|
background: transparent;
|
|
color: var(--color-text-foreground-tertiary);
|
|
}
|
|
|
|
.app__project-add:hover,
|
|
.app__project-add:focus-visible {
|
|
background: var(--color-hover);
|
|
color: var(--color-text-foreground);
|
|
}
|
|
|
|
.app__context-menu {
|
|
min-width: 164px;
|
|
padding: 4px;
|
|
border: 1px solid var(--color-border-light);
|
|
border-radius: 8px;
|
|
background: var(--color-background-elevated-primary-opaque);
|
|
box-shadow: 0 12px 28px color-mix(in srgb, #000 18%, transparent);
|
|
z-index: 1000;
|
|
}
|
|
|
|
.app__context-menu-item {
|
|
display: flex;
|
|
align-items: center;
|
|
min-height: 28px;
|
|
padding: 5px 8px;
|
|
border-radius: 6px;
|
|
color: var(--color-text-foreground);
|
|
font-size: var(--text-sm);
|
|
outline: none;
|
|
}
|
|
|
|
.app__context-menu-item[data-highlighted] {
|
|
background: var(--color-hover);
|
|
}
|
|
|
|
.app__context-menu-item--danger {
|
|
color: var(--color-decoration-deleted);
|
|
}
|