mirror of
https://github.com/linsa-io/linsa.git
synced 2026-01-12 12:20:23 +01:00
* wip * wip * wip3 * chore: utils * feat: add command * wip * fix: key duplicate * fix: move and check * fix: use react-use instead * fix: sidebar * chore: make dynamic * chore: tablet mode * chore: fix padding * chore: link instead of inbox * fix: use dnd kit * feat: add select component * chore: use atom * refactor: remove dnd provider * feat: disabled drag when sort is not manual * search route * . * feat: accessibility * fix: search * . * . * . * fix: sidebar collapsed * ai search layout * . * . * . * . * ai responsible content * . * . * . * . * . * global topic route * global topic correct route * topic buttons * sidebar search navigation * ai * Update jazz * . * . * . * . * . * learning status * . * . * chore: content header * fix: pointer none when dragging. prevent auto click after drag end * fix: confirm * fix: prevent drag when editing * chore: remove unused fn * fix: check propagation * chore: list * chore: tweak sonner * chore: update stuff * feat: add badge * chore: close edit when create * chore: escape on manage form * refactor: remove learn path * css: responsive item * chore: separate pages and topic * reafactor: remove new-schema * feat(types): extend jazz type so it can be nullable * chore: use new types * fix: missing deps * fix: link * fix: sidebar in layout * fix: quotes * css: use medium instead semi * Actual streaming and rendering markdown response * . * . * . * . * . * . * . * . * . * . * . * . * . * . * . * . * . * . * . * . * . * chore: metadata * feat: la-editor * . * fix: editor and page * . * . * . * . * . * . * fix: remove link * chore: page sidebar * fix: remove 'replace with learning status' * fix: link * fix: link * chore: update schema * chore: use new schema * fix: instead of showing error, just do unique slug * feat: create slug * refactor apply * update package json * fix: schema personal page * chore: editor * feat: pages * fix: metadata * fix: jazz provider * feat: handling data * feat: page detail * chore: server page to id * chore: use id instead of slug * chore: update content header * chore: update link header implementation * refactor: global.css * fix: la editor use animation frame * fix: editor export ref * refactor: page detail * chore: tidy up schema * chore: adapt to new schema * fix: wrap using settimeout * fix: wrap using settimeout * . * . --------- Co-authored-by: marshennikovaolga <marshennikova@gmail.com> Co-authored-by: Nikita <github@nikiv.dev> Co-authored-by: Anselm <anselm.eickhoff@gmail.com> Co-authored-by: Damian Tarnawski <gthetarnav@gmail.com>
83 lines
2.6 KiB
CSS
83 lines
2.6 KiB
CSS
.la-editor div.tiptap p {
|
|
@apply text-[var(--la-font-size-regular)];
|
|
}
|
|
|
|
.la-editor .ProseMirror ol {
|
|
@apply list-decimal;
|
|
}
|
|
|
|
.la-editor .ProseMirror ol ol {
|
|
list-style: lower-alpha;
|
|
}
|
|
|
|
.la-editor .ProseMirror ol ol ol {
|
|
list-style: lower-roman;
|
|
}
|
|
|
|
.la-editor .ProseMirror ul {
|
|
list-style: disc;
|
|
}
|
|
|
|
.la-editor .ProseMirror ul ul {
|
|
list-style: circle;
|
|
}
|
|
|
|
.la-editor .ProseMirror ul ul ul {
|
|
list-style: square;
|
|
}
|
|
|
|
.la-editor .ProseMirror ul[data-type="taskList"] {
|
|
@apply list-none pl-1;
|
|
}
|
|
|
|
.la-editor .ProseMirror ul[data-type="taskList"] p {
|
|
@apply m-0;
|
|
}
|
|
|
|
.la-editor .ProseMirror ul[data-type="taskList"] li > label {
|
|
@apply mr-2 mt-0.5 flex-none select-none;
|
|
}
|
|
|
|
.la-editor .ProseMirror li[data-type="taskItem"] {
|
|
@apply flex flex-row items-start;
|
|
}
|
|
|
|
.la-editor .ProseMirror li[data-type="taskItem"] .taskItem-checkbox-container {
|
|
@apply relative pr-2;
|
|
}
|
|
|
|
.la-editor .ProseMirror .taskItem-drag-handle {
|
|
@apply absolute -left-5 top-1.5 h-[18px] w-[18px] cursor-move pl-0.5 text-[var(--la-secondary)] opacity-0;
|
|
}
|
|
|
|
.la-editor
|
|
.ProseMirror
|
|
li[data-type="taskItem"]:hover:not(:has(li:hover))
|
|
> .taskItem-checkbox-container
|
|
> .taskItem-drag-handle {
|
|
@apply opacity-100;
|
|
}
|
|
|
|
.la-editor .ProseMirror .taskItem-drag-handle:hover {
|
|
@apply text-[var(--la-drag-handle-hover)];
|
|
}
|
|
|
|
.la-editor .ProseMirror .taskItem-checkbox {
|
|
fill-opacity: 0;
|
|
@apply h-3.5 w-3.5 flex-shrink-0 cursor-pointer select-none appearance-none rounded border border-solid border-[var(--la-secondary)] bg-transparent bg-[1px_2px] p-0.5 align-middle transition-colors duration-75 ease-out;
|
|
}
|
|
|
|
.la-editor .ProseMirror .taskItem-checkbox:checked {
|
|
@apply border-primary bg-primary bg-no-repeat;
|
|
background-image: url("data:image/svg+xml;utf8,%3Csvg%20width=%2210%22%20height=%229%22%20viewBox=%220%200%2010%208%22%20xmlns=%22http://www.w3.org/2000/svg%22%20fill=%22%23fbfbfb%22%3E%3Cpath%20d=%22M3.46975%205.70757L1.88358%204.1225C1.65832%203.8974%201.29423%203.8974%201.06897%204.1225C0.843675%204.34765%200.843675%204.7116%201.06897%204.93674L3.0648%206.93117C3.29006%207.15628%203.65414%207.15628%203.8794%206.93117L8.93103%201.88306C9.15633%201.65792%209.15633%201.29397%208.93103%201.06883C8.70578%200.843736%208.34172%200.843724%208.11646%201.06879C8.11645%201.0688%208.11643%201.06882%208.11642%201.06883L3.46975%205.70757Z%22%20stroke-width=%220.2%22%20/%3E%3C/svg%3E");
|
|
}
|
|
|
|
.la-editor .ProseMirror .taskItem-content {
|
|
@apply min-w-0 flex-1;
|
|
}
|
|
|
|
.la-editor .ProseMirror li[data-checked="true"] .taskItem-content > :not([data-type="taskList"]),
|
|
.la-editor .ProseMirror li[data-checked="true"] .taskItem-content .taskItem-checkbox {
|
|
@apply opacity-75;
|
|
}
|