term.css 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980
  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: 1.5em;
  282. color: #9f3a01;
  283. margin: 4px;
  284. }
  285. h1 .palitext {
  286. font-family: "Noto Serif", "Noto Sans TC", "Noto Sans SC";
  287. font-weight: 700;
  288. font-size: 130%;
  289. }
  290. h2 .palitext {
  291. font-family: "Noto Serif", "Noto Sans TC", "Noto Sans SC";
  292. font-weight: 700;
  293. font-size: 120%;
  294. }
  295. note n {
  296. display: inline;
  297. color: blue;
  298. }
  299. .term_word_head_pali {
  300. text-transform: capitalize;
  301. font-size: 200%;
  302. margin-top: 0.5em;
  303. }
  304. .term_word_head {
  305. border-bottom: 1px solid #cecece;
  306. padding: 5px 0;
  307. }
  308. .term_block {
  309. border-bottom: 1px solid #cecece;
  310. padding: 5px 0;
  311. }
  312. .term_word_head_authors a {
  313. color: blue;
  314. margin: 0 3px;
  315. }
  316. .term_word_head_authors a:hover {
  317. text-decoration: underline;
  318. cursor: pointer;
  319. }
  320. note .ref {
  321. font-size: 75%;
  322. white-space: nowrap;
  323. max-width: 45%;
  324. text-align: right;
  325. /*position: absolute;
  326. right: 1em;*/
  327. }
  328. note:hover .ref {
  329. /*border-top: solid 1px var(--border-line-color);*/
  330. }
  331. .progress_bar_done {
  332. stroke-width: 0;
  333. fill: royalblue;
  334. }
  335. .progress_bar_undone {
  336. stroke-width: 0;
  337. fill: #c0c0c052;
  338. }
  339. .progress_bar_bg {
  340. stroke-width: 0;
  341. fill: #ffffff;
  342. }
  343. .progress_bar_percent {
  344. stroke-width: 0;
  345. fill: limegreen;
  346. }
  347. r {
  348. text-align: right;
  349. display: block;
  350. }
  351. note {
  352. padding: 0.5em 0 0 0;
  353. margin-bottom: 0.4em;
  354. border-radius: 5px;
  355. line-height: 1.3em;
  356. display: block;
  357. background-color: #80808014;
  358. position: relative;
  359. }
  360. note > .bottm_tool_button {
  361. border-radius: 5px;
  362. border: 4px dotted var(--border-line-color);
  363. display: none;
  364. transition: all 0.3s ease;
  365. }
  366. note:hover > .bottm_tool_button {
  367. display: block;
  368. }
  369. .add_new {
  370. display: inline-block;
  371. position: absolute;
  372. min-width: 1.4vw;
  373. display: none;
  374. }
  375. note:hover .add_new {
  376. display: inline-block;
  377. position: absolute;
  378. }
  379. .icon_add {
  380. width: 1.5vw;
  381. min-width: 1.4vw;
  382. height: 1.5vw;
  383. cursor: pointer;
  384. background: url(add.svg);
  385. background-repeat: no-repeat;
  386. background-size: contain;
  387. left: 0;
  388. bottom: 1em;
  389. }
  390. .tool_bar > .more_tran {
  391. display: inline-block;
  392. margin-right: 5px;
  393. transform: rotate(-90deg);
  394. transition: all 0.2s ease;
  395. }
  396. .icon_expand {
  397. width: auto;
  398. min-width: 14px;
  399. height: auto;
  400. min-height: 14px;
  401. cursor: pointer;
  402. background: url(expand.svg);
  403. background-repeat: no-repeat;
  404. background-size: contain;
  405. }
  406. .icon_fold {
  407. width: auto;
  408. min-width: 14px;
  409. height: auto;
  410. min-height: 14px;
  411. cursor: pointer;
  412. background: url(fold.svg);
  413. background-repeat: no-repeat;
  414. background-size: contain;
  415. }
  416. .other_tran_div {
  417. min-height: 1em;
  418. border-top: 1px solid var(--border-line-color);
  419. }
  420. .other_tran_div > .tool_bar {
  421. background-color: var(--btn-bg-color);
  422. padding: 0 6px;
  423. border-radius: 0 0 4px 4px;
  424. cursor: pointer;
  425. justify-content: space-between;
  426. line-height: 1.5em;
  427. }
  428. .other_tran_div > .tool_bar > .tool_left {
  429. white-space: nowrap;
  430. }
  431. .other_tran_div > .tool_bar > .tool_right {
  432. white-space: pre-wrap;
  433. margin-left: auto;
  434. }
  435. .other_tran_div > .other_tran {
  436. min-height: 1em;
  437. transition: all 0.2s ease;
  438. display: none;
  439. }
  440. .tool_bar {
  441. display: flex;
  442. }
  443. .bg_color_1 {
  444. background-color: #ebebeb66;
  445. }
  446. .bg_color_2 {
  447. background: linear-gradient(to left, #6afdb033, #ebebeb66);
  448. }
  449. .bg_color_3 {
  450. background: linear-gradient(to left, #6a95fd26, #ebebeb66);
  451. }
  452. .bg_color_4 {
  453. background: linear-gradient(to left, #f9e7911c, #ebebeb66);
  454. }
  455. .bg_color_5 {
  456. background: linear-gradient(to left, #fe99b91c, #ebebeb66);
  457. }
  458. pre {
  459. white-space: pre-line;
  460. font-family: auto;
  461. border-left: 3px solid var(--border-shadow);
  462. margin-left: 1em;
  463. padding-left: 0.5em;
  464. }
  465. .note_tool_bar {
  466. position: relative;
  467. display: none;
  468. z-index: 50;
  469. margin-right: 1em;
  470. }
  471. note:hover .note_tool_bar {
  472. display: block;
  473. }
  474. .sent_menu {
  475. right: 0;
  476. }
  477. .para_menu {
  478. left: 0;
  479. }
  480. .ui-widget input,
  481. .ui-widget select,
  482. .ui-widget textarea,
  483. .ui-widget button {
  484. font-family: unset;
  485. font-size: 1.1em;
  486. }
  487. .tran p {
  488. margin: 0;
  489. }
  490. .note_tool_context {
  491. position: absolute;
  492. right: -1vw;
  493. width: 1.5em;
  494. text-align: right;
  495. margin-top: -0.3em;
  496. }
  497. .note_tool_context .icon {
  498. fill: var(--link-color);
  499. }
  500. .note_tool_context:hover .icon {
  501. fill: (--link-hover-color);
  502. }
  503. .channel_select {
  504. display: none;
  505. }
  506. #channal_list .selected {
  507. background: linear-gradient(to right, #6afdb033, #ebebeb66);
  508. padding: 5px;
  509. border-radius: 5px;
  510. }
  511. #channal_list .noselect {
  512. background-color: unset;
  513. padding: 5px;
  514. border-radius: 5px;
  515. }
  516. .other_tran_num,
  517. .similar_sent_num {
  518. -webkit-border-radius: 7px;
  519. border-radius: 7px;
  520. background-color: cornflowerblue;
  521. position: relative;
  522. min-width: 14px;
  523. height: 14px;
  524. display: inline-flex;
  525. justify-content: center;
  526. text-align: center;
  527. line-height: 14px;
  528. display: none;
  529. margin: auto 2px;
  530. color: whitesmoke;
  531. padding: 0 3px;
  532. }
  533. .similar_sent_num {
  534. display: inline-flex;
  535. }
  536. .separate_line {
  537. border: solid 1px #e8e8e8;
  538. border-radius: 3px;
  539. margin: 1px 5px;
  540. width: 1px;
  541. background: #c6c6c6;
  542. text-decoration: none;
  543. }
  544. pw {
  545. padding-right: 0.5em;
  546. }
  547. .slider_show_shell {
  548. position: fixed;
  549. z-index: 1000;
  550. top: 0;
  551. left: 0;
  552. width: 100%;
  553. height: 85%;
  554. background-color: #000000f5;
  555. font-size: 180%;
  556. padding-top: 2em;
  557. }
  558. .slider_show_shell .bg_color_1 {
  559. background-color: unset;
  560. }
  561. /*编辑框*/
  562. .sent_tran {
  563. padding: 5px;
  564. margin-bottom: 2px;
  565. }
  566. .sent_tran_inner {
  567. display: flex;
  568. }
  569. .sent_tran:hover {
  570. background-color: rgba(0.5, 0.5, 0.5, 0.02);
  571. }
  572. .left_bar {
  573. flex: 1;
  574. display: flex;
  575. margin-right: 5px;
  576. }
  577. .sent_tran .left_bar > .face {
  578. display: block;
  579. margin: 0 0.5em auto auto;
  580. }
  581. .compact .left_bar > .face {
  582. display: none;
  583. }
  584. .left_bar > .date {
  585. display: none;
  586. }
  587. .compact .left_bar > .date {
  588. display: block;
  589. font-size: 80%;
  590. color: var(--main-color1);
  591. }
  592. .sent_tran_inner > .body {
  593. width: 100%;
  594. display: block;
  595. flex: 20;
  596. }
  597. .preview {
  598. font-size: 110%;
  599. }
  600. .compact .body > .head_bar {
  601. display: flex;
  602. }
  603. .compact .body > .head_bar > .date {
  604. display: none;
  605. }
  606. .head_bar > .info {
  607. display: none;
  608. }
  609. .head_bar > .info > .name {
  610. font-weight: 700;
  611. white-space: nowrap;
  612. margin-right: 0.5em;
  613. }
  614. .head_bar > .info > .editor_name {
  615. display: none;
  616. }
  617. .pr .head_bar > .info > .editor_name {
  618. display: inline-block;
  619. }
  620. .pr .head_bar > .info > .channel_name {
  621. display: none;
  622. }
  623. .head_bar > .info > .date {
  624. font-size: 0.8em;
  625. color: gray;
  626. }
  627. .compact .head_bar > .info {
  628. display: block;
  629. }
  630. .compact .head_bar > .info > .date {
  631. display: none;
  632. }
  633. .foot_bar .info {
  634. color: var(--btn-border-line-color);
  635. }
  636. .tool_bar > .right {
  637. position: absolute;
  638. right: 2em;
  639. margin-top: calc(-1.8em - 8px);
  640. display: none;
  641. width: auto;
  642. background-color: var(--bg-color);
  643. border: 1px solid var(--border-line-color);
  644. border-radius: 6px;
  645. padding: 3px;
  646. /*margin-right: 20px;*/
  647. }
  648. .sent_tran_inner:hover .tool_bar > .right {
  649. display: block;
  650. }
  651. .list_with_head:hover .tool_bar > .right {
  652. display: block;
  653. }
  654. .list_with_head {
  655. position: relative;
  656. }
  657. .body > .edit {
  658. display: none;
  659. }
  660. .body > .edit textarea {
  661. color: var(--main-color);
  662. width: 100%;
  663. background-color: var(--drop-bg-color);
  664. border: unset;
  665. border-radius: 8px;
  666. padding: 5px;
  667. line-height: 1.5em;
  668. height: 90px;
  669. font-size: 120%;
  670. }
  671. .foot_bar {
  672. font-size: 90%;
  673. }
  674. .foot_bar > .info {
  675. display: flex;
  676. }
  677. .foot_bar > .info span {
  678. margin-right: 4px;
  679. }
  680. .compact .foot_bar {
  681. display: none;
  682. }
  683. .edit_mode {
  684. background-color: #fafafa;
  685. }
  686. .edit_mode > .sent_tran_inner > .body > .head_bar > .preview {
  687. display: none;
  688. }
  689. .edit_mode > .sent_tran_inner > .body > .edit {
  690. display: block;
  691. }
  692. .pop_menu {
  693. display: flex;
  694. }
  695. .tag_list {
  696. display: flex;
  697. list-style-type: none;
  698. }
  699. .tag_list li {
  700. border-radius: 6px;
  701. margin-right: 5px;
  702. background-color: var(--bookx);
  703. padding: 2px 5px;
  704. cursor: pointer;
  705. }
  706. li.active {
  707. background-color: var(--booka);
  708. }
  709. .tag_list li:hover {
  710. background-color: var(--booka);
  711. }
  712. .sent_tran .preview p {
  713. line-height: normal;
  714. margin: 0;
  715. font-family: "Noto Sans", "Noto Sans", "Noto Sans SC", "Noto Sans TC", "Padauk", "ATaiThamKHNewV3-Normal", "Arial",
  716. "Verdana";
  717. }
  718. .pop_menu .icon {
  719. fill: var(--main-color);
  720. }
  721. .pr_content {
  722. margin-left: 3em;
  723. border-left: 3px solid var(--border-line-color);
  724. }
  725. .menu_space_between a {
  726. display: flex;
  727. justify-content: space-between;
  728. }
  729. .body > .head_bar > .loading {
  730. color: gray;
  731. }
  732. .tooltip {
  733. display: inline-flex;
  734. }
  735. .disable {
  736. cursor: not-allowed;
  737. }
  738. .channel_name {
  739. white-space: nowrap;
  740. }
  741. .channel_name:hover {
  742. background-color: var(--btn-border-color);
  743. }
  744. .channel_list {
  745. margin-right: 4px;
  746. }
  747. .pali_div {
  748. padding: 0 10px 5px 10px;
  749. }
  750. .case_dropdown {
  751. min-width: unset;
  752. }
  753. .channel_list > li:first-child {
  754. border-bottom: solid 1px;
  755. justify-content: center;
  756. font-weight: bold;
  757. }
  758. w {
  759. cursor: pointer;
  760. }
  761. w:hover {
  762. text-decoration: underline;
  763. }
  764. /*纵向*/
  765. .vertical .para_div {
  766. flex-direction: column;
  767. }
  768. .vertical .note_shell > note > .note_body {
  769. flex-direction: column;
  770. }
  771. .para_div {
  772. display: flex;
  773. }
  774. .note_shell > note > .note_body {
  775. display: flex;
  776. }
  777. /*段落模式 横向*/
  778. .horizontal .para_div {
  779. flex-direction: row;
  780. }
  781. .horizontal .palitext_div {
  782. flex: 5;
  783. }
  784. .horizontal .para_tran_div {
  785. flex: 5;
  786. }
  787. /*句子模式 横向*/
  788. .horizontal .note_shell > note > .note_body {
  789. flex-direction: row;
  790. }
  791. .horizontal .palitext_div {
  792. flex: 5;
  793. }
  794. .horizontal .sent_tran_div {
  795. flex: 5;
  796. display: flex;
  797. flex-direction: column;
  798. }
  799. /*段落模式*/
  800. .para_mode .para_div {
  801. display: flex;
  802. }
  803. .para_mode .note_shell {
  804. display: none;
  805. }
  806. /*句子模式*/
  807. .sent_mode .para_div {
  808. display: none;
  809. }
  810. .sent_mode .note_shell {
  811. display: block;
  812. }
  813. .tran_sent p {
  814. display: inline;
  815. }
  816. .sent_tran li {
  817. line-height: normal;
  818. }
  819. .note_foot {
  820. display: flex;
  821. justify-content: space-between;
  822. }
  823. .term_pali {
  824. font-style: italic;
  825. }
  826. .note_body note {
  827. display: inline;
  828. }
  829. span.keybutton {
  830. background-color: gray;
  831. border-radius: 6px;
  832. font-size: 80%;
  833. padding: 0 3px;
  834. color: white;
  835. font-weight: 300;
  836. height: fit-content;
  837. }
  838. #contents_view .focus {
  839. border-radius: 20px;
  840. box-shadow: 0 5px 7px rgb(0 0 0 / 15%);
  841. margin: 10px 0;
  842. background-color: #f5deb36b;
  843. padding: 0.7rem;
  844. word-break: break-word;
  845. }
  846. span.tran_sent {
  847. line-height: 1.7em;
  848. }
  849. .tran_sent ul,
  850. .tran_sent li {
  851. list-style-type: unset;
  852. margin-left: 1em;
  853. }
  854. .icon_sent_status {
  855. display: none;
  856. width: 22px;
  857. height: 22px;
  858. background-repeat: no-repeat;
  859. background-size: contain;
  860. margin: 0 6px;
  861. }
  862. .icon_sent_status .icon {
  863. width: 22px;
  864. height: 22px;
  865. }
  866. .icon_sent_loading {
  867. background: url(loading.gif);
  868. background-size: contain;
  869. }
  870. .loading .icon_sent_loading {
  871. display: block;
  872. }
  873. .loading .face {
  874. display: none;
  875. }
  876. .error .left_bar > .face {
  877. display: none;
  878. }
  879. .icon_sent_error {
  880. display: none;
  881. fill: red;
  882. cursor: pointer;
  883. background: url(error.svg);
  884. background-size: contain;
  885. }
  886. .error .icon_sent_error {
  887. display: block;
  888. }
  889. .icon_spin {
  890. -webkit-animation: spin 1.5s linear infinite;
  891. animation: spin 1.5s linear infinite;
  892. }
  893. .read .bg_color_1 {
  894. background-color: unset;
  895. }
  896. .read .bg_color_2 {
  897. background: unset;
  898. }
  899. .read .bg_color_3 {
  900. background: unset;
  901. }
  902. .read .bg_color_4 {
  903. background: unset;
  904. }
  905. .read .bg_color_5 {
  906. background: unset;
  907. }
  908. .palitext n {
  909. color: dodgerblue;
  910. }
  911. /*字符串比对*/
  912. del {
  913. color: red;
  914. }
  915. ins {
  916. background-color: greenyellow;
  917. text-decoration: unset;
  918. }
  919. pali>p {
  920. display: inline;
  921. }
  922. .para_mode .palitext{
  923. text-indent: 2em;
  924. }