@remyxjs/core 1.0.0-beta
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 +2454 -0
- package/dist/convertCsv-B8RVtdcs.cjs +2 -0
- package/dist/convertCsv-B8RVtdcs.cjs.map +1 -0
- package/dist/convertCsv-CKzZjzLJ.js +2 -0
- package/dist/convertCsv-CKzZjzLJ.js.map +1 -0
- package/dist/convertDocx-4q89XLLv.cjs +2 -0
- package/dist/convertDocx-4q89XLLv.cjs.map +1 -0
- package/dist/convertDocx-Dmx88twM.js +2 -0
- package/dist/convertDocx-Dmx88twM.js.map +1 -0
- package/dist/convertHtml-CtYVhiTh.js +2 -0
- package/dist/convertHtml-CtYVhiTh.js.map +1 -0
- package/dist/convertHtml-DbHrdrD3.cjs +2 -0
- package/dist/convertHtml-DbHrdrD3.cjs.map +1 -0
- package/dist/convertMarkdown-Di239Gtn.js +2 -0
- package/dist/convertMarkdown-Di239Gtn.js.map +1 -0
- package/dist/convertMarkdown-eJ9Nkoid.cjs +2 -0
- package/dist/convertMarkdown-eJ9Nkoid.cjs.map +1 -0
- package/dist/convertPdf-CFA1eNNH.js +2 -0
- package/dist/convertPdf-CFA1eNNH.js.map +1 -0
- package/dist/convertPdf-CSLmTrB8.cjs +2 -0
- package/dist/convertPdf-CSLmTrB8.cjs.map +1 -0
- package/dist/convertRtf-08CoScGD.js +2 -0
- package/dist/convertRtf-08CoScGD.js.map +1 -0
- package/dist/convertRtf-BfiBLMig.cjs +2 -0
- package/dist/convertRtf-BfiBLMig.cjs.map +1 -0
- package/dist/convertText-BpgzHRuh.cjs +2 -0
- package/dist/convertText-BpgzHRuh.cjs.map +1 -0
- package/dist/convertText-sa7PxKTe.js +2 -0
- package/dist/convertText-sa7PxKTe.js.map +1 -0
- package/dist/index-4syk9eEO.js +2 -0
- package/dist/index-4syk9eEO.js.map +1 -0
- package/dist/index-B25zSs0W.js +2 -0
- package/dist/index-B25zSs0W.js.map +1 -0
- package/dist/index-B7VT6ZLa.cjs +2 -0
- package/dist/index-B7VT6ZLa.cjs.map +1 -0
- package/dist/index-BCpytFKJ.js +2 -0
- package/dist/index-BCpytFKJ.js.map +1 -0
- package/dist/index-BNKANY5i.cjs +2 -0
- package/dist/index-BNKANY5i.cjs.map +1 -0
- package/dist/index-B_g_579T.cjs +2 -0
- package/dist/index-B_g_579T.cjs.map +1 -0
- package/dist/index-BvwyeoMb.js +3 -0
- package/dist/index-BvwyeoMb.js.map +1 -0
- package/dist/index-Bw7mlUQo.js +2 -0
- package/dist/index-Bw7mlUQo.js.map +1 -0
- package/dist/index-Byatzd-A.js +2 -0
- package/dist/index-Byatzd-A.js.map +1 -0
- package/dist/index-C0z9eZLm.cjs +2 -0
- package/dist/index-C0z9eZLm.cjs.map +1 -0
- package/dist/index-C88XPqjX.js +2 -0
- package/dist/index-C88XPqjX.js.map +1 -0
- package/dist/index-CI6FPF49.cjs +2 -0
- package/dist/index-CI6FPF49.cjs.map +1 -0
- package/dist/index-CLZF5_GB.cjs +2 -0
- package/dist/index-CLZF5_GB.cjs.map +1 -0
- package/dist/index-CXSwYlG4.cjs +2 -0
- package/dist/index-CXSwYlG4.cjs.map +1 -0
- package/dist/index-Ch9gotLk.js +2 -0
- package/dist/index-Ch9gotLk.js.map +1 -0
- package/dist/index-CifDpN1Y.js +2 -0
- package/dist/index-CifDpN1Y.js.map +1 -0
- package/dist/index-D5o8VpWJ.cjs +2 -0
- package/dist/index-D5o8VpWJ.cjs.map +1 -0
- package/dist/index-DKT1bABL.js +2 -0
- package/dist/index-DKT1bABL.js.map +1 -0
- package/dist/index-DWcn72PW.js +2 -0
- package/dist/index-DWcn72PW.js.map +1 -0
- package/dist/index-DjCGzPEv.cjs +2 -0
- package/dist/index-DjCGzPEv.cjs.map +1 -0
- package/dist/index-Dq0Jr1Ae.js +2 -0
- package/dist/index-Dq0Jr1Ae.js.map +1 -0
- package/dist/index-Dw0MVypb.cjs +2 -0
- package/dist/index-Dw0MVypb.cjs.map +1 -0
- package/dist/index-FEo3LShh.cjs +2 -0
- package/dist/index-FEo3LShh.cjs.map +1 -0
- package/dist/index-O1hzAUzi.cjs +2 -0
- package/dist/index-O1hzAUzi.cjs.map +1 -0
- package/dist/index-T1ZyLzeF.cjs +2 -0
- package/dist/index-T1ZyLzeF.cjs.map +1 -0
- package/dist/index-iRikoCdK.cjs +2 -0
- package/dist/index-iRikoCdK.cjs.map +1 -0
- package/dist/index-l6Yddj6x.js +2 -0
- package/dist/index-l6Yddj6x.js.map +1 -0
- package/dist/index-rD8LZENp.js +2 -0
- package/dist/index-rD8LZENp.js.map +1 -0
- package/dist/remyx-core.cjs +2 -0
- package/dist/remyx-core.cjs.map +1 -0
- package/dist/remyx-core.css +1 -0
- package/dist/remyx-core.js +2 -0
- package/dist/remyx-core.js.map +1 -0
- package/dist/themes/callouts.css +79 -0
- package/dist/themes/collaboration.css +117 -0
- package/dist/themes/comments.css +198 -0
- package/dist/themes/dark.css +109 -0
- package/dist/themes/forest.css +109 -0
- package/dist/themes/light.css +4 -0
- package/dist/themes/links.css +115 -0
- package/dist/themes/math-toc-analytics.css +129 -0
- package/dist/themes/ocean.css +109 -0
- package/dist/themes/rose.css +109 -0
- package/dist/themes/spellcheck.css +173 -0
- package/dist/themes/sunset.css +109 -0
- package/dist/themes/templates.css +87 -0
- package/dist/themes/variables.css +3222 -0
- package/package.json +80 -0
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
/* ====== Spelling & Grammar Checking ====== */
|
|
2
|
+
|
|
3
|
+
/* --- Spelling error: red wavy underline --- */
|
|
4
|
+
.rmx-spelling-error {
|
|
5
|
+
text-decoration: wavy underline #ef4444;
|
|
6
|
+
text-decoration-skip-ink: none;
|
|
7
|
+
cursor: pointer;
|
|
8
|
+
position: relative;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.rmx-spelling-error:hover {
|
|
12
|
+
background-color: rgba(239, 68, 68, 0.08);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/* --- Grammar error: blue wavy underline --- */
|
|
16
|
+
.rmx-grammar-error {
|
|
17
|
+
text-decoration: wavy underline #3b82f6;
|
|
18
|
+
text-decoration-skip-ink: none;
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
position: relative;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.rmx-grammar-error:hover {
|
|
24
|
+
background-color: rgba(59, 130, 246, 0.08);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/* --- Style suggestion: green dotted underline --- */
|
|
28
|
+
.rmx-style-suggestion {
|
|
29
|
+
text-decoration: dotted underline #22c55e;
|
|
30
|
+
text-decoration-skip-ink: none;
|
|
31
|
+
cursor: pointer;
|
|
32
|
+
position: relative;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.rmx-style-suggestion:hover {
|
|
36
|
+
background-color: rgba(34, 197, 94, 0.08);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/* --- Correction suggestion popup --- */
|
|
40
|
+
.rmx-spellcheck-popup {
|
|
41
|
+
position: fixed;
|
|
42
|
+
z-index: 1000;
|
|
43
|
+
background: var(--rmx-modal-bg, #ffffff);
|
|
44
|
+
border: 1px solid var(--rmx-border, #e2e8f0);
|
|
45
|
+
border-radius: 8px;
|
|
46
|
+
box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
|
|
47
|
+
padding: 6px 0;
|
|
48
|
+
min-width: 200px;
|
|
49
|
+
max-width: 320px;
|
|
50
|
+
font-size: 13px;
|
|
51
|
+
color: var(--rmx-text, #1e293b);
|
|
52
|
+
animation: rmx-spellcheck-popup-in 0.12s ease-out;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
@keyframes rmx-spellcheck-popup-in {
|
|
56
|
+
from {
|
|
57
|
+
opacity: 0;
|
|
58
|
+
transform: translateY(-4px);
|
|
59
|
+
}
|
|
60
|
+
to {
|
|
61
|
+
opacity: 1;
|
|
62
|
+
transform: translateY(0);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.rmx-spellcheck-popup-message {
|
|
67
|
+
padding: 6px 12px;
|
|
68
|
+
font-size: 12px;
|
|
69
|
+
color: var(--rmx-text-secondary, #64748b);
|
|
70
|
+
border-bottom: 1px solid var(--rmx-border-subtle, #f1f5f9);
|
|
71
|
+
line-height: 1.4;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.rmx-spellcheck-popup-suggestions {
|
|
75
|
+
padding: 4px 0;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.rmx-spellcheck-popup-suggestion {
|
|
79
|
+
display: block;
|
|
80
|
+
width: 100%;
|
|
81
|
+
padding: 6px 12px;
|
|
82
|
+
border: none;
|
|
83
|
+
background: none;
|
|
84
|
+
text-align: left;
|
|
85
|
+
cursor: pointer;
|
|
86
|
+
font-size: 13px;
|
|
87
|
+
font-weight: 500;
|
|
88
|
+
color: var(--rmx-primary, #6366f1);
|
|
89
|
+
transition: background-color 0.1s ease;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.rmx-spellcheck-popup-suggestion:hover {
|
|
93
|
+
background: var(--rmx-toolbar-button-hover, #f1f5f9);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.rmx-spellcheck-popup-actions {
|
|
97
|
+
border-top: 1px solid var(--rmx-border-subtle, #f1f5f9);
|
|
98
|
+
padding: 4px 0;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.rmx-spellcheck-popup-action {
|
|
102
|
+
display: block;
|
|
103
|
+
width: 100%;
|
|
104
|
+
padding: 5px 12px;
|
|
105
|
+
border: none;
|
|
106
|
+
background: none;
|
|
107
|
+
text-align: left;
|
|
108
|
+
cursor: pointer;
|
|
109
|
+
font-size: 12px;
|
|
110
|
+
color: var(--rmx-text-secondary, #64748b);
|
|
111
|
+
transition: background-color 0.1s ease, color 0.1s ease;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.rmx-spellcheck-popup-action:hover {
|
|
115
|
+
background: var(--rmx-toolbar-button-hover, #f1f5f9);
|
|
116
|
+
color: var(--rmx-text, #1e293b);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/* --- Spellcheck status badge (for toolbar/status bar) --- */
|
|
120
|
+
.rmx-spellcheck-badge {
|
|
121
|
+
display: inline-flex;
|
|
122
|
+
align-items: center;
|
|
123
|
+
gap: 4px;
|
|
124
|
+
font-size: 11px;
|
|
125
|
+
font-weight: 500;
|
|
126
|
+
padding: 2px 8px;
|
|
127
|
+
border-radius: 10px;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.rmx-spellcheck-badge.rmx-clean {
|
|
131
|
+
background: rgba(34, 197, 94, 0.12);
|
|
132
|
+
color: #16a34a;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.rmx-spellcheck-badge.rmx-issues {
|
|
136
|
+
background: rgba(239, 68, 68, 0.12);
|
|
137
|
+
color: #dc2626;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/* --- Dark theme overrides --- */
|
|
141
|
+
.rmx-theme-dark .rmx-spelling-error {
|
|
142
|
+
text-decoration-color: #f87171;
|
|
143
|
+
}
|
|
144
|
+
.rmx-theme-dark .rmx-spelling-error:hover {
|
|
145
|
+
background-color: rgba(248, 113, 113, 0.12);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.rmx-theme-dark .rmx-grammar-error {
|
|
149
|
+
text-decoration-color: #60a5fa;
|
|
150
|
+
}
|
|
151
|
+
.rmx-theme-dark .rmx-grammar-error:hover {
|
|
152
|
+
background-color: rgba(96, 165, 250, 0.12);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.rmx-theme-dark .rmx-style-suggestion {
|
|
156
|
+
text-decoration-color: #4ade80;
|
|
157
|
+
}
|
|
158
|
+
.rmx-theme-dark .rmx-style-suggestion:hover {
|
|
159
|
+
background-color: rgba(74, 222, 128, 0.12);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/* --- Print: hide spellcheck marks --- */
|
|
163
|
+
@media print {
|
|
164
|
+
.rmx-spelling-error,
|
|
165
|
+
.rmx-grammar-error,
|
|
166
|
+
.rmx-style-suggestion {
|
|
167
|
+
text-decoration: none !important;
|
|
168
|
+
background: none !important;
|
|
169
|
+
}
|
|
170
|
+
.rmx-spellcheck-popup {
|
|
171
|
+
display: none !important;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
/* ====== Remyx Editor - Sunset Theme ====== */
|
|
2
|
+
|
|
3
|
+
.rmx-editor.rmx-theme-sunset {
|
|
4
|
+
--rmx-bg: #1c1210;
|
|
5
|
+
--rmx-text: #fde8d0;
|
|
6
|
+
--rmx-text-secondary: #d4a574;
|
|
7
|
+
--rmx-border: #5c3a28;
|
|
8
|
+
--rmx-border-subtle: #5c3a28;
|
|
9
|
+
|
|
10
|
+
/* Toolbar */
|
|
11
|
+
--rmx-toolbar-bg: #181010;
|
|
12
|
+
--rmx-toolbar-border: #5c3a28;
|
|
13
|
+
--rmx-toolbar-button-hover: #5c3a28;
|
|
14
|
+
--rmx-toolbar-button-active: #7c4a2a;
|
|
15
|
+
--rmx-toolbar-icon: #d4a574;
|
|
16
|
+
--rmx-toolbar-icon-active: #fb923c;
|
|
17
|
+
|
|
18
|
+
/* Accent / Primary */
|
|
19
|
+
--rmx-primary: #f97316;
|
|
20
|
+
--rmx-primary-hover: #ea580c;
|
|
21
|
+
--rmx-primary-light: rgba(249, 115, 22, 0.15);
|
|
22
|
+
--rmx-focus-ring: #f97316;
|
|
23
|
+
--rmx-selection: #7c2d12;
|
|
24
|
+
|
|
25
|
+
/* Feedback */
|
|
26
|
+
--rmx-danger: #f87171;
|
|
27
|
+
--rmx-danger-light: rgba(248, 113, 113, 0.1);
|
|
28
|
+
|
|
29
|
+
/* UI */
|
|
30
|
+
--rmx-placeholder: #8b6f47;
|
|
31
|
+
--rmx-modal-bg: #181010;
|
|
32
|
+
--rmx-modal-overlay: rgba(0, 0, 0, 0.6);
|
|
33
|
+
--rmx-statusbar-bg: #181010;
|
|
34
|
+
--rmx-statusbar-text: #8b6f47;
|
|
35
|
+
|
|
36
|
+
/* Shadows */
|
|
37
|
+
--rmx-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
|
|
38
|
+
--rmx-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.35), 0 1px 3px rgba(0, 0, 0, 0.2);
|
|
39
|
+
--rmx-shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.45), 0 4px 12px rgba(0, 0, 0, 0.25);
|
|
40
|
+
--rmx-shadow-float: 0 8px 30px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
|
|
41
|
+
|
|
42
|
+
/* Content overrides (Item 12) */
|
|
43
|
+
--rmx-pre-bg: #181010;
|
|
44
|
+
--rmx-code-bg: rgba(249, 115, 22, 0.1);
|
|
45
|
+
--rmx-blockquote-bg: linear-gradient(135deg, rgba(249, 115, 22, 0.06), rgba(249, 115, 22, 0.03));
|
|
46
|
+
--rmx-table-th-bg: #181010;
|
|
47
|
+
--rmx-find-highlight-bg: #854d0e;
|
|
48
|
+
--rmx-find-highlight-text: #fef3c7;
|
|
49
|
+
--rmx-find-current-bg: #fbbf24;
|
|
50
|
+
--rmx-find-current-text: #1c1210;
|
|
51
|
+
--rmx-link-decoration: rgba(249, 115, 22, 0.35);
|
|
52
|
+
--rmx-code-editor-bg: #1c1210;
|
|
53
|
+
--rmx-code-gutter-bg: #181010;
|
|
54
|
+
--rmx-code-gutter-border: #5c3a28;
|
|
55
|
+
--rmx-code-caret: #fde8d0;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/* Item 12: Content overrides consolidated via CSS variables */
|
|
59
|
+
|
|
60
|
+
/* ---- Sunset Code Editor ---- */
|
|
61
|
+
.rmx-editor.rmx-theme-sunset .rmx-code-editor {
|
|
62
|
+
background: #1c1210;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.rmx-editor.rmx-theme-sunset .rmx-code-gutter {
|
|
66
|
+
background: #181010;
|
|
67
|
+
border-right-color: #5c3a28;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.rmx-editor.rmx-theme-sunset .rmx-code-input {
|
|
71
|
+
caret-color: #fde8d0;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/* Sunset syntax tokens — HTML */
|
|
75
|
+
.rmx-editor.rmx-theme-sunset .rmx-syn-tag { color: #fb923c; }
|
|
76
|
+
.rmx-editor.rmx-theme-sunset .rmx-syn-attr-name { color: #fbbf24; }
|
|
77
|
+
.rmx-editor.rmx-theme-sunset .rmx-syn-attr-value { color: #fde68a; }
|
|
78
|
+
.rmx-editor.rmx-theme-sunset .rmx-syn-comment { color: #8b6f47; font-style: italic; }
|
|
79
|
+
.rmx-editor.rmx-theme-sunset .rmx-syn-entity { color: #fde68a; }
|
|
80
|
+
.rmx-editor.rmx-theme-sunset .rmx-syn-doctype { color: #8b6f47; }
|
|
81
|
+
|
|
82
|
+
/* Sunset syntax tokens — Markdown */
|
|
83
|
+
.rmx-editor.rmx-theme-sunset .rmx-syn-heading { color: #fb923c; font-weight: 600; }
|
|
84
|
+
.rmx-editor.rmx-theme-sunset .rmx-syn-bold { color: #fde8d0; }
|
|
85
|
+
.rmx-editor.rmx-theme-sunset .rmx-syn-italic { color: #fde8d0; }
|
|
86
|
+
.rmx-editor.rmx-theme-sunset .rmx-syn-code { color: #fbbf24; background: rgba(255, 255, 255, 0.06); }
|
|
87
|
+
.rmx-editor.rmx-theme-sunset .rmx-syn-code-fence { color: #8b6f47; }
|
|
88
|
+
.rmx-editor.rmx-theme-sunset .rmx-syn-link { color: #fb923c; }
|
|
89
|
+
.rmx-editor.rmx-theme-sunset .rmx-syn-url { color: #fde68a; }
|
|
90
|
+
.rmx-editor.rmx-theme-sunset .rmx-syn-image { color: #fbbf24; }
|
|
91
|
+
.rmx-editor.rmx-theme-sunset .rmx-syn-list-marker { color: #fbbf24; font-weight: 600; }
|
|
92
|
+
.rmx-editor.rmx-theme-sunset .rmx-syn-blockquote { color: #8b6f47; }
|
|
93
|
+
.rmx-editor.rmx-theme-sunset .rmx-syn-hr { color: #5c3a28; }
|
|
94
|
+
|
|
95
|
+
/* Programming language tokens */
|
|
96
|
+
.rmx-editor.rmx-theme-sunset .rmx-syn-keyword { color: #fb923c; }
|
|
97
|
+
.rmx-editor.rmx-theme-sunset .rmx-syn-string { color: #fde68a; }
|
|
98
|
+
.rmx-editor.rmx-theme-sunset .rmx-syn-number { color: #fbbf24; }
|
|
99
|
+
.rmx-editor.rmx-theme-sunset .rmx-syn-function { color: #fdba74; }
|
|
100
|
+
.rmx-editor.rmx-theme-sunset .rmx-syn-operator { color: #fb923c; }
|
|
101
|
+
.rmx-editor.rmx-theme-sunset .rmx-syn-punctuation { color: #fde8d0; }
|
|
102
|
+
.rmx-editor.rmx-theme-sunset .rmx-syn-builtin { color: #fbbf24; }
|
|
103
|
+
.rmx-editor.rmx-theme-sunset .rmx-syn-property { color: #fbbf24; }
|
|
104
|
+
.rmx-editor.rmx-theme-sunset .rmx-syn-regex { color: #fde68a; }
|
|
105
|
+
.rmx-editor.rmx-theme-sunset .rmx-syn-decorator { color: #f97316; }
|
|
106
|
+
.rmx-editor.rmx-theme-sunset .rmx-syn-type { color: #fdba74; }
|
|
107
|
+
.rmx-editor.rmx-theme-sunset .rmx-syn-selector { color: #fdba74; }
|
|
108
|
+
.rmx-editor.rmx-theme-sunset .rmx-syn-atrule { color: #fb923c; }
|
|
109
|
+
.rmx-editor.rmx-theme-sunset .rmx-syn-variable { color: #f97316; }
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/* ====== Template System & Merge Tags ====== */
|
|
2
|
+
|
|
3
|
+
.rmx-merge-tag {
|
|
4
|
+
display: inline-block;
|
|
5
|
+
background: var(--rmx-primary-light, #e0e7ff);
|
|
6
|
+
color: var(--rmx-primary, #6366f1);
|
|
7
|
+
padding: 1px 8px;
|
|
8
|
+
border-radius: 12px;
|
|
9
|
+
font-size: 12px;
|
|
10
|
+
font-weight: 500;
|
|
11
|
+
font-family: monospace;
|
|
12
|
+
border: 1px solid rgba(99, 102, 241, 0.2);
|
|
13
|
+
vertical-align: baseline;
|
|
14
|
+
user-select: none;
|
|
15
|
+
cursor: default;
|
|
16
|
+
}
|
|
17
|
+
.rmx-merge-tag:hover {
|
|
18
|
+
background: var(--rmx-selection, #c7d2fe);
|
|
19
|
+
}
|
|
20
|
+
.rmx-template-preview {
|
|
21
|
+
cursor: default;
|
|
22
|
+
background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(99,102,241,0.03) 10px, rgba(99,102,241,0.03) 20px);
|
|
23
|
+
}
|
|
24
|
+
.rmx-theme-dark .rmx-merge-tag {
|
|
25
|
+
background: rgba(99, 102, 241, 0.2);
|
|
26
|
+
border-color: rgba(99, 102, 241, 0.3);
|
|
27
|
+
}
|
|
28
|
+
@media print {
|
|
29
|
+
.rmx-merge-tag { background: none; border: 1px dashed #999; border-radius: 3px; }
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/* ====== Keyboard / Vim Mode ====== */
|
|
33
|
+
|
|
34
|
+
.rmx-vim-normal { cursor: default; caret-color: transparent; }
|
|
35
|
+
.rmx-vim-normal::after {
|
|
36
|
+
content: '-- NORMAL --';
|
|
37
|
+
position: absolute;
|
|
38
|
+
bottom: 4px;
|
|
39
|
+
right: 8px;
|
|
40
|
+
font-size: 11px;
|
|
41
|
+
font-weight: 600;
|
|
42
|
+
color: var(--rmx-primary, #6366f1);
|
|
43
|
+
opacity: 0.7;
|
|
44
|
+
pointer-events: none;
|
|
45
|
+
}
|
|
46
|
+
.rmx-vim-insert { caret-color: var(--rmx-primary, #6366f1); }
|
|
47
|
+
.rmx-vim-insert::after {
|
|
48
|
+
content: '-- INSERT --';
|
|
49
|
+
position: absolute;
|
|
50
|
+
bottom: 4px;
|
|
51
|
+
right: 8px;
|
|
52
|
+
font-size: 11px;
|
|
53
|
+
font-weight: 600;
|
|
54
|
+
color: #22c55e;
|
|
55
|
+
opacity: 0.7;
|
|
56
|
+
pointer-events: none;
|
|
57
|
+
}
|
|
58
|
+
.rmx-vim-visual { caret-color: #f59e0b; }
|
|
59
|
+
.rmx-vim-visual::after {
|
|
60
|
+
content: '-- VISUAL --';
|
|
61
|
+
position: absolute;
|
|
62
|
+
bottom: 4px;
|
|
63
|
+
right: 8px;
|
|
64
|
+
font-size: 11px;
|
|
65
|
+
font-weight: 600;
|
|
66
|
+
color: #f59e0b;
|
|
67
|
+
opacity: 0.7;
|
|
68
|
+
pointer-events: none;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/* ====== Drag & Drop ====== */
|
|
72
|
+
|
|
73
|
+
.rmx-drop-zone { transition: box-shadow 0.15s ease; }
|
|
74
|
+
.rmx-drop-zone-active {
|
|
75
|
+
box-shadow: inset 0 0 0 2px var(--rmx-primary, #6366f1);
|
|
76
|
+
}
|
|
77
|
+
.rmx-dragging { opacity: 0.4; }
|
|
78
|
+
.rmx-drop-indicator {
|
|
79
|
+
position: absolute;
|
|
80
|
+
left: 0;
|
|
81
|
+
right: 0;
|
|
82
|
+
height: 3px;
|
|
83
|
+
background: var(--rmx-primary, #6366f1);
|
|
84
|
+
border-radius: 2px;
|
|
85
|
+
pointer-events: none;
|
|
86
|
+
z-index: 100;
|
|
87
|
+
}
|