term.css 16 KB

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