term.css 16 KB

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