term.css 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508
  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. margin-left: 1.5em;
  139. display: block;
  140. border-left: 3px solid gray;
  141. padding-left: 5px;
  142. }
  143. note > .tran {
  144. color: #5c5c5c;
  145. padding-left: 1em;
  146. padding: 0;
  147. position: relative;
  148. margin-top: -0.5em;
  149. display: flex;
  150. }
  151. note > .tran > .text {
  152. margin-bottom: 2em;
  153. }
  154. .tran_text_tool_botton {
  155. border-radius: 50%;
  156. border: 2px solid var(--btn-bg-color);
  157. width: fit-content;
  158. padding: 2px;
  159. height: fit-content;
  160. margin-left: -1em;
  161. margin-right: 1em;
  162. background-color: var(--nocolor);
  163. visibility: hidden;
  164. }
  165. .tran_text_tool_botton > .icon_expand {
  166. width: 0.8em;
  167. height: 0.8em;
  168. min-width: 0.8em;
  169. min-height: 0.8em;
  170. }
  171. note > .tran .tran_text_tool_bar {
  172. padding: 0 0.1em;
  173. position: absolute;
  174. display: none;
  175. color: var(--border-line-color);
  176. z-index: 40;
  177. width: auto;
  178. left: -2em;
  179. font-size: 14px;
  180. height: auto;
  181. line-height: 28px;
  182. margin-top: 1em;
  183. background-color: var(--box-bg-color1);
  184. border-radius: 5px;
  185. }
  186. note > .tran:lang(my) .tran_text_tool_bar {
  187. margin-top: -2.5em;
  188. }
  189. note > .tran .tran_text_tool_bar::after {
  190. content: " ";
  191. position: absolute;
  192. left: 1.4em;
  193. bottom: 100%;
  194. border-width: 5px;
  195. border-style: solid;
  196. border-color: transparent transparent var(--box-bg-color1) transparent;
  197. }
  198. .tran:hover > .tran_text_tool_botton {
  199. visibility: visible;
  200. }
  201. .tran_text_tool_bar li {
  202. list-style: none;
  203. display: flex;
  204. }
  205. .tran_text_tool_bar .icon {
  206. margin: auto 0.4em auto 0;
  207. }
  208. .tip_buttom {
  209. padding: 0 0.2em;
  210. margin: 0 0.2em;
  211. cursor: pointer;
  212. background-color: inherit;
  213. border-radius: 5px;
  214. }
  215. .tip_buttom:hover {
  216. background-color: var(--btn-border-color);
  217. }
  218. .tran:hover .edit_button {
  219. display: inline-block;
  220. }
  221. .edit_button {
  222. display: inline-block;
  223. width: auto;
  224. min-width: 24px;
  225. height: auto;
  226. min-height: 24px;
  227. cursor: pointer;
  228. fill: var(--tool-color);
  229. background: url(edit.svg);
  230. background-repeat: no-repeat;
  231. background-size: contain;
  232. color: var(--tool-color);
  233. margin-top: -2em;
  234. }
  235. note > .palitext,
  236. .palitext {
  237. font-family: Noto serif;
  238. line-height: 1.5em;
  239. color: #9f3a01;
  240. font-weight: 500;
  241. margin-bottom: 10px;
  242. }
  243. note > .palitext > note {
  244. display: inline;
  245. color: blue;
  246. background-color: unset;
  247. padding: unset;
  248. margin-bottom: unset;
  249. border-radius: unset;
  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. padding: 0px 5px 2px 5px;
  275. font-size: 75%;
  276. white-space: nowrap;
  277. overflow-x: scroll;
  278. margin-left: auto;
  279. border-top: solid 1px var(--nocolor);
  280. padding-top: 0.7em;
  281. margin-top: 0.7em;
  282. margin-left: 1.4em;
  283. }
  284. note:hover .ref {
  285. border-top: solid 1px var(--border-line-color);
  286. }
  287. .progress_bar_done {
  288. stroke-width: 0;
  289. fill: royalblue;
  290. }
  291. .progress_bar_undone {
  292. stroke-width: 0;
  293. fill: #c0c0c052;
  294. }
  295. .progress_bar_bg {
  296. stroke-width: 0;
  297. fill: #ffffff;
  298. }
  299. .progress_bar_percent {
  300. stroke-width: 0;
  301. fill: limegreen;
  302. }
  303. r {
  304. text-align: right;
  305. display: block;
  306. }
  307. note {
  308. padding: 0.5em 2em;
  309. margin-bottom: 0.4em;
  310. border-radius: 5px;
  311. line-height: 1.3em;
  312. display: block;
  313. background-color: #80808014;
  314. position: relative;
  315. }
  316. note > .bottm_tool_button {
  317. border-radius: 5px;
  318. border: 4px dotted var(--border-line-color);
  319. display: none;
  320. transition: all 0.3s ease;
  321. }
  322. note:hover > .bottm_tool_button {
  323. display: block;
  324. }
  325. note:hover .add_new {
  326. display: inline-block;
  327. position: absolute;
  328. }
  329. .tool_bar > .more_tran {
  330. display: inline-block;
  331. margin-right: 5px;
  332. transform: rotate(-90deg);
  333. transition: all 0.2s ease;
  334. }
  335. .icon_add {
  336. width: auto;
  337. min-width: 1.4vw;
  338. height: 1.5vw;
  339. cursor: pointer;
  340. background: url(add.svg);
  341. background-repeat: no-repeat;
  342. background-size: contain;
  343. display: none;
  344. margin-bottom: -0.7em;
  345. }
  346. .icon_expand {
  347. width: auto;
  348. min-width: 14px;
  349. height: auto;
  350. min-height: 14px;
  351. cursor: pointer;
  352. background: url(expand.svg);
  353. background-repeat: no-repeat;
  354. background-size: contain;
  355. }
  356. .icon_fold {
  357. width: auto;
  358. min-width: 14px;
  359. height: auto;
  360. min-height: 14px;
  361. cursor: pointer;
  362. background: url(fold.svg);
  363. background-repeat: no-repeat;
  364. background-size: contain;
  365. }
  366. .other_tran_div {
  367. min-height: 1em;
  368. border-top: 1px solid var(--border-line-color);
  369. }
  370. .other_tran_div > .tool_bar {
  371. position: absolute;
  372. margin-top: -0.7em;
  373. background-color: var(--btn-bg-color);
  374. padding: 0 6px;
  375. border-radius: 4px;
  376. cursor: pointer;
  377. display: flex;
  378. }
  379. .other_tran_div > .other_tran {
  380. min-height: 1em;
  381. transition: all 0.2s ease;
  382. display: none;
  383. }
  384. .bg_color_1 {
  385. background-color: #ebebeb66;
  386. }
  387. .bg_color_2 {
  388. background: linear-gradient(to right, #6afdb033, #ebebeb66);
  389. }
  390. .bg_color_3 {
  391. background: linear-gradient(to right, #6a95fd26, #ebebeb66);
  392. }
  393. .bg_color_4 {
  394. background: linear-gradient(to right, #f9e7911c, #ebebeb66);
  395. }
  396. .bg_color_5 {
  397. background: linear-gradient(to right, #fe99b91c, #ebebeb66);
  398. }
  399. pre {
  400. white-space: pre-line;
  401. font-family: auto;
  402. border-left: 3px solid var(--border-shadow);
  403. margin-left: 1em;
  404. padding-left: 0.5em;
  405. }
  406. .note_tool_bar {
  407. position: relative;
  408. display: none;
  409. z-index: 50;
  410. }
  411. note:hover .note_tool_bar {
  412. display: block;
  413. }
  414. .sent_menu {
  415. right: 0;
  416. }
  417. .para_menu {
  418. left: 0;
  419. }
  420. .ui-widget input,
  421. .ui-widget select,
  422. .ui-widget textarea,
  423. .ui-widget button {
  424. font-family: unset;
  425. font-size: 1.1em;
  426. }
  427. .tran p {
  428. margin: 0;
  429. }
  430. .note_tool_context {
  431. position: absolute;
  432. right: -1vw;
  433. width: 1.5em;
  434. text-align: right;
  435. margin-top: -0.3em;
  436. }
  437. .note_tool_context .icon {
  438. fill: var(--link-color);
  439. }
  440. .note_tool_context:hover .icon {
  441. fill: (--link-hover-color);
  442. }
  443. .channel_select {
  444. display: none;
  445. }
  446. #channal_list .selected {
  447. background: linear-gradient(to right, #6afdb033, #ebebeb66);
  448. padding: 5px;
  449. border-radius: 5px;
  450. }
  451. #channal_list .noselect {
  452. background-color: unset;
  453. padding: 5px;
  454. border-radius: 5px;
  455. }
  456. .other_tran_num {
  457. -webkit-border-radius: 7px;
  458. border-radius: 7px;
  459. background-color: cornflowerblue;
  460. position: relative;
  461. min-width: 14px;
  462. height: 14px;
  463. display: inline-flex;
  464. justify-content: center;
  465. text-align: center;
  466. line-height: 14px;
  467. display: none;
  468. margin: auto 2px;
  469. color: whitesmoke;
  470. }