|
|
@@ -746,8 +746,8 @@ body:has(.workspace-leaf.mod-active .cm-ai-loading, .workspace-leaf.mod-active .
|
|
|
backdrop-filter: blur(8px);
|
|
|
overflow: hidden;
|
|
|
}
|
|
|
-.editing-toolbar-ai-inline-prompt button
|
|
|
-{
|
|
|
+.editing-toolbar-ai-inline-prompt button {
|
|
|
+ padding: unset!important;
|
|
|
box-shadow: none!important;
|
|
|
}
|
|
|
@media (max-width: 768px) {
|
|
|
@@ -2170,26 +2170,26 @@ body.auto-hide-header .workspace-tab-header-container + .workspace-tab-container
|
|
|
transform: translateY(-1px);
|
|
|
}
|
|
|
|
|
|
-.editing-toolbar-text-input-field-full {
|
|
|
- position: relative;
|
|
|
- margin: 12px 0;
|
|
|
-}
|
|
|
-
|
|
|
-.editing-toolbar-text-input-field-full input,
|
|
|
-.editing-toolbar-text-input-field-full textarea {
|
|
|
+.editing-toolbar-text-input-field-full {
|
|
|
+ position: relative;
|
|
|
+ margin: 12px 0;
|
|
|
+}
|
|
|
+
|
|
|
+.editing-toolbar-text-input-field-full input,
|
|
|
+.editing-toolbar-text-input-field-full textarea {
|
|
|
width: 100%;
|
|
|
- display: block;
|
|
|
- box-sizing: border-box;
|
|
|
-}
|
|
|
-
|
|
|
-.editing-toolbar-text-input-linked-note-host {
|
|
|
- position: relative;
|
|
|
-}
|
|
|
-
|
|
|
-.editing-toolbar-text-input-context {
|
|
|
- margin: 8px 0 12px;
|
|
|
- padding: 10px;
|
|
|
- border: 1px solid var(--background-modifier-border);
|
|
|
+ display: block;
|
|
|
+ box-sizing: border-box;
|
|
|
+}
|
|
|
+
|
|
|
+.editing-toolbar-text-input-linked-note-host {
|
|
|
+ position: relative;
|
|
|
+}
|
|
|
+
|
|
|
+.editing-toolbar-text-input-context {
|
|
|
+ margin: 8px 0 12px;
|
|
|
+ padding: 10px;
|
|
|
+ border: 1px solid var(--background-modifier-border);
|
|
|
border-radius: 12px;
|
|
|
background: var(--background-secondary);
|
|
|
}
|
|
|
@@ -2231,74 +2231,74 @@ body.auto-hide-header .workspace-tab-header-container + .workspace-tab-container
|
|
|
text-overflow: ellipsis;
|
|
|
}
|
|
|
|
|
|
-.editing-toolbar-textarea-input {
|
|
|
- width: 100%;
|
|
|
- min-height: 80px;
|
|
|
- resize: vertical;
|
|
|
-}
|
|
|
-
|
|
|
-.editing-toolbar-text-input-footer-hint {
|
|
|
- margin-top: 8px;
|
|
|
- color: var(--text-muted);
|
|
|
- font-size: 12px;
|
|
|
- line-height: 1.5;
|
|
|
-}
|
|
|
-
|
|
|
-.editing-toolbar-text-input-mention-dropdown {
|
|
|
- position: absolute;
|
|
|
- top: calc(100% + 6px);
|
|
|
- left: 0;
|
|
|
- right: 0;
|
|
|
- z-index: 20;
|
|
|
- display: none;
|
|
|
- max-height: 220px;
|
|
|
- overflow-y: auto;
|
|
|
- border: 1px solid var(--background-modifier-border);
|
|
|
- border-radius: 10px;
|
|
|
- background: var(--background-primary);
|
|
|
- box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
|
|
|
-}
|
|
|
-
|
|
|
-.editing-toolbar-text-input-mention-item {
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- gap: 8px;
|
|
|
- padding: 8px 10px;
|
|
|
- cursor: pointer;
|
|
|
-}
|
|
|
-
|
|
|
-.editing-toolbar-text-input-mention-item + .editing-toolbar-text-input-mention-item {
|
|
|
- border-top: 1px solid var(--background-modifier-border-hover);
|
|
|
-}
|
|
|
-
|
|
|
-.editing-toolbar-text-input-mention-item:hover,
|
|
|
-.editing-toolbar-text-input-mention-item.selected {
|
|
|
- background: var(--background-modifier-hover);
|
|
|
-}
|
|
|
-
|
|
|
-.editing-toolbar-text-input-mention-icon {
|
|
|
- flex-shrink: 0;
|
|
|
-}
|
|
|
-
|
|
|
-.editing-toolbar-text-input-mention-name {
|
|
|
- color: var(--text-normal);
|
|
|
- font-weight: 500;
|
|
|
-}
|
|
|
-
|
|
|
-.editing-toolbar-text-input-mention-path {
|
|
|
- min-width: 0;
|
|
|
- margin-left: auto;
|
|
|
- color: var(--text-faint);
|
|
|
- font-size: 11px;
|
|
|
- white-space: nowrap;
|
|
|
- overflow: hidden;
|
|
|
- text-overflow: ellipsis;
|
|
|
-}
|
|
|
-
|
|
|
-.editing-toolbar-ai-consent {
|
|
|
- display: flex;
|
|
|
- flex-direction: column;
|
|
|
- gap: 16px;
|
|
|
+.editing-toolbar-textarea-input {
|
|
|
+ width: 100%;
|
|
|
+ min-height: 80px;
|
|
|
+ resize: vertical;
|
|
|
+}
|
|
|
+
|
|
|
+.editing-toolbar-text-input-footer-hint {
|
|
|
+ margin-top: 8px;
|
|
|
+ color: var(--text-muted);
|
|
|
+ font-size: 12px;
|
|
|
+ line-height: 1.5;
|
|
|
+}
|
|
|
+
|
|
|
+.editing-toolbar-text-input-mention-dropdown {
|
|
|
+ position: absolute;
|
|
|
+ top: calc(100% + 6px);
|
|
|
+ left: 0;
|
|
|
+ right: 0;
|
|
|
+ z-index: 20;
|
|
|
+ display: none;
|
|
|
+ max-height: 220px;
|
|
|
+ overflow-y: auto;
|
|
|
+ border: 1px solid var(--background-modifier-border);
|
|
|
+ border-radius: 10px;
|
|
|
+ background: var(--background-primary);
|
|
|
+ box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
|
|
|
+}
|
|
|
+
|
|
|
+.editing-toolbar-text-input-mention-item {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ gap: 8px;
|
|
|
+ padding: 8px 10px;
|
|
|
+ cursor: pointer;
|
|
|
+}
|
|
|
+
|
|
|
+.editing-toolbar-text-input-mention-item + .editing-toolbar-text-input-mention-item {
|
|
|
+ border-top: 1px solid var(--background-modifier-border-hover);
|
|
|
+}
|
|
|
+
|
|
|
+.editing-toolbar-text-input-mention-item:hover,
|
|
|
+.editing-toolbar-text-input-mention-item.selected {
|
|
|
+ background: var(--background-modifier-hover);
|
|
|
+}
|
|
|
+
|
|
|
+.editing-toolbar-text-input-mention-icon {
|
|
|
+ flex-shrink: 0;
|
|
|
+}
|
|
|
+
|
|
|
+.editing-toolbar-text-input-mention-name {
|
|
|
+ color: var(--text-normal);
|
|
|
+ font-weight: 500;
|
|
|
+}
|
|
|
+
|
|
|
+.editing-toolbar-text-input-mention-path {
|
|
|
+ min-width: 0;
|
|
|
+ margin-left: auto;
|
|
|
+ color: var(--text-faint);
|
|
|
+ font-size: 11px;
|
|
|
+ white-space: nowrap;
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+}
|
|
|
+
|
|
|
+.editing-toolbar-ai-consent {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ gap: 16px;
|
|
|
font-size: var(--font-ui-small);
|
|
|
}
|
|
|
|
|
|
@@ -2648,6 +2648,31 @@ body.auto-hide-header .workspace-tab-header-container + .workspace-tab-container
|
|
|
font-weight: 600;
|
|
|
}
|
|
|
|
|
|
+.editing-toolbar-ai-card-chevron {
|
|
|
+ flex-shrink: 0;
|
|
|
+ width: 24px;
|
|
|
+ height: 24px;
|
|
|
+ border-radius: 999px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ color: var(--text-muted);
|
|
|
+ background: var(--background-modifier-hover);
|
|
|
+ font-size: 18px;
|
|
|
+ font-weight: 700;
|
|
|
+ line-height: 1;
|
|
|
+ transition: transform 0.16s ease, background-color 0.16s ease, color 0.16s ease;
|
|
|
+}
|
|
|
+
|
|
|
+.editing-toolbar-ai-disclosure[open] .editing-toolbar-ai-card-chevron {
|
|
|
+ transform: rotate(180deg);
|
|
|
+}
|
|
|
+
|
|
|
+.editing-toolbar-ai-card-summary:hover .editing-toolbar-ai-card-chevron {
|
|
|
+ color: var(--text-normal);
|
|
|
+ background: var(--background-modifier-border-hover);
|
|
|
+}
|
|
|
+
|
|
|
.editing-toolbar-ai-card-toggle {
|
|
|
flex-shrink: 0;
|
|
|
}
|