term.css 16 KB

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