term.css 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119
  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. .ref .tooltiptext {
  106. background-color: seashell;
  107. }
  108. .ref .tooltip .tooltiptext {
  109. left: calc(100% - 65vw);
  110. right: 0;
  111. box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 10px;
  112. white-space: normal;
  113. max-width: 80vw;
  114. }
  115. .ref .tooltip .tooltip-bottom::after {
  116. left: 90%;
  117. border-color: transparent transparent seashell transparent;
  118. }
  119. .ref .tooltip-bottom {
  120. top: 100%;
  121. left: unset;
  122. margin-left: unset;
  123. }
  124. note:hover chapter {
  125. display: inline;
  126. /*position: absolute;*/
  127. }
  128. .ref > .book_name > chapter:first-child {
  129. display: inline;
  130. }
  131. chapter {
  132. display: none;
  133. color: var(--box-bg-color1);
  134. text-decoration: none;
  135. cursor: pointer;
  136. }
  137. .path chapter {
  138. display: unset;
  139. }
  140. chapter::after {
  141. content: " > ";
  142. }
  143. chapter:hover {
  144. color: var(--link-color);
  145. /*text-decoration: underline;*/
  146. }
  147. .tooltiptext chapter {
  148. display: inline;
  149. }
  150. para {
  151. background-color: var(--drop-bg-color);
  152. padding: 0 4px;
  153. text-decoration: none;
  154. cursor: pointer;
  155. color: var(--btn-border-color);
  156. border-radius: 5px;
  157. display: none;
  158. }
  159. .tooltiptext para {
  160. display: inline;
  161. }
  162. .path para {
  163. display: unset;
  164. }
  165. para:hover {
  166. text-decoration: underline;
  167. }
  168. #contents_div .sent_no_read_mode {
  169. display: none;
  170. }
  171. commentary,
  172. com,
  173. nt,
  174. blockquote {
  175. margin: 0;
  176. margin-left: 1.5em;
  177. display: block;
  178. border-left: 3px solid gray;
  179. padding-left: 5px;
  180. }
  181. .read blockquote {
  182. font-size: 80%;
  183. color: var(--main-color1);
  184. background-color: #7d7d7d1f;
  185. }
  186. note > .tran {
  187. color: #5c5c5c;
  188. padding-left: 1em;
  189. padding: 0;
  190. position: relative;
  191. margin-top: -0.5em;
  192. line-height: 1.8em;
  193. }
  194. note > .tran > .text {
  195. margin-bottom: 1em;
  196. }
  197. .tran_text_tool_botton {
  198. border-radius: 50%;
  199. border: 2px solid var(--btn-bg-color);
  200. width: fit-content;
  201. padding: 2px;
  202. height: fit-content;
  203. margin-left: -1em;
  204. margin-right: 1em;
  205. background-color: var(--nocolor);
  206. visibility: hidden;
  207. }
  208. .tran_text_tool_botton > .icon_expand {
  209. width: 0.8em;
  210. height: 0.8em;
  211. min-width: 0.8em;
  212. min-height: 0.8em;
  213. }
  214. note > .tran .tran_text_tool_bar,
  215. .tran_text_tool_bar {
  216. padding: 0.5em 1em;
  217. position: absolute;
  218. display: none;
  219. color: var(--border-line-color);
  220. z-index: 40;
  221. width: auto;
  222. font-size: 14px;
  223. height: auto;
  224. line-height: 28px;
  225. background-color: var(--box-bg-color1);
  226. border-radius: 5px;
  227. }
  228. note > .tran:lang(my) .tran_text_tool_bar {
  229. margin-top: -2.5em;
  230. }
  231. note > .tran .tran_text_tool_bar::after,
  232. .tran .tran_text_tool_bar::after {
  233. content: " ";
  234. position: absolute;
  235. left: 1.4em;
  236. bottom: 100%;
  237. border-width: 5px;
  238. border-style: solid;
  239. border-color: transparent transparent var(--box-bg-color1) transparent;
  240. }
  241. .tran:hover > .tran_text_tool_botton {
  242. visibility: visible;
  243. }
  244. .tran_text_tool_bar li {
  245. list-style: none;
  246. display: flex;
  247. white-space: nowrap !important;
  248. }
  249. .tran_text_tool_bar .icon {
  250. margin: auto 0.4em auto 0;
  251. }
  252. .tip_buttom {
  253. padding: 0 0.2em;
  254. margin: 0 0.2em;
  255. cursor: pointer;
  256. background-color: inherit;
  257. border-radius: 5px;
  258. }
  259. .tip_buttom:hover {
  260. background-color: var(--btn-border-color);
  261. }
  262. .tran:hover .edit_button {
  263. display: inline-block;
  264. }
  265. .edit_button {
  266. display: inline-block;
  267. width: auto;
  268. min-width: 24px;
  269. height: auto;
  270. min-height: 24px;
  271. cursor: pointer;
  272. fill: var(--tool-color);
  273. background: url(edit.svg);
  274. background-repeat: no-repeat;
  275. background-size: contain;
  276. color: var(--tool-color);
  277. margin-top: -2em;
  278. }
  279. note > .palitext,
  280. .palitext {
  281. line-height: 2em;
  282. color: #9f3a01;
  283. margin: 4px;
  284. overflow-wrap: anywhere;
  285. }
  286. h1 .palitext {
  287. /*font-family: "Noto Serif", "Noto Sans TC", "Noto Sans SC";*/
  288. font-weight: 700;
  289. font-size: 130%;
  290. }
  291. h2 .palitext {
  292. /*font-family: "Noto Serif", "Noto Sans TC", "Noto Sans SC";*/
  293. font-weight: 700;
  294. font-size: 120%;
  295. }
  296. note n {
  297. display: inline;
  298. color: blue;
  299. }
  300. .palitext2 n {
  301. /*display: none;*/
  302. }
  303. .term_word_head_pali {
  304. text-transform: capitalize;
  305. font-size: 200%;
  306. margin-top: 0.5em;
  307. overflow-x: clip;
  308. white-space: nowrap;
  309. }
  310. .term_word_head {
  311. border-bottom: 1px solid #cecece;
  312. padding: 5px 0;
  313. }
  314. .term_block {
  315. }
  316. .term_block h2{
  317. margin: 0;
  318. }
  319. .term_popup_foot{
  320. display: flex;
  321. justify-content: space-between;
  322. }
  323. .guide_contence .term_note{
  324. border-bottom: 1px solid var(--border-line-color);
  325. min-height: 9em;
  326. }
  327. .term_word_head_authors a {
  328. color: blue;
  329. margin: 0 3px;
  330. }
  331. .term_word_head_authors a:hover {
  332. text-decoration: underline;
  333. cursor: pointer;
  334. }
  335. note .ref {
  336. font-size: 75%;
  337. white-space: nowrap;
  338. max-width: 45%;
  339. text-align: right;
  340. /*position: absolute;
  341. right: 1em;*/
  342. }
  343. note:hover .ref {
  344. /*border-top: solid 1px var(--border-line-color);*/
  345. }
  346. .progress_bar_done {
  347. stroke-width: 0;
  348. fill: royalblue;
  349. }
  350. .progress_bar_undone {
  351. stroke-width: 0;
  352. fill: #c0c0c052;
  353. }
  354. .progress_bar_bg {
  355. stroke-width: 0;
  356. fill: #ffffff;
  357. }
  358. .progress_bar_percent {
  359. stroke-width: 0;
  360. fill: limegreen;
  361. }
  362. r {
  363. text-align: right;
  364. display: block;
  365. }
  366. note {
  367. padding: 0.5em 0 0 0;
  368. margin-bottom: 0.4em;
  369. border-radius: 5px;
  370. line-height: 1.3em;
  371. display: block;
  372. background-color: #80808014;
  373. position: relative;
  374. }
  375. note > .bottm_tool_button {
  376. border-radius: 5px;
  377. border: 4px dotted var(--border-line-color);
  378. display: none;
  379. transition: all 0.3s ease;
  380. }
  381. note:hover > .bottm_tool_button {
  382. display: block;
  383. }
  384. .add_new {
  385. display: inline-block;
  386. position: absolute;
  387. min-width: 1.4vw;
  388. display: none;
  389. }
  390. note:hover .add_new {
  391. display: inline-block;
  392. position: absolute;
  393. }
  394. .icon_add {
  395. width: 1.5vw;
  396. min-width: 1.4vw;
  397. height: 1.5vw;
  398. cursor: pointer;
  399. background: url(add.svg);
  400. background-repeat: no-repeat;
  401. background-size: contain;
  402. left: 0;
  403. bottom: 1em;
  404. }
  405. .tool_bar > .more_tran {
  406. display: inline-block;
  407. margin-right: 5px;
  408. transform: rotate(-90deg);
  409. transition: all 0.2s ease;
  410. }
  411. .icon_expand {
  412. width: auto;
  413. min-width: 14px;
  414. height: auto;
  415. min-height: 14px;
  416. cursor: pointer;
  417. background: url(expand.svg);
  418. background-repeat: no-repeat;
  419. background-size: contain;
  420. }
  421. .icon_fold {
  422. width: auto;
  423. min-width: 14px;
  424. height: auto;
  425. min-height: 14px;
  426. cursor: pointer;
  427. background: url(fold.svg);
  428. background-repeat: no-repeat;
  429. background-size: contain;
  430. }
  431. .other_tran_div {
  432. min-height: 1em;
  433. border-top: 1px solid var(--border-line-color);
  434. }
  435. .other_tran_div > .tool_bar {
  436. background-color: var(--btn-bg-color);
  437. padding: 0 6px;
  438. border-radius: 0 0 4px 4px;
  439. cursor: pointer;
  440. justify-content: space-between;
  441. line-height: 1.5em;
  442. }
  443. .other_tran_div > .tool_bar > .tool_left {
  444. white-space: nowrap;
  445. }
  446. .other_tran_div > .tool_bar > .tool_right {
  447. white-space: pre-wrap;
  448. margin-left: auto;
  449. }
  450. .other_tran_div > .other_tran {
  451. min-height: 1em;
  452. transition: all 0.2s ease;
  453. display: none;
  454. }
  455. .tool_bar {
  456. display: flex;
  457. }
  458. .bg_color_1 {
  459. background-color: #ebebeb66;
  460. }
  461. .bg_color_2 {
  462. background: linear-gradient(to left, #6afdb033, #ebebeb66);
  463. }
  464. .bg_color_3 {
  465. background: linear-gradient(to left, #6a95fd26, #ebebeb66);
  466. }
  467. .bg_color_4 {
  468. background: linear-gradient(to left, #f9e7911c, #ebebeb66);
  469. }
  470. .bg_color_5 {
  471. background: linear-gradient(to left, #fe99b91c, #ebebeb66);
  472. }
  473. pre {
  474. white-space: pre-line;
  475. font-family: auto;
  476. border-left: 3px solid var(--border-shadow);
  477. margin-left: 1em;
  478. padding-left: 0.5em;
  479. }
  480. .note_tool_bar {
  481. position: relative;
  482. display: none;
  483. z-index: 50;
  484. margin-right: 1em;
  485. }
  486. note:hover .note_tool_bar {
  487. display: block;
  488. }
  489. .sent_menu {
  490. right: 0;
  491. }
  492. .para_menu {
  493. left: 0;
  494. }
  495. .ui-widget input,
  496. .ui-widget select,
  497. .ui-widget textarea,
  498. .ui-widget button {
  499. font-family: unset;
  500. font-size: 1.1em;
  501. }
  502. .tran p {
  503. margin: 0;
  504. }
  505. .note_tool_context {
  506. position: absolute;
  507. right: -1vw;
  508. width: 1.5em;
  509. text-align: right;
  510. margin-top: -0.3em;
  511. }
  512. .note_tool_context .icon {
  513. fill: var(--link-color);
  514. }
  515. .note_tool_context:hover .icon {
  516. fill: (--link-hover-color);
  517. }
  518. .channel_select {
  519. display: none;
  520. }
  521. #channal_list .selected {
  522. background: linear-gradient(to right, #6afdb033, #ebebeb66);
  523. padding: 5px;
  524. border-radius: 5px;
  525. }
  526. #channal_list .noselect {
  527. background-color: unset;
  528. padding: 5px;
  529. border-radius: 5px;
  530. }
  531. .other_tran_num,
  532. .similar_sent_num {
  533. -webkit-border-radius: 7px;
  534. border-radius: 7px;
  535. background-color: cornflowerblue;
  536. position: relative;
  537. min-width: 14px;
  538. height: 14px;
  539. display: inline-flex;
  540. justify-content: center;
  541. text-align: center;
  542. line-height: 14px;
  543. display: none;
  544. margin: auto 2px;
  545. color: whitesmoke;
  546. padding: 0 3px;
  547. }
  548. .similar_sent_num {
  549. display: inline-flex;
  550. }
  551. .separate_line {
  552. border: solid 1px #e8e8e8;
  553. border-radius: 3px;
  554. margin: 1px 5px;
  555. width: 1px;
  556. background: #c6c6c6;
  557. text-decoration: none;
  558. }
  559. pw {
  560. padding-right: 0.5em;
  561. }
  562. .slider_show_shell {
  563. position: fixed;
  564. z-index: 1000;
  565. top: 0;
  566. left: 0;
  567. width: 100%;
  568. height: 85%;
  569. background-color: #000000f5;
  570. font-size: 180%;
  571. padding-top: 2em;
  572. }
  573. .slider_show_shell .bg_color_1 {
  574. background-color: unset;
  575. }
  576. /*编辑框*/
  577. .sent_tran {
  578. padding: 5px;
  579. margin-bottom: 2px;
  580. }
  581. .sent_tran_inner {
  582. display: flex;
  583. }
  584. .sent_tran:hover {
  585. background-color: rgba(0.5, 0.5, 0.5, 0.02);
  586. }
  587. .left_bar {
  588. flex: 1;
  589. display: flex;
  590. margin-right: 5px;
  591. }
  592. .sent_tran .left_bar > .face {
  593. display: block;
  594. margin: 0 0.5em auto auto;
  595. }
  596. .compact .left_bar > .face {
  597. display: none;
  598. }
  599. .left_bar > .date {
  600. display: none;
  601. }
  602. .compact .left_bar > .date {
  603. display: block;
  604. font-size: 80%;
  605. color: var(--main-color1);
  606. }
  607. .sent_tran_inner > .body {
  608. width: 100%;
  609. display: block;
  610. flex: 20;
  611. }
  612. .sent_tran_div a{
  613. white-space: normal;
  614. overflow-wrap: anywhere;
  615. }
  616. .para_tran_div a{
  617. white-space: normal;
  618. overflow-wrap: anywhere;
  619. }
  620. .preview {
  621. font-size: 110%;
  622. width: -webkit-fill-available;
  623. }
  624. .preview::first-letter {
  625. text-transform:uppercase;
  626. }
  627. .sent_tran > p::first-letter {
  628. text-transform:uppercase;
  629. }
  630. .compact .body > .head_bar {
  631. display: flex;
  632. }
  633. .compact .body > .head_bar > .date {
  634. display: none;
  635. }
  636. .head_bar > .info {
  637. display: none;
  638. }
  639. .head_bar > .info > .name {
  640. font-weight: 700;
  641. white-space: nowrap;
  642. margin-right: 0.5em;
  643. }
  644. .head_bar > .info > .editor_name {
  645. display: none;
  646. }
  647. .pr .head_bar > .info > .editor_name {
  648. display: inline-block;
  649. }
  650. .pr .head_bar > .info > .channel_name {
  651. display: none;
  652. }
  653. .head_bar > .info > .date {
  654. font-size: 0.8em;
  655. color: gray;
  656. }
  657. .compact .head_bar > .info {
  658. display: block;
  659. }
  660. .compact .head_bar > .info > .date {
  661. display: none;
  662. }
  663. .foot_bar .info {
  664. color: var(--btn-border-line-color);
  665. }
  666. .tool_bar > .right {
  667. position: absolute;
  668. right: 2em;
  669. margin-top: calc(-1.8em - 8px);
  670. display: none;
  671. width: auto;
  672. background-color: var(--bg-color);
  673. border: 1px solid var(--border-line-color);
  674. border-radius: 6px;
  675. padding: 3px;
  676. /*margin-right: 20px;*/
  677. }
  678. .commentary .tool_bar > .right{
  679. left: 8em;
  680. width: 8em;
  681. }
  682. .sent_tran_inner:hover .tool_bar > .right {
  683. display: block;
  684. }
  685. .list_with_head:hover .tool_bar > .right {
  686. display: block;
  687. }
  688. .list_with_head {
  689. position: relative;
  690. }
  691. .body > .edit {
  692. display: none;
  693. }
  694. .body > .edit textarea {
  695. /*
  696. color: var(--main-color);
  697. width: 100%;
  698. background-color: var(--drop-bg-color);
  699. border: unset;
  700. border-radius: 8px;
  701. padding: 5px;
  702. line-height: 1.5em;
  703. height: 90px;
  704. font-size: 120%;
  705. */
  706. }
  707. .foot_bar {
  708. font-size: 90%;
  709. }
  710. .foot_bar > .info {
  711. display: flex;
  712. }
  713. .foot_bar > .info span {
  714. margin-right: 4px;
  715. }
  716. .compact .foot_bar {
  717. display: none;
  718. }
  719. .edit_mode {
  720. background-color: #fafafa;
  721. }
  722. .edit_mode > .sent_tran_inner > .body > .head_bar > .preview {
  723. display: none;
  724. }
  725. .edit_mode > .sent_tran_inner > .body > .edit {
  726. display: block;
  727. }
  728. .pop_menu {
  729. display: flex;
  730. }
  731. .tag_list {
  732. display: flex;
  733. list-style-type: none;
  734. }
  735. .tag_list li {
  736. border-radius: 6px;
  737. margin-right: 5px;
  738. background-color: var(--bookx);
  739. padding: 2px 5px;
  740. cursor: pointer;
  741. }
  742. li.active {
  743. background-color: var(--booka);
  744. }
  745. .tag_list li:hover {
  746. background-color: var(--booka);
  747. }
  748. .sent_tran .preview p {
  749. line-height: normal;
  750. margin: 0;
  751. font-family: "Noto Sans", "Noto Sans", "Noto Sans SC", "Noto Sans TC", "Padauk", "ATaiThamKHNewV3-Normal", "Arial",
  752. "Verdana";
  753. }
  754. .pop_menu .icon {
  755. fill: var(--main-color);
  756. }
  757. .pr_content {
  758. margin-left: 3em;
  759. border-left: 3px solid var(--border-line-color);
  760. }
  761. .menu_space_between a {
  762. display: flex;
  763. justify-content: space-between;
  764. }
  765. .body > .head_bar > .loading {
  766. color: gray;
  767. }
  768. .tooltip {
  769. display: inline-flex;
  770. }
  771. .disable {
  772. cursor: not-allowed;
  773. }
  774. .channel_name {
  775. white-space: nowrap;
  776. }
  777. .channel_name:hover {
  778. background-color: var(--btn-border-color);
  779. }
  780. .channel_list {
  781. margin-right: 4px;
  782. }
  783. .pali_div {
  784. padding: 0 10px 5px 10px;
  785. }
  786. .case_dropdown {
  787. min-width: unset;
  788. }
  789. .channel_list > li:first-child {
  790. border-bottom: solid 1px;
  791. justify-content: center;
  792. font-weight: bold;
  793. }
  794. w {
  795. cursor: pointer;
  796. }
  797. w:hover {
  798. text-decoration: underline;
  799. }
  800. /*纵向*/
  801. .vertical .para_div {
  802. flex-direction: column;
  803. }
  804. .vertical .note_shell > note > .note_body {
  805. flex-direction: column;
  806. }
  807. .para_div {
  808. display: flex;
  809. }
  810. .note_shell > note > .note_body {
  811. display: flex;
  812. }
  813. /*段落模式 横向*/
  814. .horizontal .para_div {
  815. flex-direction: row;
  816. }
  817. .horizontal .palitext_div {
  818. flex: 5;
  819. }
  820. .horizontal .para_tran_div {
  821. flex: 5;
  822. }
  823. /*句子模式 横向*/
  824. .horizontal .note_shell > note > .note_body {
  825. flex-direction: row;
  826. }
  827. .horizontal .palitext_div {
  828. flex: 5;
  829. }
  830. .horizontal .sent_tran_div {
  831. flex: 5;
  832. display: flex;
  833. flex-direction: column;
  834. }
  835. /*段落模式*/
  836. .para_mode .para_div {
  837. display: flex;
  838. }
  839. .para_mode .note_shell {
  840. display: none;
  841. }
  842. /*句子模式*/
  843. .sent_mode .para_div {
  844. display: none;
  845. }
  846. .sent_mode .note_shell {
  847. display: block;
  848. }
  849. .sent_tran p {
  850. display: inline;
  851. }
  852. .sent_tran li {
  853. line-height: normal;
  854. }
  855. .note_foot {
  856. display: flex;
  857. justify-content: space-between;
  858. }
  859. .term_pali {
  860. font-style: italic;
  861. }
  862. .note_body note {
  863. display: inline;
  864. }
  865. span.keybutton {
  866. background-color: gray;
  867. border-radius: 6px;
  868. font-size: 80%;
  869. padding: 0 3px;
  870. color: white;
  871. font-weight: 300;
  872. height: fit-content;
  873. }
  874. #contents_view .focus {
  875. border-radius: 20px;
  876. box-shadow: 0 5px 7px rgb(0 0 0 / 15%);
  877. margin: 10px 0;
  878. background-color: #f5deb36b;
  879. padding: 0.7rem;
  880. word-break: break-word;
  881. }
  882. span.sent_tran {
  883. line-height: 1.7em;
  884. }
  885. .sent_tran ul,
  886. .sent_tran li {
  887. list-style-type: unset;
  888. margin-left: 1em;
  889. }
  890. .icon_sent_status {
  891. display: none;
  892. width: 22px;
  893. height: 22px;
  894. background-repeat: no-repeat;
  895. background-size: contain;
  896. margin: 0 6px;
  897. }
  898. .icon_sent_status .icon {
  899. width: 22px;
  900. height: 22px;
  901. }
  902. .icon_sent_loading {
  903. background: url(loading.gif);
  904. background-size: contain;
  905. }
  906. .loading .icon_sent_loading {
  907. display: block;
  908. }
  909. .loading .face {
  910. display: none;
  911. }
  912. .error .left_bar > .face {
  913. display: none;
  914. }
  915. .icon_sent_error {
  916. display: none;
  917. fill: red;
  918. cursor: pointer;
  919. background: url(error.svg);
  920. background-size: contain;
  921. }
  922. .error .icon_sent_error {
  923. display: block;
  924. }
  925. .icon_spin {
  926. -webkit-animation: spin 1.5s linear infinite;
  927. animation: spin 1.5s linear infinite;
  928. }
  929. .read .bg_color_1 {
  930. background-color: unset;
  931. }
  932. .read .bg_color_2 {
  933. background: unset;
  934. }
  935. .read .bg_color_3 {
  936. background: unset;
  937. }
  938. .read .bg_color_4 {
  939. background: unset;
  940. }
  941. .read .bg_color_5 {
  942. background: unset;
  943. }
  944. .palitext n {
  945. color: dodgerblue;
  946. }
  947. /*字符串比对*/
  948. del {
  949. color: red;
  950. }
  951. ins {
  952. background-color: greenyellow;
  953. text-decoration: unset;
  954. }
  955. pali>p {
  956. display: inline;
  957. }
  958. .para_mode .palitext{
  959. text-indent: 2em;
  960. }
  961. .sent_mode>div>p {
  962. border-bottom: 0.5em solid var(--btn-color);
  963. }
  964. .circle_num { border: 1px solid var(--border-line-color);
  965. border-radius: 99px;
  966. line-height: 20px;
  967. width: 22px;
  968. text-align: center;
  969. display: inline-block;
  970. margin-left: 5px;
  971. }
  972. /*术语输入AT弹出菜单*/
  973. .text_input>.textarea{
  974. padding: 5px;
  975. font-family: inherit;
  976. width: 100%;
  977. height: 100px;
  978. resize: vertical;
  979. font-size: 14px;
  980. line-height: 1;
  981. border: 1px solid #ddd;
  982. white-space: pre-wrap;
  983. word-break: break-all;
  984. z-index: 1;
  985. resize: vertical;
  986. color: var(--main-color);
  987. width: 100%;
  988. background-color: var(--drop-bg-color);
  989. border: unset;
  990. border-radius: 8px;
  991. padding: 5px;
  992. line-height: 1.5em;
  993. }
  994. .text_input>.text_shadow{
  995. position: absolute;
  996. width: 100%;
  997. visibility: hidden;
  998. }
  999. .text_input .cursor{
  1000. position: absolute;
  1001. border-left: 1px solid #000;
  1002. }
  1003. .text_input>.menu{
  1004. width: 200px;
  1005. height:300px;
  1006. background-color: var(--tool-bg-color);
  1007. color: var(--btn-color);
  1008. box-shadow: #000;
  1009. position:absolute;
  1010. display: none;
  1011. z-index: 100;
  1012. box-shadow: 0 5px 7px rgb(0 0 0 / 15%);
  1013. }
  1014. .text_input>.menu ul{
  1015. list-style-type: none;
  1016. margin: 0;
  1017. padding: 0;
  1018. }
  1019. .text_input>.menu ul li{
  1020. cursor: pointer;
  1021. }
  1022. .text_input>.menu ul li:hover{
  1023. background-color: var(--btn-border-color);
  1024. }
  1025. .term_at_menu_input{
  1026. padding: 5px;
  1027. border-bottom: 1px solid gray;
  1028. }
  1029. .text_input{
  1030. width:100%;
  1031. position: relative;
  1032. }
  1033. .term_mean {
  1034. /*text-transform: capitalize;*/
  1035. }
  1036. .term_at_menu_ul>.trem_focus{
  1037. border-radius:unset;
  1038. box-shadow:unset;
  1039. margin:unset;
  1040. padding:unset;
  1041. background-color: var(--btn-border-color);
  1042. }
  1043. .preview .nissaya{
  1044. display:inline;
  1045. }
  1046. .preview .nissaya .org{
  1047. display:inline;
  1048. font-weight: 700;
  1049. }
  1050. .preview .nissaya .meaning{
  1051. display:inline;
  1052. font-weight: 500;
  1053. }