term.css 19 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168
  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. .commentary>.sent_tran_inner>.tool_bar > .right {
  699. display: block;
  700. left:6.2em;
  701. margin-top: calc(-2.1em - 8px);
  702. }
  703. .sent_tran.commentary>.sent_tran_inner{
  704. padding-top: 2.2em;
  705. }
  706. .body > .edit {
  707. display: none;
  708. }
  709. .body > .edit textarea {
  710. /*
  711. color: var(--main-color);
  712. width: 100%;
  713. background-color: var(--drop-bg-color);
  714. border: unset;
  715. border-radius: 8px;
  716. padding: 5px;
  717. line-height: 1.5em;
  718. height: 90px;
  719. font-size: 120%;
  720. */
  721. }
  722. .foot_bar {
  723. font-size: 90%;
  724. }
  725. .foot_bar > .info {
  726. display: flex;
  727. }
  728. .foot_bar > .info span {
  729. margin-right: 4px;
  730. }
  731. .compact .foot_bar {
  732. display: none;
  733. }
  734. .edit_mode {
  735. background-color: #fafafa;
  736. }
  737. .edit_mode > .sent_tran_inner > .body > .head_bar > .preview {
  738. display: none;
  739. }
  740. .edit_mode > .sent_tran_inner > .body > .edit {
  741. display: block;
  742. }
  743. .pop_menu {
  744. display: flex;
  745. }
  746. .tag_list {
  747. display: flex;
  748. list-style-type: none;
  749. }
  750. .tag_list li {
  751. border-radius: 6px;
  752. margin-right: 5px;
  753. background-color: var(--bookx);
  754. padding: 2px 5px;
  755. cursor: pointer;
  756. }
  757. li.active {
  758. background-color: var(--booka);
  759. }
  760. .tag_list li:hover {
  761. background-color: var(--booka);
  762. }
  763. .sent_tran .preview p {
  764. line-height: normal;
  765. margin: 0;
  766. font-family: "Noto Sans", "Noto Sans", "Noto Sans SC", "Noto Sans TC", "Padauk", "ATaiThamKHNewV3-Normal", "Arial",
  767. "Verdana";
  768. }
  769. .pop_menu .icon {
  770. fill: var(--main-color);
  771. }
  772. .pr_content {
  773. margin-left: 3em;
  774. border-left: 3px solid var(--border-line-color);
  775. }
  776. .menu_space_between a {
  777. display: flex;
  778. justify-content: space-between;
  779. }
  780. .body > .head_bar > .loading {
  781. color: gray;
  782. }
  783. .tooltip {
  784. display: inline-flex;
  785. }
  786. .disable {
  787. cursor: not-allowed;
  788. filter: grayscale(100%);
  789. }
  790. .channel_name {
  791. white-space: nowrap;
  792. }
  793. .channel_name:hover {
  794. background-color: var(--btn-border-color);
  795. }
  796. .channel_list {
  797. margin-right: 4px;
  798. }
  799. .pali_div {
  800. padding: 0 10px 5px 10px;
  801. }
  802. .case_dropdown {
  803. min-width: unset;
  804. }
  805. .channel_list > li:first-child {
  806. border-bottom: solid 1px;
  807. justify-content: center;
  808. font-weight: bold;
  809. }
  810. w {
  811. cursor: pointer;
  812. }
  813. w:hover {
  814. text-decoration: underline;
  815. }
  816. /*纵向*/
  817. .vertical .para_div {
  818. flex-direction: column;
  819. }
  820. .vertical .note_shell > note > .note_body {
  821. flex-direction: column;
  822. }
  823. .para_div {
  824. display: flex;
  825. }
  826. .note_shell > note > .note_body {
  827. display: flex;
  828. }
  829. /*段落模式 横向*/
  830. .horizontal .para_div {
  831. flex-direction: row;
  832. }
  833. .horizontal .palitext_div {
  834. flex: 5;
  835. }
  836. .horizontal .para_tran_div {
  837. flex: 5;
  838. }
  839. /*句子模式 横向*/
  840. .horizontal .note_shell > note > .note_body {
  841. flex-direction: row;
  842. }
  843. .horizontal .palitext_div {
  844. flex: 5;
  845. }
  846. .horizontal .sent_tran_div {
  847. flex: 5;
  848. display: flex;
  849. flex-direction: column;
  850. }
  851. /*段落模式*/
  852. .para_mode .para_div {
  853. display: flex;
  854. }
  855. .para_mode .note_shell {
  856. display: none;
  857. }
  858. /*句子模式*/
  859. .sent_mode .para_div {
  860. display: none;
  861. }
  862. .sent_mode .note_shell {
  863. display: block;
  864. }
  865. .preview p:first-child {
  866. display: inline;
  867. }
  868. .sent_tran p:first-child {
  869. display: inline;
  870. }
  871. .sent_tran li {
  872. line-height: normal;
  873. }
  874. .note_foot {
  875. display: flex;
  876. justify-content: space-between;
  877. }
  878. .term_pali {
  879. font-style: italic;
  880. }
  881. .note_body note {
  882. display: inline;
  883. }
  884. span.keybutton {
  885. background-color: gray;
  886. border-radius: 6px;
  887. font-size: 80%;
  888. padding: 0 3px;
  889. color: white;
  890. font-weight: 300;
  891. height: fit-content;
  892. }
  893. #contents_view .focus {
  894. border-radius: 20px;
  895. box-shadow: 0 5px 7px rgb(0 0 0 / 15%);
  896. margin: 10px 0;
  897. background-color: #f5deb36b;
  898. padding: 0.7rem;
  899. word-break: break-word;
  900. }
  901. span.sent_tran {
  902. line-height: 1.7em;
  903. }
  904. .sent_mode span.sent_tran {
  905. display: inline-block;
  906. }
  907. .sent_tran ul,
  908. .sent_tran li {
  909. list-style-type: unset;
  910. margin-left: 1em;
  911. }
  912. .icon_sent_status {
  913. display: none;
  914. width: 22px;
  915. height: 22px;
  916. background-repeat: no-repeat;
  917. background-size: contain;
  918. margin: 0 6px;
  919. }
  920. .icon_sent_status .icon {
  921. width: 22px;
  922. height: 22px;
  923. }
  924. .icon_sent_loading {
  925. background: url(loading.gif);
  926. background-size: contain;
  927. }
  928. .loading .icon_sent_loading {
  929. display: block;
  930. }
  931. .loading .face {
  932. display: none;
  933. }
  934. .error .left_bar > .face {
  935. display: none;
  936. }
  937. .icon_sent_error {
  938. display: none;
  939. fill: red;
  940. cursor: pointer;
  941. background: url(error.svg);
  942. background-size: contain;
  943. }
  944. .error .icon_sent_error {
  945. display: block;
  946. }
  947. .icon_spin {
  948. -webkit-animation: spin 1.5s linear infinite;
  949. animation: spin 1.5s linear infinite;
  950. }
  951. .read .bg_color_1 {
  952. background-color: unset;
  953. }
  954. .read .bg_color_2 {
  955. background: unset;
  956. }
  957. .read .bg_color_3 {
  958. background: unset;
  959. }
  960. .read .bg_color_4 {
  961. background: unset;
  962. }
  963. .read .bg_color_5 {
  964. background: unset;
  965. }
  966. .palitext n {
  967. color: dodgerblue;
  968. }
  969. /*字符串比对*/
  970. del {
  971. color: red;
  972. }
  973. ins {
  974. background-color: greenyellow;
  975. text-decoration: unset;
  976. }
  977. pali>p {
  978. display: inline;
  979. }
  980. .para_mode .palitext{
  981. text-indent: 2em;
  982. }
  983. .sent_mode>div>p {
  984. border-bottom: 0.5em solid var(--btn-color);
  985. }
  986. .circle_num { border: 1px solid var(--border-line-color);
  987. border-radius: 99px;
  988. line-height: 20px;
  989. width: 22px;
  990. text-align: center;
  991. display: inline-block;
  992. margin-left: 5px;
  993. }
  994. /*术语输入AT弹出菜单*/
  995. .text_input>.textarea{
  996. padding: 5px;
  997. font-family: inherit;
  998. width: 100%;
  999. height: 100px;
  1000. resize: vertical;
  1001. font-size: 14px;
  1002. line-height: 1;
  1003. border: 1px solid #ddd;
  1004. white-space: pre-wrap;
  1005. word-break: break-all;
  1006. z-index: 1;
  1007. resize: vertical;
  1008. color: var(--main-color);
  1009. width: 100%;
  1010. background-color: var(--drop-bg-color);
  1011. border: unset;
  1012. border-radius: 8px;
  1013. padding: 5px;
  1014. line-height: 1.5em;
  1015. }
  1016. .text_input>.text_shadow{
  1017. position: absolute;
  1018. width: 100%;
  1019. visibility: hidden;
  1020. }
  1021. .text_input .cursor{
  1022. position: absolute;
  1023. border-left: 1px solid #000;
  1024. }
  1025. .text_input>.menu{
  1026. width: 200px;
  1027. height:300px;
  1028. background-color: var(--tool-bg-color);
  1029. color: var(--btn-color);
  1030. box-shadow: #000;
  1031. position:absolute;
  1032. display: none;
  1033. z-index: 100;
  1034. box-shadow: 0 5px 7px rgb(0 0 0 / 15%);
  1035. }
  1036. .text_input>.menu ul{
  1037. list-style-type: none;
  1038. margin: 0;
  1039. padding: 0;
  1040. }
  1041. .text_input>.menu ul li{
  1042. cursor: pointer;
  1043. }
  1044. .text_input>.menu ul li:hover{
  1045. background-color: var(--btn-border-color);
  1046. }
  1047. .term_at_menu_input{
  1048. padding: 5px;
  1049. border-bottom: 1px solid gray;
  1050. }
  1051. .text_input{
  1052. width:100%;
  1053. position: relative;
  1054. }
  1055. .term_mean {
  1056. /*text-transform: capitalize;*/
  1057. }
  1058. .term_at_menu_ul>.trem_focus{
  1059. border-radius:unset;
  1060. box-shadow:unset;
  1061. margin:unset;
  1062. padding:unset;
  1063. background-color: var(--btn-border-color);
  1064. }
  1065. .preview .nissaya{
  1066. display:inline;
  1067. }
  1068. .preview .nsy_word{
  1069. display:inline;
  1070. }
  1071. .preview .nissaya .nsy_word{
  1072. padding-right:10px;
  1073. }
  1074. .nsy_word .org{
  1075. display:inline;
  1076. font-weight: 700;
  1077. padding-right: 0.5em;
  1078. }
  1079. .nsy_word .meaning{
  1080. display:inline;
  1081. font-weight: 500;
  1082. }
  1083. .nsy_word>.meaning>.grammar_tag{
  1084. background: unset;
  1085. }
  1086. span.sent_tran::first-letter {
  1087. text-transform: capitalize;
  1088. }
  1089. guide.grammar_tag {
  1090. display: unset;
  1091. background: unset;
  1092. background-color: var(--btn-color);
  1093. padding: 0;
  1094. border-radius: 3px;
  1095. margin: 0;
  1096. }
  1097. guide.grammar_tag:hover {
  1098. text-decoration: underline;
  1099. }