jan/uikit/src/command/styles.scss
Faisal Amir 424b00338e
feat: revamp thread screen (#802)
* Make thread screen as default screen

* Blank state when user have not any model

* Cleanup topbar thread screen

* Improve style right panel

* Add instructions right panel

* Styling thread list history

* Resolve conflict

* Default title new thread

* Fix trigger panel sidebar

* Make default right panel false when no activethread

* Fix CI test

* chore: assistant instruction with system prompt

* Fix title and blank state explore the hub

* Claenup style thread screen and add buble message for assitant

* Remove unused import

* Styling more menus on thread list and right panel, and make max height textarea 400 pixel

* Finished revamp ui thread

* Finished system monitor UI

* Style box running models

* Make animate right panel more smooth

* Add status arround textarea for starting model info

* Temporary disable hide left panel

* chore: system resource monitoring update

* copy nits

* chore: typo

* Reverse icon chevron accordion

* Move my models into setting page

---------

Co-authored-by: Louis <louis@jan.ai>
Co-authored-by: 0xSage <n@pragmatic.vc>
2023-12-04 10:55:47 +07:00

46 lines
1.1 KiB
SCSS

.command {
@apply bg-background/80 text-muted-foreground flex h-full w-full flex-col overflow-hidden rounded-md text-left;
&-modal-content {
@apply overflow-hidden p-0;
> .modal-close {
top: 12px;
}
}
&-input-wrapper {
@apply border-border flex items-center border-b px-3;
}
&-input {
@apply placeholder:text-muted-foreground flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none disabled:cursor-not-allowed disabled:opacity-50;
}
&-search-icon {
@apply mr-2 h-4 w-4 shrink-0 opacity-50;
}
&-list {
@apply max-h-[300px] overflow-y-auto overflow-x-hidden py-2;
}
&-list-item {
@apply text-foreground aria-selected:bg-secondary relative flex cursor-pointer select-none items-center rounded-md px-2 py-2 text-sm outline-none;
}
&-empty {
@apply py-6 text-center text-sm;
}
&-group {
@apply text-muted-foreground overflow-hidden p-1 px-2 py-1.5 text-xs font-medium;
> [cmdk-group-heading] {
@apply mb-2 pl-2;
}
}
&-sc {
@apply text-muted-foreground ml-auto text-xs tracking-widest;
}
}