term.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693
  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. note:hover chapter {
  106. display: inline;
  107. }
  108. .ref > chapter:first-child {
  109. display: inline;
  110. }
  111. chapter {
  112. display: none;
  113. color: var(--box-bg-color1);
  114. text-decoration: none;
  115. cursor: pointer;
  116. }
  117. chapter::after {
  118. content: " > ";
  119. }
  120. chapter:hover {
  121. color: var(--link-color);
  122. /*text-decoration: underline;*/
  123. }
  124. para {
  125. background-color: var(--drop-bg-color);
  126. padding: 2px 8px;
  127. text-decoration: none;
  128. cursor: pointer;
  129. color: var(--btn-border-color);
  130. border-radius: 5px;
  131. }
  132. para:hover {
  133. text-decoration: underline;
  134. }
  135. commentary,
  136. com,
  137. nt,
  138. blockquote {
  139. margin: 0;
  140. margin-left: 1.5em;
  141. display: block;
  142. border-left: 3px solid gray;
  143. padding-left: 5px;
  144. }
  145. note > .tran {
  146. color: #5c5c5c;
  147. padding-left: 1em;
  148. padding: 0;
  149. position: relative;
  150. margin-top: -0.5em;
  151. line-height: 1.8em;
  152. }
  153. note > .tran > .text {
  154. margin-bottom: 1em;
  155. }
  156. .tran_text_tool_botton {
  157. border-radius: 50%;
  158. border: 2px solid var(--btn-bg-color);
  159. width: fit-content;
  160. padding: 2px;
  161. height: fit-content;
  162. margin-left: -1em;
  163. margin-right: 1em;
  164. background-color: var(--nocolor);
  165. visibility: hidden;
  166. }
  167. .tran_text_tool_botton > .icon_expand {
  168. width: 0.8em;
  169. height: 0.8em;
  170. min-width: 0.8em;
  171. min-height: 0.8em;
  172. }
  173. note > .tran .tran_text_tool_bar,
  174. .tran_text_tool_bar {
  175. padding: 0 0.1em;
  176. position: absolute;
  177. display: none;
  178. color: var(--border-line-color);
  179. z-index: 40;
  180. width: auto;
  181. left: -2em;
  182. font-size: 14px;
  183. height: auto;
  184. line-height: 28px;
  185. background-color: var(--box-bg-color1);
  186. border-radius: 5px;
  187. }
  188. note > .tran:lang(my) .tran_text_tool_bar {
  189. margin-top: -2.5em;
  190. }
  191. note > .tran .tran_text_tool_bar::after,
  192. .tran .tran_text_tool_bar::after {
  193. content: " ";
  194. position: absolute;
  195. left: 1.4em;
  196. bottom: 100%;
  197. border-width: 5px;
  198. border-style: solid;
  199. border-color: transparent transparent var(--box-bg-color1) transparent;
  200. }
  201. .tran:hover > .tran_text_tool_botton {
  202. visibility: visible;
  203. }
  204. .tran_text_tool_bar li {
  205. list-style: none;
  206. display: flex;
  207. white-space: nowrap !important;
  208. }
  209. .tran_text_tool_bar .icon {
  210. margin: auto 0.4em auto 0;
  211. }
  212. .tip_buttom {
  213. padding: 0 0.2em;
  214. margin: 0 0.2em;
  215. cursor: pointer;
  216. background-color: inherit;
  217. border-radius: 5px;
  218. }
  219. .tip_buttom:hover {
  220. background-color: var(--btn-border-color);
  221. }
  222. .tran:hover .edit_button {
  223. display: inline-block;
  224. }
  225. .edit_button {
  226. display: inline-block;
  227. width: auto;
  228. min-width: 24px;
  229. height: auto;
  230. min-height: 24px;
  231. cursor: pointer;
  232. fill: var(--tool-color);
  233. background: url(edit.svg);
  234. background-repeat: no-repeat;
  235. background-size: contain;
  236. color: var(--tool-color);
  237. margin-top: -2em;
  238. }
  239. note > .palitext,
  240. .palitext {
  241. font-family: Noto serif;
  242. line-height: 1.5em;
  243. color: #9f3a01;
  244. font-weight: 500;
  245. margin-bottom: 10px;
  246. }
  247. note n {
  248. display: inline;
  249. color: blue;
  250. }
  251. .term_word_head_pali {
  252. text-transform: capitalize;
  253. font-size: 200%;
  254. margin: 0.5em 0;
  255. }
  256. .term_word_head {
  257. border-bottom: 1px solid #cecece;
  258. padding: 5px 0;
  259. }
  260. .term_block {
  261. border-bottom: 1px solid #cecece;
  262. padding: 5px 0;
  263. }
  264. .term_word_head_authors a {
  265. color: blue;
  266. margin: 0 3px;
  267. }
  268. .term_word_head_authors a:hover {
  269. text-decoration: underline;
  270. cursor: pointer;
  271. }
  272. note .ref {
  273. text-align: right;
  274. font-size: 75%;
  275. white-space: nowrap;
  276. overflow-x: scroll;
  277. margin-left: auto;
  278. border-top: solid 1px var(--nocolor);
  279. position: absolute;
  280. bottom: -1.3em;
  281. right: 0;
  282. max-width: 100%;
  283. right: 1.3em;
  284. }
  285. note:hover .ref {
  286. /*border-top: solid 1px var(--border-line-color);*/
  287. }
  288. .progress_bar_done {
  289. stroke-width: 0;
  290. fill: royalblue;
  291. }
  292. .progress_bar_undone {
  293. stroke-width: 0;
  294. fill: #c0c0c052;
  295. }
  296. .progress_bar_bg {
  297. stroke-width: 0;
  298. fill: #ffffff;
  299. }
  300. .progress_bar_percent {
  301. stroke-width: 0;
  302. fill: limegreen;
  303. }
  304. r {
  305. text-align: right;
  306. display: block;
  307. }
  308. note {
  309. padding: 0.5em 2em;
  310. margin-bottom: 0.4em;
  311. border-radius: 5px;
  312. line-height: 1.3em;
  313. display: block;
  314. background-color: #80808014;
  315. position: relative;
  316. }
  317. note > .bottm_tool_button {
  318. border-radius: 5px;
  319. border: 4px dotted var(--border-line-color);
  320. display: none;
  321. transition: all 0.3s ease;
  322. }
  323. note:hover > .bottm_tool_button {
  324. display: block;
  325. }
  326. .add_new {
  327. display: inline-block;
  328. position: absolute;
  329. min-width: 1.4vw;
  330. display: none;
  331. }
  332. note:hover .add_new {
  333. display: inline-block;
  334. position: absolute;
  335. }
  336. .icon_add {
  337. width: 1.5vw;
  338. min-width: 1.4vw;
  339. height: 1.5vw;
  340. cursor: pointer;
  341. background: url(add.svg);
  342. background-repeat: no-repeat;
  343. background-size: contain;
  344. left: 0;
  345. bottom: 1em;
  346. }
  347. .tool_bar > .more_tran {
  348. display: inline-block;
  349. margin-right: 5px;
  350. transform: rotate(-90deg);
  351. transition: all 0.2s ease;
  352. }
  353. .icon_expand {
  354. width: auto;
  355. min-width: 14px;
  356. height: auto;
  357. min-height: 14px;
  358. cursor: pointer;
  359. background: url(expand.svg);
  360. background-repeat: no-repeat;
  361. background-size: contain;
  362. }
  363. .icon_fold {
  364. width: auto;
  365. min-width: 14px;
  366. height: auto;
  367. min-height: 14px;
  368. cursor: pointer;
  369. background: url(fold.svg);
  370. background-repeat: no-repeat;
  371. background-size: contain;
  372. }
  373. .other_tran_div {
  374. min-height: 1em;
  375. border-top: 1px solid var(--border-line-color);
  376. }
  377. .other_tran_div > .tool_bar {
  378. position: absolute;
  379. margin-top: -0.7em;
  380. background-color: var(--btn-bg-color);
  381. padding: 0 6px;
  382. border-radius: 4px;
  383. cursor: pointer;
  384. display: flex;
  385. }
  386. .other_tran_div > .other_tran {
  387. min-height: 1em;
  388. transition: all 0.2s ease;
  389. display: none;
  390. }
  391. .bg_color_1 {
  392. background-color: #ebebeb66;
  393. }
  394. .bg_color_2 {
  395. background: linear-gradient(to right, #6afdb033, #ebebeb66);
  396. }
  397. .bg_color_3 {
  398. background: linear-gradient(to right, #6a95fd26, #ebebeb66);
  399. }
  400. .bg_color_4 {
  401. background: linear-gradient(to right, #f9e7911c, #ebebeb66);
  402. }
  403. .bg_color_5 {
  404. background: linear-gradient(to right, #fe99b91c, #ebebeb66);
  405. }
  406. pre {
  407. white-space: pre-line;
  408. font-family: auto;
  409. border-left: 3px solid var(--border-shadow);
  410. margin-left: 1em;
  411. padding-left: 0.5em;
  412. }
  413. .note_tool_bar {
  414. position: relative;
  415. display: none;
  416. z-index: 50;
  417. }
  418. note:hover .note_tool_bar {
  419. display: block;
  420. }
  421. .sent_menu {
  422. right: 0;
  423. }
  424. .para_menu {
  425. left: 0;
  426. }
  427. .ui-widget input,
  428. .ui-widget select,
  429. .ui-widget textarea,
  430. .ui-widget button {
  431. font-family: unset;
  432. font-size: 1.1em;
  433. }
  434. .tran p {
  435. margin: 0;
  436. }
  437. .note_tool_context {
  438. position: absolute;
  439. right: -1vw;
  440. width: 1.5em;
  441. text-align: right;
  442. margin-top: -0.3em;
  443. }
  444. .note_tool_context .icon {
  445. fill: var(--link-color);
  446. }
  447. .note_tool_context:hover .icon {
  448. fill: (--link-hover-color);
  449. }
  450. .channel_select {
  451. display: none;
  452. }
  453. #channal_list .selected {
  454. background: linear-gradient(to right, #6afdb033, #ebebeb66);
  455. padding: 5px;
  456. border-radius: 5px;
  457. }
  458. #channal_list .noselect {
  459. background-color: unset;
  460. padding: 5px;
  461. border-radius: 5px;
  462. }
  463. .other_tran_num {
  464. -webkit-border-radius: 7px;
  465. border-radius: 7px;
  466. background-color: cornflowerblue;
  467. position: relative;
  468. min-width: 14px;
  469. height: 14px;
  470. display: inline-flex;
  471. justify-content: center;
  472. text-align: center;
  473. line-height: 14px;
  474. display: none;
  475. margin: auto 2px;
  476. color: whitesmoke;
  477. }
  478. .separate_line {
  479. border: solid 1px #e8e8e8;
  480. border-radius: 3px;
  481. margin: 1px 5px;
  482. width: 1px;
  483. background: #c6c6c6;
  484. text-decoration: none;
  485. }
  486. pw {
  487. padding-right: 0.5em;
  488. }
  489. .slider_show_shell {
  490. position: fixed;
  491. z-index: 1000;
  492. top: 0;
  493. left: 0;
  494. width: 100%;
  495. height: 85%;
  496. background-color: #000000f5;
  497. font-size: 180%;
  498. padding-top: 2em;
  499. }
  500. .slider_show_shell .bg_color_1 {
  501. background-color: unset;
  502. }
  503. /*编辑框*/
  504. .sent_tran {
  505. padding: 5px;
  506. margin-bottom: 2px;
  507. }
  508. .sent_tran_inner {
  509. display: flex;
  510. }
  511. .sent_tran:hover {
  512. background-color: #fafafa;
  513. }
  514. .left_bar {
  515. width: 40px;
  516. }
  517. .sent_tran .left_bar > .face {
  518. display: block;
  519. }
  520. .compact .left_bar > .face {
  521. display: none;
  522. }
  523. .left_bar > .date {
  524. display: none;
  525. }
  526. .compact .left_bar > .date {
  527. display: block;
  528. }
  529. .sent_tran_inner > .body {
  530. width: 100%;
  531. display: block;
  532. }
  533. .preview {
  534. font-size: 110%;
  535. }
  536. .compact .body > .head_bar {
  537. display: flex;
  538. }
  539. .compact .body > .head_bar > .date {
  540. display: none;
  541. }
  542. .head_bar > .info {
  543. display: none;
  544. }
  545. .head_bar > .info > .name {
  546. font-weight: 700;
  547. }
  548. .head_bar > .info > .date {
  549. font-size: 0.8em;
  550. color: gray;
  551. }
  552. .compact .head_bar > .info {
  553. display: block;
  554. }
  555. .compact .head_bar > .info > .date {
  556. display: none;
  557. }
  558. .foot_bar .info {
  559. color: gray;
  560. }
  561. .tool_bar > .right {
  562. position: absolute;
  563. right: 0;
  564. margin-top: -18px;
  565. display: none;
  566. width: auto;
  567. background-color: var(--bg-color);
  568. border: 1px solid var(--border-line-color);
  569. border-radius: 6px;
  570. padding: 3px;
  571. margin-right: 20px;
  572. }
  573. .sent_tran_inner:hover .tool_bar > .right {
  574. display: block;
  575. }
  576. .body > .edit {
  577. display: none;
  578. }
  579. .body > .edit textarea {
  580. color: var(--main-color);
  581. width: 100%;
  582. background-color: var(--drop-bg-color);
  583. border: unset;
  584. border-radius: 8px;
  585. padding: 5px;
  586. line-height: 1.5em;
  587. height: 90px;
  588. font-size: 120%;
  589. }
  590. .foot_bar {
  591. font-size: 90%;
  592. }
  593. .foot_bar > .info {
  594. display: flex;
  595. }
  596. .foot_bar > .info span {
  597. margin-right: 4px;
  598. }
  599. .compact .foot_bar {
  600. display: none;
  601. }
  602. .edit_mode {
  603. background-color: #fafafa;
  604. }
  605. .edit_mode > .sent_tran_inner > .body > .head_bar > .preview {
  606. display: none;
  607. }
  608. .edit_mode > .sent_tran_inner > .body > .edit {
  609. display: block;
  610. }
  611. .pop_menu {
  612. display: flex;
  613. }
  614. .tag_list {
  615. display: flex;
  616. list-style-type: none;
  617. }
  618. .tag_list li {
  619. border-radius: 6px;
  620. margin-right: 5px;
  621. background-color: var(--bookx);
  622. padding: 2px 5px;
  623. cursor: pointer;
  624. }
  625. li.active {
  626. background-color: var(--booka);
  627. }
  628. .tag_list li:hover {
  629. background-color: var(--booka);
  630. }
  631. .sent_tran .preview p {
  632. margin: 0;
  633. }
  634. .pop_menu .icon {
  635. fill: var(--main-color);
  636. }
  637. .pr_content {
  638. margin-left: 3em;
  639. border-left: 3px solid var(--border-line-color);
  640. }
  641. .menu_space_between a {
  642. display: flex;
  643. justify-content: space-between;
  644. }
  645. .body > .head_bar > .loading {
  646. color: gray;
  647. }