mirror of
https://github.com/Dasemu/Synapse.git
synced 2026-11-27 15:56:43 +00:00
Initial import of LogDarioSeq baseline
Establishes version control for the personal Logseq DB fork before starting the server-client architecture migration and domain features described in docs/agent-guide and the approved implementation plan. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
commit
40631362b3
2016 files changed
+543898
No files matched your search
@@ -0,0 +1,166 @@
|
||||
/*
|
||||
lsradix theme for code-mirror
|
||||
http://ethanschoonover.com/lsradix
|
||||
*/
|
||||
|
||||
/*
|
||||
lsradix color palette
|
||||
http://ethanschoonover.com/lsradix/img/lsradix-palette.png
|
||||
*/
|
||||
|
||||
.lsradix.base03 { color: var(--lx-gray-01, #002b36); }
|
||||
.dark .lsradix.base03 { color: var(--lx-gray-02, #002b36); }
|
||||
.lsradix.base02 { color: var(--lx-gray-02, #073642); }
|
||||
.dark .lsradix.base02 { color: var(--lx-gray-01, #073642); }
|
||||
.lsradix.base01 { color: var(--lx-gray-03, #586e75); }
|
||||
.lsradix.base00 { color: var(--lx-gray-04, #657b83); }
|
||||
.lsradix.base0 { color: var(--lx-gray-09, #839496); }
|
||||
.lsradix.base1 { color: var(--lx-gray-10, #93a1a1); }
|
||||
.lsradix.base2 { color: var(--lx-gray-11, #eee8d5); }
|
||||
.lsradix.base3 { color: var(--lx-gray-11, #fdf6e3); }
|
||||
.lsradix.solar-yellow { color: var(--rx-yellow-11, #b58900); }
|
||||
.lsradix.solar-orange { color: var(--rx-orange-11, #cb4b16); }
|
||||
.lsradix.solar-red { color: var(--rx-red-11, #dc322f); }
|
||||
.lsradix.solar-magenta { color: var(--rx-pink-11, #d33682); }
|
||||
.lsradix.solar-violet { color: var(--rx-purple-11, #6c71c4); }
|
||||
.lsradix.solar-blue { color: var(--rx-blue-11, #268bd2); }
|
||||
.lsradix.solar-cyan { color: var(--rx-sky-11, #2aa198); }
|
||||
.lsradix.solar-green { color: var(--rx-grass-11, #859900); }
|
||||
|
||||
/* Color scheme for code-mirror */
|
||||
|
||||
.cm-s-lsradix {
|
||||
line-height: 1.45em;
|
||||
color-profile: sRGB;
|
||||
rendering-intent: auto;
|
||||
}
|
||||
.cm-s-lsradix.cm-s-dark {
|
||||
background-color: var(--lx-gray-01, hsl(var(--secondary)/.7));
|
||||
color: var(--ls-primary-text-color, var(--lx-gray-10, hsl(var(--secondary-foreground))));
|
||||
}
|
||||
|
||||
.dark .cm-s-lsradix.cm-s-dark {
|
||||
background-color: var(--lx-gray-02, hsl(var(--secondary)/.7));
|
||||
}
|
||||
|
||||
.cm-s-lsradix.cm-s-light {
|
||||
background-color: var(--lx-gray-02, hsl(var(--secondary)/.7));
|
||||
color: var(--lx-gray-10, hsl(var(--secondary-foreground)));
|
||||
}
|
||||
|
||||
.cm-s-lsradix .CodeMirror-widget {
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
.cm-s-lsradix .cm-header { color: var(--lx-gray-03, #586e75); }
|
||||
.cm-s-lsradix .cm-quote { color: var(--lx-gray-10, #93a1a1); }
|
||||
|
||||
.cm-s-lsradix .cm-keyword { color: var(--rx-orange-11, #cb4b16); }
|
||||
.cm-s-lsradix .cm-atom { color: var(--rx-pink-11, #d33682); }
|
||||
.cm-s-lsradix .cm-number { color: var(--rx-pink-11, #d33682); }
|
||||
.cm-s-lsradix .cm-def { color: var(--rx-sky-11, #2aa198); }
|
||||
|
||||
/* .cm-s-lsradix .cm-variable { color: var(--lx-gray-09, #839496); } */
|
||||
.cm-s-lsradix .cm-variable { color: var(--lx-gray-12, #839496); }
|
||||
.cm-s-lsradix .cm-variable-2 { color: var(--rx-yellow-11, #b58900); }
|
||||
.cm-s-lsradix .cm-variable-3, .cm-s-lsradix .cm-type { color: var(--rx-purple-11, #6c71c4); }
|
||||
|
||||
.cm-s-lsradix .cm-property { color: var(--rx-sky-11, #2aa198); }
|
||||
.cm-s-lsradix .cm-operator { color: var(--rx-purple-11, #6c71c4); }
|
||||
|
||||
.cm-s-lsradix .cm-comment { color: var(--lx-gray-10, #586e75); font-style:italic; }
|
||||
|
||||
.cm-s-lsradix .cm-string { color: var(--rx-grass-11, #859900); }
|
||||
.cm-s-lsradix .cm-string-2 { color: var(--rx-yellow-11, #b58900); }
|
||||
|
||||
.cm-s-lsradix .cm-meta { color: var(--rx-grass-11, #859900); }
|
||||
.cm-s-lsradix .cm-qualifier { color: var(--rx-yellow-11, #b58900); }
|
||||
.cm-s-lsradix .cm-builtin { color: var(--rx-pink-11, #d33682); }
|
||||
.cm-s-lsradix .cm-bracket { color: var(--rx-orange-11, #cb4b16); }
|
||||
.cm-s-lsradix .CodeMirror-matchingbracket { color: var(--rx-grass-11, #859900); }
|
||||
.cm-s-lsradix .CodeMirror-nonmatchingbracket { color: var(--rx-red-11, #dc322f); }
|
||||
.cm-s-lsradix .cm-tag { color: var(--lx-gray-10, #93a1a1); }
|
||||
.cm-s-lsradix .cm-attribute { color: var(--rx-sky-11, #2aa198); }
|
||||
.cm-s-lsradix .cm-hr {
|
||||
color: transparent;
|
||||
border-top: 1px solid var(--lx-gray-03, #586e75);
|
||||
display: block;
|
||||
}
|
||||
.cm-s-lsradix .cm-link { color: var(--lx-gray-10, #93a1a1); cursor: pointer; }
|
||||
.cm-s-lsradix .cm-special { color: var(--rx-purple-11, #6c71c4); }
|
||||
.cm-s-lsradix .cm-em {
|
||||
color: #999;
|
||||
text-decoration: underline;
|
||||
text-decoration-style: dotted;
|
||||
}
|
||||
.cm-s-lsradix .cm-error,
|
||||
.cm-s-lsradix .cm-invalidchar {
|
||||
/* color: var(--lx-gray-03, #586e75); */
|
||||
color: var(--lx-gray-10, #586e75);
|
||||
border-bottom: 1px dotted var(--rx-red-11, #dc322f);
|
||||
}
|
||||
|
||||
.cm-s-lsradix.cm-s-dark div.CodeMirror-selected { background: var(--lx-gray-06, rgb(4 38 47 / 99%)); }
|
||||
.cm-s-lsradix.cm-s-dark.CodeMirror ::selection { background: var(--lx-gray-06, rgb(4 38 47 / 99%)); }
|
||||
.cm-s-lsradix.cm-s-dark .CodeMirror-line::-moz-selection, .cm-s-dark .CodeMirror-line > span::-moz-selection, .cm-s-dark .CodeMirror-line > span > span::-moz-selection { background: var(--lx-gray-06, rgb(4 38 47 / 99%)); }
|
||||
|
||||
.cm-s-lsradix.cm-s-light div.CodeMirror-selected { background: var(--lx-gray-06, #eee8d5); }
|
||||
.cm-s-lsradix.cm-s-light .CodeMirror-line::selection, .cm-s-light .CodeMirror-line > span::selection, .cm-s-light .CodeMirror-line > span > span::selection { background: var(--lx-gray-06, #eee8d5); }
|
||||
.cm-s-lsradix.cm-s-light .CodeMirror-line::-moz-selection, .cm-s-light .CodeMirror-line > span::-moz-selection, .cm-s-light .CodeMirror-line > span > span::-moz-selection { background: var(--lx-gray-06, #eee8d5); }
|
||||
|
||||
/* Editor styling */
|
||||
|
||||
|
||||
/* Remove gutter border */
|
||||
.cm-s-lsradix .CodeMirror-gutters {
|
||||
border-right: 0;
|
||||
}
|
||||
|
||||
/* Gutter colors and line number styling based of color scheme (dark / light) */
|
||||
|
||||
/* Dark */
|
||||
.cm-s-lsradix.cm-s-dark .CodeMirror-gutters {
|
||||
background-color: var(--lx-gray-03, hsl(var(--secondary)));
|
||||
}
|
||||
|
||||
.cm-s-lsradix.cm-s-dark .CodeMirror-linenumber {
|
||||
color: var(--lx-gray-09, #586e75);
|
||||
}
|
||||
|
||||
/* Light */
|
||||
.cm-s-lsradix.cm-s-light .CodeMirror-gutters {
|
||||
background-color: var(--lx-gray-03, hsl(var(--secondary)));
|
||||
}
|
||||
|
||||
.cm-s-lsradix.cm-s-light .CodeMirror-linenumber {
|
||||
color: var(--lx-gray-09, #839496);
|
||||
}
|
||||
|
||||
/* Common */
|
||||
.cm-s-lsradix .CodeMirror-linenumber {
|
||||
padding: 0 5px;
|
||||
}
|
||||
.cm-s-lsradix .CodeMirror-guttermarker-subtle { color: var(--lx-gray-03, #586e75); }
|
||||
.cm-s-lsradix.cm-s-dark .CodeMirror-guttermarker { color: #ddd; }
|
||||
.cm-s-lsradix.cm-s-light .CodeMirror-guttermarker { color: var(--rx-orange-11, #cb4b16); }
|
||||
|
||||
.cm-s-lsradix .CodeMirror-gutter .CodeMirror-gutter-text {
|
||||
color: var(--lx-gray-03, #586e75);
|
||||
}
|
||||
|
||||
/* Cursor */
|
||||
.cm-s-lsradix .CodeMirror-cursor { border-left: 1px solid #819090; }
|
||||
|
||||
/* Fat cursor */
|
||||
.cm-s-lsradix.cm-s-light.cm-fat-cursor .CodeMirror-cursor { background: #77ee77; }
|
||||
.cm-s-lsradix.cm-s-light .cm-animate-fat-cursor { background-color: #77ee77; }
|
||||
.cm-s-lsradix.cm-s-dark.cm-fat-cursor .CodeMirror-cursor { background: var(--lx-gray-03, #586e75); }
|
||||
.cm-s-lsradix.cm-s-dark .cm-animate-fat-cursor { background-color: var(--lx-gray-03, #586e75); }
|
||||
|
||||
/* Active line */
|
||||
.cm-s-lsradix.cm-s-dark .CodeMirror-activeline-background {
|
||||
background: rgba(255, 255, 255, 0.06);
|
||||
}
|
||||
.cm-s-lsradix.cm-s-light .CodeMirror-activeline-background {
|
||||
background: rgba(0, 0, 0, 0.06);
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,561 @@
|
||||
html * {
|
||||
border-color: hsl(var(--border));
|
||||
}
|
||||
|
||||
html[data-theme=light] {
|
||||
--accent: var(--rx-gray-12-hsl);
|
||||
--accent-foreground: var(--rx-gray-02-hsl);
|
||||
--input: var(--rx-gray-05-hsl);
|
||||
--secondary: 240 4.8% 95.9%;
|
||||
--kbd-glow-top: transparent;
|
||||
--kbd-glow-bottom: rgba(0, 0, 0, 0.10);
|
||||
}
|
||||
|
||||
html[data-theme=dark] {
|
||||
--accent: var(--rx-gray-12-hsl);
|
||||
--accent-foreground: var(--rx-gray-02-hsl);
|
||||
--primary-foreground: 0 0% 22%;
|
||||
--background: 0 0% 11%;
|
||||
--foreground: 0 0% 95%;
|
||||
--card: 0 0% 11%;
|
||||
--card-foreground: 0 0% 95%;
|
||||
--secondary: 0 0% 20%;
|
||||
--secondary-foreground: 0 0% 98%;
|
||||
--border: 0 0% 16%;
|
||||
--muted: 0 0% 15%;
|
||||
--popover: 0 0% 7%;
|
||||
--popover-foreground: 0 0 95%;
|
||||
--input: 0 0% 16%;
|
||||
--kbd-glow-top: rgba(255, 255, 255, 0.15);
|
||||
--kbd-glow-bottom: rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
|
||||
html {
|
||||
div[data-radix-menu-content],
|
||||
.ui__select-content {
|
||||
--accent: var(--rx-gray-04-hsl);
|
||||
--accent-foreground: var(--rx-gray-12-hsl);
|
||||
|
||||
--muted: var(--rx-gray-05-hsl);
|
||||
}
|
||||
|
||||
.ui__calendar {
|
||||
--accent: var(--rx-gray-04-hsl);
|
||||
--accent-foreground: var(--rx-gray-12-hsl);
|
||||
}
|
||||
|
||||
&:not([data-color=logseq]) {
|
||||
.ui__dropdown-menu-item,
|
||||
div[data-radix-popper-content-wrapper] div[data-radix-collection-item] {
|
||||
&:focus, &.is-active {
|
||||
background-color: var(--lx-gray-04, hsl(var(--accent)));
|
||||
}
|
||||
}
|
||||
|
||||
.ui__dropdown-menu-content.has-search-key {
|
||||
> .head:focus-within + div[data-radix-collection-item] {
|
||||
background-color: var(--lx-gray-04, hsl(var(--accent)));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
div[data-radix-popper-content-wrapper] div[role=menu],
|
||||
.menu-links-wrapper,
|
||||
.menu-links-outer,
|
||||
.absolute-modal[data-modal-name] {
|
||||
background-color: var(--lx-popover-bg, var(--lx-gray-01, hsl(var(--popover))));
|
||||
}
|
||||
}
|
||||
|
||||
&[data-color=logseq] {
|
||||
.references-blocks-item {
|
||||
--lx-bg-override: var(--rx-gray-03-alpha);
|
||||
}
|
||||
|
||||
.block-children-left-border:hover {
|
||||
--ls-block-left-color: var(--rx-logseq-11);
|
||||
}
|
||||
}
|
||||
|
||||
&[data-color=none] {
|
||||
--ls-block-bullet-color: var(--rx-gray-08);
|
||||
--ls-block-bullet-active-color: var(--rx-gray-12);
|
||||
|
||||
::selection {
|
||||
@apply bg-primary/20;
|
||||
}
|
||||
|
||||
#ui__ac-inner {
|
||||
}
|
||||
|
||||
.cp__cmdk {
|
||||
--lx-gray-07: var(--rx-gray-07);
|
||||
}
|
||||
|
||||
.ui__toggle {
|
||||
&-background-off {
|
||||
@apply bg-gray-08;
|
||||
|
||||
.switcher {
|
||||
@apply bg-gray-10;
|
||||
}
|
||||
}
|
||||
|
||||
&-background-on {
|
||||
.switcher {
|
||||
@apply bg-gray-03;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.tl-container {
|
||||
--ls-primary-background-color: hsl(var(--background));
|
||||
--ls-secondary-background-color: var(--rx-gray-01);
|
||||
--ls-tertiary-background-color: var(--rx-gray-03);
|
||||
--ls-quaternary-background-color: var(--rx-gray-05);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
html[data-theme=light] {
|
||||
&[data-color=logseq] {
|
||||
.references-blocks-item {
|
||||
--lx-bg-override: var(--rx-gray-03-alpha);
|
||||
}
|
||||
}
|
||||
|
||||
.extensions__pdf-container {
|
||||
--lx-pdf-container-dark-bg: var(--lx-gray-11, #042f3c);
|
||||
}
|
||||
}
|
||||
|
||||
html[data-theme=dark] {
|
||||
background-color: #161616;
|
||||
|
||||
&[data-color=logseq] {
|
||||
@apply bg-[#002b36];
|
||||
|
||||
.ui__modal-panel {
|
||||
@apply border-accent-01;
|
||||
}
|
||||
|
||||
.tippy-tooltip {
|
||||
@apply border-accent-02;
|
||||
}
|
||||
|
||||
.references-blocks-item {
|
||||
background-color: var(--lx-gray-03, var(--ls-secondary-background-color));
|
||||
}
|
||||
|
||||
.cp__right-sidebar-inner {
|
||||
.references-blocks-item {
|
||||
background-color: var(--lx-gray-04, var(--ls-tertiary-background-color));
|
||||
}
|
||||
}
|
||||
|
||||
.cp__themes-installed {
|
||||
.it.is-active, .it:hover {
|
||||
@apply bg-accent-01;
|
||||
}
|
||||
}
|
||||
|
||||
.ui__button {
|
||||
&.as-outline {
|
||||
--accent: 192 100% 12%;
|
||||
}
|
||||
}
|
||||
|
||||
div[data-radix-menu-content],
|
||||
.ui__select-content {
|
||||
--accent: 190 100% 15%;
|
||||
--muted: 192 100% 13%;
|
||||
--secondary-foreground: 0 0% 82%;
|
||||
}
|
||||
|
||||
.ui__button {
|
||||
&.as-ghost {
|
||||
@apply hover:bg-accent-01;
|
||||
}
|
||||
}
|
||||
|
||||
.menu-separator {
|
||||
@apply opacity-20;
|
||||
}
|
||||
|
||||
.ui__calendar {
|
||||
--accent: 196 100% 15%;
|
||||
}
|
||||
|
||||
.rc-datepicker {
|
||||
--accent: 200 97% 37%;
|
||||
}
|
||||
|
||||
.cp__cmdk {
|
||||
.border-gray-06,
|
||||
.border-gray-07 {
|
||||
border-color: var(--ls-border-color, var(--lx-gray-06));
|
||||
opacity: .6;
|
||||
}
|
||||
|
||||
> .hints {
|
||||
@apply border-accent-01 bg-gray-02;
|
||||
}
|
||||
}
|
||||
|
||||
.tl-button {
|
||||
&:hover {
|
||||
@apply bg-accent-02;
|
||||
}
|
||||
}
|
||||
|
||||
.cp__header {
|
||||
> .r > div:not(.ui__dropdown-trigger) a.button, button.button,
|
||||
.ui__button.as-ghost {
|
||||
@apply opacity-60 hover:opacity-90;
|
||||
}
|
||||
}
|
||||
|
||||
.form-input {
|
||||
@apply border-accent-01;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.ui__dialog-overlay, .ui__alert-dialog-overlay,
|
||||
.ui__dialog-content, .ui__alert-dialog-content,
|
||||
.ui__dropdown-menu-content, .ui__select-content {
|
||||
|
||||
&.z-50 {
|
||||
@apply z-[999];
|
||||
}
|
||||
}
|
||||
|
||||
div[data-radix-popper-content-wrapper] {
|
||||
@apply !z-[999];
|
||||
|
||||
&:has(> .repos-list) {
|
||||
@apply !z-[var(--ls-z-index-level-5)];
|
||||
}
|
||||
}
|
||||
|
||||
.ui__dialog-overlay {
|
||||
&[data-align=start],
|
||||
&[data-align=top] {
|
||||
@apply !items-start;
|
||||
|
||||
.ui__dialog-content {
|
||||
@apply top-20;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.ui__dialog-content {
|
||||
@apply outline-none m-0;
|
||||
|
||||
&:not([data-auto-width]) {
|
||||
width: calc(100% - 2rem);
|
||||
}
|
||||
|
||||
&[data-auto-width] {
|
||||
@apply max-w-[90vw] w-max sm:max-w-[960px];
|
||||
}
|
||||
|
||||
&[data-close-btn=false] {
|
||||
.ui__dialog-close {
|
||||
@apply hidden;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.ui__alert-dialog-content {
|
||||
&[data-mode=confirm] {
|
||||
.ui__alert-dialog-footer {
|
||||
@apply flex justify-between font-normal items-center select-none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Deprecated: .ui__button-shortcut-key - replaced by shui-shortcut-key */
|
||||
|
||||
/* Unified Keyboard Shortcut Component Styles */
|
||||
|
||||
/* Combo Keys - simultaneous key combinations with separator */
|
||||
.shui-shortcut-combo {
|
||||
@apply flex items-start relative rounded;
|
||||
background-color: var(--lx-gray-06-alpha, var(--rx-gray-06-alpha));
|
||||
border: 1px solid var(--lx-gray-06-alpha, var(--rx-gray-06-alpha));
|
||||
box-sizing: border-box;
|
||||
white-space: nowrap;
|
||||
min-width: 0;
|
||||
transition: transform 140ms ease-out, box-shadow 140ms ease-out, filter 140ms ease-out;
|
||||
filter: brightness(1);
|
||||
}
|
||||
|
||||
/* Glow effect for combo and separate keys */
|
||||
/* Top highlight and bottom shadow use theme-aware variables for light/dark visibility */
|
||||
/* Combo keys: glow on container (wraps all keys together) */
|
||||
.shui-shortcut-combo.shui-shortcut-glow {
|
||||
box-shadow: var(--kbd-glow-top) 0px 1px 0px 0px inset, var(--kbd-glow-bottom) 0px -1px 0px 0px inset;
|
||||
border: none;
|
||||
}
|
||||
|
||||
/* Separate keys: glow on individual keys (not container) */
|
||||
.shui-shortcut-separate.shui-shortcut-glow kbd.shui-shortcut-key {
|
||||
box-shadow: var(--kbd-glow-top) 0px 1px 0px 0px inset, var(--kbd-glow-bottom) 0px -1px 0px 0px inset;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.shui-shortcut-combo kbd.shui-shortcut-key {
|
||||
@apply flex flex-col items-center justify-center px-1 py-0.5 relative shrink-0;
|
||||
min-width: 20px;
|
||||
background: transparent;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.shui-shortcut-separator {
|
||||
background-color: var(--lx-gray-07-alpha, var(--rx-gray-07-alpha));
|
||||
align-self: stretch;
|
||||
flex-shrink: 0;
|
||||
width: 1px;
|
||||
}
|
||||
|
||||
/* Separate Keys - sequential key presses with 4px gap */
|
||||
.shui-shortcut-separate {
|
||||
@apply flex items-start relative;
|
||||
gap: 4px;
|
||||
white-space: nowrap;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.shui-shortcut-separate kbd.shui-shortcut-key {
|
||||
@apply flex flex-col items-center justify-center px-1 py-0.5 relative rounded shrink-0;
|
||||
background-color: var(--lx-gray-06-alpha, var(--rx-gray-06-alpha));
|
||||
border: 1px solid var(--lx-gray-06-alpha, var(--rx-gray-06-alpha));
|
||||
box-sizing: border-box;
|
||||
min-width: 20px;
|
||||
}
|
||||
|
||||
/* Compact Keys - minimal text-only style */
|
||||
.shui-shortcut-compact {
|
||||
@apply flex items-start relative;
|
||||
font-family: 'Inter', sans-serif;
|
||||
font-weight: normal;
|
||||
line-height: 16px;
|
||||
font-style: normal;
|
||||
color: var(--lx-gray-12, var(--rx-gray-12));
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
letter-spacing: -0.5px;
|
||||
white-space: nowrap;
|
||||
gap: 2px;
|
||||
}
|
||||
|
||||
/* Individual key styling with inner glow */
|
||||
kbd.shui-shortcut-key,
|
||||
.shui-shortcut-key {
|
||||
@apply text-xs font-normal h-5 flex items-center justify-center;
|
||||
font-family: 'Inter', sans-serif;
|
||||
color: var(--lx-gray-12, var(--rx-gray-12));
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
letter-spacing: -0.5px;
|
||||
padding: 2px 4px;
|
||||
line-height: 16px;
|
||||
min-width: fit-content;
|
||||
transition: transform 140ms ease-out, box-shadow 140ms ease-out, filter 140ms ease-out;
|
||||
box-shadow: 0 0 0 transparent;
|
||||
filter: brightness(1);
|
||||
}
|
||||
|
||||
/* Keys in separate containers get their own styling */
|
||||
.shui-shortcut-separate kbd.shui-shortcut-key {
|
||||
@apply rounded;
|
||||
background-color: var(--lx-gray-06-alpha, var(--rx-gray-06-alpha));
|
||||
border: 1px solid var(--lx-gray-06-alpha, var(--rx-gray-06-alpha));
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
/* Override shortcut text color inside primary buttons for better contrast */
|
||||
.bg-primary kbd.shui-shortcut-key,
|
||||
.bg-primary .shui-shortcut-key,
|
||||
.bg-primary .shui-shortcut-compact,
|
||||
.bg-primary\/90 kbd.shui-shortcut-key,
|
||||
.bg-primary\/90 .shui-shortcut-key,
|
||||
.bg-primary\/90 .shui-shortcut-compact,
|
||||
.bg-primary\/100 kbd.shui-shortcut-key,
|
||||
.bg-primary\/100 .shui-shortcut-key,
|
||||
.bg-primary\/100 .shui-shortcut-compact {
|
||||
color: hsl(var(--primary-foreground));
|
||||
}
|
||||
|
||||
/* Key press animation — separate keys: animate individual kbd elements */
|
||||
kbd.shui-shortcut-key-pressed,
|
||||
.shui-shortcut-key-pressed {
|
||||
transform: translateY(1px);
|
||||
filter: brightness(0.92);
|
||||
}
|
||||
|
||||
.shui-shortcut-separate.shui-shortcut-glow kbd.shui-shortcut-key-pressed {
|
||||
box-shadow: var(--kbd-glow-top) 0px 2px 0px 0px inset, var(--kbd-glow-bottom) 0px -0.5px 0px 0px inset;
|
||||
}
|
||||
|
||||
/* Key press animation — combo keys: animate the container (the whole keycap) */
|
||||
.shui-shortcut-combo.shui-shortcut-key-pressed {
|
||||
transform: translateY(1px);
|
||||
filter: brightness(0.92);
|
||||
}
|
||||
|
||||
.shui-shortcut-combo.shui-shortcut-glow.shui-shortcut-key-pressed {
|
||||
box-shadow: var(--kbd-glow-top) 0px 2px 0px 0px inset, var(--kbd-glow-bottom) 0px -0.5px 0px 0px inset;
|
||||
}
|
||||
|
||||
/* Row highlight animation — accent band sweep (only on actual row elements) */
|
||||
.shui-shortcut-row.shui-shortcut-row--pressed,
|
||||
.shortcut-row.shui-shortcut-row--pressed {
|
||||
background-image: linear-gradient(
|
||||
90deg,
|
||||
transparent 0%,
|
||||
transparent 35%,
|
||||
rgba(223, 239, 254, 0.08) 50%,
|
||||
transparent 65%,
|
||||
transparent 100%
|
||||
);
|
||||
background-size: 300% 100%;
|
||||
background-repeat: no-repeat;
|
||||
animation: shortcut-row-sweep 700ms ease-out forwards;
|
||||
}
|
||||
|
||||
@keyframes shortcut-row-sweep {
|
||||
from { background-position: -50% 0; }
|
||||
to { background-position: 150% 0; }
|
||||
}
|
||||
|
||||
/* Ensure consistent height for shortcut containers */
|
||||
.shui-shortcut-row {
|
||||
min-height: 20px;
|
||||
align-items: center;
|
||||
flex-wrap: nowrap;
|
||||
}
|
||||
|
||||
/* Respect reduced motion preference */
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
kbd.shui-shortcut-key,
|
||||
.shui-shortcut-key,
|
||||
.shui-shortcut-combo {
|
||||
transition: none;
|
||||
transform: none;
|
||||
filter: none;
|
||||
box-shadow: 0 0 0 transparent;
|
||||
}
|
||||
|
||||
.shui-shortcut-row.shui-shortcut-row--pressed,
|
||||
.shortcut-row.shui-shortcut-row--pressed {
|
||||
animation: none !important;
|
||||
background-image: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
.ui__list-item-highlighted-span {
|
||||
background-color: var(--lx-accent-06, var(--color-level-4));
|
||||
}
|
||||
|
||||
.dark .ui__list-item-highlighted-span {
|
||||
background-color: var(--lx-accent-08-alpha, var(--color-level-4));
|
||||
}
|
||||
|
||||
.ui__dropdown-menu-content, div[data-radix-menu-content],
|
||||
.ui__select-content {
|
||||
@apply overflow-y-auto;
|
||||
|
||||
&[data-side=top] {
|
||||
max-height: calc(var(--radix-dropdown-menu-content-available-height) - 20px);
|
||||
}
|
||||
|
||||
&[data-side=bottom] {
|
||||
max-height: calc(var(--radix-dropdown-menu-content-available-height) - 10px);
|
||||
}
|
||||
|
||||
&.text-popover-foreground {
|
||||
color: inherit;
|
||||
}
|
||||
}
|
||||
|
||||
.ui__popover-content {
|
||||
@apply overflow-y-auto;
|
||||
|
||||
&[data-side=top] {
|
||||
max-height: calc(var(--radix-popover-content-available-height) - 40px);
|
||||
}
|
||||
|
||||
&[data-side=bottom] {
|
||||
max-height: calc(var(--radix-popover-content-available-height) - 20px);
|
||||
}
|
||||
}
|
||||
|
||||
.ui__popover-content {
|
||||
@apply !pointer-events-auto;
|
||||
}
|
||||
|
||||
.ui__multi-select-content {
|
||||
@apply relative;
|
||||
|
||||
> .head {
|
||||
@apply sticky top-0 z-10;
|
||||
}
|
||||
|
||||
.search-input {
|
||||
> .ui__input {
|
||||
@apply rounded-[1px] h-8;
|
||||
}
|
||||
}
|
||||
|
||||
&:has([data-radix-collection-item]) {
|
||||
> .head {
|
||||
@apply mb-1.5;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.ui__calendar {
|
||||
.del-date-btn {
|
||||
@apply absolute right-[4px] top-[17px] px-1 opacity-70 hover:opacity-100
|
||||
active:opacity-80 hover:text-red-rx-09 rounded-md !h-6 !w-6;
|
||||
}
|
||||
|
||||
input[type=number] {
|
||||
appearance: initial;
|
||||
}
|
||||
}
|
||||
|
||||
.popper-arrow {
|
||||
fill: white;
|
||||
filter: drop-shadow(0 0 3px var(--lx-gray-12));
|
||||
clip-path: inset(0 -10px -10px -10px);
|
||||
}
|
||||
|
||||
.dark-theme {
|
||||
.popper-arrow {
|
||||
/* FIXME: set the best color for different themes */
|
||||
fill: none;
|
||||
}
|
||||
}
|
||||
|
||||
.ui__toast-content {
|
||||
&.untitled {
|
||||
.ui__toast-header {
|
||||
@apply absolute top-1 right-1 w-fit z-1;
|
||||
}
|
||||
|
||||
.ui__toast-body {
|
||||
@apply flex-initial py-2;
|
||||
}
|
||||
|
||||
.ui__toast-text {
|
||||
@apply flex flex-row items-center gap-2 overflow-auto;
|
||||
}
|
||||
|
||||
.ui__toast-description {
|
||||
@apply max-w-full overflow-auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,153 @@
|
||||
/**
|
||||
* This file is managed manually by Webfont app.
|
||||
* Steps:
|
||||
* - download the zip from Webfont app
|
||||
* - get the tabler-icons-extension.woff2 and replace the one in fonts/tabler-icons-extension.woff2
|
||||
* - update the tie-xxx css rules
|
||||
*/
|
||||
|
||||
@font-face {
|
||||
font-family: 'tabler-icons-extension';
|
||||
src: url('./fonts/tabler-icons-extension.woff2?mxgthk') format('woff2');
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.tie {
|
||||
display: inline-block;
|
||||
font-family: "tabler-icons-extension" !important;
|
||||
font-style: normal !important;
|
||||
font-weight: normal !important;
|
||||
font-variant: normal !important;
|
||||
text-transform: none !important;
|
||||
speak: none;
|
||||
line-height: 1;
|
||||
vertical-align: -.125em;
|
||||
text-rendering: auto;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.tie-add-link::before {
|
||||
content: "\ea01";
|
||||
}
|
||||
|
||||
.tie-app-feature::before {
|
||||
content: "\ea02";
|
||||
}
|
||||
|
||||
.tie-block::before {
|
||||
content: "\ea03";
|
||||
}
|
||||
|
||||
.tie-block-search::before {
|
||||
content: "\ea04";
|
||||
}
|
||||
|
||||
.tie-cloud-exclamation::before {
|
||||
content: "\ea05";
|
||||
}
|
||||
|
||||
.tie-connector::before {
|
||||
content: "\ea06";
|
||||
}
|
||||
|
||||
.tie-group::before {
|
||||
content: "\ea07";
|
||||
}
|
||||
|
||||
.tie-h-auto::before {
|
||||
content: "\ea08";
|
||||
}
|
||||
|
||||
.tie-heading-off::before {
|
||||
content: "\ea09";
|
||||
}
|
||||
|
||||
.tie-internal-link::before {
|
||||
content: "\ea0a";
|
||||
}
|
||||
|
||||
.tie-link-to-block::before {
|
||||
content: "\ea0b";
|
||||
}
|
||||
|
||||
.tie-link-to-page::before {
|
||||
content: "\ea0c";
|
||||
}
|
||||
|
||||
.tie-link-to-whiteboard::before {
|
||||
content: "\ea0d";
|
||||
}
|
||||
|
||||
.tie-move-to-sidebar-right::before {
|
||||
content: "\ea0e";
|
||||
}
|
||||
|
||||
.tie-new-block::before {
|
||||
content: "\ea0f";
|
||||
}
|
||||
|
||||
.tie-new-page::before {
|
||||
content: "\ea10";
|
||||
}
|
||||
|
||||
.tie-new-whiteboard::before {
|
||||
content: "\ea11";
|
||||
}
|
||||
|
||||
.tie-new-whiteboard-element::before {
|
||||
content: "\ea12";
|
||||
}
|
||||
|
||||
.tie-object-compact::before {
|
||||
content: "\ea13";
|
||||
}
|
||||
|
||||
.tie-object-expanded::before {
|
||||
content: "\ea14";
|
||||
}
|
||||
|
||||
.tie-open-as-page::before {
|
||||
content: "\ea15";
|
||||
}
|
||||
|
||||
.tie-page::before {
|
||||
content: "\ea16";
|
||||
}
|
||||
|
||||
.tie-page-search::before {
|
||||
content: "\ea17";
|
||||
}
|
||||
|
||||
.tie-references-hide::before {
|
||||
content: "\ea18";
|
||||
}
|
||||
|
||||
.tie-references-show::before {
|
||||
content: "\ea19";
|
||||
}
|
||||
|
||||
.tie-select-cursor::before {
|
||||
content: "\ea1a";
|
||||
}
|
||||
|
||||
.tie-text::before {
|
||||
content: "\ea1b";
|
||||
}
|
||||
|
||||
.tie-ungroup::before {
|
||||
content: "\ea1c";
|
||||
}
|
||||
|
||||
.tie-whiteboard::before {
|
||||
content: "\ea1d";
|
||||
}
|
||||
|
||||
.tie-whiteboard-element::before {
|
||||
content: "\ea1e";
|
||||
}
|
||||
|
||||
.tie-whiteboard-search::before {
|
||||
content: "\ea1f";
|
||||
}
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
/*!
|
||||
* Tabler Icons 2.47.0 by tabler - https://tabler.io
|
||||
* License - https://github.com/tabler/tabler-icons/blob/master/LICENSE
|
||||
*/@font-face{font-family:"tabler-icons";font-style:normal;font-weight:400;src:url("./fonts/tabler-icons.eot?v2.47.0");src:url("./fonts/tabler-icons.eot?#iefix-v2.47.0") format("embedded-opentype"),url("./fonts/tabler-icons.woff2?v2.47.0") format("woff2"),url("./fonts/tabler-icons.woff?") format("woff"),url("./fonts/tabler-icons.ttf?v2.47.0") format("truetype")}.ti{font-family:"tabler-icons" !important;speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ti-12-hours:before{content:"\fc53"}.ti-123:before{content:"\f554"}.ti-24-hours:before{content:"\f5e7"}.ti-2fa:before{content:"\eca0"}.ti-360:before{content:"\f62f"}.ti-360-view:before{content:"\f566"}.ti-3d-cube-sphere:before{content:"\ecd7"}.ti-3d-cube-sphere-off:before{content:"\f3b5"}.ti-3d-rotate:before{content:"\f020"}.ti-a-b:before{content:"\ec36"}.ti-a-b-2:before{content:"\f25f"}.ti-a-b-off:before{content:"\f0a6"}.ti-abacus:before{content:"\f05c"}.ti-abacus-off:before{content:"\f3b6"}.ti-abc:before{content:"\f567"}.ti-access-point:before{content:"\ed1b"}.ti-access-point-off:before{content:"\ed1a"}.ti-accessible:before{content:"\eba9"}.ti-accessible-off:before{content:"\f0a7"}.ti-accessible-off-filled:before{content:"\f6ea"}.ti-activity:before{content:"\ed23"}.ti-activity-heartbeat:before{content:"\f0db"}.ti-ad:before{content:"\ea02"}.ti-ad-2:before{content:"\ef1f"}.ti-ad-circle:before{content:"\f79e"}.ti-ad-circle-filled:before{content:"\f7d3"}.ti-ad-circle-off:before{content:"\f79d"}.ti-ad-filled:before{content:"\f6eb"}.ti-ad-off:before{content:"\f3b7"}.ti-address-book:before{content:"\f021"}.ti-address-book-off:before{content:"\f3b8"}.ti-adjustments:before{content:"\ea03"}.ti-adjustments-alt:before{content:"\ec37"}.ti-adjustments-bolt:before{content:"\f7fb"}.ti-adjustments-cancel:before{content:"\f7fc"}.ti-adjustments-check:before{content:"\f7fd"}.ti-adjustments-code:before{content:"\f7fe"}.ti-adjustments-cog:before{content:"\f7ff"}.ti-adjustments-dollar:before{content:"\f800"}.ti-adjustments-down:before{content:"\f801"}.ti-adjustments-exclamation:before{content:"\f802"}.ti-adjustments-filled:before{content:"\f6ec"}.ti-adjustments-heart:before{content:"\f803"}.ti-adjustments-horizontal:before{content:"\ec38"}.ti-adjustments-minus:before{content:"\f804"}.ti-adjustments-off:before{content:"\f0a8"}.ti-adjustments-pause:before{content:"\f805"}.ti-adjustments-pin:before{content:"\f806"}.ti-adjustments-plus:before{content:"\f807"}.ti-adjustments-question:before{content:"\f808"}.ti-adjustments-search:before{content:"\f809"}.ti-adjustments-share:before{content:"\f80a"}.ti-adjustments-star:before{content:"\f80b"}.ti-adjustments-up:before{content:"\f80c"}.ti-adjustments-x:before{content:"\f80d"}.ti-aerial-lift:before{content:"\edfe"}.ti-affiliate:before{content:"\edff"}.ti-affiliate-filled:before{content:"\f6ed"}.ti-air-balloon:before{content:"\f4a6"}.ti-air-conditioning:before{content:"\f3a2"}.ti-air-conditioning-disabled:before{content:"\f542"}.ti-air-traffic-control:before{content:"\fb01"}.ti-alarm:before{content:"\ea04"}.ti-alarm-average:before{content:"\fc9e"}.ti-alarm-filled:before{content:"\f709"}.ti-alarm-minus:before{content:"\f630"}.ti-alarm-minus-filled:before{content:"\f70a"}.ti-alarm-off:before{content:"\f0a9"}.ti-alarm-plus:before{content:"\f631"}.ti-alarm-plus-filled:before{content:"\f70b"}.ti-alarm-snooze:before{content:"\f632"}.ti-alarm-snooze-filled:before{content:"\f70c"}.ti-album:before{content:"\f022"}.ti-album-off:before{content:"\f3b9"}.ti-alert-circle:before{content:"\ea05"}.ti-alert-circle-filled:before{content:"\f6ee"}.ti-alert-circle-off:before{content:"\fc65"}.ti-alert-hexagon:before{content:"\f80e"}.ti-alert-hexagon-filled:before{content:"\fa34"}.ti-alert-hexagon-off:before{content:"\fc66"}.ti-alert-octagon:before{content:"\ecc6"}.ti-alert-octagon-filled:before{content:"\f6ef"}.ti-alert-small:before{content:"\f80f"}.ti-alert-small-off:before{content:"\fc67"}.ti-alert-square:before{content:"\f811"}.ti-alert-square-filled:before{content:"\fa35"}.ti-alert-square-rounded:before{content:"\f810"}.ti-alert-square-rounded-filled:before{content:"\fa36"}.ti-alert-square-rounded-off:before{content:"\fc68"}.ti-alert-triangle:before{content:"\ea06"}.ti-alert-triangle-filled:before{content:"\f6f0"}.ti-alert-triangle-off:before{content:"\fc69"}.ti-alien:before{content:"\ebde"}.ti-alien-filled:before{content:"\f70d"}.ti-align-box-bottom-center:before{content:"\f530"}.ti-align-box-bottom-center-filled:before{content:"\f70e"}.ti-align-box-bottom-left:before{content:"\f531"}.ti-align-box-bottom-left-filled:before{content:"\f70f"}.ti-align-box-bottom-right:before{content:"\f532"}.ti-align-box-bottom-right-filled:before{content:"\f710"}.ti-align-box-center-bottom:before{content:"\facb"}.ti-align-box-center-middle:before{content:"\f79f"}.ti-align-box-center-middle-filled:before{content:"\f7d4"}.ti-align-box-center-stretch:before{contLine truncated
|
||||
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user