diff --git a/matrix-editor/assets/index-174be231.css b/matrix-editor/assets/index-174be231.css deleted file mode 100644 index 752c269..0000000 --- a/matrix-editor/assets/index-174be231.css +++ /dev/null @@ -1 +0,0 @@ -@font-face{font-family:Pedantic Devanagari;src:url(./PedanticDevanagariLight-3c6f4848.woff);unicode-range:U+0900-097F,U+A8E0-A8FB,U+1CD0-1CF6,U+2E24}@font-face{font-family:Pedantic Devanagari;src:url(./PedanticDevanagariBold-40f5eac9.woff);unicode-range:U+0900-097F,U+A8E0-A8FB,U+1CD0-1CF6,U+2E24;font-weight:700}@font-face{font-family:Pedantic Malayalam;src:url(./PedanticMalayalam-e72c2a42.woff);unicode-range:U+0D00-0D7F,U+25CC}@font-face{font-family:Pedantic Malayalam;src:url(./PedanticMalayalamBold-45e2f12b.woff);unicode-range:U+0D00-0D7F,U+25CC;font-weight:700}@font-face{font-family:"eGranthamil 7";src:url(./e-Grantamil-custom-84630fba.woff);unicode-range:U+0D00-0D7F,U+25CC}@font-face{font-family:Pedantic Telugu;src:url(./PedanticTelugu-3e76115d.woff);unicode-range:U+0C00-0C7F}@font-face{font-family:Pedantic Telugu;src:url(./PedanticTeluguBold-f49c9a5f.woff);unicode-range:U+0C00-0C7F;font-weight:700}@font-face{font-family:TSTTamil;src:url(./TSTTamil-2d8413cf.woff);unicode-range:U+0020,U+0B80-0BFF;font-weight:400;font-style:normal}body{font-family:Alegreya Sans,Pedantic Devanagari,Pedantic Malayalam,Pedantic Telugu,TSTTamil,sans-serif;color:#000;max-width:100vw;margin:0 auto;line-height:1.2;font-size:1.5em;letter-spacing:0;position:relative;padding:0;background:rgb(232,232,231)}.grantha.scripter,.grantha.text-box,.grantha .tree-lemma,.grantha td.lemma{font-family:"eGranthamil 7",sans-serif}.grantha .tree-lemma [lang=en]{font-family:Alegreya Sans}#views>div#splash{height:400px;text-align:center;align-self:center}#full-tree{width:100%;min-height:100vh;display:flex;align-items:center;justify-content:center}#full-tree svg{padding-right:20px}svg text{font-size:11px;font-family:Alegreya Sans}.littletree{cursor:pointer}.witness,.internal{font-size:.9rem;font-variant:small-caps;cursor:pointer}.internal .orphan{color:#00000080}.internal{display:inline-block;position:relative;left:-3px;top:-2px}.internal:hover{color:red}.internal svg{display:inline-block;vertical-align:bottom}.witness:after{content:": "}.witness.inactive:after{content:""}.witness:hover{text-decoration:underline}.tree-box{overflow-x:auto}.tree-lemma{font-size:1rem}.tree-div{position:absolute;white-space:nowrap}h4{margin-bottom:50px}h4.title{margin-bottom:10px}h5{margin-top:5px}hr{margin:0;padding:0}#views{display:flex;flex-direction:row;justify-content:center}#views>div{top:0;flex:1 1 0;max-width:600px;text-align:justify;background:white;position:relative;height:calc(100vh - 60px);overflow-y:auto;overflow-x:auto;border-left:1px solid rgb(185,185,182);border-right:1px solid rgb(185,185,182);border-bottom:1px solid rgb(185,185,182);border-radius:2px 2px 0 0}#views>div.matrix,#views>div.tree-box{max-width:100vw;overflow-x:auto}#views>div~div,#descs>div~div{margin-left:12px}#stickytop{position:sticky;top:0;z-index:8;background:rgb(232,232,231)}#menu{display:flex;position:relative;top:0;z-index:100;cursor:default;flex-direction:row;width:100%;justify-content:space-between;background:rgb(232,232,231)}#right_menu,#left_menu{display:flex;flex-direction:row}#menu div.open{background:rgba(68,24,155,.9);color:#fff}#menu div{padding:0 .3rem;font-size:1.2rem;border-radius:2px 2px 0 0}#menu ul{margin:0 0 0 -.3rem;padding:5px 15px;list-style:none;display:none;position:absolute;background:rgba(68,24,155,.9);border-radius:0 2px 2px;max-height:calc(100vh - 50px);overflow-y:auto}#menu li.greyedout{color:gray}#menu li:hover{background-color:#fcff7c66;cursor:pointer}.heading{position:relative}#descs{font-size:.8em;padding-top:10px;display:flex;flex-direction:row;justify-content:flex-start}#descs>div{text-align:left;-webkit-hyphens:auto;hyphens:auto;flex:1 1 0;padding-left:3px;background:white;border:1px solid rgb(185,185,182);border-radius:2px 2px 0 0}.closer,.opener,.scripter{float:left;margin-right:3px;margin-top:3px;cursor:pointer;color:#000;height:1rem;width:1rem;border:1px solid rgb(185,185,182);border-radius:2px;line-height:78%;text-align:center}.scripter{font-size:.8em;line-height:100%}.closer:hover,.opener:hover,.scripter:hover{background:rgba(68,24,155,.9);color:#fff}#info_box{position:absolute;top:5px;right:0;text-align:right;border-width:1px;border-color:#000;font-size:1rem}#tooltip{display:block;position:fixed;background:rgba(17,17,17,.8);border-radius:4px;color:#fff;font-size:1rem;vertical-align:middle;padding:.5em 1em;margin-bottom:11px;max-width:200px;z-index:3}.tamil{font-variant-ligatures:historical-ligatures}.text-box.tamil{word-spacing:1em}.lemma:hover{background-color:#fcff7c66}.lemma:hover>.space{background-color:#d8db3f}span.group:after{content:" "}.space{background-color:#ccd5e5}.emphasis{font-weight:700}.invisible{display:none}.invisible.highlit{display:inline}.hidden{visibility:hidden}.tohighlight{transition:background-color 1s ease}.translit{background-color:#fcff7c}.lemma.transposed{text-decoration:underline;text-decoration-style:dashed;text-decoration-color:#00c600}.floater{position:absolute;white-space:nowrap;display:block;padding-right:10px}.matrix{position:relative}.matrix table{border-collapse:collapse;table-layout:auto;user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none}.matrix tr.header{top:0;position:sticky;z-index:3}.matrix tr.header th{z-index:3;top:0;position:sticky;text-align:left;cursor:auto;font-weight:400;max-width:.5em;font-size:.6em;padding-left:0}.matrix tr.header th .readings{writing-mode:vertical-lr}.matrix tr.header th input{transform:scale(.6);margin-left:-2px}.matrix tr.header form{display:none;padding:0;margin:0}.matrix td.anchor{background:white;z-index:4;top:0;left:0;position:sticky}.matrix th,.matrix td{border:1px solid #e5e9f5;padding:.2em .3em;font-size:1rem}.matrix th{position:sticky;left:0;background:rgb(155,129,187);background-clip:padding-box;z-index:2;cursor:grab}.matrix td{position:relative;background-clip:padding-box;white-space:pre}td[data-insignificant=true]{color:gray!important}td:empty{background-color:#f5f5f5}td[data-binary=true]:empty{background-color:#dbdbdb}td[data-emended=true],span.lemma[data-emended=true]{border-bottom:2px dotted rgb(230,152,174)}td.pending{background-color:#e6e6e6}.matrix td.group-start{border-right:0;border-left:4px solid #e5e9f5;padding-right:0}.matrix td.group-internal{border-left:0;border-right:0;padding-left:0;padding-right:0}.matrix td.group-end{border-left:0;border-right:4px solid #e5e9f5;padding-left:0}#views.normalized .lemma[data-normal],#views.normalized .tree-lemma[data-normal]{color:#6a57d0}td.highlit:empty{background-color:#ee9}td.highlit[data-binary=true]:empty{background-color:#e4e770}.highlit,.highlit>.space{background-color:#fcff7c}td.highlit.highlitcell,td.highlit.highlitcell:empty{background-color:#f7c618}td[contenteditable=true]{outline:2px ridge rgb(183,110,55)}.dragging,.dragging th{color:#bfbac5!important;background-color:#ffa!important}.dragenter,.moveinprogress:hover{border-bottom:2px dashed rgb(82,59,109)!important}.contextmenu{box-shadow:0 1px 2px 1px #0003;background:white;position:absolute;width:120px;z-index:5;font-size:1rem;cursor:pointer}.contextmenu ul{list-style:none;padding:3px;margin:0}.contextmenu li{padding:2px 0}.contextmenu li:hover{background-color:#edecff}.contextmenu form,.menubox form{display:inline}.hidden-checkbox{display:none}.contextmenu input{cursor:pointer}#blackout{z-index:10;position:fixed;display:flex;align-items:center;justify-content:center;left:0;top:0;width:100vw;height:100vh;background:rgba(50,50,50,.5)}.popup{max-width:50%;background:white;padding:10px;font-size:.7em}#spinner{display:inline-block;width:.8em;height:.8em;border:3px solid rgba(255,255,255,.3);border-radius:50%;border-top-color:#fff;animation:spin 1s ease-in-out infinite;vertical-align:bottom;margin-right:.5em}@keyframes spin{to{transform:rotate(360deg)}}del{text-decoration-color:red;color:gray}.tree-lemma del{color:inherit}ins{color:red;text-decoration:none}.tree-lemma ins{color:inherit;font-weight:700}span.lb{font-size:70%;margin-right:1em;color:#000;font-weight:400}span.lb-minimal{color:#f90;letter-spacing:-.15em;font-size:1.5rem;line-height:.76;font-family:serif;font-weight:400;vertical-align:-.1em;cursor:default;white-space:nowrap}h3.pb{color:#000}span.pb{color:gray;font-size:1rem;line-height:.76;font-weight:400;font-family:sans-serif;text-decoration:none;vertical-align:super;white-space:nowrap;cursor:default}div.fw{margin-top:1em;font-weight:400;font-size:1.5rem}.right{float:right;clear:right;position:relative;margin-right:-80px;width:74px;text-align:center}.left{float:left;clear:left;position:relative;margin-left:-80px;width:74px;text-align:center}span.story{font-size:70%;margin-right:1em;margin-left:1em;font-variant:small-caps}h3.story{color:#000;font-weight:400}span.verse{display:block;margin-left:1em;margin-right:1em}span.l{display:inline-block;padding-bottom:.3em}.gaiji{text-decoration:underline;text-decoration-style:wavy;text-decoration-color:red}img.link{width:12px;margin-left:.1em;vertical-align:super}.aalt{font-feature-settings:"aalt" 1} diff --git a/matrix-editor/assets/index-27c63472.js b/matrix-editor/assets/index-83e5396c.js similarity index 100% rename from matrix-editor/assets/index-27c63472.js rename to matrix-editor/assets/index-83e5396c.js diff --git a/matrix-editor/assets/index-a3f7987d.css b/matrix-editor/assets/index-a3f7987d.css new file mode 100644 index 0000000..3b3eb9a --- /dev/null +++ b/matrix-editor/assets/index-a3f7987d.css @@ -0,0 +1 @@ +@font-face{font-family:Pedantic Devanagari;src:url(./PedanticDevanagariLight-3c6f4848.woff);unicode-range:U+0900-097F,U+A8E0-A8FB,U+1CD0-1CF6,U+2E24}@font-face{font-family:Pedantic Devanagari;src:url(./PedanticDevanagariBold-40f5eac9.woff);unicode-range:U+0900-097F,U+A8E0-A8FB,U+1CD0-1CF6,U+2E24;font-weight:700}@font-face{font-family:Pedantic Malayalam;src:url(./PedanticMalayalam-e72c2a42.woff);unicode-range:U+0D00-0D7F,U+25CC}@font-face{font-family:Pedantic Malayalam;src:url(./PedanticMalayalamBold-45e2f12b.woff);unicode-range:U+0D00-0D7F,U+25CC;font-weight:700}@font-face{font-family:"eGranthamil 7";src:url(./e-Grantamil-custom-84630fba.woff);unicode-range:U+0D00-0D7F,U+25CC}@font-face{font-family:Pedantic Telugu;src:url(./PedanticTelugu-3e76115d.woff);unicode-range:U+0C00-0C7F}@font-face{font-family:Pedantic Telugu;src:url(./PedanticTeluguBold-f49c9a5f.woff);unicode-range:U+0C00-0C7F;font-weight:700}@font-face{font-family:TSTTamil;src:url(./TSTTamil-2d8413cf.woff);unicode-range:U+0020,U+0B80-0BFF;font-weight:400;font-style:normal}body{font-family:Alegreya Sans,Pedantic Devanagari,Pedantic Malayalam,Pedantic Telugu,TSTTamil,sans-serif;color:#000;max-width:100vw;margin:0 auto;line-height:1.2;font-size:1.5em;letter-spacing:0;position:relative;padding:0;background:rgb(232,232,231)}.grantha.scripter,.grantha.text-box,.grantha .tree-lemma,.grantha td.lemma{font-family:"eGranthamil 7",sans-serif}.grantha .tree-lemma [lang=en]{font-family:Alegreya Sans}#views>div#splash{height:400px;text-align:center;align-self:center}#full-tree{width:100%;min-height:100vh;display:flex;align-items:center;justify-content:center}#full-tree svg{padding-right:20px}svg text{font-size:11px;font-family:Alegreya Sans}.littletree{cursor:pointer}.witness,.internal{font-size:.9rem;font-variant:small-caps;cursor:pointer}.internal .orphan{color:#00000080}.internal{display:inline-block;position:relative;left:-3px;top:-2px}.internal:hover{color:red}.internal svg{display:inline-block;vertical-align:bottom}.witness:after{content:": "}.witness.inactive:after{content:""}.witness:hover{text-decoration:underline}.tree-box{overflow-x:auto}.tree-lemma{font-size:1rem}.tree-div{position:absolute;white-space:nowrap}h4{margin-bottom:50px}h4.title{margin-bottom:10px}h5{margin-top:5px}hr{margin:0;padding:0}#views{display:flex;flex-direction:row;justify-content:center}#views>div{top:0;flex:1 1 0;max-width:600px;text-align:justify;background:white;position:relative;height:calc(100vh - 60px);overflow-y:auto;overflow-x:auto;border-left:1px solid rgb(185,185,182);border-right:1px solid rgb(185,185,182);border-bottom:1px solid rgb(185,185,182);border-radius:2px 2px 0 0}#views>div.matrix,#views>div.tree-box{max-width:100vw;overflow-x:auto}#views>div~div,#descs>div~div{margin-left:12px}#stickytop{position:sticky;top:0;z-index:8;background:rgb(232,232,231)}#menu{display:flex;position:relative;top:0;z-index:100;cursor:default;flex-direction:row;width:100%;justify-content:space-between;background:rgb(232,232,231)}#right_menu,#left_menu{display:flex;flex-direction:row}#menu div.open{background:rgba(68,24,155,.9);color:#fff}#menu div{padding:0 .3rem;font-size:1.2rem;border-radius:2px 2px 0 0}#menu ul{margin:0 0 0 -.3rem;padding:5px 15px;list-style:none;display:none;position:absolute;background:rgba(68,24,155,.9);border-radius:0 2px 2px;max-height:calc(100vh - 50px);overflow-y:auto}#menu li.greyedout{color:gray}#menu li:hover{background-color:#fcff7c66;cursor:pointer}.heading{position:relative}#descs{font-size:.8em;padding-top:10px;display:flex;flex-direction:row;justify-content:flex-start}#descs>div{text-align:left;-webkit-hyphens:auto;hyphens:auto;flex:1 1 0;padding-left:3px;background:white;border:1px solid rgb(185,185,182);border-radius:2px 2px 0 0}.closer,.opener,.scripter{float:left;margin-right:3px;margin-top:3px;cursor:pointer;color:#000;height:1rem;width:1rem;border:1px solid rgb(185,185,182);border-radius:2px;line-height:78%;text-align:center}.scripter{font-size:.8em;line-height:100%}.closer:hover,.opener:hover,.scripter:hover{background:rgba(68,24,155,.9);color:#fff}#info_box{position:absolute;top:5px;right:0;text-align:right;border-width:1px;border-color:#000;font-size:1rem}#tooltip{display:block;position:fixed;background:rgba(17,17,17,.8);border-radius:4px;color:#fff;font-size:1rem;vertical-align:middle;padding:.5em 1em;margin-bottom:11px;max-width:200px;z-index:3}.tamil{font-variant-ligatures:historical-ligatures}.text-box.tamil{word-spacing:1em;line-height:1.4em;font-size:1.3rem}.lemma:hover{background-color:#fcff7c66}.lemma:hover>.space{background-color:#d8db3f}span.group:after{content:" "}.space{background-color:#ccd5e5}.emphasis{font-weight:700}.invisible{display:none}.invisible.highlit{display:inline}.hidden{visibility:hidden}.tohighlight{transition:background-color 1s ease}.translit{background-color:#fcff7c}.lemma.transposed{text-decoration:underline;text-decoration-style:dashed;text-decoration-color:#00c600}.floater{position:absolute;white-space:nowrap;display:block;padding-right:10px}.matrix{position:relative}.matrix table{border-collapse:collapse;table-layout:auto;user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none}.matrix tr.header{top:0;position:sticky;z-index:3}.matrix tr.header th{z-index:3;top:0;position:sticky;text-align:left;cursor:auto;font-weight:400;max-width:.5em;font-size:.6em;padding-left:0}.matrix tr.header th .readings{writing-mode:vertical-lr}.matrix tr.header th input{transform:scale(.6);margin-left:-2px}.matrix tr.header form{display:none;padding:0;margin:0}.matrix td.anchor{background:white;z-index:4;top:0;left:0;position:sticky}.matrix th,.matrix td{border:1px solid #e5e9f5;padding:.2em .3em;font-size:1rem}.matrix th{position:sticky;left:0;background:rgb(155,129,187);background-clip:padding-box;z-index:2;cursor:grab}.matrix td{position:relative;background-clip:padding-box;white-space:pre}td[data-insignificant=true]{color:gray!important}td:empty{background-color:#f5f5f5}td[data-binary=true]:empty{background-color:#dbdbdb}td[data-emended=true],span.lemma[data-emended=true]{border-bottom:2px dotted rgb(230,152,174)}td.pending{background-color:#e6e6e6}.matrix td.group-start{border-right:0;border-left:4px solid #e5e9f5;padding-right:0}.matrix td.group-internal{border-left:0;border-right:0;padding-left:0;padding-right:0}.matrix td.group-end{border-left:0;border-right:4px solid #e5e9f5;padding-left:0}#views.normalized .lemma[data-normal],#views.normalized .tree-lemma[data-normal]{color:#6a57d0}td.highlit:empty{background-color:#ee9}td.highlit[data-binary=true]:empty{background-color:#e4e770}.highlit,.highlit>.space{background-color:#fcff7c}td.highlit.highlitcell,td.highlit.highlitcell:empty{background-color:#f7c618}td[contenteditable=true]{outline:2px ridge rgb(183,110,55)}.dragging,.dragging th{color:#bfbac5!important;background-color:#ffa!important}.dragenter,.moveinprogress:hover{border-bottom:2px dashed rgb(82,59,109)!important}.contextmenu{box-shadow:0 1px 2px 1px #0003;background:white;position:absolute;width:120px;z-index:5;font-size:1rem;cursor:pointer}.contextmenu ul{list-style:none;padding:3px;margin:0}.contextmenu li{padding:2px 0}.contextmenu li:hover{background-color:#edecff}.contextmenu form,.menubox form{display:inline}.hidden-checkbox{display:none}.contextmenu input{cursor:pointer}#blackout{z-index:10;position:fixed;display:flex;align-items:center;justify-content:center;left:0;top:0;width:100vw;height:100vh;background:rgba(50,50,50,.5)}.popup{max-width:50%;background:white;padding:10px;font-size:.7em}#spinner{display:inline-block;width:.8em;height:.8em;border:3px solid rgba(255,255,255,.3);border-radius:50%;border-top-color:#fff;animation:spin 1s ease-in-out infinite;vertical-align:bottom;margin-right:.5em}@keyframes spin{to{transform:rotate(360deg)}}del{text-decoration-color:red;color:gray}.tree-lemma del{color:inherit}ins{color:red;text-decoration:none}.tree-lemma ins{color:inherit;font-weight:700}span.lb{font-size:70%;margin-right:1em;color:#000;font-weight:400}span.lb-minimal{color:#f90;letter-spacing:-.15em;font-size:1.5rem;line-height:.76;font-family:serif;font-weight:400;vertical-align:-.1em;cursor:default;white-space:nowrap}h3.pb{color:#000}span.pb{color:gray;font-size:1rem;line-height:.76;font-weight:400;font-family:sans-serif;text-decoration:none;vertical-align:super;white-space:nowrap;cursor:default}div.fw{margin-top:1em;font-weight:400;font-size:1.5rem}.right{float:right;clear:right;position:relative;margin-right:-80px;width:74px;text-align:center}.left{float:left;clear:left;position:relative;margin-left:-80px;width:74px;text-align:center}span.story{font-size:70%;margin-right:1em;margin-left:1em;font-variant:small-caps}h3.story{color:#000;font-weight:400}span.verse{display:block;margin-left:1em;margin-right:1em}span.l{display:inline-block;padding-bottom:.3em}.gaiji{text-decoration:underline;text-decoration-style:wavy;text-decoration-color:red}img.link{width:12px;margin-left:.1em;vertical-align:super}.aalt{font-feature-settings:"aalt" 1} diff --git a/matrix-editor/index.html b/matrix-editor/index.html index 5168c01..11ce082 100644 --- a/matrix-editor/index.html +++ b/matrix-editor/index.html @@ -6,8 +6,8 @@ - - + + diff --git a/matrix-editor/src/style.css b/matrix-editor/src/style.css index 5f694aa..d066416 100644 --- a/matrix-editor/src/style.css +++ b/matrix-editor/src/style.css @@ -353,6 +353,8 @@ hr { } .text-box.tamil { word-spacing: 1em; + line-height: 1.4em; + font-size: 1.3rem; } .lemma:hover {