wip: desktop work

This commit is contained in:
Adam
2025-10-27 15:35:47 -05:00
parent d03b79e61e
commit fc115ea367
13 changed files with 854 additions and 297 deletions

View File

@@ -1,23 +1,55 @@
[data-component="collapsible"] {
width: 100%;
display: flex;
flex-direction: column;
background-color: var(--surface-inset-base);
border: 1px solid var(--border-weaker-base);
transition: background-color 0.15s ease;
border-radius: 8px;
overflow: clip;
[data-slot="trigger"] {
cursor: pointer;
[data-slot="collapsible-trigger"] {
width: 100%;
display: flex;
height: 40px;
padding: 6px 8px 6px 12px;
align-items: center;
align-self: stretch;
cursor: default;
user-select: none;
color: var(--text-base);
/* text-12-medium */
font-family: var(--font-family-sans);
font-size: var(--font-size-small);
font-style: normal;
font-weight: var(--font-weight-medium);
line-height: var(--line-height-large); /* 166.667% */
letter-spacing: var(--letter-spacing-normal);
/* &:hover { */
/* background-color: var(--surface-base); */
/* } */
&:focus-visible {
outline: 2px solid var(--border-focus);
outline-offset: 2px;
outline: none;
}
&[data-disabled] {
cursor: not-allowed;
opacity: 0.5;
}
[data-slot="collapsible-arrow"] {
width: 24px;
height: 24px;
display: flex;
align-items: center;
justify-content: center;
/* [data-slot="collapsible-arrow-icon"] { */
/* } */
}
}
[data-slot="content"] {
[data-slot="collapsible-content"] {
overflow: hidden;
/* animation: slideUp 250ms ease-out; */