term.css 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478
  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. note:hover chapter {
  30. display: inline;
  31. }
  32. .ref > chapter:first-child {
  33. display: inline;
  34. }
  35. chapter {
  36. display: none;
  37. color: var(--box-bg-color1);
  38. text-decoration: none;
  39. cursor: pointer;
  40. }
  41. chapter::after {
  42. content: " > ";
  43. }
  44. chapter:hover {
  45. color: var(--link-color);
  46. /*text-decoration: underline;*/
  47. }
  48. para {
  49. background-color: var(--drop-bg-color);
  50. padding: 2px 8px;
  51. text-decoration: none;
  52. cursor: pointer;
  53. color: var(--btn-border-color);
  54. border-radius: 5px;
  55. }
  56. para:hover {
  57. text-decoration: underline;
  58. }
  59. commentary,
  60. com,
  61. nt {
  62. margin-left: 1.5em;
  63. display: block;
  64. border-left: 3px solid gray;
  65. padding-left: 5px;
  66. }
  67. note > .tran {
  68. color: #5c5c5c;
  69. padding-left: 1em;
  70. padding: 0;
  71. position: relative;
  72. margin-top: -0.5em;
  73. }
  74. note > .tran > .text {
  75. margin-bottom: 2em;
  76. }
  77. note > .tran > .tran_text_tool_bar {
  78. padding: 0;
  79. position: absolute;
  80. display: none;
  81. color: var(--border-line-color);
  82. margin-left: 0;
  83. z-index: 40;
  84. width: auto;
  85. font-size: 14px;
  86. height: 28px;
  87. line-height: 28px;
  88. margin-top: -2em;
  89. background-color: var(--box-bg-color1);
  90. border-radius: 5px;
  91. }
  92. note > .tran:lang(my) > .tran_text_tool_bar {
  93. margin-top: -2.5em;
  94. }
  95. note > .tran > .tran_text_tool_bar::after {
  96. content: " ";
  97. position: absolute;
  98. left: 0;
  99. bottom: 100%;
  100. margin-left: 20px;
  101. border-width: 5px;
  102. border-style: solid;
  103. border-color: transparent transparent var(--box-bg-color1) transparent;
  104. }
  105. .tran:hover > .tran_text_tool_bar {
  106. display: block;
  107. }
  108. .tip_buttom {
  109. border-right: 2px solid var(--border-line-color);
  110. padding: 5px 8px;
  111. cursor: pointer;
  112. }
  113. .tip_buttom:hover {
  114. background-color: var(--btn-border-color);
  115. }
  116. .tran:hover .edit_button {
  117. display: inline-block;
  118. }
  119. .edit_button {
  120. display: inline-block;
  121. width: auto;
  122. min-width: 24px;
  123. height: auto;
  124. min-height: 24px;
  125. cursor: pointer;
  126. fill: var(--tool-color);
  127. background: url(edit.svg);
  128. background-repeat: no-repeat;
  129. background-size: contain;
  130. color: var(--tool-color);
  131. margin-top: -2em;
  132. }
  133. note > .palitext,
  134. .palitext {
  135. font-family: Noto serif;
  136. line-height: 1.5em;
  137. color: #9f3a01;
  138. font-weight: 500;
  139. margin-bottom: 10px;
  140. }
  141. note > .palitext > note {
  142. display: inline;
  143. color: blue;
  144. background-color: unset;
  145. padding: unset;
  146. margin-bottom: unset;
  147. border-radius: unset;
  148. }
  149. .term_word_head_pali {
  150. text-transform: capitalize;
  151. font-size: 200%;
  152. margin: 0.5em 0;
  153. }
  154. .term_word_head {
  155. border-bottom: 1px solid #cecece;
  156. padding: 5px 0;
  157. }
  158. .term_block {
  159. border-bottom: 1px solid #cecece;
  160. padding: 5px 0;
  161. }
  162. .term_word_head_authors a {
  163. color: blue;
  164. margin: 0 3px;
  165. }
  166. .term_word_head_authors a:hover {
  167. text-decoration: underline;
  168. cursor: pointer;
  169. }
  170. note .ref {
  171. text-align: right;
  172. padding: 0px 5px 2px 5px;
  173. font-size: 75%;
  174. white-space: nowrap;
  175. overflow-x: scroll;
  176. width: 67vw;
  177. margin-left: auto;
  178. border-top: solid 1px var(--nocolor);
  179. }
  180. note:hover .ref {
  181. border-top: solid 1px var(--border-line-color);
  182. }
  183. .tran {
  184. line-height: 1.5em;
  185. }
  186. .tran ul {
  187. list-style-type: circle;
  188. margin-left: 2em;
  189. }
  190. .tran li {
  191. list-style: inherit;
  192. }
  193. .tran ol {
  194. list-style-type: decimal;
  195. margin: 0;
  196. padding: 0;
  197. margin-left: 2em;
  198. }
  199. .tran:lang(en) > ol {
  200. list-style-type: decimal;
  201. }
  202. /*中文*/
  203. .tran:lang(zh) > ol {
  204. list-style-type: cjk-ideographic;
  205. margin-left: 2.5em;
  206. }
  207. /*简体中文*/
  208. .tran:lang(zh-cn) > ol {
  209. list-style-type: trad-chinese-formal;
  210. margin-left: 2.5em;
  211. }
  212. .tran:lang(zh-hans) > ol {
  213. list-style-type: trad-chinese-formal;
  214. margin-left: 2.5em;
  215. }
  216. /*繁体中文*/
  217. .tran:lang(zh-tw) > ol {
  218. list-style-type: trad-chinese-formal;
  219. margin-left: 2.5em;
  220. }
  221. .tran:lang(zh-hant) > ol {
  222. list-style-type: trad-chinese-formal;
  223. margin-left: 2.5em;
  224. }
  225. /*japanese*/
  226. .tran:lang(jp) > ol {
  227. list-style-type: hiragana;
  228. margin-left: 2.5em;
  229. }
  230. /*kora*/
  231. .tran:lang(ko) > ol {
  232. list-style-type: korean-hangul-formal;
  233. margin-left: 2.5em;
  234. }
  235. /*thai*/
  236. .tran:lang(ti) > ol {
  237. list-style-type: thai;
  238. margin-left: 2em;
  239. }
  240. /*myanmar*/
  241. .tran:lang(my) > ol {
  242. list-style-type: myanmar;
  243. margin-left: 2em;
  244. }
  245. /*myanmar*/
  246. .tran:lang(my) {
  247. font-size: 120%;
  248. line-height: 2em;
  249. }
  250. .tran_div {
  251. margin-bottom: 1em;
  252. padding-bottom: 1em;
  253. padding-top: 0.5em;
  254. border-bottom: 1px solid var(--border-line-color);
  255. }
  256. .tran_div:last-child {
  257. border-bottom: none;
  258. }
  259. .progress_bar_done {
  260. stroke-width: 0;
  261. fill: royalblue;
  262. }
  263. .progress_bar_undone {
  264. stroke-width: 0;
  265. fill: #c0c0c052;
  266. }
  267. .progress_bar_bg {
  268. stroke-width: 0;
  269. fill: #ffffff;
  270. }
  271. .progress_bar_percent {
  272. stroke-width: 0;
  273. fill: limegreen;
  274. }
  275. r {
  276. text-align: right;
  277. display: block;
  278. }
  279. note {
  280. padding: 0.5em 1.5vw;
  281. margin-bottom: 0.4em;
  282. border-radius: 5px;
  283. line-height: 1.3em;
  284. display: block;
  285. background-color: #80808014;
  286. position: relative;
  287. }
  288. note > .bottm_tool_button {
  289. border-radius: 5px;
  290. border: 4px dotted var(--border-line-color);
  291. display: none;
  292. transition: all 0.2s ease;
  293. }
  294. note:hover > .bottm_tool_button {
  295. display: block;
  296. }
  297. note:hover .add_new {
  298. display: inline-block;
  299. position: absolute;
  300. }
  301. .tool_bar > .more_tran {
  302. display: inline-block;
  303. margin-right: 5px;
  304. transform: rotate(-90deg);
  305. transition: all 0.2s ease;
  306. }
  307. .icon_add {
  308. width: auto;
  309. min-width: 1.4vw;
  310. height: 1.5vw;
  311. cursor: pointer;
  312. background: url(add.svg);
  313. background-repeat: no-repeat;
  314. background-size: contain;
  315. display: none;
  316. margin-top: -0.5em;
  317. }
  318. .icon_expand {
  319. width: auto;
  320. min-width: 14px;
  321. height: auto;
  322. min-height: 14px;
  323. cursor: pointer;
  324. background: url(expand.svg);
  325. background-repeat: no-repeat;
  326. background-size: contain;
  327. }
  328. .icon_fold {
  329. width: auto;
  330. min-width: 14px;
  331. height: auto;
  332. min-height: 14px;
  333. cursor: pointer;
  334. background: url(fold.svg);
  335. background-repeat: no-repeat;
  336. background-size: contain;
  337. }
  338. .other_tran_div {
  339. min-height: 1em;
  340. border-top: 1px solid var(--border-line-color);
  341. }
  342. .other_tran_div > .tool_bar {
  343. position: absolute;
  344. margin-top: -0.7em;
  345. background-color: var(--btn-bg-color);
  346. padding: 0 6px;
  347. border-radius: 4px;
  348. cursor: pointer;
  349. display: flex;
  350. }
  351. .other_tran_div > .other_tran {
  352. min-height: 1em;
  353. transition: all 0.2s ease;
  354. display: none;
  355. }
  356. .bg_color_1 {
  357. background-color: #ebebeb66;
  358. }
  359. .bg_color_2 {
  360. background: linear-gradient(to right, #6afdb033, #ebebeb66);
  361. }
  362. .bg_color_3 {
  363. background: linear-gradient(to right, #6a95fd26, #ebebeb66);
  364. }
  365. .bg_color_4 {
  366. background: linear-gradient(to right, #f9e7911c, #ebebeb66);
  367. }
  368. .bg_color_5 {
  369. background: linear-gradient(to right, #fe99b91c, #ebebeb66);
  370. }
  371. pre {
  372. white-space: pre-line;
  373. font-family: auto;
  374. border-left: 3px solid var(--border-shadow);
  375. margin-left: 1em;
  376. padding-left: 0.5em;
  377. }
  378. .note_tool_bar {
  379. position: relative;
  380. display: none;
  381. z-index: 50;
  382. }
  383. note:hover .note_tool_bar {
  384. display: block;
  385. }
  386. .sent_menu {
  387. right: 0;
  388. }
  389. .para_menu {
  390. left: 0;
  391. }
  392. .ui-widget input,
  393. .ui-widget select,
  394. .ui-widget textarea,
  395. .ui-widget button {
  396. font-family: unset;
  397. font-size: 1.1em;
  398. }
  399. .tran p {
  400. margin: 0;
  401. }
  402. .note_tool_context {
  403. position: absolute;
  404. right: -1vw;
  405. width: 1.5em;
  406. text-align: right;
  407. margin-top: -0.3em;
  408. }
  409. .note_tool_context .icon {
  410. fill: var(--link-color);
  411. }
  412. .note_tool_context:hover .icon {
  413. fill: (--link-hover-color);
  414. }
  415. .channel_select {
  416. display: none;
  417. }
  418. #channal_list .selected {
  419. background: linear-gradient(to right, #6afdb033, #ebebeb66);
  420. padding: 5px;
  421. border-radius: 5px;
  422. }
  423. #channal_list .noselect {
  424. background-color: unset;
  425. padding: 5px;
  426. border-radius: 5px;
  427. }
  428. .other_tran_num {
  429. -webkit-border-radius: 7px;
  430. border-radius: 7px;
  431. background-color: cornflowerblue;
  432. position: relative;
  433. min-width: 14px;
  434. height: 14px;
  435. display: inline-flex;
  436. justify-content: center;
  437. text-align: center;
  438. line-height: 14px;
  439. display: none;
  440. margin: auto 2px;
  441. color: whitesmoke;
  442. }