@ixo/editor 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +160 -136
- package/dist/chunk-57TP5N42.mjs +1784 -0
- package/dist/chunk-57TP5N42.mjs.map +1 -0
- package/dist/chunk-MXVDN3FO.mjs +169 -0
- package/dist/chunk-MXVDN3FO.mjs.map +1 -0
- package/dist/graphql-client-BmODcqPE.d.mts +135 -0
- package/dist/index.d.mts +1328 -0
- package/dist/index.mjs +27 -0
- package/dist/index.mjs.map +1 -0
- package/dist/mantine/index.d.mts +1253 -0
- package/dist/mantine/index.mjs +413 -0
- package/dist/mantine/index.mjs.map +1 -0
- package/dist/shadcn/index.d.mts +6 -0
- package/dist/shadcn/index.mjs +27 -0
- package/dist/shadcn/index.mjs.map +1 -0
- package/fonts/inter-v12-latin/inter-v12-latin-100.woff +0 -0
- package/fonts/inter-v12-latin/inter-v12-latin-100.woff2 +0 -0
- package/fonts/inter-v12-latin/inter-v12-latin-200.woff +0 -0
- package/fonts/inter-v12-latin/inter-v12-latin-200.woff2 +0 -0
- package/fonts/inter-v12-latin/inter-v12-latin-300.woff +0 -0
- package/fonts/inter-v12-latin/inter-v12-latin-300.woff2 +0 -0
- package/fonts/inter-v12-latin/inter-v12-latin-500.woff +0 -0
- package/fonts/inter-v12-latin/inter-v12-latin-500.woff2 +0 -0
- package/fonts/inter-v12-latin/inter-v12-latin-600.woff +0 -0
- package/fonts/inter-v12-latin/inter-v12-latin-600.woff2 +0 -0
- package/fonts/inter-v12-latin/inter-v12-latin-700.woff +0 -0
- package/fonts/inter-v12-latin/inter-v12-latin-700.woff2 +0 -0
- package/fonts/inter-v12-latin/inter-v12-latin-800.woff +0 -0
- package/fonts/inter-v12-latin/inter-v12-latin-800.woff2 +0 -0
- package/fonts/inter-v12-latin/inter-v12-latin-900.woff +0 -0
- package/fonts/inter-v12-latin/inter-v12-latin-900.woff2 +0 -0
- package/fonts/inter-v12-latin/inter-v12-latin-regular.woff +0 -0
- package/fonts/inter-v12-latin/inter-v12-latin-regular.woff2 +0 -0
- package/package.json +32 -9
- package/style-core.css +243 -0
- package/style-mantine.css +340 -0
- package/style-shadcn.css +340 -0
- package/style.css +94 -0
- package/dist/blocks/index.d.ts +0 -85
- package/dist/blocks/index.d.ts.map +0 -1
- package/dist/blocks/index.js +0 -50
- package/dist/blocks/list/ListBlock.d.ts +0 -59
- package/dist/blocks/list/ListBlock.d.ts.map +0 -1
- package/dist/blocks/list/ListBlock.js +0 -51
- package/dist/blocks/list/ListBlockToolbar.d.ts +0 -9
- package/dist/blocks/list/ListBlockToolbar.d.ts.map +0 -1
- package/dist/blocks/list/ListBlockToolbar.js +0 -26
- package/dist/blocks/list/ListContainer.d.ts +0 -5
- package/dist/blocks/list/ListContainer.d.ts.map +0 -1
- package/dist/blocks/list/ListContainer.js +0 -10
- package/dist/blocks/list/ListGeneralTab.d.ts +0 -11
- package/dist/blocks/list/ListGeneralTab.d.ts.map +0 -1
- package/dist/blocks/list/ListGeneralTab.js +0 -134
- package/dist/blocks/list/ListItem.d.ts +0 -8
- package/dist/blocks/list/ListItem.d.ts.map +0 -1
- package/dist/blocks/list/ListItem.js +0 -24
- package/dist/blocks/list/ListPreviewTab.d.ts +0 -9
- package/dist/blocks/list/ListPreviewTab.d.ts.map +0 -1
- package/dist/blocks/list/ListPreviewTab.js +0 -51
- package/dist/blocks/list/ListSettings.d.ts +0 -3
- package/dist/blocks/list/ListSettings.d.ts.map +0 -1
- package/dist/blocks/list/ListSettings.js +0 -115
- package/dist/blocks/list/ListSettingsTab.d.ts +0 -10
- package/dist/blocks/list/ListSettingsTab.d.ts.map +0 -1
- package/dist/blocks/list/ListSettingsTab.js +0 -64
- package/dist/blocks/list/index.d.ts +0 -3
- package/dist/blocks/list/index.d.ts.map +0 -1
- package/dist/blocks/list/index.js +0 -5
- package/dist/blocks/list/useList.d.ts +0 -5
- package/dist/blocks/list/useList.d.ts.map +0 -1
- package/dist/blocks/list/useList.js +0 -11
- package/dist/blocks/overview/OverviewBlock.d.ts +0 -33
- package/dist/blocks/overview/OverviewBlock.d.ts.map +0 -1
- package/dist/blocks/overview/OverviewBlock.js +0 -34
- package/dist/blocks/overview/OverviewBlockToolbar.d.ts +0 -8
- package/dist/blocks/overview/OverviewBlockToolbar.d.ts.map +0 -1
- package/dist/blocks/overview/OverviewBlockToolbar.js +0 -16
- package/dist/blocks/overview/OverviewGeneralTab.d.ts +0 -11
- package/dist/blocks/overview/OverviewGeneralTab.d.ts.map +0 -1
- package/dist/blocks/overview/OverviewGeneralTab.js +0 -134
- package/dist/blocks/overview/OverviewPreviewTab.d.ts +0 -10
- package/dist/blocks/overview/OverviewPreviewTab.d.ts.map +0 -1
- package/dist/blocks/overview/OverviewPreviewTab.js +0 -30
- package/dist/blocks/overview/OverviewSettings.d.ts +0 -3
- package/dist/blocks/overview/OverviewSettings.d.ts.map +0 -1
- package/dist/blocks/overview/OverviewSettings.js +0 -114
- package/dist/blocks/overview/index.d.ts +0 -3
- package/dist/blocks/overview/index.d.ts.map +0 -1
- package/dist/blocks/overview/index.js +0 -5
- package/dist/blocks/overview/useOverview.d.ts +0 -11
- package/dist/blocks/overview/useOverview.d.ts.map +0 -1
- package/dist/blocks/overview/useOverview.js +0 -61
- package/dist/components/GlobeIcon.d.ts +0 -9
- package/dist/components/GlobeIcon.d.ts.map +0 -1
- package/dist/components/GlobeIcon.js +0 -20
- package/dist/components/IxoEditor.d.ts +0 -14
- package/dist/components/IxoEditor.d.ts.map +0 -1
- package/dist/components/IxoEditor.js +0 -41
- package/dist/components/PenIcon.d.ts +0 -9
- package/dist/components/PenIcon.d.ts.map +0 -1
- package/dist/components/PenIcon.js +0 -20
- package/dist/components/SettingsIcon.d.ts +0 -9
- package/dist/components/SettingsIcon.d.ts.map +0 -1
- package/dist/components/SettingsIcon.js +0 -21
- package/dist/components/SettingsModal/AdvancedTab.d.ts +0 -8
- package/dist/components/SettingsModal/AdvancedTab.d.ts.map +0 -1
- package/dist/components/SettingsModal/AdvancedTab.js +0 -14
- package/dist/components/SettingsModal/DomainPreview.d.ts +0 -7
- package/dist/components/SettingsModal/DomainPreview.d.ts.map +0 -1
- package/dist/components/SettingsModal/DomainPreview.js +0 -22
- package/dist/components/SettingsModal/FeatureASettings.d.ts +0 -3
- package/dist/components/SettingsModal/FeatureASettings.d.ts.map +0 -1
- package/dist/components/SettingsModal/FeatureASettings.js +0 -74
- package/dist/components/SettingsModal/GeneralTab.d.ts +0 -10
- package/dist/components/SettingsModal/GeneralTab.d.ts.map +0 -1
- package/dist/components/SettingsModal/GeneralTab.js +0 -111
- package/dist/components/SettingsModal/PreviewTab.d.ts +0 -8
- package/dist/components/SettingsModal/PreviewTab.d.ts.map +0 -1
- package/dist/components/SettingsModal/PreviewTab.js +0 -14
- package/dist/components/SettingsModal/SettingsModal.d.ts +0 -16
- package/dist/components/SettingsModal/SettingsModal.d.ts.map +0 -1
- package/dist/components/SettingsModal/SettingsModal.js +0 -61
- package/dist/components/SettingsModal/SettingsNavigation.d.ts +0 -15
- package/dist/components/SettingsModal/SettingsNavigation.d.ts.map +0 -1
- package/dist/components/SettingsModal/SettingsNavigation.js +0 -21
- package/dist/components/SettingsModal/index.d.ts +0 -8
- package/dist/components/SettingsModal/index.d.ts.map +0 -1
- package/dist/components/SettingsModal/index.js +0 -17
- package/dist/components/SwitchOption.d.ts +0 -9
- package/dist/components/SwitchOption.d.ts.map +0 -1
- package/dist/components/SwitchOption.js +0 -45
- package/dist/components/icons/ArchiveIcon.d.ts +0 -9
- package/dist/components/icons/ArchiveIcon.d.ts.map +0 -1
- package/dist/components/icons/ArchiveIcon.js +0 -18
- package/dist/components/icons/AudioIcon.d.ts +0 -9
- package/dist/components/icons/AudioIcon.d.ts.map +0 -1
- package/dist/components/icons/AudioIcon.js +0 -17
- package/dist/components/icons/DefaultIcon.d.ts +0 -9
- package/dist/components/icons/DefaultIcon.d.ts.map +0 -1
- package/dist/components/icons/DefaultIcon.js +0 -17
- package/dist/components/icons/DocumentIcon.d.ts +0 -9
- package/dist/components/icons/DocumentIcon.d.ts.map +0 -1
- package/dist/components/icons/DocumentIcon.js +0 -20
- package/dist/components/icons/ImageIcon.d.ts +0 -9
- package/dist/components/icons/ImageIcon.d.ts.map +0 -1
- package/dist/components/icons/ImageIcon.js +0 -18
- package/dist/components/icons/JsonIcon.d.ts +0 -9
- package/dist/components/icons/JsonIcon.d.ts.map +0 -1
- package/dist/components/icons/JsonIcon.js +0 -19
- package/dist/components/icons/PdfIcon.d.ts +0 -9
- package/dist/components/icons/PdfIcon.d.ts.map +0 -1
- package/dist/components/icons/PdfIcon.js +0 -20
- package/dist/components/icons/VideoIcon.d.ts +0 -9
- package/dist/components/icons/VideoIcon.d.ts.map +0 -1
- package/dist/components/icons/VideoIcon.js +0 -17
- package/dist/components/icons/XmlIcon.d.ts +0 -9
- package/dist/components/icons/XmlIcon.d.ts.map +0 -1
- package/dist/components/icons/XmlIcon.js +0 -19
- package/dist/components/icons/index.d.ts +0 -10
- package/dist/components/icons/index.d.ts.map +0 -1
- package/dist/components/icons/index.js +0 -24
- package/dist/components/ui/button.d.ts +0 -11
- package/dist/components/ui/button.d.ts.map +0 -1
- package/dist/components/ui/button.js +0 -68
- package/dist/components/ui/card.d.ts +0 -9
- package/dist/components/ui/card.d.ts.map +0 -1
- package/dist/components/ui/card.js +0 -56
- package/dist/components/ui/dialog.d.ts +0 -16
- package/dist/components/ui/dialog.d.ts.map +0 -1
- package/dist/components/ui/dialog.js +0 -85
- package/dist/components/ui/dropdown-menu.d.ts +0 -26
- package/dist/components/ui/dropdown-menu.d.ts.map +0 -1
- package/dist/components/ui/dropdown-menu.js +0 -110
- package/dist/components/ui/input.d.ts +0 -4
- package/dist/components/ui/input.d.ts.map +0 -1
- package/dist/components/ui/input.js +0 -41
- package/dist/components/ui/label.d.ts +0 -5
- package/dist/components/ui/label.d.ts.map +0 -1
- package/dist/components/ui/label.js +0 -42
- package/dist/components/ui/switch.d.ts +0 -5
- package/dist/components/ui/switch.d.ts.map +0 -1
- package/dist/components/ui/switch.js +0 -44
- package/dist/components/ui/tabs.d.ts +0 -8
- package/dist/components/ui/tabs.d.ts.map +0 -1
- package/dist/components/ui/tabs.js +0 -54
- package/dist/components/ui/toggle-group.d.ts +0 -8
- package/dist/components/ui/toggle-group.d.ts.map +0 -1
- package/dist/components/ui/toggle-group.js +0 -57
- package/dist/components/ui/toggle.d.ts +0 -10
- package/dist/components/ui/toggle.d.ts.map +0 -1
- package/dist/components/ui/toggle.js +0 -62
- package/dist/hooks/useCollaborativeIxoEditor.d.ts +0 -571
- package/dist/hooks/useCollaborativeIxoEditor.d.ts.map +0 -1
- package/dist/hooks/useCollaborativeIxoEditor.js +0 -127
- package/dist/hooks/useCreateIxoEditor.d.ts +0 -568
- package/dist/hooks/useCreateIxoEditor.d.ts.map +0 -1
- package/dist/hooks/useCreateIxoEditor.js +0 -62
- package/dist/hooks/useMatrixProvider.d.ts +0 -13
- package/dist/hooks/useMatrixProvider.d.ts.map +0 -1
- package/dist/hooks/useMatrixProvider.js +0 -147
- package/dist/index.d.ts +0 -12
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -24
- package/dist/lib/graphql-client.d.ts +0 -27
- package/dist/lib/graphql-client.d.ts.map +0 -1
- package/dist/lib/graphql-client.js +0 -36
- package/dist/lib/graphql-queries.d.ts +0 -31
- package/dist/lib/graphql-queries.d.ts.map +0 -1
- package/dist/lib/graphql-queries.js +0 -40
- package/dist/lib/utils/getMediaTypeIcon.d.ts +0 -20
- package/dist/lib/utils/getMediaTypeIcon.d.ts.map +0 -1
- package/dist/lib/utils/getMediaTypeIcon.js +0 -96
- package/dist/lib/utils/index.d.ts +0 -4
- package/dist/lib/utils/index.d.ts.map +0 -1
- package/dist/lib/utils/index.js +0 -12
- package/dist/lib/utils.d.ts +0 -3
- package/dist/lib/utils.d.ts.map +0 -1
- package/dist/lib/utils.js +0 -8
- package/dist/types/Domain.d.ts +0 -18
- package/dist/types/Domain.d.ts.map +0 -1
- package/dist/types/Domain.js +0 -2
- package/dist/types/index.d.ts +0 -77
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/index.js +0 -2
package/style-core.css
ADDED
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
/* IXO Editor Custom Styles */
|
|
2
|
+
|
|
3
|
+
.ixo-editor {
|
|
4
|
+
/* Container styles */
|
|
5
|
+
position: relative;
|
|
6
|
+
width: 100%;
|
|
7
|
+
min-height: 200px;
|
|
8
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
|
|
9
|
+
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
|
|
10
|
+
sans-serif;
|
|
11
|
+
-webkit-font-smoothing: antialiased;
|
|
12
|
+
-moz-osx-font-smoothing: grayscale;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/* Light theme customizations */
|
|
16
|
+
.ixo-editor--theme-light {
|
|
17
|
+
--bn-colors-editor-background: #ffffff;
|
|
18
|
+
--bn-colors-editor-text: #1a1a1a;
|
|
19
|
+
--bn-colors-menu-background: #ffffff;
|
|
20
|
+
--bn-colors-menu-text: #1a1a1a;
|
|
21
|
+
--bn-colors-tooltip-background: #1a1a1a;
|
|
22
|
+
--bn-colors-tooltip-text: #ffffff;
|
|
23
|
+
--bn-colors-hovered-background: #f5f5f5;
|
|
24
|
+
--bn-colors-selected-background: #e6f2ff;
|
|
25
|
+
--bn-colors-border: #e0e0e0;
|
|
26
|
+
--bn-colors-side-menu: #666666;
|
|
27
|
+
--bn-colors-highlight-colors-blue: #3b82f6;
|
|
28
|
+
--bn-colors-highlight-colors-green: #10b981;
|
|
29
|
+
--bn-colors-highlight-colors-red: #ef4444;
|
|
30
|
+
--bn-colors-highlight-colors-yellow: #f59e0b;
|
|
31
|
+
--bn-colors-highlight-colors-purple: #8b5cf6;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/* Dark theme customizations */
|
|
35
|
+
.ixo-editor--theme-dark {
|
|
36
|
+
--bn-colors-editor-background: #1a1a1a;
|
|
37
|
+
--bn-colors-editor-text: #f0f0f0;
|
|
38
|
+
--bn-colors-menu-background: #2a2a2a;
|
|
39
|
+
--bn-colors-menu-text: #f0f0f0;
|
|
40
|
+
--bn-colors-tooltip-background: #f0f0f0;
|
|
41
|
+
--bn-colors-tooltip-text: #1a1a1a;
|
|
42
|
+
--bn-colors-hovered-background: #2a2a2a;
|
|
43
|
+
--bn-colors-selected-background: #3a3a3a;
|
|
44
|
+
--bn-colors-border: #3a3a3a;
|
|
45
|
+
--bn-colors-side-menu: #999999;
|
|
46
|
+
--bn-colors-highlight-colors-blue: #60a5fa;
|
|
47
|
+
--bn-colors-highlight-colors-green: #34d399;
|
|
48
|
+
--bn-colors-highlight-colors-red: #f87171;
|
|
49
|
+
--bn-colors-highlight-colors-yellow: #fbbf24;
|
|
50
|
+
--bn-colors-highlight-colors-purple: #a78bfa;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/* Editor content styles */
|
|
54
|
+
.ixo-editor .bn-container {
|
|
55
|
+
padding: 20px;
|
|
56
|
+
border-radius: 8px;
|
|
57
|
+
border: 1px solid var(--bn-colors-border);
|
|
58
|
+
transition: border-color 0.2s ease;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.ixo-editor .bn-container:focus-within {
|
|
62
|
+
border-color: var(--bn-colors-highlight-colors-blue);
|
|
63
|
+
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/* Block styles */
|
|
67
|
+
.ixo-editor .bn-block {
|
|
68
|
+
margin-bottom: 0.5em;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.ixo-editor .bn-block-content {
|
|
72
|
+
min-height: 1.5em;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/* Heading styles */
|
|
76
|
+
.ixo-editor h1.bn-inline-content {
|
|
77
|
+
font-size: 2em;
|
|
78
|
+
font-weight: 700;
|
|
79
|
+
margin-top: 0.5em;
|
|
80
|
+
margin-bottom: 0.5em;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.ixo-editor h2.bn-inline-content {
|
|
84
|
+
font-size: 1.5em;
|
|
85
|
+
font-weight: 600;
|
|
86
|
+
margin-top: 0.5em;
|
|
87
|
+
margin-bottom: 0.5em;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.ixo-editor h3.bn-inline-content {
|
|
91
|
+
font-size: 1.25em;
|
|
92
|
+
font-weight: 600;
|
|
93
|
+
margin-top: 0.5em;
|
|
94
|
+
margin-bottom: 0.5em;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/* List styles */
|
|
98
|
+
.ixo-editor ul.bn-block-content {
|
|
99
|
+
padding-left: 1.5em;
|
|
100
|
+
list-style-type: disc;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.ixo-editor ol.bn-block-content {
|
|
104
|
+
padding-left: 1.5em;
|
|
105
|
+
list-style-type: decimal;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/* Code block styles */
|
|
109
|
+
.ixo-editor pre.bn-block-content {
|
|
110
|
+
background-color: var(--bn-colors-hovered-background);
|
|
111
|
+
border-radius: 4px;
|
|
112
|
+
padding: 12px;
|
|
113
|
+
font-family: 'Courier New', Courier, monospace;
|
|
114
|
+
font-size: 0.9em;
|
|
115
|
+
overflow-x: auto;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.ixo-editor code.bn-inline-content {
|
|
119
|
+
background-color: var(--bn-colors-hovered-background);
|
|
120
|
+
border-radius: 3px;
|
|
121
|
+
padding: 2px 6px;
|
|
122
|
+
font-family: 'Courier New', Courier, monospace;
|
|
123
|
+
font-size: 0.9em;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/* Blockquote styles */
|
|
127
|
+
.ixo-editor blockquote.bn-block-content {
|
|
128
|
+
border-left: 3px solid var(--bn-colors-border);
|
|
129
|
+
padding-left: 1em;
|
|
130
|
+
margin-left: 0;
|
|
131
|
+
font-style: italic;
|
|
132
|
+
color: var(--bn-colors-side-menu);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
/* Link styles */
|
|
136
|
+
.ixo-editor a.bn-inline-content {
|
|
137
|
+
color: var(--bn-colors-highlight-colors-blue);
|
|
138
|
+
text-decoration: none;
|
|
139
|
+
transition: text-decoration 0.2s ease;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.ixo-editor a.bn-inline-content:hover {
|
|
143
|
+
text-decoration: underline;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/* Table styles */
|
|
147
|
+
.ixo-editor table.bn-block-content {
|
|
148
|
+
border-collapse: collapse;
|
|
149
|
+
width: 100%;
|
|
150
|
+
margin: 1em 0;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.ixo-editor table.bn-block-content th,
|
|
154
|
+
.ixo-editor table.bn-block-content td {
|
|
155
|
+
border: 1px solid var(--bn-colors-border);
|
|
156
|
+
padding: 8px 12px;
|
|
157
|
+
text-align: left;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.ixo-editor table.bn-block-content th {
|
|
161
|
+
background-color: var(--bn-colors-hovered-background);
|
|
162
|
+
font-weight: 600;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/* Image styles */
|
|
166
|
+
.ixo-editor .bn-image-block img {
|
|
167
|
+
max-width: 100%;
|
|
168
|
+
height: auto;
|
|
169
|
+
border-radius: 4px;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
/* Placeholder styles */
|
|
173
|
+
.ixo-editor .bn-block-content[data-is-empty="true"]:before {
|
|
174
|
+
color: var(--bn-colors-side-menu);
|
|
175
|
+
opacity: 0.5;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/* Notion-like list title input placeholder */
|
|
179
|
+
.notion-list-title-input::placeholder {
|
|
180
|
+
color: #CFCFCF;
|
|
181
|
+
opacity: 1;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
/* Menu and toolbar customizations */
|
|
185
|
+
.ixo-editor .bn-menu {
|
|
186
|
+
border-radius: 8px;
|
|
187
|
+
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.ixo-editor .bn-toolbar {
|
|
191
|
+
border-radius: 6px;
|
|
192
|
+
padding: 4px;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
/* Animation improvements */
|
|
196
|
+
.ixo-editor .bn-block,
|
|
197
|
+
.ixo-editor .bn-menu,
|
|
198
|
+
.ixo-editor .bn-toolbar {
|
|
199
|
+
animation-duration: 0.2s;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
/* Selection styles */
|
|
203
|
+
.ixo-editor ::selection {
|
|
204
|
+
background-color: var(--bn-colors-selected-background);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
/* Scrollbar styles */
|
|
208
|
+
.ixo-editor .bn-container::-webkit-scrollbar {
|
|
209
|
+
width: 8px;
|
|
210
|
+
height: 8px;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.ixo-editor .bn-container::-webkit-scrollbar-track {
|
|
214
|
+
background: transparent;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.ixo-editor .bn-container::-webkit-scrollbar-thumb {
|
|
218
|
+
background-color: var(--bn-colors-border);
|
|
219
|
+
border-radius: 4px;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.ixo-editor .bn-container::-webkit-scrollbar-thumb:hover {
|
|
223
|
+
background-color: var(--bn-colors-side-menu);
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
/* Responsive adjustments */
|
|
227
|
+
@media (max-width: 768px) {
|
|
228
|
+
.ixo-editor .bn-container {
|
|
229
|
+
padding: 15px;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.ixo-editor h1.bn-inline-content {
|
|
233
|
+
font-size: 1.75em;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.ixo-editor h2.bn-inline-content {
|
|
237
|
+
font-size: 1.35em;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.ixo-editor h3.bn-inline-content {
|
|
241
|
+
font-size: 1.15em;
|
|
242
|
+
}
|
|
243
|
+
}
|