term.css 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527
  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. }
  152. note > .tran > .text {
  153. margin-bottom: 1em;
  154. }
  155. .tran_text_tool_botton {
  156. border-radius: 50%;
  157. border: 2px solid var(--btn-bg-color);
  158. width: fit-content;
  159. padding: 2px;
  160. height: fit-content;
  161. margin-left: -1em;
  162. margin-right: 1em;
  163. background-color: var(--nocolor);
  164. visibility: hidden;
  165. }
  166. .tran_text_tool_botton > .icon_expand {
  167. width: 0.8em;
  168. height: 0.8em;
  169. min-width: 0.8em;
  170. min-height: 0.8em;
  171. }
  172. note > .tran .tran_text_tool_bar,
  173. .tran_text_tool_bar {
  174. padding: 0 0.1em;
  175. position: absolute;
  176. display: none;
  177. color: var(--border-line-color);
  178. z-index: 40;
  179. width: auto;
  180. left: -2em;
  181. font-size: 14px;
  182. height: auto;
  183. line-height: 28px;
  184. margin-top: 1em;
  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;
  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 > .palitext > note {
  248. display: inline;
  249. color: blue;
  250. background-color: unset;
  251. padding: unset;
  252. margin-bottom: unset;
  253. border-radius: unset;
  254. }
  255. .term_word_head_pali {
  256. text-transform: capitalize;
  257. font-size: 200%;
  258. margin: 0.5em 0;
  259. }
  260. .term_word_head {
  261. border-bottom: 1px solid #cecece;
  262. padding: 5px 0;
  263. }
  264. .term_block {
  265. border-bottom: 1px solid #cecece;
  266. padding: 5px 0;
  267. }
  268. .term_word_head_authors a {
  269. color: blue;
  270. margin: 0 3px;
  271. }
  272. .term_word_head_authors a:hover {
  273. text-decoration: underline;
  274. cursor: pointer;
  275. }
  276. note .ref {
  277. text-align: right;
  278. padding: 0px 5px 2px 5px;
  279. font-size: 75%;
  280. white-space: nowrap;
  281. overflow-x: scroll;
  282. margin-left: auto;
  283. border-top: solid 1px var(--nocolor);
  284. padding-top: 0.7em;
  285. margin-top: 0.7em;
  286. margin-left: 1.4em;
  287. }
  288. note:hover .ref {
  289. border-top: solid 1px var(--border-line-color);
  290. }
  291. .progress_bar_done {
  292. stroke-width: 0;
  293. fill: royalblue;
  294. }
  295. .progress_bar_undone {
  296. stroke-width: 0;
  297. fill: #c0c0c052;
  298. }
  299. .progress_bar_bg {
  300. stroke-width: 0;
  301. fill: #ffffff;
  302. }
  303. .progress_bar_percent {
  304. stroke-width: 0;
  305. fill: limegreen;
  306. }
  307. r {
  308. text-align: right;
  309. display: block;
  310. }
  311. note {
  312. padding: 0.5em 2em;
  313. margin-bottom: 0.4em;
  314. border-radius: 5px;
  315. line-height: 1.3em;
  316. display: block;
  317. background-color: #80808014;
  318. position: relative;
  319. }
  320. note > .bottm_tool_button {
  321. border-radius: 5px;
  322. border: 4px dotted var(--border-line-color);
  323. display: none;
  324. transition: all 0.3s ease;
  325. }
  326. note:hover > .bottm_tool_button {
  327. display: block;
  328. }
  329. .add_new {
  330. display: inline-block;
  331. position: absolute;
  332. min-width: 1.4vw;
  333. display: none;
  334. }
  335. note:hover .add_new {
  336. display: inline-block;
  337. position: absolute;
  338. }
  339. .icon_add {
  340. width: 1.5vw;
  341. min-width: 1.4vw;
  342. height: 1.5vw;
  343. cursor: pointer;
  344. background: url(add.svg);
  345. background-repeat: no-repeat;
  346. background-size: contain;
  347. margin-bottom: -0.7em;
  348. }
  349. .tool_bar > .more_tran {
  350. display: inline-block;
  351. margin-right: 5px;
  352. transform: rotate(-90deg);
  353. transition: all 0.2s ease;
  354. }
  355. .icon_expand {
  356. width: auto;
  357. min-width: 14px;
  358. height: auto;
  359. min-height: 14px;
  360. cursor: pointer;
  361. background: url(expand.svg);
  362. background-repeat: no-repeat;
  363. background-size: contain;
  364. }
  365. .icon_fold {
  366. width: auto;
  367. min-width: 14px;
  368. height: auto;
  369. min-height: 14px;
  370. cursor: pointer;
  371. background: url(fold.svg);
  372. background-repeat: no-repeat;
  373. background-size: contain;
  374. }
  375. .other_tran_div {
  376. min-height: 1em;
  377. border-top: 1px solid var(--border-line-color);
  378. }
  379. .other_tran_div > .tool_bar {
  380. position: absolute;
  381. margin-top: -0.7em;
  382. background-color: var(--btn-bg-color);
  383. padding: 0 6px;
  384. border-radius: 4px;
  385. cursor: pointer;
  386. display: flex;
  387. }
  388. .other_tran_div > .other_tran {
  389. min-height: 1em;
  390. transition: all 0.2s ease;
  391. display: none;
  392. }
  393. .bg_color_1 {
  394. background-color: #ebebeb66;
  395. }
  396. .bg_color_2 {
  397. background: linear-gradient(to right, #6afdb033, #ebebeb66);
  398. }
  399. .bg_color_3 {
  400. background: linear-gradient(to right, #6a95fd26, #ebebeb66);
  401. }
  402. .bg_color_4 {
  403. background: linear-gradient(to right, #f9e7911c, #ebebeb66);
  404. }
  405. .bg_color_5 {
  406. background: linear-gradient(to right, #fe99b91c, #ebebeb66);
  407. }
  408. pre {
  409. white-space: pre-line;
  410. font-family: auto;
  411. border-left: 3px solid var(--border-shadow);
  412. margin-left: 1em;
  413. padding-left: 0.5em;
  414. }
  415. .note_tool_bar {
  416. position: relative;
  417. display: none;
  418. z-index: 50;
  419. }
  420. note:hover .note_tool_bar {
  421. display: block;
  422. }
  423. .sent_menu {
  424. right: 0;
  425. }
  426. .para_menu {
  427. left: 0;
  428. }
  429. .ui-widget input,
  430. .ui-widget select,
  431. .ui-widget textarea,
  432. .ui-widget button {
  433. font-family: unset;
  434. font-size: 1.1em;
  435. }
  436. .tran p {
  437. margin: 0;
  438. }
  439. .note_tool_context {
  440. position: absolute;
  441. right: -1vw;
  442. width: 1.5em;
  443. text-align: right;
  444. margin-top: -0.3em;
  445. }
  446. .note_tool_context .icon {
  447. fill: var(--link-color);
  448. }
  449. .note_tool_context:hover .icon {
  450. fill: (--link-hover-color);
  451. }
  452. .channel_select {
  453. display: none;
  454. }
  455. #channal_list .selected {
  456. background: linear-gradient(to right, #6afdb033, #ebebeb66);
  457. padding: 5px;
  458. border-radius: 5px;
  459. }
  460. #channal_list .noselect {
  461. background-color: unset;
  462. padding: 5px;
  463. border-radius: 5px;
  464. }
  465. .other_tran_num {
  466. -webkit-border-radius: 7px;
  467. border-radius: 7px;
  468. background-color: cornflowerblue;
  469. position: relative;
  470. min-width: 14px;
  471. height: 14px;
  472. display: inline-flex;
  473. justify-content: center;
  474. text-align: center;
  475. line-height: 14px;
  476. display: none;
  477. margin: auto 2px;
  478. color: whitesmoke;
  479. }
  480. .separate_line {
  481. border: solid 1px #e8e8e8;
  482. border-radius: 3px;
  483. margin: 1px 5px;
  484. width: 1px;
  485. background: #c6c6c6;
  486. text-decoration: none;
  487. }