@podlite/editor-react 0.0.80 → 0.0.82
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/CHANGELOG.podlite +10 -0
- package/esm/dict.js +4 -4
- package/esm/dict.js.map +1 -1
- package/lib/dict.js +4 -4
- package/lib/dict.js.map +1 -1
- package/package.json +6 -8
- package/esm/Editor.css +0 -157
- package/esm/Editor.old.css +0 -428
- package/esm/podlite-vars.css +0 -213
- package/lib/Editor.old.css +0 -428
package/CHANGELOG.podlite
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
=head1 Upcoming
|
|
4
4
|
|
|
5
|
+
=head1 0.0.82
|
|
6
|
+
|
|
7
|
+
=item the completions that insert a table of contents with a caption write C<:caption> instead of C<:title>, as the specification does
|
|
8
|
+
|
|
9
|
+
=item the package no longer ships C<esm/Editor.css> and C<esm/podlite-vars.css>, which the export map never opened; the styles are taken by the short paths C<@podlite/editor-react/Editor.css> and C<@podlite/editor-react/podlite-vars.css>, or under C<lib/>. The package check fails a package that ships a style no export target opens
|
|
10
|
+
|
|
11
|
+
=item the C<./demo/Components> subpath is no longer exported: its target is not in the package, which does not ship the C<demo> directory
|
|
12
|
+
|
|
13
|
+
=item B<Breaking:> the unused stylesheet C<lib/Editor.old.css> and its export path are removed
|
|
14
|
+
|
|
5
15
|
=head1 0.0.77
|
|
6
16
|
|
|
7
17
|
=item C<includeSource> reads included files from a source that answers through promises: the preview shows the document at once and the included content when it has come, with no warning while a file is awaited. C<invalidateIncludes> on the editor ref forgets what was read for a path, or for everything, and asks again
|
package/esm/dict.js
CHANGED
|
@@ -155,17 +155,17 @@ Everything else 57
|
|
|
155
155
|
`,
|
|
156
156
|
},
|
|
157
157
|
{
|
|
158
|
-
displayText: 'toc (with :
|
|
159
|
-
text: `=for toc :
|
|
158
|
+
displayText: 'toc (with :caption) 🏷',
|
|
159
|
+
text: `=for toc :caption('Table of contents')
|
|
160
160
|
head1, head2, head3
|
|
161
161
|
|
|
162
162
|
`,
|
|
163
163
|
},
|
|
164
164
|
{
|
|
165
165
|
displayText: 'toc ( picture, Mermaid ) + tables 🏷',
|
|
166
|
-
text: `=for toc :
|
|
166
|
+
text: `=for toc :caption('List of media')
|
|
167
167
|
picture, Mermaid
|
|
168
|
-
=for toc :
|
|
168
|
+
=for toc :caption('List of tables')
|
|
169
169
|
table
|
|
170
170
|
|
|
171
171
|
`,
|
package/esm/dict.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dict.js","sourceRoot":"","sources":["../src/dict.ts"],"names":[],"mappings":"AAMA,MAAM,IAAI,GAAW;IACnB;QACE,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,YAAY;KACnB;IACD;QACE,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,SAAS;KAChB;IAED;QACE,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,SAAS;KAChB;IACD;QACE,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,SAAS;KAChB;IACD;QACE,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;KAClB;IACD;QACE,WAAW,EAAE,kBAAkB;QAC/B,IAAI,EAAE;;;;;;CAMT;KACE;IACD;QACE,WAAW,EAAE,gBAAgB;QAC7B,IAAI,EAAE;;;;;;CAMT;KACE;IACD;QACE,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE;CACT;KACE;IACD;QACE,WAAW,EAAE,iBAAiB;QAC9B,IAAI,EAAE;;;;CAIT;KACE;IACD;QACE,WAAW,EAAE,aAAa;QAC1B,IAAI,EAAE;;;;;;CAMT;KACE;IACD;QACE,WAAW,EAAE,aAAa;QAC1B,IAAI,EAAE;;;;;;CAMT;KACE;IACD;QACE,WAAW,EAAE,2BAA2B;QACxC,IAAI,EAAE;;;;;;;CAOT;KACE;IACD;QACE,WAAW,EAAE,6BAA6B;QAC1C,IAAI,EAAE;;;;;;;;;;;;CAYT;KACE;IACD;QACE,WAAW,EAAE,sBAAsB;QACnC,IAAI,EAAE;;;;;;;CAOT;KACE;IACD;QACE,WAAW,EAAE,kBAAkB;QAC/B,IAAI,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BT;KACE;IACD;QACE,WAAW,EAAE,+BAA+B;QAC5C,IAAI,EAAE;;;CAGT;KACE;IACD;QACE,WAAW,EAAE,yBAAyB;QACtC,IAAI,EAAE;CACT;KACE;IACD;QACE,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"dict.js","sourceRoot":"","sources":["../src/dict.ts"],"names":[],"mappings":"AAMA,MAAM,IAAI,GAAW;IACnB;QACE,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,YAAY;KACnB;IACD;QACE,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,SAAS;KAChB;IAED;QACE,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,SAAS;KAChB;IACD;QACE,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,SAAS;KAChB;IACD;QACE,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;KAClB;IACD;QACE,WAAW,EAAE,kBAAkB;QAC/B,IAAI,EAAE;;;;;;CAMT;KACE;IACD;QACE,WAAW,EAAE,gBAAgB;QAC7B,IAAI,EAAE;;;;;;CAMT;KACE;IACD;QACE,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE;CACT;KACE;IACD;QACE,WAAW,EAAE,iBAAiB;QAC9B,IAAI,EAAE;;;;CAIT;KACE;IACD;QACE,WAAW,EAAE,aAAa;QAC1B,IAAI,EAAE;;;;;;CAMT;KACE;IACD;QACE,WAAW,EAAE,aAAa;QAC1B,IAAI,EAAE;;;;;;CAMT;KACE;IACD;QACE,WAAW,EAAE,2BAA2B;QACxC,IAAI,EAAE;;;;;;;CAOT;KACE;IACD;QACE,WAAW,EAAE,6BAA6B;QAC1C,IAAI,EAAE;;;;;;;;;;;;CAYT;KACE;IACD;QACE,WAAW,EAAE,sBAAsB;QACnC,IAAI,EAAE;;;;;;;CAOT;KACE;IACD;QACE,WAAW,EAAE,kBAAkB;QAC/B,IAAI,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BT;KACE;IACD;QACE,WAAW,EAAE,+BAA+B;QAC5C,IAAI,EAAE;;;CAGT;KACE;IACD;QACE,WAAW,EAAE,yBAAyB;QACtC,IAAI,EAAE;CACT;KACE;IACD;QACE,WAAW,EAAE,wBAAwB;QACrC,IAAI,EAAE;;;CAGT;KACE;IACD;QACE,WAAW,EAAE,uCAAuC;QACpD,IAAI,EAAE;;;;;CAKT;KACE;IAED;QACE,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE;;;CAGT;KACE;IACD;QACE,WAAW,EAAE,yBAAyB;QACtC,IAAI,EAAE;;;CAGT;KACE;IAED,gBAAgB;IAEhB;QACE,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,IAAI;QACV,IAAI,EAAE,IAAI;KACX;IACD;QACE,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,KAAK;QACX,IAAI,EAAE,IAAI;KACX;IAED;QACE,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,IAAI;KACX;IACD;QACE,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,IAAI;QACV,IAAI,EAAE,IAAI;KACX;IACD;QACE,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,KAAK;QACX,IAAI,EAAE,IAAI;KACX;IACD;QACE,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE;;CAET;QACG,IAAI,EAAE,IAAI;KACX;IAED;QACE,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE;;;;;CAKT;QACG,IAAI,EAAE,IAAI;KACX;IACD;QACE,WAAW,EAAE,mBAAmB;QAChC,IAAI,EAAE;;;;;;OAMH;QACH,IAAI,EAAE,IAAI;KACX;IACD;QACE,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE;;;;;CAKT;QACG,IAAI,EAAE,IAAI;KACX;CACF,CAAA;AACD,eAAe,IAAI,CAAA"}
|
package/lib/dict.js
CHANGED
|
@@ -157,17 +157,17 @@ Everything else 57
|
|
|
157
157
|
`,
|
|
158
158
|
},
|
|
159
159
|
{
|
|
160
|
-
displayText: 'toc (with :
|
|
161
|
-
text: `=for toc :
|
|
160
|
+
displayText: 'toc (with :caption) 🏷',
|
|
161
|
+
text: `=for toc :caption('Table of contents')
|
|
162
162
|
head1, head2, head3
|
|
163
163
|
|
|
164
164
|
`,
|
|
165
165
|
},
|
|
166
166
|
{
|
|
167
167
|
displayText: 'toc ( picture, Mermaid ) + tables 🏷',
|
|
168
|
-
text: `=for toc :
|
|
168
|
+
text: `=for toc :caption('List of media')
|
|
169
169
|
picture, Mermaid
|
|
170
|
-
=for toc :
|
|
170
|
+
=for toc :caption('List of tables')
|
|
171
171
|
table
|
|
172
172
|
|
|
173
173
|
`,
|
package/lib/dict.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dict.js","sourceRoot":"","sources":["../src/dict.ts"],"names":[],"mappings":";;AAMA,MAAM,IAAI,GAAW;IACnB;QACE,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,YAAY;KACnB;IACD;QACE,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,SAAS;KAChB;IAED;QACE,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,SAAS;KAChB;IACD;QACE,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,SAAS;KAChB;IACD;QACE,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;KAClB;IACD;QACE,WAAW,EAAE,kBAAkB;QAC/B,IAAI,EAAE;;;;;;CAMT;KACE;IACD;QACE,WAAW,EAAE,gBAAgB;QAC7B,IAAI,EAAE;;;;;;CAMT;KACE;IACD;QACE,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE;CACT;KACE;IACD;QACE,WAAW,EAAE,iBAAiB;QAC9B,IAAI,EAAE;;;;CAIT;KACE;IACD;QACE,WAAW,EAAE,aAAa;QAC1B,IAAI,EAAE;;;;;;CAMT;KACE;IACD;QACE,WAAW,EAAE,aAAa;QAC1B,IAAI,EAAE;;;;;;CAMT;KACE;IACD;QACE,WAAW,EAAE,2BAA2B;QACxC,IAAI,EAAE;;;;;;;CAOT;KACE;IACD;QACE,WAAW,EAAE,6BAA6B;QAC1C,IAAI,EAAE;;;;;;;;;;;;CAYT;KACE;IACD;QACE,WAAW,EAAE,sBAAsB;QACnC,IAAI,EAAE;;;;;;;CAOT;KACE;IACD;QACE,WAAW,EAAE,kBAAkB;QAC/B,IAAI,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BT;KACE;IACD;QACE,WAAW,EAAE,+BAA+B;QAC5C,IAAI,EAAE;;;CAGT;KACE;IACD;QACE,WAAW,EAAE,yBAAyB;QACtC,IAAI,EAAE;CACT;KACE;IACD;QACE,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"dict.js","sourceRoot":"","sources":["../src/dict.ts"],"names":[],"mappings":";;AAMA,MAAM,IAAI,GAAW;IACnB;QACE,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,YAAY;KACnB;IACD;QACE,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,SAAS;KAChB;IAED;QACE,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,SAAS;KAChB;IACD;QACE,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,SAAS;KAChB;IACD;QACE,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;KAClB;IACD;QACE,WAAW,EAAE,kBAAkB;QAC/B,IAAI,EAAE;;;;;;CAMT;KACE;IACD;QACE,WAAW,EAAE,gBAAgB;QAC7B,IAAI,EAAE;;;;;;CAMT;KACE;IACD;QACE,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE;CACT;KACE;IACD;QACE,WAAW,EAAE,iBAAiB;QAC9B,IAAI,EAAE;;;;CAIT;KACE;IACD;QACE,WAAW,EAAE,aAAa;QAC1B,IAAI,EAAE;;;;;;CAMT;KACE;IACD;QACE,WAAW,EAAE,aAAa;QAC1B,IAAI,EAAE;;;;;;CAMT;KACE;IACD;QACE,WAAW,EAAE,2BAA2B;QACxC,IAAI,EAAE;;;;;;;CAOT;KACE;IACD;QACE,WAAW,EAAE,6BAA6B;QAC1C,IAAI,EAAE;;;;;;;;;;;;CAYT;KACE;IACD;QACE,WAAW,EAAE,sBAAsB;QACnC,IAAI,EAAE;;;;;;;CAOT;KACE;IACD;QACE,WAAW,EAAE,kBAAkB;QAC/B,IAAI,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BT;KACE;IACD;QACE,WAAW,EAAE,+BAA+B;QAC5C,IAAI,EAAE;;;CAGT;KACE;IACD;QACE,WAAW,EAAE,yBAAyB;QACtC,IAAI,EAAE;CACT;KACE;IACD;QACE,WAAW,EAAE,wBAAwB;QACrC,IAAI,EAAE;;;CAGT;KACE;IACD;QACE,WAAW,EAAE,uCAAuC;QACpD,IAAI,EAAE;;;;;CAKT;KACE;IAED;QACE,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE;;;CAGT;KACE;IACD;QACE,WAAW,EAAE,yBAAyB;QACtC,IAAI,EAAE;;;CAGT;KACE;IAED,gBAAgB;IAEhB;QACE,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,IAAI;QACV,IAAI,EAAE,IAAI;KACX;IACD;QACE,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,KAAK;QACX,IAAI,EAAE,IAAI;KACX;IAED;QACE,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,IAAI;KACX;IACD;QACE,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,IAAI;QACV,IAAI,EAAE,IAAI;KACX;IACD;QACE,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,KAAK;QACX,IAAI,EAAE,IAAI;KACX;IACD;QACE,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE;;CAET;QACG,IAAI,EAAE,IAAI;KACX;IAED;QACE,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE;;;;;CAKT;QACG,IAAI,EAAE,IAAI;KACX;IACD;QACE,WAAW,EAAE,mBAAmB;QAChC,IAAI,EAAE;;;;;;OAMH;QACH,IAAI,EAAE,IAAI;KACX;IACD;QACE,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE;;;;;CAKT;QACG,IAAI,EAAE,IAAI;KACX;CACF,CAAA;AACD,kBAAe,IAAI,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@podlite/editor-react",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.82",
|
|
4
4
|
"description": "Rich text editor React component for Podlite — syntax highlighting, live preview, CodeMirror 6",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -18,8 +18,6 @@
|
|
|
18
18
|
"./podlite-vars.css": "./lib/podlite-vars.css",
|
|
19
19
|
"./lib/Editor.css": "./lib/Editor.css",
|
|
20
20
|
"./lib/podlite-vars.css": "./lib/podlite-vars.css",
|
|
21
|
-
"./lib/Editor.old.css": "./lib/Editor.old.css",
|
|
22
|
-
"./demo/Components": "./demo/Components",
|
|
23
21
|
"./package.json": "./package.json",
|
|
24
22
|
"./lib/*": {
|
|
25
23
|
"types": "./lib/*.d.ts",
|
|
@@ -73,7 +71,7 @@
|
|
|
73
71
|
"access": "public"
|
|
74
72
|
},
|
|
75
73
|
"scripts": {
|
|
76
|
-
"clean": "rm -rf dist lib
|
|
74
|
+
"clean": "rm -rf dist lib esm *.tsbuildinfo",
|
|
77
75
|
"build": "yarn g:build && yarn g:copy_assets",
|
|
78
76
|
"test": "yarn g:jest --passWithNoTests"
|
|
79
77
|
},
|
|
@@ -90,14 +88,14 @@
|
|
|
90
88
|
"@lezer/common": "^1.5.0",
|
|
91
89
|
"@lezer/highlight": "^1.2.1",
|
|
92
90
|
"@lezer/markdown": "^1.0.0",
|
|
93
|
-
"@podlite/highlight": "0.0.
|
|
94
|
-
"@podlite/schema": "0.0.
|
|
95
|
-
"@podlite/to-jsx": "0.0.
|
|
91
|
+
"@podlite/highlight": "0.0.10",
|
|
92
|
+
"@podlite/schema": "0.0.76",
|
|
93
|
+
"@podlite/to-jsx": "0.0.80",
|
|
96
94
|
"@uiw/codemirror-extensions-basic-setup": "^4.23.8",
|
|
97
95
|
"@uiw/codemirror-extensions-events": "^4.23.8",
|
|
98
96
|
"@uiw/codemirror-themes": "^4.23.8",
|
|
99
97
|
"dom-to-image-more": "^3.7.2",
|
|
100
|
-
"podlite": "0.0.
|
|
98
|
+
"podlite": "0.0.89",
|
|
101
99
|
"react-is": "^18.0.0",
|
|
102
100
|
"shiki": "^3.21.0",
|
|
103
101
|
"tslib": "^2.8.1"
|
package/esm/Editor.css
DELETED
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
[data-color-mode*='dark'] .podlite-editor {
|
|
2
|
-
--color-border-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 0 rgba(255, 255, 255, 0), 0 1px 1px rgba(255, 255, 255, 0.2);
|
|
3
|
-
}
|
|
4
|
-
[data-color-mode*='light'] .podlite-editor {
|
|
5
|
-
--color-border-shadow: 0 0 0 1px rgba(16, 22, 26, 0.1), 0 0 0 rgba(16, 22, 26, 0), 0 1px 1px rgba(16, 22, 26, 0.2);
|
|
6
|
-
}
|
|
7
|
-
.podlite-editor {
|
|
8
|
-
color: var(--color-fg-default);
|
|
9
|
-
box-shadow: var(--color-border-shadow);
|
|
10
|
-
text-align: left;
|
|
11
|
-
border-radius: 3px;
|
|
12
|
-
position: relative;
|
|
13
|
-
display: flex;
|
|
14
|
-
flex-direction: column;
|
|
15
|
-
background-color: var(--color-canvas-subtle);
|
|
16
|
-
}
|
|
17
|
-
.podlite-editor-content {
|
|
18
|
-
position: relative;
|
|
19
|
-
flex: 1;
|
|
20
|
-
overflow: auto;
|
|
21
|
-
}
|
|
22
|
-
.podlite-editor-fullscreen .podlite-editor {
|
|
23
|
-
border-radius: 0;
|
|
24
|
-
}
|
|
25
|
-
.podlite-editor-fullscreen {
|
|
26
|
-
z-index: 999;
|
|
27
|
-
position: fixed;
|
|
28
|
-
top: 0;
|
|
29
|
-
bottom: 0;
|
|
30
|
-
left: 0;
|
|
31
|
-
right: 0;
|
|
32
|
-
}
|
|
33
|
-
.podlite-editor-fullscreen .podlite-editor-toolbar {
|
|
34
|
-
border-radius: 0;
|
|
35
|
-
}
|
|
36
|
-
.podlite-editor-preview {
|
|
37
|
-
padding: 20px;
|
|
38
|
-
width: 0%;
|
|
39
|
-
overflow: hidden;
|
|
40
|
-
border-left: 0;
|
|
41
|
-
position: absolute;
|
|
42
|
-
right: 0;
|
|
43
|
-
top: 0;
|
|
44
|
-
bottom: 0;
|
|
45
|
-
box-sizing: border-box;
|
|
46
|
-
background-color: var(--color-canvas-default);
|
|
47
|
-
}
|
|
48
|
-
.podlite-editor h1 a,
|
|
49
|
-
.podlite-editor h2 a,
|
|
50
|
-
.podlite-editor h3 a,
|
|
51
|
-
.podlite-editor h4 a,
|
|
52
|
-
.podlite-editor h5 a,
|
|
53
|
-
.podlite-editor h6 a {
|
|
54
|
-
display: none;
|
|
55
|
-
}
|
|
56
|
-
.podlite-editor .podlite-editor-preview > .content {
|
|
57
|
-
margin-top: 0;
|
|
58
|
-
}
|
|
59
|
-
.podlite-editor .podlite-editor-preview li,
|
|
60
|
-
.podlite-editor .podlite-editor-preview .line-src,
|
|
61
|
-
.podlite-editor .podlite-editor-preview ul {
|
|
62
|
-
margin-top: 0;
|
|
63
|
-
}
|
|
64
|
-
.podlite-editor-preview .content > :first-child,
|
|
65
|
-
.podlite-editor-preview .content > .line-src:first-child {
|
|
66
|
-
margin-top: 0;
|
|
67
|
-
}
|
|
68
|
-
.podlite-editor-preview .content > .line-src:first-child > * {
|
|
69
|
-
margin-top: 0;
|
|
70
|
-
}
|
|
71
|
-
/* Compensate for missing fold gutter width when folding is disabled */
|
|
72
|
-
.podlite-editor .cm-editor:not(:has(.cm-foldGutter)) .cm-content {
|
|
73
|
-
padding-left: 11px;
|
|
74
|
-
}
|
|
75
|
-
/* Scope layout/paint/style recalculation to each wrapped AST node so that
|
|
76
|
-
scrolling a long preview does not invalidate the whole document. */
|
|
77
|
-
.podlite-editor .podlite-editor-preview .line-src {
|
|
78
|
-
contain: layout paint style;
|
|
79
|
-
}
|
|
80
|
-
/* wrapFunction wraps every node (including <li>, <summary> and their
|
|
81
|
-
content) in <div class="line-src">. Containment on those wrappers
|
|
82
|
-
creates new layout contexts that break:
|
|
83
|
-
1. Outer wrapper inside <ul>/<ol> — invalid HTML, kills flex layout so
|
|
84
|
-
task-list checkbox becomes invisible.
|
|
85
|
-
2. Inner wrapper around item content — breaks first-baseline sharing
|
|
86
|
-
with the flex parent, so checkbox aligns with last line of wrapped
|
|
87
|
-
text instead of the first.
|
|
88
|
-
3. Wrapper inside <summary> — becomes containing block for the
|
|
89
|
-
disclosure ::before marker, relocating or clipping the triangle.
|
|
90
|
-
Remove containment for .line-src nodes that participate in list and
|
|
91
|
-
disclosure layout. Minor perf cost since these structures are a small
|
|
92
|
-
fraction of content. */
|
|
93
|
-
.podlite-editor .podlite-editor-preview ul > .line-src,
|
|
94
|
-
.podlite-editor .podlite-editor-preview ol > .line-src,
|
|
95
|
-
.podlite-editor .podlite-editor-preview li > .line-src,
|
|
96
|
-
.podlite-editor .podlite-editor-preview details > .line-src,
|
|
97
|
-
.podlite-editor .podlite-editor-preview summary > .line-src {
|
|
98
|
-
contain: none;
|
|
99
|
-
}
|
|
100
|
-
.podlite-editor .podlite-editor-preview {
|
|
101
|
-
contain: layout paint;
|
|
102
|
-
}
|
|
103
|
-
/* Defer layout/paint of off-screen blocks in full-preview mode. The browser
|
|
104
|
-
skips rendering work for elements outside the viewport, using
|
|
105
|
-
contain-intrinsic-size as a placeholder. `auto 2em` lets the browser
|
|
106
|
-
remember the actual rendered size after first paint.
|
|
107
|
-
Scope to direct children of `.content`: `content-visibility: auto`
|
|
108
|
-
implies `contain: size layout paint`, which would re-introduce the
|
|
109
|
-
containment the carve-out above removes from `.line-src` inside
|
|
110
|
-
ul/ol/li/details/summary — hiding task-list checkboxes and misaligning
|
|
111
|
-
disclosure markers. Top-level blocks are the bulk of content, so the
|
|
112
|
-
defer stays effective without touching list/disclosure interiors. */
|
|
113
|
-
.podlite-editor .podlite-editor-preview[data-full-preview='true'] .content > .line-src {
|
|
114
|
-
content-visibility: auto;
|
|
115
|
-
contain-intrinsic-size: auto 2em;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
/* Content the author keeps out of what is published — `G<>`. Shown as a
|
|
119
|
-
covered strip; stepping the caret inside uncovers it, so editing is
|
|
120
|
-
unaffected. The text stays selectable and copyable underneath. */
|
|
121
|
-
.cm-pod-covered,
|
|
122
|
-
.cm-pod-covered * {
|
|
123
|
-
/* the syntax colour of the code sits on an inner span, so the cover has to
|
|
124
|
-
reach the descendants as well */
|
|
125
|
-
color: transparent !important;
|
|
126
|
-
}
|
|
127
|
-
.cm-pod-covered {
|
|
128
|
-
background: var(--color-neutral-muted);
|
|
129
|
-
border-radius: 3px;
|
|
130
|
-
}
|
|
131
|
-
/* Settings after the language in a markdown fence — ```js :caption<...> —
|
|
132
|
-
coloured like the settings of any other block. */
|
|
133
|
-
.cm-pod-fence-attr-name {
|
|
134
|
-
color: var(--color-prettylights-syntax-constant);
|
|
135
|
-
}
|
|
136
|
-
.cm-pod-fence-attr-value {
|
|
137
|
-
color: var(--color-prettylights-syntax-string);
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
/* A picture shown under the line that names it. It is a widget, so it must not
|
|
141
|
-
take the caret or push the text around more than its own height. */
|
|
142
|
-
.cm-pod-image {
|
|
143
|
-
padding: 0.25em 0 0.5em 0;
|
|
144
|
-
}
|
|
145
|
-
.cm-pod-image img {
|
|
146
|
-
max-width: 100%;
|
|
147
|
-
max-height: 20em;
|
|
148
|
-
display: block;
|
|
149
|
-
border-radius: 3px;
|
|
150
|
-
}
|
|
151
|
-
/* an address that cannot be fetched, and one still being resolved, read as a
|
|
152
|
-
quiet line rather than a broken icon */
|
|
153
|
-
.cm-pod-image-missing,
|
|
154
|
-
.cm-pod-image-waiting {
|
|
155
|
-
opacity: 0.55;
|
|
156
|
-
font-style: italic;
|
|
157
|
-
}
|
package/esm/Editor.old.css
DELETED
|
@@ -1,428 +0,0 @@
|
|
|
1
|
-
.EditorApp {
|
|
2
|
-
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
|
|
3
|
-
-webkit-font-smoothing: antialiased;
|
|
4
|
-
-moz-osx-font-smoothing: grayscale;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.App-logo {
|
|
8
|
-
height: 40vmin;
|
|
9
|
-
pointer-events: none;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
13
|
-
.App-logo {
|
|
14
|
-
animation: App-logo-spin infinite 20s linear;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.App-header {
|
|
19
|
-
background-color: #282c34;
|
|
20
|
-
min-height: 100vh;
|
|
21
|
-
display: flex;
|
|
22
|
-
flex-direction: column;
|
|
23
|
-
align-items: center;
|
|
24
|
-
justify-content: center;
|
|
25
|
-
font-size: calc(10px + 2vmin);
|
|
26
|
-
color: white;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.App-link {
|
|
30
|
-
color: #61dafb;
|
|
31
|
-
}
|
|
32
|
-
.layout {
|
|
33
|
-
position: absolute;
|
|
34
|
-
width: 100%;
|
|
35
|
-
/* height: 100%; */
|
|
36
|
-
}
|
|
37
|
-
.layoutFocusWrite {
|
|
38
|
-
position: absolute;
|
|
39
|
-
width: 100%;
|
|
40
|
-
/* height: 100%; */
|
|
41
|
-
}
|
|
42
|
-
.Editor {
|
|
43
|
-
text-align: left;
|
|
44
|
-
white-space: pre-wrap;
|
|
45
|
-
word-break: break-word;
|
|
46
|
-
word-wrap: break-word;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
[contenteditable]:focus {
|
|
50
|
-
outline: 0px solid transparent;
|
|
51
|
-
}
|
|
52
|
-
.layout__panel {
|
|
53
|
-
position: relative;
|
|
54
|
-
width: 100%;
|
|
55
|
-
height: 100%;
|
|
56
|
-
flex: none;
|
|
57
|
-
overflow: hidden;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.flex--row {
|
|
61
|
-
flex-direction: row;
|
|
62
|
-
}
|
|
63
|
-
.flex {
|
|
64
|
-
display: flex;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.CodeMirror {
|
|
68
|
-
height: auto;
|
|
69
|
-
font-family: inherit;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
pre {
|
|
73
|
-
overflow-x: auto;
|
|
74
|
-
white-space: pre-wrap;
|
|
75
|
-
white-space: -moz-pre-wrap;
|
|
76
|
-
white-space: -pre-wrap;
|
|
77
|
-
white-space: -o-pre-wrap;
|
|
78
|
-
word-wrap: break-word;
|
|
79
|
-
}
|
|
80
|
-
.title {
|
|
81
|
-
margin:0em;
|
|
82
|
-
}
|
|
83
|
-
.Editorleft {
|
|
84
|
-
border-right: 1px dotted lightgrey;
|
|
85
|
-
white-space: pre-wrap;
|
|
86
|
-
word-break: break-word;
|
|
87
|
-
word-wrap: break-word;
|
|
88
|
-
width: 50%;
|
|
89
|
-
font-size: 15px;
|
|
90
|
-
text-align: left;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
/* .Editorright {
|
|
94
|
-
text-align: left;
|
|
95
|
-
word-break: break-word;
|
|
96
|
-
word-wrap: break-word;
|
|
97
|
-
margin : 0 1em;
|
|
98
|
-
font-size: 15px;
|
|
99
|
-
} */
|
|
100
|
-
|
|
101
|
-
/* Start podlite */
|
|
102
|
-
body {
|
|
103
|
-
margin: 0;
|
|
104
|
-
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
|
|
105
|
-
-webkit-font-smoothing: antialiased;
|
|
106
|
-
-moz-osx-font-smoothing: grayscale;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
code {
|
|
110
|
-
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
|
|
111
|
-
monospace;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
pre {
|
|
116
|
-
padding: 9.5px;
|
|
117
|
-
display: block;
|
|
118
|
-
word-break: break-all;
|
|
119
|
-
word-wrap: break-word;
|
|
120
|
-
background-color: #f8f8f8;
|
|
121
|
-
border-radius: 4px;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
code {
|
|
125
|
-
padding: 0;
|
|
126
|
-
font-size: inherit;
|
|
127
|
-
color: inherit;
|
|
128
|
-
white-space: pre-wrap;
|
|
129
|
-
background-color: transparent;
|
|
130
|
-
border-radius: 0;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
img {
|
|
134
|
-
max-width: 1024px;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
table {
|
|
138
|
-
word-break: normal;
|
|
139
|
-
min-width: 70%;
|
|
140
|
-
max-width: 100%;
|
|
141
|
-
margin: 1em auto;
|
|
142
|
-
border-spacing: 0;
|
|
143
|
-
border-collapse: collapse;
|
|
144
|
-
text-align: center;
|
|
145
|
-
margin-top: 2em;
|
|
146
|
-
}
|
|
147
|
-
table caption {
|
|
148
|
-
margin-bottom: 0.8em;
|
|
149
|
-
caption-side: bottom;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
table tbody tr:hover {
|
|
153
|
-
background-color: #eee;
|
|
154
|
-
-webkit-transition: .5s;
|
|
155
|
-
transition: .5s
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
tr th {
|
|
159
|
-
vertical-align: bottom;
|
|
160
|
-
border-bottom: 2px solid #eee;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
td {
|
|
164
|
-
padding: 8px;
|
|
165
|
-
border: 1px solid #eee;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
.footnote a {
|
|
169
|
-
text-decoration: none;
|
|
170
|
-
}
|
|
171
|
-
.footnotes {
|
|
172
|
-
border-top-style: solid;
|
|
173
|
-
border-top-width: 1px;
|
|
174
|
-
border-top-color: #eee;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
img {
|
|
178
|
-
display: block;
|
|
179
|
-
margin: 0 auto;
|
|
180
|
-
max-width: 100%;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.shadow {
|
|
184
|
-
-webkit-box-shadow: 3px 3px 5px 6px #ccc; /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
|
|
185
|
-
-moz-box-shadow: 3px 3px 5px 6px #ccc; /* Firefox 3.5 - 3.6 */
|
|
186
|
-
box-shadow: 3px 3px 5px 6px #ccc; /* Opera 10.5, IE 9, Firefox 4+, Chrome 6+, iOS 5 */
|
|
187
|
-
}
|
|
188
|
-
.box {
|
|
189
|
-
box-shadow:
|
|
190
|
-
0 2.8px 2.2px rgba(0, 0, 0, 0.034),
|
|
191
|
-
0 6.7px 5.3px rgba(0, 0, 0, 0.048),
|
|
192
|
-
0 12.5px 10px rgba(0, 0, 0, 0.06),
|
|
193
|
-
0 22.3px 17.9px rgba(0, 0, 0, 0.072),
|
|
194
|
-
0 41.8px 33.4px rgba(0, 0, 0, 0.086),
|
|
195
|
-
0 100px 80px rgba(0, 0, 0, 0.12)
|
|
196
|
-
;
|
|
197
|
-
margin: 100px auto;
|
|
198
|
-
background: white;
|
|
199
|
-
border-radius: 5px;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
.image_block video {
|
|
203
|
-
max-width: 100%;
|
|
204
|
-
/* margin: 0 auto; */
|
|
205
|
-
margin-bottom: 1em;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
.image_block video{
|
|
209
|
-
width: 100%;
|
|
210
|
-
outline: none;
|
|
211
|
-
border: none;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
/* plugins */
|
|
215
|
-
.mermaid svg {
|
|
216
|
-
display: block;
|
|
217
|
-
margin: auto;
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
.toc {
|
|
221
|
-
padding: 1rem;
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
.toc-list {
|
|
225
|
-
list-style: none;
|
|
226
|
-
font-size: .8rem;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
.caption {
|
|
230
|
-
text-align: center;
|
|
231
|
-
font-size: 0.9rem;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
aside.notify {
|
|
235
|
-
border-left: .25em solid;
|
|
236
|
-
padding-left: 1rem ;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
aside.notify>:first-child {
|
|
240
|
-
margin-top: 0
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
aside.notify>:last-child {
|
|
244
|
-
margin-bottom: 0
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
aside.notify.note {
|
|
248
|
-
border-left-color: #0085f2
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
aside.notify.note .notify-title {
|
|
252
|
-
color: #0085f2
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
aside.notify.tip {
|
|
256
|
-
border-left-color: #007936;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
aside.notify.tip .notify-title {
|
|
260
|
-
color: #007936;
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
aside.notify.important {
|
|
265
|
-
border-left-color: #8250df
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
aside.notify.important .notify-title {
|
|
269
|
-
color: #8250df
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
aside.notify.warning {
|
|
273
|
-
border-left-color: #9a6700;;
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
aside.notify.warning .notify-title {
|
|
277
|
-
color: #9a6700;;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
aside.notify.caution {
|
|
281
|
-
border-left-color: #d30038;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
aside.notify.caution .notify-title {
|
|
285
|
-
color: #d30038;
|
|
286
|
-
}
|
|
287
|
-
/* End of podlite */
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
.CodeMirror {
|
|
291
|
-
height: auto;
|
|
292
|
-
font-family: inherit;
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
.title {
|
|
296
|
-
margin:0em;
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
.Editorleft {
|
|
301
|
-
border-right: 1px dotted lightgrey;
|
|
302
|
-
white-space: pre-wrap;
|
|
303
|
-
word-break: break-word;
|
|
304
|
-
word-wrap: break-word;
|
|
305
|
-
width: 50%;
|
|
306
|
-
font-size: 15px;
|
|
307
|
-
text-align: left;
|
|
308
|
-
float: left;
|
|
309
|
-
height: 100%;
|
|
310
|
-
padding-left: 10px;
|
|
311
|
-
visibility:visible;
|
|
312
|
-
opacity: 1;
|
|
313
|
-
transition: all 0.2s ease-out;
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
.editorApp,.CodeMirror {
|
|
317
|
-
height: 100%;
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
.Editorright {
|
|
321
|
-
text-align: left;
|
|
322
|
-
word-break: break-word;
|
|
323
|
-
word-wrap: break-word;
|
|
324
|
-
margin-right : 0;
|
|
325
|
-
height: 100%;
|
|
326
|
-
font-size: 15px;
|
|
327
|
-
padding-left: 10px;
|
|
328
|
-
overflow-y: scroll;
|
|
329
|
-
overflow-x: hidden;
|
|
330
|
-
background-color: white;
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
.Editorright .error {
|
|
334
|
-
opacity: 0.5;
|
|
335
|
-
}
|
|
336
|
-
/* restore after reset*/
|
|
337
|
-
.Editorright * {
|
|
338
|
-
/* all: revert */
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
.Editorright img {
|
|
343
|
-
display: block;
|
|
344
|
-
margin: 0 auto;
|
|
345
|
-
max-width: 100%;
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
.content {
|
|
349
|
-
height: 100%;
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
.layoutPreview .Editorright {
|
|
353
|
-
position: absolute;
|
|
354
|
-
width: 48%;
|
|
355
|
-
/* z-index: -999999; */
|
|
356
|
-
float: right;
|
|
357
|
-
top: 0;
|
|
358
|
-
right: 0;
|
|
359
|
-
width: 100%;
|
|
360
|
-
background-color: white;
|
|
361
|
-
}
|
|
362
|
-
.layoutPreview .Editorleft {
|
|
363
|
-
visibility: hidden;
|
|
364
|
-
opacity: 0;
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
.layoutPreview .content {
|
|
368
|
-
width: 75%;
|
|
369
|
-
margin: 0 auto;
|
|
370
|
-
height: 100%;
|
|
371
|
-
overflow-y: initial;
|
|
372
|
-
}
|
|
373
|
-
@keyframes App-logo-spin {
|
|
374
|
-
from {
|
|
375
|
-
transform: rotate(0deg);
|
|
376
|
-
}
|
|
377
|
-
to {
|
|
378
|
-
transform: rotate(360deg);
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
/* scrollbars */
|
|
383
|
-
|
|
384
|
-
.CodeMirror-vscrollbar {
|
|
385
|
-
user-select: none;
|
|
386
|
-
outline: none !important;
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
::-webkit-scrollbar-thumb {
|
|
390
|
-
background-color: rgba(0, 0, 0, 0.1);
|
|
391
|
-
}
|
|
392
|
-
::-webkit-scrollbar {
|
|
393
|
-
background-color: (0, 0, 0, 0.05);
|
|
394
|
-
}
|
|
395
|
-
::-webkit-scrollbar-thumb:active {
|
|
396
|
-
background-color: rgba(0, 0, 0, 0.1);
|
|
397
|
-
}
|
|
398
|
-
::-webkit-scrollbar {
|
|
399
|
-
width: 10px;
|
|
400
|
-
height: 10px;
|
|
401
|
-
-webkit-border-radius: 100px;
|
|
402
|
-
}
|
|
403
|
-
::-webkit-scrollbar-thumb {
|
|
404
|
-
-webkit-border-radius: 100px;
|
|
405
|
-
}
|
|
406
|
-
::-webkit-scrollbar-thumb:active {
|
|
407
|
-
-webkit-border-radius: 100px;
|
|
408
|
-
}
|
|
409
|
-
::-webkit-scrollbar-corner {
|
|
410
|
-
background: transparent;
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
.CodeMirror-hints {
|
|
414
|
-
z-index: 1000;
|
|
415
|
-
border: none;
|
|
416
|
-
}
|
|
417
|
-
.editorApp .cm-header {
|
|
418
|
-
color: #000;
|
|
419
|
-
}
|
|
420
|
-
.editorApp .cm-header-1 {
|
|
421
|
-
font-size: 150%;
|
|
422
|
-
}
|
|
423
|
-
.cm-header-2 {
|
|
424
|
-
font-size: 130%;
|
|
425
|
-
}
|
|
426
|
-
.cm-header-3 {
|
|
427
|
-
font-size: 110%;
|
|
428
|
-
}
|
package/esm/podlite-vars.css
DELETED
|
@@ -1,213 +0,0 @@
|
|
|
1
|
-
/* -----------------------------------
|
|
2
|
-
Variables
|
|
3
|
-
-------------------------------------- */
|
|
4
|
-
@media (prefers-color-scheme: dark) {
|
|
5
|
-
.podlite-content,
|
|
6
|
-
.podlite-var {
|
|
7
|
-
color-scheme: dark;
|
|
8
|
-
--color-prettylights-syntax-comment: #8b949e;
|
|
9
|
-
--color-prettylights-syntax-constant: #79c0ff;
|
|
10
|
-
--color-prettylights-syntax-entity: #d2a8ff;
|
|
11
|
-
--color-prettylights-syntax-storage-modifier-import: #c9d1d9;
|
|
12
|
-
--color-prettylights-syntax-entity-tag: #7ee787;
|
|
13
|
-
--color-prettylights-syntax-keyword: #ff7b72;
|
|
14
|
-
--color-prettylights-syntax-string: #a5d6ff;
|
|
15
|
-
--color-prettylights-syntax-variable: #ffa657;
|
|
16
|
-
--color-prettylights-syntax-brackethighlighter-unmatched: #f85149;
|
|
17
|
-
--color-prettylights-syntax-invalid-illegal-text: #f0f6fc;
|
|
18
|
-
--color-prettylights-syntax-invalid-illegal-bg: #8e1519;
|
|
19
|
-
--color-prettylights-syntax-carriage-return-text: #f0f6fc;
|
|
20
|
-
--color-prettylights-syntax-carriage-return-bg: #b62324;
|
|
21
|
-
--color-prettylights-syntax-string-regexp: #7ee787;
|
|
22
|
-
--color-prettylights-syntax-markup-list: #f2cc60;
|
|
23
|
-
--color-prettylights-syntax-markup-heading: #1f6feb;
|
|
24
|
-
--color-prettylights-syntax-markup-italic: #c9d1d9;
|
|
25
|
-
--color-prettylights-syntax-markup-bold: #c9d1d9;
|
|
26
|
-
--color-prettylights-syntax-markup-deleted-text: #ffdcd7;
|
|
27
|
-
--color-prettylights-syntax-markup-deleted-bg: #67060c;
|
|
28
|
-
--color-prettylights-syntax-markup-inserted-text: #aff5b4;
|
|
29
|
-
--color-prettylights-syntax-markup-inserted-bg: #033a16;
|
|
30
|
-
--color-prettylights-syntax-markup-changed-text: #ffdfb6;
|
|
31
|
-
--color-prettylights-syntax-markup-changed-bg: #5a1e02;
|
|
32
|
-
--color-prettylights-syntax-markup-ignored-text: #c9d1d9;
|
|
33
|
-
--color-prettylights-syntax-markup-ignored-bg: #1158c7;
|
|
34
|
-
--color-prettylights-syntax-meta-diff-range: #d2a8ff;
|
|
35
|
-
--color-prettylights-syntax-brackethighlighter-angle: #8b949e;
|
|
36
|
-
--color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;
|
|
37
|
-
--color-prettylights-syntax-constant-other-reference-link: #a5d6ff;
|
|
38
|
-
--color-fg-default: #c9d1d9;
|
|
39
|
-
--color-fg-muted: #8b949e;
|
|
40
|
-
--color-fg-subtle: #484f58;
|
|
41
|
-
--color-canvas-default: #0d1117;
|
|
42
|
-
--color-canvas-subtle: #161b22;
|
|
43
|
-
--color-border-default: #30363d;
|
|
44
|
-
--color-border-muted: #21262d;
|
|
45
|
-
--color-neutral-muted: rgba(110, 118, 129, 0.4);
|
|
46
|
-
--color-accent-fg: #58a6ff;
|
|
47
|
-
--color-accent-emphasis: #1f6feb;
|
|
48
|
-
--color-attention-subtle: rgba(187, 128, 9, 0.15);
|
|
49
|
-
--color-danger-fg: #f85149;
|
|
50
|
-
--color-danger-emphasis: #da3633;
|
|
51
|
-
--color-attention-fg: #d29922;
|
|
52
|
-
--color-attention-emphasis: #9e6a03;
|
|
53
|
-
--color-done-fg: #a371f7;
|
|
54
|
-
--color-done-emphasis: #8957e5;
|
|
55
|
-
--color-success-fg: #3fb950;
|
|
56
|
-
--color-success-emphasis: #238636;
|
|
57
|
-
--color-copied-active-bg: #2e9b33;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
@media (prefers-color-scheme: light) {
|
|
61
|
-
.podlite-content,
|
|
62
|
-
.podlite-var {
|
|
63
|
-
color-scheme: light;
|
|
64
|
-
--color-prettylights-syntax-comment: #6e7781;
|
|
65
|
-
--color-prettylights-syntax-constant: #0550ae;
|
|
66
|
-
--color-prettylights-syntax-entity: #8250df;
|
|
67
|
-
--color-prettylights-syntax-storage-modifier-import: #24292f;
|
|
68
|
-
--color-prettylights-syntax-entity-tag: #116329;
|
|
69
|
-
--color-prettylights-syntax-keyword: #cf222e;
|
|
70
|
-
--color-prettylights-syntax-string: #0a3069;
|
|
71
|
-
--color-prettylights-syntax-variable: #953800;
|
|
72
|
-
--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;
|
|
73
|
-
--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;
|
|
74
|
-
--color-prettylights-syntax-invalid-illegal-bg: #82071e;
|
|
75
|
-
--color-prettylights-syntax-carriage-return-text: #f6f8fa;
|
|
76
|
-
--color-prettylights-syntax-carriage-return-bg: #cf222e;
|
|
77
|
-
--color-prettylights-syntax-string-regexp: #116329;
|
|
78
|
-
--color-prettylights-syntax-markup-list: #3b2300;
|
|
79
|
-
--color-prettylights-syntax-markup-heading: #0550ae;
|
|
80
|
-
--color-prettylights-syntax-markup-italic: #24292f;
|
|
81
|
-
--color-prettylights-syntax-markup-bold: #24292f;
|
|
82
|
-
--color-prettylights-syntax-markup-deleted-text: #82071e;
|
|
83
|
-
--color-prettylights-syntax-markup-deleted-bg: #ffebe9;
|
|
84
|
-
--color-prettylights-syntax-markup-inserted-text: #116329;
|
|
85
|
-
--color-prettylights-syntax-markup-inserted-bg: #dafbe1;
|
|
86
|
-
--color-prettylights-syntax-markup-changed-text: #953800;
|
|
87
|
-
--color-prettylights-syntax-markup-changed-bg: #ffd8b5;
|
|
88
|
-
--color-prettylights-syntax-markup-ignored-text: #eaeef2;
|
|
89
|
-
--color-prettylights-syntax-markup-ignored-bg: #0550ae;
|
|
90
|
-
--color-prettylights-syntax-meta-diff-range: #8250df;
|
|
91
|
-
--color-prettylights-syntax-brackethighlighter-angle: #57606a;
|
|
92
|
-
--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;
|
|
93
|
-
--color-prettylights-syntax-constant-other-reference-link: #0a3069;
|
|
94
|
-
--color-fg-default: #24292f;
|
|
95
|
-
--color-fg-muted: #57606a;
|
|
96
|
-
--color-fg-subtle: #6e7781;
|
|
97
|
-
--color-canvas-default: #ffffff;
|
|
98
|
-
--color-canvas-subtle: #f6f8fa;
|
|
99
|
-
--color-border-default: #d0d7de;
|
|
100
|
-
--color-border-muted: hsl(210, 18%, 87%);
|
|
101
|
-
--color-neutral-muted: rgba(175, 184, 193, 0.2);
|
|
102
|
-
--color-accent-fg: #0969da;
|
|
103
|
-
--color-accent-emphasis: #0969da;
|
|
104
|
-
--color-attention-subtle: #fff8c5;
|
|
105
|
-
--color-danger-fg: #d1242f;
|
|
106
|
-
--color-danger-emphasis: #cf222e;
|
|
107
|
-
--color-attention-fg: #9a6700;
|
|
108
|
-
--color-attention-emphasis: #9a6700;
|
|
109
|
-
--color-done-fg: #8250df;
|
|
110
|
-
--color-done-emphasis: #8250df;
|
|
111
|
-
--color-success-fg: #1a7f37;
|
|
112
|
-
--color-success-emphasis: #1f883d;
|
|
113
|
-
--color-copied-active-bg: #2e9b33;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
[data-color-mode*='dark'] .podlite-content,
|
|
117
|
-
[data-color-mode*='dark'] .podlite-var,
|
|
118
|
-
.podlite-var[data-color-mode*='dark'],
|
|
119
|
-
.podlite-content[data-color-mode*='dark'],
|
|
120
|
-
body[data-color-mode*='dark'] {
|
|
121
|
-
color-scheme: dark;
|
|
122
|
-
--color-prettylights-syntax-comment: #8b949e;
|
|
123
|
-
--color-prettylights-syntax-constant: #79c0ff;
|
|
124
|
-
--color-prettylights-syntax-entity: #d2a8ff;
|
|
125
|
-
--color-prettylights-syntax-storage-modifier-import: #c9d1d9;
|
|
126
|
-
--color-prettylights-syntax-entity-tag: #7ee787;
|
|
127
|
-
--color-prettylights-syntax-keyword: #ff7b72;
|
|
128
|
-
--color-prettylights-syntax-string: #a5d6ff;
|
|
129
|
-
--color-prettylights-syntax-variable: #ffa657;
|
|
130
|
-
--color-prettylights-syntax-brackethighlighter-unmatched: #f85149;
|
|
131
|
-
--color-prettylights-syntax-invalid-illegal-text: #f0f6fc;
|
|
132
|
-
--color-prettylights-syntax-invalid-illegal-bg: #8e1519;
|
|
133
|
-
--color-prettylights-syntax-carriage-return-text: #f0f6fc;
|
|
134
|
-
--color-prettylights-syntax-carriage-return-bg: #b62324;
|
|
135
|
-
--color-prettylights-syntax-string-regexp: #7ee787;
|
|
136
|
-
--color-prettylights-syntax-markup-list: #f2cc60;
|
|
137
|
-
--color-prettylights-syntax-markup-heading: #1f6feb;
|
|
138
|
-
--color-prettylights-syntax-markup-italic: #c9d1d9;
|
|
139
|
-
--color-prettylights-syntax-markup-bold: #c9d1d9;
|
|
140
|
-
--color-prettylights-syntax-markup-deleted-text: #ffdcd7;
|
|
141
|
-
--color-prettylights-syntax-markup-deleted-bg: #67060c;
|
|
142
|
-
--color-prettylights-syntax-markup-inserted-text: #aff5b4;
|
|
143
|
-
--color-prettylights-syntax-markup-inserted-bg: #033a16;
|
|
144
|
-
--color-prettylights-syntax-markup-changed-text: #ffdfb6;
|
|
145
|
-
--color-prettylights-syntax-markup-changed-bg: #5a1e02;
|
|
146
|
-
--color-prettylights-syntax-markup-ignored-text: #c9d1d9;
|
|
147
|
-
--color-prettylights-syntax-markup-ignored-bg: #1158c7;
|
|
148
|
-
--color-prettylights-syntax-meta-diff-range: #d2a8ff;
|
|
149
|
-
--color-prettylights-syntax-brackethighlighter-angle: #8b949e;
|
|
150
|
-
--color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;
|
|
151
|
-
--color-prettylights-syntax-constant-other-reference-link: #a5d6ff;
|
|
152
|
-
--color-fg-default: #c9d1d9;
|
|
153
|
-
--color-fg-muted: #8b949e;
|
|
154
|
-
--color-fg-subtle: #484f58;
|
|
155
|
-
--color-canvas-default: #0d1117;
|
|
156
|
-
--color-canvas-subtle: #161b22;
|
|
157
|
-
--color-border-default: #30363d;
|
|
158
|
-
--color-border-muted: #21262d;
|
|
159
|
-
--color-neutral-muted: rgba(110, 118, 129, 0.4);
|
|
160
|
-
--color-accent-fg: #58a6ff;
|
|
161
|
-
--color-accent-emphasis: #1f6feb;
|
|
162
|
-
--color-attention-subtle: rgba(187, 128, 9, 0.15);
|
|
163
|
-
--color-danger-fg: #f85149;
|
|
164
|
-
}
|
|
165
|
-
[data-color-mode*='light'] .podlite-content,
|
|
166
|
-
[data-color-mode*='light'] .podlite-var,
|
|
167
|
-
.podlite-var[data-color-mode*='light'],
|
|
168
|
-
.podlite-content[data-color-mode*='light'],
|
|
169
|
-
body[data-color-mode*='light'] {
|
|
170
|
-
color-scheme: light;
|
|
171
|
-
--color-prettylights-syntax-comment: #6e7781;
|
|
172
|
-
--color-prettylights-syntax-constant: #0550ae;
|
|
173
|
-
--color-prettylights-syntax-entity: #8250df;
|
|
174
|
-
--color-prettylights-syntax-storage-modifier-import: #24292f;
|
|
175
|
-
--color-prettylights-syntax-entity-tag: #116329;
|
|
176
|
-
--color-prettylights-syntax-keyword: #cf222e;
|
|
177
|
-
--color-prettylights-syntax-string: #0a3069;
|
|
178
|
-
--color-prettylights-syntax-variable: #953800;
|
|
179
|
-
--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;
|
|
180
|
-
--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;
|
|
181
|
-
--color-prettylights-syntax-invalid-illegal-bg: #82071e;
|
|
182
|
-
--color-prettylights-syntax-carriage-return-text: #f6f8fa;
|
|
183
|
-
--color-prettylights-syntax-carriage-return-bg: #cf222e;
|
|
184
|
-
--color-prettylights-syntax-string-regexp: #116329;
|
|
185
|
-
--color-prettylights-syntax-markup-list: #3b2300;
|
|
186
|
-
--color-prettylights-syntax-markup-heading: #0550ae;
|
|
187
|
-
--color-prettylights-syntax-markup-italic: #24292f;
|
|
188
|
-
--color-prettylights-syntax-markup-bold: #24292f;
|
|
189
|
-
--color-prettylights-syntax-markup-deleted-text: #82071e;
|
|
190
|
-
--color-prettylights-syntax-markup-deleted-bg: #ffebe9;
|
|
191
|
-
--color-prettylights-syntax-markup-inserted-text: #116329;
|
|
192
|
-
--color-prettylights-syntax-markup-inserted-bg: #dafbe1;
|
|
193
|
-
--color-prettylights-syntax-markup-changed-text: #953800;
|
|
194
|
-
--color-prettylights-syntax-markup-changed-bg: #ffd8b5;
|
|
195
|
-
--color-prettylights-syntax-markup-ignored-text: #eaeef2;
|
|
196
|
-
--color-prettylights-syntax-markup-ignored-bg: #0550ae;
|
|
197
|
-
--color-prettylights-syntax-meta-diff-range: #8250df;
|
|
198
|
-
--color-prettylights-syntax-brackethighlighter-angle: #57606a;
|
|
199
|
-
--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;
|
|
200
|
-
--color-prettylights-syntax-constant-other-reference-link: #0a3069;
|
|
201
|
-
--color-fg-default: #24292f;
|
|
202
|
-
--color-fg-muted: #57606a;
|
|
203
|
-
--color-fg-subtle: #6e7781;
|
|
204
|
-
--color-canvas-default: #ffffff;
|
|
205
|
-
--color-canvas-subtle: #f6f8fa;
|
|
206
|
-
--color-border-default: #d0d7de;
|
|
207
|
-
--color-border-muted: hsl(210, 18%, 87%);
|
|
208
|
-
--color-neutral-muted: rgba(175, 184, 193, 0.2);
|
|
209
|
-
--color-accent-fg: #0969da;
|
|
210
|
-
--color-accent-emphasis: #0969da;
|
|
211
|
-
--color-attention-subtle: #fff8c5;
|
|
212
|
-
--color-danger-fg: #cf222e;
|
|
213
|
-
}
|
package/lib/Editor.old.css
DELETED
|
@@ -1,428 +0,0 @@
|
|
|
1
|
-
.EditorApp {
|
|
2
|
-
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
|
|
3
|
-
-webkit-font-smoothing: antialiased;
|
|
4
|
-
-moz-osx-font-smoothing: grayscale;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.App-logo {
|
|
8
|
-
height: 40vmin;
|
|
9
|
-
pointer-events: none;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
13
|
-
.App-logo {
|
|
14
|
-
animation: App-logo-spin infinite 20s linear;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.App-header {
|
|
19
|
-
background-color: #282c34;
|
|
20
|
-
min-height: 100vh;
|
|
21
|
-
display: flex;
|
|
22
|
-
flex-direction: column;
|
|
23
|
-
align-items: center;
|
|
24
|
-
justify-content: center;
|
|
25
|
-
font-size: calc(10px + 2vmin);
|
|
26
|
-
color: white;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.App-link {
|
|
30
|
-
color: #61dafb;
|
|
31
|
-
}
|
|
32
|
-
.layout {
|
|
33
|
-
position: absolute;
|
|
34
|
-
width: 100%;
|
|
35
|
-
/* height: 100%; */
|
|
36
|
-
}
|
|
37
|
-
.layoutFocusWrite {
|
|
38
|
-
position: absolute;
|
|
39
|
-
width: 100%;
|
|
40
|
-
/* height: 100%; */
|
|
41
|
-
}
|
|
42
|
-
.Editor {
|
|
43
|
-
text-align: left;
|
|
44
|
-
white-space: pre-wrap;
|
|
45
|
-
word-break: break-word;
|
|
46
|
-
word-wrap: break-word;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
[contenteditable]:focus {
|
|
50
|
-
outline: 0px solid transparent;
|
|
51
|
-
}
|
|
52
|
-
.layout__panel {
|
|
53
|
-
position: relative;
|
|
54
|
-
width: 100%;
|
|
55
|
-
height: 100%;
|
|
56
|
-
flex: none;
|
|
57
|
-
overflow: hidden;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.flex--row {
|
|
61
|
-
flex-direction: row;
|
|
62
|
-
}
|
|
63
|
-
.flex {
|
|
64
|
-
display: flex;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.CodeMirror {
|
|
68
|
-
height: auto;
|
|
69
|
-
font-family: inherit;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
pre {
|
|
73
|
-
overflow-x: auto;
|
|
74
|
-
white-space: pre-wrap;
|
|
75
|
-
white-space: -moz-pre-wrap;
|
|
76
|
-
white-space: -pre-wrap;
|
|
77
|
-
white-space: -o-pre-wrap;
|
|
78
|
-
word-wrap: break-word;
|
|
79
|
-
}
|
|
80
|
-
.title {
|
|
81
|
-
margin:0em;
|
|
82
|
-
}
|
|
83
|
-
.Editorleft {
|
|
84
|
-
border-right: 1px dotted lightgrey;
|
|
85
|
-
white-space: pre-wrap;
|
|
86
|
-
word-break: break-word;
|
|
87
|
-
word-wrap: break-word;
|
|
88
|
-
width: 50%;
|
|
89
|
-
font-size: 15px;
|
|
90
|
-
text-align: left;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
/* .Editorright {
|
|
94
|
-
text-align: left;
|
|
95
|
-
word-break: break-word;
|
|
96
|
-
word-wrap: break-word;
|
|
97
|
-
margin : 0 1em;
|
|
98
|
-
font-size: 15px;
|
|
99
|
-
} */
|
|
100
|
-
|
|
101
|
-
/* Start podlite */
|
|
102
|
-
body {
|
|
103
|
-
margin: 0;
|
|
104
|
-
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
|
|
105
|
-
-webkit-font-smoothing: antialiased;
|
|
106
|
-
-moz-osx-font-smoothing: grayscale;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
code {
|
|
110
|
-
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
|
|
111
|
-
monospace;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
pre {
|
|
116
|
-
padding: 9.5px;
|
|
117
|
-
display: block;
|
|
118
|
-
word-break: break-all;
|
|
119
|
-
word-wrap: break-word;
|
|
120
|
-
background-color: #f8f8f8;
|
|
121
|
-
border-radius: 4px;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
code {
|
|
125
|
-
padding: 0;
|
|
126
|
-
font-size: inherit;
|
|
127
|
-
color: inherit;
|
|
128
|
-
white-space: pre-wrap;
|
|
129
|
-
background-color: transparent;
|
|
130
|
-
border-radius: 0;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
img {
|
|
134
|
-
max-width: 1024px;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
table {
|
|
138
|
-
word-break: normal;
|
|
139
|
-
min-width: 70%;
|
|
140
|
-
max-width: 100%;
|
|
141
|
-
margin: 1em auto;
|
|
142
|
-
border-spacing: 0;
|
|
143
|
-
border-collapse: collapse;
|
|
144
|
-
text-align: center;
|
|
145
|
-
margin-top: 2em;
|
|
146
|
-
}
|
|
147
|
-
table caption {
|
|
148
|
-
margin-bottom: 0.8em;
|
|
149
|
-
caption-side: bottom;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
table tbody tr:hover {
|
|
153
|
-
background-color: #eee;
|
|
154
|
-
-webkit-transition: .5s;
|
|
155
|
-
transition: .5s
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
tr th {
|
|
159
|
-
vertical-align: bottom;
|
|
160
|
-
border-bottom: 2px solid #eee;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
td {
|
|
164
|
-
padding: 8px;
|
|
165
|
-
border: 1px solid #eee;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
.footnote a {
|
|
169
|
-
text-decoration: none;
|
|
170
|
-
}
|
|
171
|
-
.footnotes {
|
|
172
|
-
border-top-style: solid;
|
|
173
|
-
border-top-width: 1px;
|
|
174
|
-
border-top-color: #eee;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
img {
|
|
178
|
-
display: block;
|
|
179
|
-
margin: 0 auto;
|
|
180
|
-
max-width: 100%;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.shadow {
|
|
184
|
-
-webkit-box-shadow: 3px 3px 5px 6px #ccc; /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
|
|
185
|
-
-moz-box-shadow: 3px 3px 5px 6px #ccc; /* Firefox 3.5 - 3.6 */
|
|
186
|
-
box-shadow: 3px 3px 5px 6px #ccc; /* Opera 10.5, IE 9, Firefox 4+, Chrome 6+, iOS 5 */
|
|
187
|
-
}
|
|
188
|
-
.box {
|
|
189
|
-
box-shadow:
|
|
190
|
-
0 2.8px 2.2px rgba(0, 0, 0, 0.034),
|
|
191
|
-
0 6.7px 5.3px rgba(0, 0, 0, 0.048),
|
|
192
|
-
0 12.5px 10px rgba(0, 0, 0, 0.06),
|
|
193
|
-
0 22.3px 17.9px rgba(0, 0, 0, 0.072),
|
|
194
|
-
0 41.8px 33.4px rgba(0, 0, 0, 0.086),
|
|
195
|
-
0 100px 80px rgba(0, 0, 0, 0.12)
|
|
196
|
-
;
|
|
197
|
-
margin: 100px auto;
|
|
198
|
-
background: white;
|
|
199
|
-
border-radius: 5px;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
.image_block video {
|
|
203
|
-
max-width: 100%;
|
|
204
|
-
/* margin: 0 auto; */
|
|
205
|
-
margin-bottom: 1em;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
.image_block video{
|
|
209
|
-
width: 100%;
|
|
210
|
-
outline: none;
|
|
211
|
-
border: none;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
/* plugins */
|
|
215
|
-
.mermaid svg {
|
|
216
|
-
display: block;
|
|
217
|
-
margin: auto;
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
.toc {
|
|
221
|
-
padding: 1rem;
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
.toc-list {
|
|
225
|
-
list-style: none;
|
|
226
|
-
font-size: .8rem;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
.caption {
|
|
230
|
-
text-align: center;
|
|
231
|
-
font-size: 0.9rem;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
aside.notify {
|
|
235
|
-
border-left: .25em solid;
|
|
236
|
-
padding-left: 1rem ;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
aside.notify>:first-child {
|
|
240
|
-
margin-top: 0
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
aside.notify>:last-child {
|
|
244
|
-
margin-bottom: 0
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
aside.notify.note {
|
|
248
|
-
border-left-color: #0085f2
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
aside.notify.note .notify-title {
|
|
252
|
-
color: #0085f2
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
aside.notify.tip {
|
|
256
|
-
border-left-color: #007936;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
aside.notify.tip .notify-title {
|
|
260
|
-
color: #007936;
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
aside.notify.important {
|
|
265
|
-
border-left-color: #8250df
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
aside.notify.important .notify-title {
|
|
269
|
-
color: #8250df
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
aside.notify.warning {
|
|
273
|
-
border-left-color: #9a6700;;
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
aside.notify.warning .notify-title {
|
|
277
|
-
color: #9a6700;;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
aside.notify.caution {
|
|
281
|
-
border-left-color: #d30038;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
aside.notify.caution .notify-title {
|
|
285
|
-
color: #d30038;
|
|
286
|
-
}
|
|
287
|
-
/* End of podlite */
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
.CodeMirror {
|
|
291
|
-
height: auto;
|
|
292
|
-
font-family: inherit;
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
.title {
|
|
296
|
-
margin:0em;
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
.Editorleft {
|
|
301
|
-
border-right: 1px dotted lightgrey;
|
|
302
|
-
white-space: pre-wrap;
|
|
303
|
-
word-break: break-word;
|
|
304
|
-
word-wrap: break-word;
|
|
305
|
-
width: 50%;
|
|
306
|
-
font-size: 15px;
|
|
307
|
-
text-align: left;
|
|
308
|
-
float: left;
|
|
309
|
-
height: 100%;
|
|
310
|
-
padding-left: 10px;
|
|
311
|
-
visibility:visible;
|
|
312
|
-
opacity: 1;
|
|
313
|
-
transition: all 0.2s ease-out;
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
.editorApp,.CodeMirror {
|
|
317
|
-
height: 100%;
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
.Editorright {
|
|
321
|
-
text-align: left;
|
|
322
|
-
word-break: break-word;
|
|
323
|
-
word-wrap: break-word;
|
|
324
|
-
margin-right : 0;
|
|
325
|
-
height: 100%;
|
|
326
|
-
font-size: 15px;
|
|
327
|
-
padding-left: 10px;
|
|
328
|
-
overflow-y: scroll;
|
|
329
|
-
overflow-x: hidden;
|
|
330
|
-
background-color: white;
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
.Editorright .error {
|
|
334
|
-
opacity: 0.5;
|
|
335
|
-
}
|
|
336
|
-
/* restore after reset*/
|
|
337
|
-
.Editorright * {
|
|
338
|
-
/* all: revert */
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
.Editorright img {
|
|
343
|
-
display: block;
|
|
344
|
-
margin: 0 auto;
|
|
345
|
-
max-width: 100%;
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
.content {
|
|
349
|
-
height: 100%;
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
.layoutPreview .Editorright {
|
|
353
|
-
position: absolute;
|
|
354
|
-
width: 48%;
|
|
355
|
-
/* z-index: -999999; */
|
|
356
|
-
float: right;
|
|
357
|
-
top: 0;
|
|
358
|
-
right: 0;
|
|
359
|
-
width: 100%;
|
|
360
|
-
background-color: white;
|
|
361
|
-
}
|
|
362
|
-
.layoutPreview .Editorleft {
|
|
363
|
-
visibility: hidden;
|
|
364
|
-
opacity: 0;
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
.layoutPreview .content {
|
|
368
|
-
width: 75%;
|
|
369
|
-
margin: 0 auto;
|
|
370
|
-
height: 100%;
|
|
371
|
-
overflow-y: initial;
|
|
372
|
-
}
|
|
373
|
-
@keyframes App-logo-spin {
|
|
374
|
-
from {
|
|
375
|
-
transform: rotate(0deg);
|
|
376
|
-
}
|
|
377
|
-
to {
|
|
378
|
-
transform: rotate(360deg);
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
/* scrollbars */
|
|
383
|
-
|
|
384
|
-
.CodeMirror-vscrollbar {
|
|
385
|
-
user-select: none;
|
|
386
|
-
outline: none !important;
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
::-webkit-scrollbar-thumb {
|
|
390
|
-
background-color: rgba(0, 0, 0, 0.1);
|
|
391
|
-
}
|
|
392
|
-
::-webkit-scrollbar {
|
|
393
|
-
background-color: (0, 0, 0, 0.05);
|
|
394
|
-
}
|
|
395
|
-
::-webkit-scrollbar-thumb:active {
|
|
396
|
-
background-color: rgba(0, 0, 0, 0.1);
|
|
397
|
-
}
|
|
398
|
-
::-webkit-scrollbar {
|
|
399
|
-
width: 10px;
|
|
400
|
-
height: 10px;
|
|
401
|
-
-webkit-border-radius: 100px;
|
|
402
|
-
}
|
|
403
|
-
::-webkit-scrollbar-thumb {
|
|
404
|
-
-webkit-border-radius: 100px;
|
|
405
|
-
}
|
|
406
|
-
::-webkit-scrollbar-thumb:active {
|
|
407
|
-
-webkit-border-radius: 100px;
|
|
408
|
-
}
|
|
409
|
-
::-webkit-scrollbar-corner {
|
|
410
|
-
background: transparent;
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
.CodeMirror-hints {
|
|
414
|
-
z-index: 1000;
|
|
415
|
-
border: none;
|
|
416
|
-
}
|
|
417
|
-
.editorApp .cm-header {
|
|
418
|
-
color: #000;
|
|
419
|
-
}
|
|
420
|
-
.editorApp .cm-header-1 {
|
|
421
|
-
font-size: 150%;
|
|
422
|
-
}
|
|
423
|
-
.cm-header-2 {
|
|
424
|
-
font-size: 130%;
|
|
425
|
-
}
|
|
426
|
-
.cm-header-3 {
|
|
427
|
-
font-size: 110%;
|
|
428
|
-
}
|