term.css 19 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136
  1. .term_link:hover .guide_contence {
  2. display: inline-block;
  3. }
  4. .term_meaning {
  5. font-weight: 700;
  6. }
  7. .term_author {
  8. font-size: 80%;
  9. color: gray;
  10. }
  11. .term_tag {
  12. font-size: 80%;
  13. font-weight: 500;
  14. margin: 0 8px;
  15. }
  16. .term_link {
  17. cursor: pointer;
  18. position: relative;
  19. }
  20. .term_link,
  21. .term_link_new {
  22. color: blue;
  23. padding-left: 2px;
  24. padding-right: 2px;
  25. }
  26. .term_link_new {
  27. color: red;
  28. }
  29. .tran {
  30. line-height: 1.5em;
  31. }
  32. .tran ul {
  33. list-style-type: circle;
  34. margin-left: 2em;
  35. }
  36. .tran li {
  37. list-style: inherit;
  38. }
  39. .tran ol {
  40. list-style-type: decimal;
  41. margin: 0;
  42. padding: 0;
  43. margin-left: 2em;
  44. }
  45. .tran:lang(en) > ol {
  46. list-style-type: decimal;
  47. }
  48. /*中文*/
  49. .tran:lang(zh) > ol {
  50. list-style-type: cjk-ideographic;
  51. margin-left: 2.5em;
  52. }
  53. /*简体中文*/
  54. .tran:lang(zh-cn) > ol {
  55. list-style-type: trad-chinese-formal;
  56. margin-left: 2.5em;
  57. }
  58. .tran:lang(zh-hans) > ol {
  59. list-style-type: trad-chinese-formal;
  60. margin-left: 2.5em;
  61. }
  62. /*繁体中文*/
  63. .tran:lang(zh-tw) > ol {
  64. list-style-type: trad-chinese-formal;
  65. margin-left: 2.5em;
  66. }
  67. .tran:lang(zh-hant) > ol {
  68. list-style-type: trad-chinese-formal;
  69. margin-left: 2.5em;
  70. }
  71. /*japanese*/
  72. .tran:lang(jp) > ol {
  73. list-style-type: hiragana;
  74. margin-left: 2.5em;
  75. }
  76. /*kora*/
  77. .tran:lang(ko) > ol {
  78. list-style-type: korean-hangul-formal;
  79. margin-left: 2.5em;
  80. }
  81. /*thai*/
  82. .tran:lang(ti) > ol {
  83. list-style-type: thai;
  84. margin-left: 2em;
  85. }
  86. /*myanmar*/
  87. .tran:lang(my) > ol {
  88. list-style-type: myanmar;
  89. margin-left: 2em;
  90. }
  91. /*myanmar*/
  92. .tran:lang(my) {
  93. font-size: 120%;
  94. line-height: 2em;
  95. }
  96. .tran_div {
  97. margin-bottom: 1em;
  98. padding-bottom: 1em;
  99. padding-top: 0.5em;
  100. border-bottom: 1px solid var(--border-line-color);
  101. }
  102. .tran_div:last-child {
  103. border-bottom: none;
  104. }
  105. .ref .tooltiptext {
  106. background-color: seashell;
  107. }
  108. .ref .tooltip .tooltiptext {
  109. left: calc(100% - 65vw);
  110. right: 0;
  111. box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 10px;
  112. white-space: normal;
  113. max-width: 80vw;
  114. }
  115. .ref .tooltip .tooltip-bottom::after {
  116. left: 90%;
  117. border-color: transparent transparent seashell transparent;
  118. }
  119. .ref .tooltip-bottom {
  120. top: 100%;
  121. left: unset;
  122. margin-left: unset;
  123. }
  124. note:hover chapter {
  125. display: inline;
  126. /*position: absolute;*/
  127. }
  128. .ref > .book_name > chapter:first-child {
  129. display: inline;
  130. }
  131. chapter {
  132. display: none;
  133. color: var(--box-bg-color1);
  134. text-decoration: none;
  135. cursor: pointer;
  136. }
  137. .path chapter {
  138. display: unset;
  139. }
  140. chapter::after {
  141. content: " > ";
  142. }
  143. chapter:hover {
  144. color: var(--link-color);
  145. /*text-decoration: underline;*/
  146. }
  147. .tooltiptext chapter {
  148. display: inline;
  149. }
  150. para {
  151. background-color: var(--drop-bg-color);
  152. padding: 0 4px;
  153. text-decoration: none;
  154. cursor: pointer;
  155. color: var(--btn-border-color);
  156. border-radius: 5px;
  157. display: none;
  158. }
  159. .tooltiptext para {
  160. display: inline;
  161. }
  162. .path para {
  163. display: unset;
  164. }
  165. para:hover {
  166. text-decoration: underline;
  167. }
  168. #contents_div .sent_no_read_mode {
  169. display: none;
  170. }
  171. commentary,
  172. com,
  173. nt,
  174. blockquote {
  175. margin: 0;
  176. margin-left: 1.5em;
  177. display: block;
  178. border-left: 3px solid gray;
  179. padding-left: 5px;
  180. }
  181. .read blockquote {
  182. font-size: 80%;
  183. color: var(--main-color1);
  184. background-color: #7d7d7d1f;
  185. }
  186. note > .tran {
  187. color: #5c5c5c;
  188. padding-left: 1em;
  189. padding: 0;
  190. position: relative;
  191. margin-top: -0.5em;
  192. line-height: 1.8em;
  193. }
  194. note > .tran > .text {
  195. margin-bottom: 1em;
  196. }
  197. .tran_text_tool_botton {
  198. border-radius: 50%;
  199. border: 2px solid var(--btn-bg-color);
  200. width: fit-content;
  201. padding: 2px;
  202. height: fit-content;
  203. margin-left: -1em;
  204. margin-right: 1em;
  205. background-color: var(--nocolor);
  206. visibility: hidden;
  207. }
  208. .tran_text_tool_botton > .icon_expand {
  209. width: 0.8em;
  210. height: 0.8em;
  211. min-width: 0.8em;
  212. min-height: 0.8em;
  213. }
  214. note > .tran .tran_text_tool_bar,
  215. .tran_text_tool_bar {
  216. padding: 0.5em 1em;
  217. position: absolute;
  218. display: none;
  219. color: var(--border-line-color);
  220. z-index: 40;
  221. width: auto;
  222. font-size: 14px;
  223. height: auto;
  224. line-height: 28px;
  225. background-color: var(--box-bg-color1);
  226. border-radius: 5px;
  227. }
  228. note > .tran:lang(my) .tran_text_tool_bar {
  229. margin-top: -2.5em;
  230. }
  231. note > .tran .tran_text_tool_bar::after,
  232. .tran .tran_text_tool_bar::after {
  233. content: " ";
  234. position: absolute;
  235. left: 1.4em;
  236. bottom: 100%;
  237. border-width: 5px;
  238. border-style: solid;
  239. border-color: transparent transparent var(--box-bg-color1) transparent;
  240. }
  241. .tran:hover > .tran_text_tool_botton {
  242. visibility: visible;
  243. }
  244. .tran_text_tool_bar li {
  245. list-style: none;
  246. display: flex;
  247. white-space: nowrap !important;
  248. }
  249. .tran_text_tool_bar .icon {
  250. margin: auto 0.4em auto 0;
  251. }
  252. .tip_buttom {
  253. padding: 0 0.2em;
  254. margin: 0 0.2em;
  255. cursor: pointer;
  256. background-color: inherit;
  257. border-radius: 5px;
  258. }
  259. .tip_buttom:hover {
  260. background-color: var(--btn-border-color);
  261. }
  262. .tran:hover .edit_button {
  263. display: inline-block;
  264. }
  265. .edit_button {
  266. display: inline-block;
  267. width: auto;
  268. min-width: 24px;
  269. height: auto;
  270. min-height: 24px;
  271. cursor: pointer;
  272. fill: var(--tool-color);
  273. background: url(edit.svg);
  274. background-repeat: no-repeat;
  275. background-size: contain;
  276. color: var(--tool-color);
  277. margin-top: -2em;
  278. }
  279. note > .palitext,
  280. .palitext {
  281. line-height: 2em;
  282. color: #9f3a01;
  283. margin: 4px;
  284. overflow-wrap: anywhere;
  285. }
  286. h1 .palitext {
  287. /*font-family: "Noto Serif", "Noto Sans TC", "Noto Sans SC";*/
  288. font-weight: 700;
  289. font-size: 130%;
  290. }
  291. h2 .palitext {
  292. /*font-family: "Noto Serif", "Noto Sans TC", "Noto Sans SC";*/
  293. font-weight: 700;
  294. font-size: 120%;
  295. }
  296. note n {
  297. display: inline;
  298. color: blue;
  299. }
  300. .palitext2 n {
  301. /*display: none;*/
  302. }
  303. .term_word_head_pali {
  304. text-transform: capitalize;
  305. font-size: 200%;
  306. margin-top: 0.5em;
  307. overflow-x: clip;
  308. white-space: nowrap;
  309. }
  310. .term_word_head {
  311. border-bottom: 1px solid #cecece;
  312. padding: 5px 0;
  313. }
  314. .term_block {
  315. }
  316. .term_block h2{
  317. margin: 0;
  318. }
  319. .term_popup_foot{
  320. display: flex;
  321. justify-content: space-between;
  322. }
  323. .guide_contence .term_note{
  324. border-bottom: 1px solid var(--border-line-color);
  325. min-height: 9em;
  326. }
  327. .term_word_head_authors a {
  328. color: blue;
  329. margin: 0 3px;
  330. }
  331. .term_word_head_authors a:hover {
  332. text-decoration: underline;
  333. cursor: pointer;
  334. }
  335. note .ref {
  336. font-size: 75%;
  337. white-space: nowrap;
  338. max-width: 45%;
  339. text-align: right;
  340. /*position: absolute;
  341. right: 1em;*/
  342. }
  343. note:hover .ref {
  344. /*border-top: solid 1px var(--border-line-color);*/
  345. }
  346. .progress_bar_done {
  347. stroke-width: 0;
  348. fill: royalblue;
  349. }
  350. .progress_bar_undone {
  351. stroke-width: 0;
  352. fill: #c0c0c052;
  353. }
  354. .progress_bar_bg {
  355. stroke-width: 0;
  356. fill: #ffffff;
  357. }
  358. .progress_bar_percent {
  359. stroke-width: 0;
  360. fill: limegreen;
  361. }
  362. r {
  363. text-align: right;
  364. display: block;
  365. }
  366. note {
  367. padding: 0.5em 0 0 0;
  368. margin-bottom: 0.4em;
  369. border-radius: 5px;
  370. line-height: 1.3em;
  371. display: block;
  372. background-color: #80808014;
  373. position: relative;
  374. border: solid 2px var(--btn-bg-color);
  375. }
  376. .read note {
  377. border:unset;
  378. }
  379. note > .bottm_tool_button {
  380. border-radius: 5px;
  381. border: 4px dotted var(--border-line-color);
  382. display: none;
  383. transition: all 0.3s ease;
  384. }
  385. note:hover > .bottm_tool_button {
  386. display: block;
  387. }
  388. .add_new {
  389. display: inline-block;
  390. position: absolute;
  391. min-width: 1.4vw;
  392. display: none;
  393. }
  394. note:hover .add_new {
  395. display: inline-block;
  396. position: absolute;
  397. }
  398. .icon_add {
  399. width: 1.5vw;
  400. min-width: 1.4vw;
  401. height: 1.5vw;
  402. cursor: pointer;
  403. background: url(add.svg);
  404. background-repeat: no-repeat;
  405. background-size: contain;
  406. left: 0;
  407. bottom: 1em;
  408. }
  409. .tool_bar > .more_tran {
  410. display: inline-block;
  411. margin-right: 5px;
  412. transform: rotate(-90deg);
  413. transition: all 0.2s ease;
  414. }
  415. .icon_expand {
  416. width: auto;
  417. min-width: 14px;
  418. height: auto;
  419. min-height: 14px;
  420. cursor: pointer;
  421. background: url(expand.svg);
  422. background-repeat: no-repeat;
  423. background-size: contain;
  424. }
  425. .icon_fold {
  426. width: auto;
  427. min-width: 14px;
  428. height: auto;
  429. min-height: 14px;
  430. cursor: pointer;
  431. background: url(fold.svg);
  432. background-repeat: no-repeat;
  433. background-size: contain;
  434. }
  435. .other_tran_div {
  436. min-height: 1em;
  437. border-top: 1px solid var(--border-line-color);
  438. }
  439. .other_tran_div > .tool_bar {
  440. background-color: var(--btn-bg-color);
  441. padding: 0 6px;
  442. border-radius: 0 0 4px 4px;
  443. cursor: pointer;
  444. justify-content: space-between;
  445. line-height: 1.5em;
  446. }
  447. .other_tran_div > .tool_bar > .tool_left {
  448. white-space: nowrap;
  449. }
  450. .other_tran_div > .tool_bar > .tool_right {
  451. white-space: pre-wrap;
  452. margin-left: auto;
  453. }
  454. .other_tran_div > .other_tran {
  455. min-height: 1em;
  456. transition: all 0.2s ease;
  457. display: none;
  458. }
  459. .tool_bar {
  460. display: flex;
  461. }
  462. .bg_color_1 {
  463. background-color: #ebebeb66;
  464. }
  465. .bg_color_2 {
  466. background: linear-gradient(to left, #6afdb033, #ebebeb66);
  467. }
  468. .bg_color_3 {
  469. background: linear-gradient(to left, #6a95fd26, #ebebeb66);
  470. }
  471. .bg_color_4 {
  472. background: linear-gradient(to left, #f9e7911c, #ebebeb66);
  473. }
  474. .bg_color_5 {
  475. background: linear-gradient(to left, #fe99b91c, #ebebeb66);
  476. }
  477. pre {
  478. white-space: pre-line;
  479. font-family: auto;
  480. border-left: 3px solid var(--border-shadow);
  481. margin-left: 1em;
  482. padding-left: 0.5em;
  483. }
  484. .note_tool_bar {
  485. position: relative;
  486. display: none;
  487. z-index: 50;
  488. margin-right: 1em;
  489. }
  490. note:hover .note_tool_bar {
  491. display: block;
  492. }
  493. .sent_menu {
  494. right: 0;
  495. }
  496. .para_menu {
  497. left: 0;
  498. }
  499. .ui-widget input,
  500. .ui-widget select,
  501. .ui-widget textarea,
  502. .ui-widget button {
  503. font-family: unset;
  504. font-size: 1.1em;
  505. }
  506. .tran p {
  507. margin: 0;
  508. }
  509. .note_tool_context {
  510. position: absolute;
  511. right: -1vw;
  512. width: 1.5em;
  513. text-align: right;
  514. margin-top: -0.3em;
  515. }
  516. .note_tool_context .icon {
  517. fill: var(--link-color);
  518. }
  519. .note_tool_context:hover .icon {
  520. fill: (--link-hover-color);
  521. }
  522. .channel_select {
  523. display: none;
  524. }
  525. #channal_list .selected {
  526. background: linear-gradient(to right, #6afdb033, #ebebeb66);
  527. padding: 5px;
  528. border-radius: 5px;
  529. }
  530. #channal_list .noselect {
  531. background-color: unset;
  532. padding: 5px;
  533. border-radius: 5px;
  534. }
  535. .other_tran_num,
  536. .similar_sent_num {
  537. -webkit-border-radius: 7px;
  538. border-radius: 7px;
  539. background-color: cornflowerblue;
  540. position: relative;
  541. min-width: 14px;
  542. height: 14px;
  543. display: inline-flex;
  544. justify-content: center;
  545. text-align: center;
  546. line-height: 14px;
  547. display: none;
  548. margin: auto 2px;
  549. color: whitesmoke;
  550. padding: 0 3px;
  551. }
  552. .similar_sent_num {
  553. display: inline-flex;
  554. }
  555. .separate_line {
  556. border: solid 1px #e8e8e8;
  557. border-radius: 3px;
  558. margin: 1px 5px;
  559. width: 1px;
  560. background: #c6c6c6;
  561. text-decoration: none;
  562. }
  563. pw {
  564. padding-right: 0.5em;
  565. }
  566. .slider_show_shell {
  567. position: fixed;
  568. z-index: 1000;
  569. top: 0;
  570. left: 0;
  571. width: 100%;
  572. height: 85%;
  573. background-color: #000000f5;
  574. font-size: 180%;
  575. padding-top: 2em;
  576. }
  577. .slider_show_shell .bg_color_1 {
  578. background-color: unset;
  579. }
  580. /*编辑框*/
  581. .sent_tran {
  582. padding: 5px;
  583. margin-bottom: 2px;
  584. }
  585. .sent_tran_inner {
  586. display: flex;
  587. }
  588. .sent_tran:hover {
  589. background-color: rgba(0.5, 0.5, 0.5, 0.02);
  590. }
  591. .left_bar {
  592. flex: 1;
  593. display: flex;
  594. margin-right: 5px;
  595. }
  596. .sent_tran .left_bar > .face {
  597. display: block;
  598. margin: 0 0.5em auto auto;
  599. }
  600. .compact .left_bar > .face {
  601. display: none;
  602. }
  603. .left_bar > .date {
  604. display: none;
  605. }
  606. .compact .left_bar > .date {
  607. display: block;
  608. font-size: 80%;
  609. color: var(--main-color1);
  610. }
  611. .sent_tran_inner > .body {
  612. width: 100%;
  613. display: block;
  614. flex: 20;
  615. }
  616. .sent_tran_div a{
  617. white-space: normal;
  618. overflow-wrap: anywhere;
  619. }
  620. .para_tran_div a{
  621. white-space: normal;
  622. overflow-wrap: anywhere;
  623. }
  624. .preview {
  625. font-size: 110%;
  626. width: -webkit-fill-available;
  627. }
  628. .preview::first-letter {
  629. text-transform:capitalize;
  630. }
  631. .sent_tran > p::first-letter {
  632. text-transform:capitalize;
  633. }
  634. .compact .body > .head_bar {
  635. display: flex;
  636. }
  637. .compact .body > .head_bar > .date {
  638. display: none;
  639. }
  640. .head_bar > .info {
  641. display: none;
  642. }
  643. .head_bar > .info > .name {
  644. font-weight: 700;
  645. white-space: nowrap;
  646. margin-right: 0.5em;
  647. }
  648. .head_bar > .info > .editor_name {
  649. display: none;
  650. }
  651. .pr .head_bar > .info > .editor_name {
  652. display: inline-block;
  653. }
  654. .pr .head_bar > .info > .channel_name {
  655. display: none;
  656. }
  657. .head_bar > .info > .date {
  658. font-size: 0.8em;
  659. color: gray;
  660. }
  661. .compact .head_bar > .info {
  662. display: block;
  663. }
  664. .compact .head_bar > .info > .date {
  665. display: none;
  666. }
  667. .foot_bar .info {
  668. color: var(--btn-border-line-color);
  669. }
  670. .tool_bar > .right {
  671. position: absolute;
  672. right: 2em;
  673. margin-top: calc(-1.8em - 8px);
  674. display: none;
  675. width: auto;
  676. background-color: var(--bg-color);
  677. border: 1px solid var(--border-line-color);
  678. border-radius: 6px;
  679. padding: 3px;
  680. /*margin-right: 20px;*/
  681. }
  682. .commentary .tool_bar > .right{
  683. /*left: 8em;*/
  684. width: 8em;
  685. }
  686. .translation>.sent_tran_inner>.tool_bar > .right{
  687. right: 2em;
  688. }
  689. .sent_tran_inner:hover .tool_bar > .right {
  690. /*display: block;*/
  691. }
  692. .list_with_head:hover .tool_bar > .right {
  693. /*display: block;*/
  694. }
  695. .list_with_head {
  696. position: relative;
  697. }
  698. .body > .edit {
  699. display: none;
  700. }
  701. .body > .edit textarea {
  702. /*
  703. color: var(--main-color);
  704. width: 100%;
  705. background-color: var(--drop-bg-color);
  706. border: unset;
  707. border-radius: 8px;
  708. padding: 5px;
  709. line-height: 1.5em;
  710. height: 90px;
  711. font-size: 120%;
  712. */
  713. }
  714. .foot_bar {
  715. font-size: 90%;
  716. }
  717. .foot_bar > .info {
  718. display: flex;
  719. }
  720. .foot_bar > .info span {
  721. margin-right: 4px;
  722. }
  723. .compact .foot_bar {
  724. display: none;
  725. }
  726. .edit_mode {
  727. background-color: #fafafa;
  728. }
  729. .edit_mode > .sent_tran_inner > .body > .head_bar > .preview {
  730. display: none;
  731. }
  732. .edit_mode > .sent_tran_inner > .body > .edit {
  733. display: block;
  734. }
  735. .pop_menu {
  736. display: flex;
  737. }
  738. .tag_list {
  739. display: flex;
  740. list-style-type: none;
  741. }
  742. .tag_list li {
  743. border-radius: 6px;
  744. margin-right: 5px;
  745. background-color: var(--bookx);
  746. padding: 2px 5px;
  747. cursor: pointer;
  748. }
  749. li.active {
  750. background-color: var(--booka);
  751. }
  752. .tag_list li:hover {
  753. background-color: var(--booka);
  754. }
  755. .sent_tran .preview p {
  756. line-height: normal;
  757. margin: 0;
  758. font-family: "Noto Sans", "Noto Sans", "Noto Sans SC", "Noto Sans TC", "Padauk", "ATaiThamKHNewV3-Normal", "Arial",
  759. "Verdana";
  760. }
  761. .pop_menu .icon {
  762. fill: var(--main-color);
  763. }
  764. .pr_content {
  765. margin-left: 3em;
  766. border-left: 3px solid var(--border-line-color);
  767. }
  768. .menu_space_between a {
  769. display: flex;
  770. justify-content: space-between;
  771. }
  772. .body > .head_bar > .loading {
  773. color: gray;
  774. }
  775. .tooltip {
  776. display: inline-flex;
  777. }
  778. .disable {
  779. cursor: not-allowed;
  780. filter: grayscale(100%);
  781. }
  782. .channel_name {
  783. white-space: nowrap;
  784. }
  785. .channel_name:hover {
  786. background-color: var(--btn-border-color);
  787. }
  788. .channel_list {
  789. margin-right: 4px;
  790. }
  791. .pali_div {
  792. padding: 0 10px 5px 10px;
  793. }
  794. .case_dropdown {
  795. min-width: unset;
  796. }
  797. .channel_list > li:first-child {
  798. border-bottom: solid 1px;
  799. justify-content: center;
  800. font-weight: bold;
  801. }
  802. w {
  803. cursor: pointer;
  804. }
  805. w:hover {
  806. text-decoration: underline;
  807. }
  808. /*纵向*/
  809. .vertical .para_div {
  810. flex-direction: column;
  811. }
  812. .vertical .note_shell > note > .note_body {
  813. flex-direction: column;
  814. }
  815. .para_div {
  816. display: flex;
  817. }
  818. .note_shell > note > .note_body {
  819. display: flex;
  820. }
  821. /*段落模式 横向*/
  822. .horizontal .para_div {
  823. flex-direction: row;
  824. }
  825. .horizontal .palitext_div {
  826. flex: 5;
  827. }
  828. .horizontal .para_tran_div {
  829. flex: 5;
  830. }
  831. /*句子模式 横向*/
  832. .horizontal .note_shell > note > .note_body {
  833. flex-direction: row;
  834. }
  835. .horizontal .palitext_div {
  836. flex: 5;
  837. }
  838. .horizontal .sent_tran_div {
  839. flex: 5;
  840. display: flex;
  841. flex-direction: column;
  842. }
  843. /*段落模式*/
  844. .para_mode .para_div {
  845. display: flex;
  846. }
  847. .para_mode .note_shell {
  848. display: none;
  849. }
  850. /*句子模式*/
  851. .sent_mode .para_div {
  852. display: none;
  853. }
  854. .sent_mode .note_shell {
  855. display: block;
  856. }
  857. .sent_tran p {
  858. display: inline;
  859. }
  860. .sent_tran li {
  861. line-height: normal;
  862. }
  863. .note_foot {
  864. display: flex;
  865. justify-content: space-between;
  866. }
  867. .term_pali {
  868. font-style: italic;
  869. }
  870. .note_body note {
  871. display: inline;
  872. }
  873. span.keybutton {
  874. background-color: gray;
  875. border-radius: 6px;
  876. font-size: 80%;
  877. padding: 0 3px;
  878. color: white;
  879. font-weight: 300;
  880. height: fit-content;
  881. }
  882. #contents_view .focus {
  883. border-radius: 20px;
  884. box-shadow: 0 5px 7px rgb(0 0 0 / 15%);
  885. margin: 10px 0;
  886. background-color: #f5deb36b;
  887. padding: 0.7rem;
  888. word-break: break-word;
  889. }
  890. span.sent_tran {
  891. line-height: 1.7em;
  892. }
  893. .sent_mode span.sent_tran {
  894. display: inline-block;
  895. }
  896. .sent_tran ul,
  897. .sent_tran li {
  898. list-style-type: unset;
  899. margin-left: 1em;
  900. }
  901. .icon_sent_status {
  902. display: none;
  903. width: 22px;
  904. height: 22px;
  905. background-repeat: no-repeat;
  906. background-size: contain;
  907. margin: 0 6px;
  908. }
  909. .icon_sent_status .icon {
  910. width: 22px;
  911. height: 22px;
  912. }
  913. .icon_sent_loading {
  914. background: url(loading.gif);
  915. background-size: contain;
  916. }
  917. .loading .icon_sent_loading {
  918. display: block;
  919. }
  920. .loading .face {
  921. display: none;
  922. }
  923. .error .left_bar > .face {
  924. display: none;
  925. }
  926. .icon_sent_error {
  927. display: none;
  928. fill: red;
  929. cursor: pointer;
  930. background: url(error.svg);
  931. background-size: contain;
  932. }
  933. .error .icon_sent_error {
  934. display: block;
  935. }
  936. .icon_spin {
  937. -webkit-animation: spin 1.5s linear infinite;
  938. animation: spin 1.5s linear infinite;
  939. }
  940. .read .bg_color_1 {
  941. background-color: unset;
  942. }
  943. .read .bg_color_2 {
  944. background: unset;
  945. }
  946. .read .bg_color_3 {
  947. background: unset;
  948. }
  949. .read .bg_color_4 {
  950. background: unset;
  951. }
  952. .read .bg_color_5 {
  953. background: unset;
  954. }
  955. .palitext n {
  956. color: dodgerblue;
  957. }
  958. /*字符串比对*/
  959. del {
  960. color: red;
  961. }
  962. ins {
  963. background-color: greenyellow;
  964. text-decoration: unset;
  965. }
  966. pali>p {
  967. display: inline;
  968. }
  969. .para_mode .palitext{
  970. text-indent: 2em;
  971. }
  972. .sent_mode>div>p {
  973. border-bottom: 0.5em solid var(--btn-color);
  974. }
  975. .circle_num { border: 1px solid var(--border-line-color);
  976. border-radius: 99px;
  977. line-height: 20px;
  978. width: 22px;
  979. text-align: center;
  980. display: inline-block;
  981. margin-left: 5px;
  982. }
  983. /*术语输入AT弹出菜单*/
  984. .text_input>.textarea{
  985. padding: 5px;
  986. font-family: inherit;
  987. width: 100%;
  988. height: 100px;
  989. resize: vertical;
  990. font-size: 14px;
  991. line-height: 1;
  992. border: 1px solid #ddd;
  993. white-space: pre-wrap;
  994. word-break: break-all;
  995. z-index: 1;
  996. resize: vertical;
  997. color: var(--main-color);
  998. width: 100%;
  999. background-color: var(--drop-bg-color);
  1000. border: unset;
  1001. border-radius: 8px;
  1002. padding: 5px;
  1003. line-height: 1.5em;
  1004. }
  1005. .text_input>.text_shadow{
  1006. position: absolute;
  1007. width: 100%;
  1008. visibility: hidden;
  1009. }
  1010. .text_input .cursor{
  1011. position: absolute;
  1012. border-left: 1px solid #000;
  1013. }
  1014. .text_input>.menu{
  1015. width: 200px;
  1016. height:300px;
  1017. background-color: var(--tool-bg-color);
  1018. color: var(--btn-color);
  1019. box-shadow: #000;
  1020. position:absolute;
  1021. display: none;
  1022. z-index: 100;
  1023. box-shadow: 0 5px 7px rgb(0 0 0 / 15%);
  1024. }
  1025. .text_input>.menu ul{
  1026. list-style-type: none;
  1027. margin: 0;
  1028. padding: 0;
  1029. }
  1030. .text_input>.menu ul li{
  1031. cursor: pointer;
  1032. }
  1033. .text_input>.menu ul li:hover{
  1034. background-color: var(--btn-border-color);
  1035. }
  1036. .term_at_menu_input{
  1037. padding: 5px;
  1038. border-bottom: 1px solid gray;
  1039. }
  1040. .text_input{
  1041. width:100%;
  1042. position: relative;
  1043. }
  1044. .term_mean {
  1045. /*text-transform: capitalize;*/
  1046. }
  1047. .term_at_menu_ul>.trem_focus{
  1048. border-radius:unset;
  1049. box-shadow:unset;
  1050. margin:unset;
  1051. padding:unset;
  1052. background-color: var(--btn-border-color);
  1053. }
  1054. .preview .nissaya{
  1055. display:inline;
  1056. }
  1057. .preview .nissaya .nsy_word{
  1058. padding-right:10px;
  1059. }
  1060. .preview .nissaya .nsy_word .org{
  1061. display:inline;
  1062. font-weight: 700;
  1063. }
  1064. .preview .nissaya .nsy_word .meaning{
  1065. display:inline;
  1066. font-weight: 500;
  1067. }
  1068. span.sent_tran::first-letter {
  1069. text-transform: capitalize;
  1070. }