sykpcomposer 0.0.2
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/dist/index.d.ts +1 -0
- package/dist/index.es.js +14075 -0
- package/dist/index.es.js.map +1 -0
- package/dist/index.umd.js +40 -0
- package/dist/index.umd.js.map +1 -0
- package/dist/src/components/Editor.d.ts +2 -0
- package/dist/src/components/plugins/ToolbarPlugin.d.ts +2 -0
- package/dist/src/vite-env.d.ts +1 -0
- package/dist/style.css +1 -0
- package/package.json +45 -0
- package/src/assets/icons/LICENSE.md +5 -0
- package/src/assets/icons/SpInverse-logo.png +0 -0
- package/src/assets/icons/arrow-clockwise.svg +4 -0
- package/src/assets/icons/arrow-counterclockwise.svg +4 -0
- package/src/assets/icons/journal-text.svg +5 -0
- package/src/assets/icons/justify.svg +3 -0
- package/src/assets/icons/text-center.svg +3 -0
- package/src/assets/icons/text-left.svg +3 -0
- package/src/assets/icons/text-paragraph.svg +3 -0
- package/src/assets/icons/text-right.svg +3 -0
- package/src/assets/icons/type-bold.svg +3 -0
- package/src/assets/icons/type-italic.svg +3 -0
- package/src/assets/icons/type-strikethrough.svg +3 -0
- package/src/assets/icons/type-underline.svg +3 -0
- package/src/components/style.css +451 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/// <reference types="vite/client" />
|
package/dist/style.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
body{margin:0;background:#eee;font-family:system-ui,-apple-system,BlinkMacSystemFont,".SFNSText-Regular",sans-serif;font-weight:500;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.other h2{font-size:18px;color:#444;margin-bottom:7px}.other a{color:#777;text-decoration:underline;font-size:14px}.other ul{padding:0;margin:0;list-style-type:none}.App{font-family:sans-serif;text-align:center}h1{font-size:24px;color:#333}.ltr{text-align:left}.rtl{text-align:right}.editor-container{margin:20px auto;border-radius:10px 10px 2px 2px;max-width:50vw;color:#000;position:relative;line-height:20px;font-weight:400;text-align:left}.editor-inner{background:#fff;position:relative;border-radius:0 0 8px 8px}.editor-input{min-height:30vh;resize:none;font-size:15px;caret-color:#050505;position:relative;-moz-tab-size:1;-o-tab-size:1;tab-size:1;outline:0;padding:15px 10px;caret-color:#444}.editor-placeholder{color:#999;overflow:hidden;position:absolute;text-overflow:ellipsis;top:15px;left:10px;font-size:15px;-webkit-user-select:none;-moz-user-select:none;user-select:none;display:inline-block;pointer-events:none}.editor-text-bold{font-weight:700}.editor-text-italic{font-style:italic}.editor-text-underline{text-decoration:underline}.editor-text-strikethrough{text-decoration:line-through}.editor-text-underlineStrikethrough{text-decoration:underline line-through}.editor-text-code{background-color:#f0f2f5;padding:1px .25rem;font-family:Menlo,Consolas,Monaco,monospace;font-size:94%}.editor-link{color:#216fdb;text-decoration:none}.tree-view-output{display:block;background:#222;color:#fff;padding:5px;font-size:12px;white-space:pre-wrap;margin:1px auto 10px;max-height:250px;position:relative;border-bottom-left-radius:10px;border-bottom-right-radius:10px;overflow:auto;line-height:14px}.editor-code{background-color:#f0f2f5;font-family:Menlo,Consolas,Monaco,monospace;display:block;padding:8px 8px 8px 52px;line-height:1.53;font-size:13px;margin:8px 0;-moz-tab-size:2;-o-tab-size:2;tab-size:2;overflow-x:auto;position:relative}.editor-code:before{content:attr(data-gutter);position:absolute;background-color:#eee;left:0;top:0;border-right:1px solid #ccc;padding:8px;color:#777;white-space:pre-wrap;text-align:right;min-width:25px}.editor-code:after{content:attr(data-highlight-language);top:0;right:3px;padding:3px;font-size:10px;text-transform:uppercase;position:absolute;color:#00000080}.editor-tokenComment{color:#708090}.editor-tokenPunctuation{color:#999}.editor-tokenProperty{color:#905}.editor-tokenSelector{color:#690}.editor-tokenOperator{color:#9a6e3a}.editor-tokenAttr{color:#07a}.editor-tokenVariable{color:#e90}.editor-tokenFunction{color:#dd4a68}.editor-paragraph{margin:0 0 8px;position:relative}.editor-paragraph:last-child{margin-bottom:0}.editor-heading-h1{font-size:24px;color:#050505;font-weight:400;margin:0 0 12px;padding:0}.editor-heading-h2{font-size:15px;color:#65676b;font-weight:700;margin:10px 0 0;padding:0;text-transform:uppercase}.editor-quote{margin:0 0 0 20px;font-size:15px;color:#65676b;border-left-color:#ced0d4;border-left-width:4px;border-left-style:solid;padding-left:16px}.editor-list-ol,.editor-list-ul{padding:0;margin:0 0 0 16px}.editor-listitem{margin:8px 32px}.editor-nested-listitem{list-style-type:none}pre::-webkit-scrollbar{background:transparent;width:10px}pre::-webkit-scrollbar-thumb{background:#999}.debug-timetravel-panel{overflow:hidden;padding:0 0 10px;margin:auto;display:flex}.debug-timetravel-panel-slider{padding:0;flex:8}.debug-timetravel-panel-button{padding:0;border:0;background:none;flex:1;color:#fff;font-size:12px}.debug-timetravel-panel-button:hover{text-decoration:underline}.debug-timetravel-button{border:0;padding:0;font-size:12px;top:10px;right:15px;position:absolute;background:none;color:#fff}.debug-timetravel-button:hover{text-decoration:underline}.toolbar{display:flex;margin-bottom:1px;background:#fff;padding:4px;border-top-left-radius:10px;border-top-right-radius:10px;vertical-align:middle}.toolbar button.toolbar-item{border:0;display:flex;background:none;border-radius:10px;padding:8px;cursor:pointer;vertical-align:middle}.toolbar button.toolbar-item:disabled{cursor:not-allowed}.toolbar button.toolbar-item.spaced{margin-right:2px}.toolbar button.toolbar-item i.format{background-size:contain;display:inline-block;height:18px;width:18px;margin-top:2px;vertical-align:-.25em;display:flex;opacity:.6}.toolbar button.toolbar-item:disabled i.format{opacity:.2}.toolbar button.toolbar-item.active{background-color:#dfe8fa4d}.toolbar button.toolbar-item.active i{opacity:1}.toolbar .toolbar-item:hover:not([disabled]){background-color:#eee}.toolbar .divider{width:1px;background-color:#eee;margin:0 4px}.toolbar .toolbar-item .text{display:flex;line-height:20px;vertical-align:middle;font-size:14px;color:#777;text-overflow:ellipsis;width:70px;overflow:hidden;height:20px;text-align:left}.toolbar .toolbar-item .icon{display:flex;width:20px;height:20px;-webkit-user-select:none;-moz-user-select:none;user-select:none;margin-right:8px;line-height:16px;background-size:contain}i.undo{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktYXJyb3ctY291bnRlcmNsb2Nrd2lzZSIgdmlld0JveD0iMCAwIDE2IDE2Ij4KICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik04IDNhNSA1IDAgMSAxLTQuNTQ2IDIuOTE0LjUuNSAwIDAgMC0uOTA4LS40MTdBNiA2IDAgMSAwIDggMnYxeiIvPgogIDxwYXRoIGQ9Ik04IDQuNDY2Vi41MzRhLjI1LjI1IDAgMCAwLS40MS0uMTkyTDUuMjMgMi4zMDhhLjI1LjI1IDAgMCAwIDAgLjM4NGwyLjM2IDEuOTY2QS4yNS4yNSAwIDAgMCA4IDQuNDY2eiIvPgo8L3N2Zz4=)}i.redo{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktYXJyb3ctY2xvY2t3aXNlIiB2aWV3Qm94PSIwIDAgMTYgMTYiPgogIDxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTggM2E1IDUgMCAxIDAgNC41NDYgMi45MTQuNS41IDAgMCAxIC45MDgtLjQxN0E2IDYgMCAxIDEgOCAydjF6Ii8+CiAgPHBhdGggZD0iTTggNC40NjZWLjUzNGEuMjUuMjUgMCAwIDEgLjQxLS4xOTJsMi4zNiAxLjk2NmMuMTIuMS4xMi4yODQgMCAuMzg0TDguNDEgNC42NThBLjI1LjI1IDAgMCAxIDggNC40NjZ6Ii8+Cjwvc3ZnPg==)}i.bold{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktdHlwZS1ib2xkIiB2aWV3Qm94PSIwIDAgMTYgMTYiPgogIDxwYXRoIGQ9Ik04LjIxIDEzYzIuMTA2IDAgMy40MTItMS4wODcgMy40MTItMi44MjMgMC0xLjMwNi0uOTg0LTIuMjgzLTIuMzI0LTIuMzg2di0uMDU1YTIuMTc2IDIuMTc2IDAgMCAwIDEuODUyLTIuMTRjMC0xLjUxLTEuMTYyLTIuNDYtMy4wMTQtMi40NkgzLjg0M1YxM0g4LjIxek01LjkwOCA0LjY3NGgxLjY5NmMuOTYzIDAgMS41MTcuNDUxIDEuNTE3IDEuMjQ0IDAgLjgzNC0uNjI5IDEuMzItMS43MyAxLjMySDUuOTA4VjQuNjczem0wIDYuNzg4VjguNTk4aDEuNzNjMS4yMTcgMCAxLjg4LjQ5MiAxLjg4IDEuNDE1IDAgLjk0My0uNjQzIDEuNDQ5LTEuODMyIDEuNDQ5SDUuOTA3eiIvPgo8L3N2Zz4=)}i.italic{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktdHlwZS1pdGFsaWMiIHZpZXdCb3g9IjAgMCAxNiAxNiI+CiAgPHBhdGggZD0iTTcuOTkxIDExLjY3NCA5LjUzIDQuNDU1Yy4xMjMtLjU5NS4yNDYtLjcxIDEuMzQ3LS44MDdsLjExLS41Mkg3LjIxMWwtLjExLjUyYzEuMDYuMDk2IDEuMTI4LjIxMiAxLjAwNS44MDdMNi41NyAxMS42NzRjLS4xMjMuNTk1LS4yNDYuNzEtMS4zNDYuODA2bC0uMTEuNTJoMy43NzRsLjExLS41MmMtMS4wNi0uMDk1LTEuMTI5LS4yMTEtMS4wMDYtLjgwNnoiLz4KPC9zdmc+)}i.underline{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktdHlwZS11bmRlcmxpbmUiIHZpZXdCb3g9IjAgMCAxNiAxNiI+CiAgPHBhdGggZD0iTTUuMzEzIDMuMTM2aC0xLjIzVjkuNTRjMCAyLjEwNSAxLjQ3IDMuNjIzIDMuOTE3IDMuNjIzczMuOTE3LTEuNTE4IDMuOTE3LTMuNjIzVjMuMTM2aC0xLjIzdjYuMzIzYzAgMS40OS0uOTc4IDIuNTctMi42ODcgMi41Ny0xLjcwOSAwLTIuNjg3LTEuMDgtMi42ODctMi41N1YzLjEzNnpNMTIuNSAxNWgtOXYtMWg5djF6Ii8+Cjwvc3ZnPg==)}i.strikethrough{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktdHlwZS1zdHJpa2V0aHJvdWdoIiB2aWV3Qm94PSIwIDAgMTYgMTYiPgogIDxwYXRoIGQ9Ik02LjMzMyA1LjY4NmMwIC4zMS4wODMuNTgxLjI3LjgxNEg1LjE2NmEyLjc3NiAyLjc3NiAwIDAgMS0uMDk5LS43NmMwLTEuNjI3IDEuNDM2LTIuNzY4IDMuNDgtMi43NjggMS45NjkgMCAzLjM5IDEuMTc1IDMuNDQ1IDIuODVoLTEuMjNjLS4xMS0xLjA4LS45NjQtMS43NDMtMi4yNS0xLjc0My0xLjIzIDAtMi4xOC42MDItMi4xOCAxLjYwN3ptMi4xOTQgNy40NzhjLTIuMTUzIDAtMy41ODktMS4xMDctMy43MDUtMi44MWgxLjIzYy4xNDQgMS4wNiAxLjEyOSAxLjcwMyAyLjU0NCAxLjcwMyAxLjM0IDAgMi4zMS0uNzA1IDIuMzEtMS42NzUgMC0uODI3LS41NDctMS4zNzQtMS45MTQtMS42NzVMOC4wNDYgOC41SDF2LTFoMTR2MWgtMy41MDRjLjQ2OC40MzcuNjc1Ljk5NC42NzUgMS42OTcgMCAxLjgyNi0xLjQzNiAyLjk2Ny0zLjY0NCAyLjk2N3oiLz4KPC9zdmc+)}i.left-align{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktdGV4dC1sZWZ0IiB2aWV3Qm94PSIwIDAgMTYgMTYiPgogIDxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTIgMTIuNWEuNS41IDAgMCAxIC41LS41aDdhLjUuNSAwIDAgMSAwIDFoLTdhLjUuNSAwIDAgMS0uNS0uNXptMC0zYS41LjUgMCAwIDEgLjUtLjVoMTFhLjUuNSAwIDAgMSAwIDFoLTExYS41LjUgMCAwIDEtLjUtLjV6bTAtM2EuNS41IDAgMCAxIC41LS41aDdhLjUuNSAwIDAgMSAwIDFoLTdhLjUuNSAwIDAgMS0uNS0uNXptMC0zYS41LjUgMCAwIDEgLjUtLjVoMTFhLjUuNSAwIDAgMSAwIDFoLTExYS41LjUgMCAwIDEtLjUtLjV6Ii8+Cjwvc3ZnPg==)}i.center-align{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktdGV4dC1jZW50ZXIiIHZpZXdCb3g9IjAgMCAxNiAxNiI+CiAgPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNNCAxMi41YS41LjUgMCAwIDEgLjUtLjVoN2EuNS41IDAgMCAxIDAgMWgtN2EuNS41IDAgMCAxLS41LS41em0tMi0zYS41LjUgMCAwIDEgLjUtLjVoMTFhLjUuNSAwIDAgMSAwIDFoLTExYS41LjUgMCAwIDEtLjUtLjV6bTItM2EuNS41IDAgMCAxIC41LS41aDdhLjUuNSAwIDAgMSAwIDFoLTdhLjUuNSAwIDAgMS0uNS0uNXptLTItM2EuNS41IDAgMCAxIC41LS41aDExYS41LjUgMCAwIDEgMCAxaC0xMWEuNS41IDAgMCAxLS41LS41eiIvPgo8L3N2Zz4=)}i.right-align{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktdGV4dC1yaWdodCIgdmlld0JveD0iMCAwIDE2IDE2Ij4KICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik02IDEyLjVhLjUuNSAwIDAgMSAuNS0uNWg3YS41LjUgMCAwIDEgMCAxaC03YS41LjUgMCAwIDEtLjUtLjV6bS00LTNhLjUuNSAwIDAgMSAuNS0uNWgxMWEuNS41IDAgMCAxIDAgMWgtMTFhLjUuNSAwIDAgMS0uNS0uNXptNC0zYS41LjUgMCAwIDEgLjUtLjVoN2EuNS41IDAgMCAxIDAgMWgtN2EuNS41IDAgMCAxLS41LS41em0tNC0zYS41LjUgMCAwIDEgLjUtLjVoMTFhLjUuNSAwIDAgMSAwIDFoLTExYS41LjUgMCAwIDEtLjUtLjV6Ii8+Cjwvc3ZnPg==)}i.justify-align{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktanVzdGlmeSIgdmlld0JveD0iMCAwIDE2IDE2Ij4KICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yIDEyLjVhLjUuNSAwIDAgMSAuNS0uNWgxMWEuNS41IDAgMCAxIDAgMWgtMTFhLjUuNSAwIDAgMS0uNS0uNXptMC0zYS41LjUgMCAwIDEgLjUtLjVoMTFhLjUuNSAwIDAgMSAwIDFoLTExYS41LjUgMCAwIDEtLjUtLjV6bTAtM2EuNS41IDAgMCAxIC41LS41aDExYS41LjUgMCAwIDEgMCAxaC0xMWEuNS41IDAgMCAxLS41LS41em0wLTNhLjUuNSAwIDAgMSAuNS0uNWgxMWEuNS41IDAgMCAxIDAgMWgtMTFhLjUuNSAwIDAgMS0uNS0uNXoiLz4KPC9zdmc+)}#root{max-width:1280px;margin:0 auto;padding:2rem;text-align:center}
|
package/package.json
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "sykpcomposer",
|
|
3
|
+
"private": false,
|
|
4
|
+
"version": "0.0.2",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/main.tsx",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"import": "./dist/index.es.js",
|
|
10
|
+
"require": "./dist/index.umd.js",
|
|
11
|
+
"types": "./dist/index.d.ts"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"/dist",
|
|
16
|
+
"src/assets/icons",
|
|
17
|
+
"src/components/style.css"
|
|
18
|
+
],
|
|
19
|
+
"publishConfig": {
|
|
20
|
+
"access": "public"
|
|
21
|
+
},
|
|
22
|
+
"scripts": {
|
|
23
|
+
"dev": "vite",
|
|
24
|
+
"build": "tsc && vite build",
|
|
25
|
+
"prepare": "npm run build",
|
|
26
|
+
"preview": "vite preview"
|
|
27
|
+
},
|
|
28
|
+
"dependencies": {
|
|
29
|
+
"@lexical/react": "^0.17.1",
|
|
30
|
+
"lexical": "^0.17.1",
|
|
31
|
+
"react": "^17.0.1",
|
|
32
|
+
"react-dom": "^17.0.1",
|
|
33
|
+
"tailwindcss": "^3.2.4"
|
|
34
|
+
},
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"@types/react": "^18.0.26",
|
|
37
|
+
"@types/react-dom": "^18.0.9",
|
|
38
|
+
"@vitejs/plugin-react-swc": "^3.0.0",
|
|
39
|
+
"autoprefixer": "^10.4.13",
|
|
40
|
+
"postcss": "^8.4.20",
|
|
41
|
+
"typescript": "^4.9.3",
|
|
42
|
+
"vite": "^4.0.0",
|
|
43
|
+
"vite-plugin-dts": "^1.7.1"
|
|
44
|
+
}
|
|
45
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-arrow-clockwise" viewBox="0 0 16 16">
|
|
2
|
+
<path fill-rule="evenodd" d="M8 3a5 5 0 1 0 4.546 2.914.5.5 0 0 1 .908-.417A6 6 0 1 1 8 2v1z"/>
|
|
3
|
+
<path d="M8 4.466V.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384L8.41 4.658A.25.25 0 0 1 8 4.466z"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-arrow-counterclockwise" viewBox="0 0 16 16">
|
|
2
|
+
<path fill-rule="evenodd" d="M8 3a5 5 0 1 1-4.546 2.914.5.5 0 0 0-.908-.417A6 6 0 1 0 8 2v1z"/>
|
|
3
|
+
<path d="M8 4.466V.534a.25.25 0 0 0-.41-.192L5.23 2.308a.25.25 0 0 0 0 .384l2.36 1.966A.25.25 0 0 0 8 4.466z"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-journal-text" viewBox="0 0 16 16">
|
|
2
|
+
<path d="M5 10.5a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5zm0-2a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm0-2a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm0-2a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5z"/>
|
|
3
|
+
<path d="M3 0h10a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-1h1v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v1H1V2a2 2 0 0 1 2-2z"/>
|
|
4
|
+
<path d="M1 5v-.5a.5.5 0 0 1 1 0V5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0V8h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0v.5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1z"/>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-justify" viewBox="0 0 16 16">
|
|
2
|
+
<path fill-rule="evenodd" d="M2 12.5a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5z"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-text-center" viewBox="0 0 16 16">
|
|
2
|
+
<path fill-rule="evenodd" d="M4 12.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm-2-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm2-3a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm-2-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5z"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-text-left" viewBox="0 0 16 16">
|
|
2
|
+
<path fill-rule="evenodd" d="M2 12.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5z"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-text-paragraph" viewBox="0 0 16 16">
|
|
2
|
+
<path fill-rule="evenodd" d="M2 12.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm4-3a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5z"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-text-right" viewBox="0 0 16 16">
|
|
2
|
+
<path fill-rule="evenodd" d="M6 12.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm-4-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm4-3a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm-4-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5z"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-type-bold" viewBox="0 0 16 16">
|
|
2
|
+
<path d="M8.21 13c2.106 0 3.412-1.087 3.412-2.823 0-1.306-.984-2.283-2.324-2.386v-.055a2.176 2.176 0 0 0 1.852-2.14c0-1.51-1.162-2.46-3.014-2.46H3.843V13H8.21zM5.908 4.674h1.696c.963 0 1.517.451 1.517 1.244 0 .834-.629 1.32-1.73 1.32H5.908V4.673zm0 6.788V8.598h1.73c1.217 0 1.88.492 1.88 1.415 0 .943-.643 1.449-1.832 1.449H5.907z"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-type-italic" viewBox="0 0 16 16">
|
|
2
|
+
<path d="M7.991 11.674 9.53 4.455c.123-.595.246-.71 1.347-.807l.11-.52H7.211l-.11.52c1.06.096 1.128.212 1.005.807L6.57 11.674c-.123.595-.246.71-1.346.806l-.11.52h3.774l.11-.52c-1.06-.095-1.129-.211-1.006-.806z"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-type-strikethrough" viewBox="0 0 16 16">
|
|
2
|
+
<path d="M6.333 5.686c0 .31.083.581.27.814H5.166a2.776 2.776 0 0 1-.099-.76c0-1.627 1.436-2.768 3.48-2.768 1.969 0 3.39 1.175 3.445 2.85h-1.23c-.11-1.08-.964-1.743-2.25-1.743-1.23 0-2.18.602-2.18 1.607zm2.194 7.478c-2.153 0-3.589-1.107-3.705-2.81h1.23c.144 1.06 1.129 1.703 2.544 1.703 1.34 0 2.31-.705 2.31-1.675 0-.827-.547-1.374-1.914-1.675L8.046 8.5H1v-1h14v1h-3.504c.468.437.675.994.675 1.697 0 1.826-1.436 2.967-3.644 2.967z"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-type-underline" viewBox="0 0 16 16">
|
|
2
|
+
<path d="M5.313 3.136h-1.23V9.54c0 2.105 1.47 3.623 3.917 3.623s3.917-1.518 3.917-3.623V3.136h-1.23v6.323c0 1.49-.978 2.57-2.687 2.57-1.709 0-2.687-1.08-2.687-2.57V3.136zM12.5 15h-9v-1h9v1z"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,451 @@
|
|
|
1
|
+
body {
|
|
2
|
+
margin: 0;
|
|
3
|
+
background: #eee;
|
|
4
|
+
font-family: system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular',
|
|
5
|
+
sans-serif;
|
|
6
|
+
font-weight: 500;
|
|
7
|
+
-webkit-font-smoothing: antialiased;
|
|
8
|
+
-moz-osx-font-smoothing: grayscale;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.other h2 {
|
|
12
|
+
font-size: 18px;
|
|
13
|
+
color: #444;
|
|
14
|
+
margin-bottom: 7px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.other a {
|
|
18
|
+
color: #777;
|
|
19
|
+
text-decoration: underline;
|
|
20
|
+
font-size: 14px;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.other ul {
|
|
24
|
+
padding: 0;
|
|
25
|
+
margin: 0;
|
|
26
|
+
list-style-type: none;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.App {
|
|
30
|
+
font-family: sans-serif;
|
|
31
|
+
text-align: center;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
h1 {
|
|
35
|
+
font-size: 24px;
|
|
36
|
+
color: #333;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.ltr {
|
|
40
|
+
text-align: left;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.rtl {
|
|
44
|
+
text-align: right;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.editor-container {
|
|
48
|
+
margin: 20px auto 20px auto;
|
|
49
|
+
border-radius: 2px;
|
|
50
|
+
max-width: 50vw;
|
|
51
|
+
color: #000;
|
|
52
|
+
position: relative;
|
|
53
|
+
line-height: 20px;
|
|
54
|
+
font-weight: 400;
|
|
55
|
+
text-align: left;
|
|
56
|
+
border-top-left-radius: 10px;
|
|
57
|
+
border-top-right-radius: 10px;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.editor-inner {
|
|
61
|
+
background: #fff;
|
|
62
|
+
position: relative;
|
|
63
|
+
/* border: 1px dashed black; */
|
|
64
|
+
border-radius: 0 0 8px 8px;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.editor-input {
|
|
68
|
+
min-height: 30vh;
|
|
69
|
+
resize: none;
|
|
70
|
+
font-size: 15px;
|
|
71
|
+
caret-color: rgb(5, 5, 5);
|
|
72
|
+
position: relative;
|
|
73
|
+
tab-size: 1;
|
|
74
|
+
outline: 0;
|
|
75
|
+
padding: 15px 10px;
|
|
76
|
+
caret-color: #444;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.editor-placeholder {
|
|
80
|
+
color: #999;
|
|
81
|
+
overflow: hidden;
|
|
82
|
+
position: absolute;
|
|
83
|
+
text-overflow: ellipsis;
|
|
84
|
+
top: 15px;
|
|
85
|
+
left: 10px;
|
|
86
|
+
font-size: 15px;
|
|
87
|
+
user-select: none;
|
|
88
|
+
display: inline-block;
|
|
89
|
+
pointer-events: none;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.editor-text-bold {
|
|
93
|
+
font-weight: bold;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.editor-text-italic {
|
|
97
|
+
font-style: italic;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.editor-text-underline {
|
|
101
|
+
text-decoration: underline;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.editor-text-strikethrough {
|
|
105
|
+
text-decoration: line-through;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.editor-text-underlineStrikethrough {
|
|
109
|
+
text-decoration: underline line-through;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.editor-text-code {
|
|
113
|
+
background-color: rgb(240, 242, 245);
|
|
114
|
+
padding: 1px 0.25rem;
|
|
115
|
+
font-family: Menlo, Consolas, Monaco, monospace;
|
|
116
|
+
font-size: 94%;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.editor-link {
|
|
120
|
+
color: rgb(33, 111, 219);
|
|
121
|
+
text-decoration: none;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.tree-view-output {
|
|
125
|
+
display: block;
|
|
126
|
+
background: #222;
|
|
127
|
+
color: #fff;
|
|
128
|
+
padding: 5px;
|
|
129
|
+
font-size: 12px;
|
|
130
|
+
white-space: pre-wrap;
|
|
131
|
+
margin: 1px auto 10px auto;
|
|
132
|
+
max-height: 250px;
|
|
133
|
+
position: relative;
|
|
134
|
+
border-bottom-left-radius: 10px;
|
|
135
|
+
border-bottom-right-radius: 10px;
|
|
136
|
+
overflow: auto;
|
|
137
|
+
line-height: 14px;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.editor-code {
|
|
141
|
+
background-color: rgb(240, 242, 245);
|
|
142
|
+
font-family: Menlo, Consolas, Monaco, monospace;
|
|
143
|
+
display: block;
|
|
144
|
+
padding: 8px 8px 8px 52px;
|
|
145
|
+
line-height: 1.53;
|
|
146
|
+
font-size: 13px;
|
|
147
|
+
margin: 0;
|
|
148
|
+
margin-top: 8px;
|
|
149
|
+
margin-bottom: 8px;
|
|
150
|
+
tab-size: 2;
|
|
151
|
+
/* white-space: pre; */
|
|
152
|
+
overflow-x: auto;
|
|
153
|
+
position: relative;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.editor-code:before {
|
|
157
|
+
content: attr(data-gutter);
|
|
158
|
+
position: absolute;
|
|
159
|
+
background-color: #eee;
|
|
160
|
+
left: 0;
|
|
161
|
+
top: 0;
|
|
162
|
+
border-right: 1px solid #ccc;
|
|
163
|
+
padding: 8px;
|
|
164
|
+
color: #777;
|
|
165
|
+
white-space: pre-wrap;
|
|
166
|
+
text-align: right;
|
|
167
|
+
min-width: 25px;
|
|
168
|
+
}
|
|
169
|
+
.editor-code:after {
|
|
170
|
+
content: attr(data-highlight-language);
|
|
171
|
+
top: 0;
|
|
172
|
+
right: 3px;
|
|
173
|
+
padding: 3px;
|
|
174
|
+
font-size: 10px;
|
|
175
|
+
text-transform: uppercase;
|
|
176
|
+
position: absolute;
|
|
177
|
+
color: rgba(0, 0, 0, 0.5);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.editor-tokenComment {
|
|
181
|
+
color: slategray;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.editor-tokenPunctuation {
|
|
185
|
+
color: #999;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.editor-tokenProperty {
|
|
189
|
+
color: #905;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.editor-tokenSelector {
|
|
193
|
+
color: #690;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.editor-tokenOperator {
|
|
197
|
+
color: #9a6e3a;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.editor-tokenAttr {
|
|
201
|
+
color: #07a;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.editor-tokenVariable {
|
|
205
|
+
color: #e90;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.editor-tokenFunction {
|
|
209
|
+
color: #dd4a68;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.editor-paragraph {
|
|
213
|
+
margin: 0;
|
|
214
|
+
margin-bottom: 8px;
|
|
215
|
+
position: relative;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.editor-paragraph:last-child {
|
|
219
|
+
margin-bottom: 0;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.editor-heading-h1 {
|
|
223
|
+
font-size: 24px;
|
|
224
|
+
color: rgb(5, 5, 5);
|
|
225
|
+
font-weight: 400;
|
|
226
|
+
margin: 0;
|
|
227
|
+
margin-bottom: 12px;
|
|
228
|
+
padding: 0;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.editor-heading-h2 {
|
|
232
|
+
font-size: 15px;
|
|
233
|
+
color: rgb(101, 103, 107);
|
|
234
|
+
font-weight: 700;
|
|
235
|
+
margin: 0;
|
|
236
|
+
margin-top: 10px;
|
|
237
|
+
padding: 0;
|
|
238
|
+
text-transform: uppercase;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.editor-quote {
|
|
242
|
+
margin: 0;
|
|
243
|
+
margin-left: 20px;
|
|
244
|
+
font-size: 15px;
|
|
245
|
+
color: rgb(101, 103, 107);
|
|
246
|
+
border-left-color: rgb(206, 208, 212);
|
|
247
|
+
border-left-width: 4px;
|
|
248
|
+
border-left-style: solid;
|
|
249
|
+
padding-left: 16px;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.editor-list-ol {
|
|
253
|
+
padding: 0;
|
|
254
|
+
margin: 0;
|
|
255
|
+
margin-left: 16px;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.editor-list-ul {
|
|
259
|
+
padding: 0;
|
|
260
|
+
margin: 0;
|
|
261
|
+
margin-left: 16px;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.editor-listitem {
|
|
265
|
+
margin: 8px 32px 8px 32px;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.editor-nested-listitem {
|
|
269
|
+
list-style-type: none;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
pre::-webkit-scrollbar {
|
|
273
|
+
background: transparent;
|
|
274
|
+
width: 10px;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
pre::-webkit-scrollbar-thumb {
|
|
278
|
+
background: #999;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.debug-timetravel-panel {
|
|
282
|
+
overflow: hidden;
|
|
283
|
+
padding: 0 0 10px 0;
|
|
284
|
+
margin: auto;
|
|
285
|
+
display: flex;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.debug-timetravel-panel-slider {
|
|
289
|
+
padding: 0;
|
|
290
|
+
flex: 8;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
.debug-timetravel-panel-button {
|
|
294
|
+
padding: 0;
|
|
295
|
+
border: 0;
|
|
296
|
+
background: none;
|
|
297
|
+
flex: 1;
|
|
298
|
+
color: #fff;
|
|
299
|
+
font-size: 12px;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
.debug-timetravel-panel-button:hover {
|
|
303
|
+
text-decoration: underline;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.debug-timetravel-button {
|
|
307
|
+
border: 0;
|
|
308
|
+
padding: 0;
|
|
309
|
+
font-size: 12px;
|
|
310
|
+
top: 10px;
|
|
311
|
+
right: 15px;
|
|
312
|
+
position: absolute;
|
|
313
|
+
background: none;
|
|
314
|
+
color: #fff;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.debug-timetravel-button:hover {
|
|
318
|
+
text-decoration: underline;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.toolbar {
|
|
322
|
+
display: flex;
|
|
323
|
+
margin-bottom: 1px;
|
|
324
|
+
background: #fff;
|
|
325
|
+
padding: 4px;
|
|
326
|
+
border-top-left-radius: 10px;
|
|
327
|
+
border-top-right-radius: 10px;
|
|
328
|
+
vertical-align: middle;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
.toolbar button.toolbar-item {
|
|
332
|
+
border: 0;
|
|
333
|
+
display: flex;
|
|
334
|
+
background: none;
|
|
335
|
+
border-radius: 10px;
|
|
336
|
+
padding: 8px;
|
|
337
|
+
cursor: pointer;
|
|
338
|
+
vertical-align: middle;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
.toolbar button.toolbar-item:disabled {
|
|
342
|
+
cursor: not-allowed;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
.toolbar button.toolbar-item.spaced {
|
|
346
|
+
margin-right: 2px;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
.toolbar button.toolbar-item i.format {
|
|
350
|
+
background-size: contain;
|
|
351
|
+
display: inline-block;
|
|
352
|
+
height: 18px;
|
|
353
|
+
width: 18px;
|
|
354
|
+
margin-top: 2px;
|
|
355
|
+
vertical-align: -0.25em;
|
|
356
|
+
display: flex;
|
|
357
|
+
opacity: 0.6;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
.toolbar button.toolbar-item:disabled i.format {
|
|
361
|
+
opacity: 0.2;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
.toolbar button.toolbar-item.active {
|
|
365
|
+
background-color: rgba(223, 232, 250, 0.3);
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
.toolbar button.toolbar-item.active i {
|
|
369
|
+
opacity: 1;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.toolbar .toolbar-item:hover:not([disabled]) {
|
|
373
|
+
background-color: #eee;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
.toolbar .divider {
|
|
377
|
+
width: 1px;
|
|
378
|
+
background-color: #eee;
|
|
379
|
+
margin: 0 4px;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
.toolbar .toolbar-item .text {
|
|
383
|
+
display: flex;
|
|
384
|
+
line-height: 20px;
|
|
385
|
+
width: 200px;
|
|
386
|
+
vertical-align: middle;
|
|
387
|
+
font-size: 14px;
|
|
388
|
+
color: #777;
|
|
389
|
+
text-overflow: ellipsis;
|
|
390
|
+
width: 70px;
|
|
391
|
+
overflow: hidden;
|
|
392
|
+
height: 20px;
|
|
393
|
+
text-align: left;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
.toolbar .toolbar-item .icon {
|
|
397
|
+
display: flex;
|
|
398
|
+
width: 20px;
|
|
399
|
+
height: 20px;
|
|
400
|
+
user-select: none;
|
|
401
|
+
margin-right: 8px;
|
|
402
|
+
line-height: 16px;
|
|
403
|
+
background-size: contain;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
i.undo {
|
|
407
|
+
background-image: url(../assets/icons/arrow-counterclockwise.svg);
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
i.redo {
|
|
411
|
+
background-image: url(../assets/icons/arrow-clockwise.svg);
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
i.bold {
|
|
415
|
+
background-image: url(../assets/icons/type-bold.svg);
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
i.italic {
|
|
419
|
+
background-image: url(../assets/icons/type-italic.svg);
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
i.underline {
|
|
423
|
+
background-image: url(../assets/icons/type-underline.svg);
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
i.strikethrough {
|
|
427
|
+
background-image: url(../assets/icons/type-strikethrough.svg);
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
i.left-align {
|
|
431
|
+
background-image: url(../assets/icons/text-left.svg);
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
i.center-align {
|
|
435
|
+
background-image: url(../assets/icons/text-center.svg);
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
i.right-align {
|
|
439
|
+
background-image: url(../assets/icons/text-right.svg);
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
i.justify-align {
|
|
443
|
+
background-image: url(../assets/icons/justify.svg);
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
#root {
|
|
447
|
+
max-width: 1280px;
|
|
448
|
+
margin: 0 auto;
|
|
449
|
+
padding: 2rem;
|
|
450
|
+
text-align: center;
|
|
451
|
+
}
|