Selaa lähdekoodia

Merge branch 'master' of https://github.com/visuddhinanda/mint

visuddhinanda 5 vuotta sitten
vanhempi
sitoutus
a96ad529fb

+ 1 - 3
app/guide/guide.css

@@ -31,8 +31,7 @@ guide ol{
     top:100%;
     width: max-content;
     min-width:18em;
-    /*max-width: calc(30vw);*/
-    max-width:20em;
+    max-width: max(25vw, 100%);
     min-height:15em;
     padding:10px;
     background-color: var(--drop-bg-color);
@@ -46,7 +45,6 @@ guide ol{
     box-shadow: 0px 3px 13px 0px var(--shadow-color);
     color: var(--main-color);
     z-index: 200;
-    padding: 0 0.2em;
 }
 /*
 .guide_contence:after {

+ 1 - 1
app/pcdl/css/style.css

@@ -2432,7 +2432,7 @@ background-color:#AAA;
     height: calc(100% - 3.5em);
     top: 3.5em;
     left: 100%;
-    width: 25em;
+    width: 28vw;
     background-color: var(--tool-bg-color);
     box-shadow: 0px -4px 10px 0px var(--shadow-color);
     z-index: 20;

+ 10 - 4
app/pcdl/head_bar.php

@@ -230,11 +230,17 @@
 			</div>
 			<div class="toolgroup1">
 			<!--<input id="search_input" type="input" placeholder="搜索"  style="margin-left: 0.5em;padding:4px;width: 40em;max-width: 80%" >-->
-			<span>
-				<a href="../search/title.php">
-					<svg  style="height: 4em; fill: var(--btn-color);">
-						<use xlink:href="../pcdl/img/search_bar.svg#search_bar"></use>
+			<span style="display: inline-flex; margin-right: 100px;"> 
+			<a href="../search" style="display: inline-flex;">
+					<svg t="1598273659942" class="icon" viewBox="0 0 5836 1024" style="fill: var(--btn-color); width: 150px; height: 25px;" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="18667" >
+						<path d="M5243.733333666665 1024H619.2172046666668C338.4430106666666 1024 107.21720466666665 792.774194 107.21720466666665 512S338.4430106666666 0 619.2172046666668 0h4624.516129c280.774194 0 512 231.225806 512 512s-231.225806 512-512 512zM140.24946266666666 512C140.24946266666666 776.258065 354.9591396666666 990.967742 619.2172046666668 990.967742h4624.516129c264.258065 0 478.967742-214.709677 478.967742-478.967742 0 264.258065-214.709677 478.967742-478.967742 478.967742H619.2172046666668C354.9591396666666 990.967742 140.24946266666666 776.258065 140.24946266666666 512zM619.2172046666668 66.064516C374.7784946666666 66.064516 173.28172066666667 267.56129 173.28172066666667 512S374.7784946666666 957.935484 619.2172046666668 957.935484h4624.516129c244.43871 0 445.935484-201.496774 445.935484-445.935484S5488.172042666665 66.064516 5243.733333666665 66.064516H619.2172046666668z m4624.516129-33.032258c264.258065 0 478.967742 214.709677 478.967742 475.664516C5722.701075666665 247.741935 5507.991397666665 33.032258 5243.733333666665 33.032258zM619.2172046666668 33.032258C354.9591396666666 33.032258 140.24946266666666 247.741935 140.24946266666666 508.696774 140.24946266666666 247.741935 354.9591396666666 33.032258 619.2172046666668 33.032258z" p-id="18668">
+						</path>
 					</svg>
+					<svg t="1598275338832" class="icon" viewBox="0 0 1024 1024" style="fill: var(--btn-color); width: 16px; height: 20px; margin-left: -26px; margin-top: 4px;" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="19379"><path d="M441.936842 824.751158c-229.052632 0-414.989474-182.810947-414.989474-408.629895C26.947368 190.356211 212.884211 7.545263 441.936842 7.545263s414.989474 182.864842 414.989474 408.629895c0 225.818947-185.936842 408.629895-414.989474 408.629895z m0-53.894737c199.518316 0 361.094737-158.881684 361.094737-354.735158 0-195.799579-161.576421-354.735158-361.094737-354.735158S80.842105 220.429474 80.842105 416.121263c0 195.853474 161.576421 354.735158 361.094737 354.735158z" p-id="19380"></path><path d="M713.889684 740.513684a26.947368 26.947368 0 1 1 38.157474-38.103579l264.569263 264.784842a26.947368 26.947368 0 0 1-38.157474 38.103579l-264.569263-264.784842z" p-id="19381">
+					</path></svg>
+					<!--<svg  style="height: 4em; fill: var(--btn-color);">
+						<use xlink:href="../pcdl/img/search_bar.svg#search_bar"></use>
+					</svg>-->
 				</a>
 			</span>
 

+ 2 - 2
app/studio/css/style.css

@@ -2758,7 +2758,7 @@ background-color:#AAA;
     height: calc(100% - 3.5em);
     top: 3.5em;
     left: 100%;
-    width: 25em;
+    width: 28vw;
     background-color: var(--tool-bg-color);
     z-index: 20;
     -webkit-transition-duration: 0.4s;
@@ -4142,7 +4142,7 @@ text-align: center;
 
 .tran_sen_textarea textarea{
 	width: 100%;
-    height: 1.4em;
+    height: 28px;
 	font-size: 90%;
     -webkit-transition-duration: 0.2s;
     -moz-transition-duration: 0.2s;

+ 8 - 5
app/studio/js/editor.js

@@ -4694,7 +4694,8 @@ function editor_right_tool_bar_slide_toggle() {
 
 	if (document.getElementById("right_tool_bar").style.left == "100%") {
 		document.getElementById("right_tool_bar").style.display = "block";
-		document.getElementById("right_tool_bar").style.left = "calc(100% - 25em)";
+		document.getElementById("right_tool_bar").style.left = "calc(100% - 28vw)";
+		document.getElementById("right_tool_bar").style.width = "28vw";
 	}
 	else {
 		document.getElementById("right_tool_bar").style.left = "100%";
@@ -4703,7 +4704,8 @@ function editor_right_tool_bar_slide_toggle() {
 function right_panal_slide_toggle(idPanal) {
 	if ($("#" + idPanal).hasClass("act")) {
 		document.getElementById("right_tool_bar").style.display = "block";
-		document.getElementById("right_tool_bar").style.left = "calc(100% - 25em)";
+		document.getElementById("right_tool_bar").style.left = "calc(100% - 28vw)";
+		document.getElementById("right_tool_bar").style.width = "28vw";
 	}
 	else {
 		document.getElementById("right_tool_bar").style.left = "100%";
@@ -4714,7 +4716,8 @@ function right_panal_slide_toggle(idPanal) {
 function editor_show_right_tool_bar(visible) {
 	if (visible) {
 		document.getElementById("right_tool_bar").style.display = "block";
-		document.getElementById("right_tool_bar").style.left = "calc(100% - 25em)";
+		document.getElementById("right_tool_bar").style.left = "calc(100% - 28vw)";
+		document.getElementById("right_tool_bar").style.width = "28vw";
 	}
 	else {
 		document.getElementById("right_tool_bar").style.left = "100%";
@@ -4940,11 +4943,11 @@ function tran_text_onchange(blockid, senBegin, senEnd, obj) {
 退出编辑状态
 */
 function tran_sent_div_blur(blockId, senBegin, senEnd, obj) {
-	obj.style.height = "1.4em";
+	obj.style.height = "28px";
 
 }
 function tran_sent_div_onfocus(blockId, senBegin, senEnd, obj) {
-	obj.style.height = "5em";
+	obj.style.height = "100px";
 
 }
 //鼠标移到逐句翻译上 编辑状态

+ 3 - 3
documents/course/课程历史链接.md

@@ -4,8 +4,7 @@
 [字幕投稿Subtitle distribute](https://www.youtube.com/timedtext_cs_panel?c=UClGNGi4ULgZafT_OIit_owA&tab=2)
 
 - 中国大陆地区
-[百度网盘](https://pan.baidu.com/s/1zjWdxydOMig4Zv213nsGiA)  提取码: q4k5
-[优酷](https://v.youku.com/v_show/id_XNDgxMzkwMDUzNg==.html)
+[优酷](https://list.youku.com/albumlist/show/id_52498274?spm=a2h9p.12367095.app.SECTION~MAIN~SECTION~MAIN~5~5~5!3~5~5!2~5~5~5~5~5!2~5~A)
   
 ## 其他参考资料Other Referance
 ### Dhamma Talk on "The Significance of Āsāḷha Full Moon Day"
@@ -14,4 +13,5 @@ by Sayadaw Kuṇḍadhāna on12th July 2020
 - 中国大陆:[百度网盘](https://pan.baidu.com/s/1e35cNpw1RaiSePrZ_OA2Fg) 提取码:pali
 ### wikipāḷi使用指南
 - Outside Mainland China [中文版](https://youtu.be/Ymwk-L8cNlY) [英文版](https://youtu.be/F2U9guv_0cM)
-- 中国大陆:[百度网盘](https://pan.baidu.com/s/1PtvCVBx5sqspflKhzisJzg) 提取码: snba
+- 中国大陆:[百度网盘](https://pan.baidu.com/s/1PtvCVBx5sqspflKhzisJzg) 提取码: snba
+

+ 1 - 2
documents/users_guide/zh-cn/sent_func.md

@@ -2,5 +2,4 @@
 ### 在逐词解析中添加巴利原文注释
 (文本暂无)
 - [YouTube](https://youtu.be/phRFoQbAh8s "按住Ctrl键点开")
-- [优酷](https://v.youku.com/v_show/id_XNDgwOTg4OTA0NA==.html "按住Ctrl键点开")
-- [百度网盘](https://pan.baidu.com/s/1Vs0evu9q6np1l8GRU9auug "按住Ctrl键点开") 提取码:pali
+- [优酷](https://v.youku.com/v_show/id_XNDgwOTg4OTA0NA==.html "按住Ctrl键点开")

+ 4 - 20
documents/users_guide/zh-cn/sent_trans.md

@@ -1,25 +1,9 @@
 ## 译文输入
 此处的设计是针对**信达雅**三大翻译指标中的**雅**,即文学性。在词源拆分上满足了**信**,在单词含义上满足了**达**,我们便可以更加自由地追求**雅**。
 ### 操作方法
+- 视频演示    
+  - [YouTube](https://youtu.be/Pd1W0fPi9Ks "按住Ctrl键点开")    
+  - [优酷](https://v.youku.com/v_show/id_XNDgxMjU5NDIwMA==.html "按住Ctrl键点开")
 - 点击输入框,输入框会自动展开;
 - 在其中键入文字,输入框上方将自动显示预览;
-- 当鼠标点击其他地方时(输入框失去焦点),输入框里的内容将自动保存。
-## 术语大兼容系统
-在佛教翻译中,术语使用在历史沿革中一直存在大量争论,这是在纸媒体的时代永远无法解决的。
-
-然而在电子阅读时代,这个问题是可以通过兼容的方式,同时照顾**译者**和**读者**两大群体的感受。
-### 操作方法
-- 视频演示 [YouTube](https://youtu.be/Pd1W0fPi9Ks) [优酷](https://v.youku.com/v_show/id_XNDgxMjU5NDIwMA==.html)
-- 点击逐词解析中的术语
-- 检查**词典原型**是否为空,如果为空请填入去掉变化之后的能够在词典中查询到的**原型**
-- 点击页面右上角的<svg id="icon_term" viewBox="0 0 24 24" style='fill:#6baaff;height: 15px; width: 15px;'><path d="M5 13.18v4L12 21l7-3.82v-4L12 17l-7-3.82zM12 3L1 9l11 6 9-4.91V17h2V9L12 3z"></path></svg>调出侧边栏
-- 点击**新建**按钮,在其中键入**首选术语**(必填),其他为选填
-- 之后,在键入译文的时候,如下:
-```
-[[isipatana]] [[migadāya]]:由仙人们起飞和降落而得名。由于给予[[miga]]安全感,而划定为[[migadāya]]的区域。
-```
-<b>[[pāḷi]]</b>会被自动替换,最终显示为:
-```
-落仙坪(isipatana 仙人降落处,仙人堕处,仙人落处 ) 野生保护(区)(migadāya 鹿野苑 ):由仙人们起飞和降落而得名。由于给予野兽(miga 鹿,野生动物 )安全感,而划定为野生保护(区)的区域。
-```
-注:该替换优先依照读者的个性化术语系统
+- 当鼠标点击其他地方时(输入框失去焦点),输入框里的内容将自动保存。

+ 22 - 0
documents/users_guide/zh-cn/studio_term.md

@@ -0,0 +1,22 @@
+## 术语大兼容系统
+在佛教翻译中,术语使用在历史沿革中一直存在大量争论,这是在纸媒体的时代永远无法解决的。
+
+然而在电子阅读时代,这个问题是可以通过兼容的方式,同时照顾**译者**和**读者**两大群体的感受。
+
+### 视频演示
+- [YouTube](https://youtu.be/NdXgxo5YAIo "按住Ctrl键点开")
+- 优酷
+### 操作方法
+- 点击逐词解析中的术语
+- 检查**词典原型**是否为空,如果为空请填入去掉变化之后的能够在词典中查询到的**原型**
+- 点击页面右上角的<svg id="icon_term" viewBox="0 0 24 24" style='fill:#6baaff;height: 15px; width: 15px;'><path d="M5 13.18v4L12 21l7-3.82v-4L12 17l-7-3.82zM12 3L1 9l11 6 9-4.91V17h2V9L12 3z"></path></svg>调出侧边栏
+- 点击**新建**按钮,在其中键入**首选术语**(必填),其他为选填
+- 之后,在键入译文的时候,如下:
+```
+[[isipatana]] [[migadāya]]:由仙人们起飞和降落而得名。由于给予[[miga]]安全感,而划定为[[migadāya]]的区域。
+```
+<b>[[pāḷi]]</b>会被自动替换,最终显示为:
+```
+落仙坪(isipatana 仙人降落处,仙人堕处,仙人落处 ) 野生保护(区)(migadāya 鹿野苑 ):由仙人们起飞和降落而得名。由于给予野兽(miga 鹿,野生动物 )安全感,而划定为野生保护(区)的区域。
+```
+注:该替换优先依照读者的个性化术语系统

+ 5 - 2
documents/users_guide/zh-cn/term_pedia_sys.md

@@ -1,7 +1,10 @@
 ## 术语百科系统
 术语+注释书名词解释=巴利百科词条
+### 视频演示
 
-* 首先[创建术语]("按住Ctrl键点开")
-* 然后[复制句子编号](https://v.youku.com/v_show/id_XNDgwOTg4OTA0NA==.html "按住Ctrl键点开")
+
+### 具体操作
+* 首先创建术语
+* 然后复制句子编号
 * 将句子编号黏贴到下面的输入框中
 * 系统会自动根据句子编号,返回巴利原文、译文以及引用路径