term.css 8.3 KB

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