term.css 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065
  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. /*
  664. color: var(--main-color);
  665. width: 100%;
  666. background-color: var(--drop-bg-color);
  667. border: unset;
  668. border-radius: 8px;
  669. padding: 5px;
  670. line-height: 1.5em;
  671. height: 90px;
  672. font-size: 120%;
  673. */
  674. }
  675. .foot_bar {
  676. font-size: 90%;
  677. }
  678. .foot_bar > .info {
  679. display: flex;
  680. }
  681. .foot_bar > .info span {
  682. margin-right: 4px;
  683. }
  684. .compact .foot_bar {
  685. display: none;
  686. }
  687. .edit_mode {
  688. background-color: #fafafa;
  689. }
  690. .edit_mode > .sent_tran_inner > .body > .head_bar > .preview {
  691. display: none;
  692. }
  693. .edit_mode > .sent_tran_inner > .body > .edit {
  694. display: block;
  695. }
  696. .pop_menu {
  697. display: flex;
  698. }
  699. .tag_list {
  700. display: flex;
  701. list-style-type: none;
  702. }
  703. .tag_list li {
  704. border-radius: 6px;
  705. margin-right: 5px;
  706. background-color: var(--bookx);
  707. padding: 2px 5px;
  708. cursor: pointer;
  709. }
  710. li.active {
  711. background-color: var(--booka);
  712. }
  713. .tag_list li:hover {
  714. background-color: var(--booka);
  715. }
  716. .sent_tran .preview p {
  717. line-height: normal;
  718. margin: 0;
  719. font-family: "Noto Sans", "Noto Sans", "Noto Sans SC", "Noto Sans TC", "Padauk", "ATaiThamKHNewV3-Normal", "Arial",
  720. "Verdana";
  721. }
  722. .pop_menu .icon {
  723. fill: var(--main-color);
  724. }
  725. .pr_content {
  726. margin-left: 3em;
  727. border-left: 3px solid var(--border-line-color);
  728. }
  729. .menu_space_between a {
  730. display: flex;
  731. justify-content: space-between;
  732. }
  733. .body > .head_bar > .loading {
  734. color: gray;
  735. }
  736. .tooltip {
  737. display: inline-flex;
  738. }
  739. .disable {
  740. cursor: not-allowed;
  741. }
  742. .channel_name {
  743. white-space: nowrap;
  744. }
  745. .channel_name:hover {
  746. background-color: var(--btn-border-color);
  747. }
  748. .channel_list {
  749. margin-right: 4px;
  750. }
  751. .pali_div {
  752. padding: 0 10px 5px 10px;
  753. }
  754. .case_dropdown {
  755. min-width: unset;
  756. }
  757. .channel_list > li:first-child {
  758. border-bottom: solid 1px;
  759. justify-content: center;
  760. font-weight: bold;
  761. }
  762. w {
  763. cursor: pointer;
  764. }
  765. w:hover {
  766. text-decoration: underline;
  767. }
  768. /*纵向*/
  769. .vertical .para_div {
  770. flex-direction: column;
  771. }
  772. .vertical .note_shell > note > .note_body {
  773. flex-direction: column;
  774. }
  775. .para_div {
  776. display: flex;
  777. }
  778. .note_shell > note > .note_body {
  779. display: flex;
  780. }
  781. /*段落模式 横向*/
  782. .horizontal .para_div {
  783. flex-direction: row;
  784. }
  785. .horizontal .palitext_div {
  786. flex: 5;
  787. }
  788. .horizontal .para_tran_div {
  789. flex: 5;
  790. }
  791. /*句子模式 横向*/
  792. .horizontal .note_shell > note > .note_body {
  793. flex-direction: row;
  794. }
  795. .horizontal .palitext_div {
  796. flex: 5;
  797. }
  798. .horizontal .sent_tran_div {
  799. flex: 5;
  800. display: flex;
  801. flex-direction: column;
  802. }
  803. /*段落模式*/
  804. .para_mode .para_div {
  805. display: flex;
  806. }
  807. .para_mode .note_shell {
  808. display: none;
  809. }
  810. /*句子模式*/
  811. .sent_mode .para_div {
  812. display: none;
  813. }
  814. .sent_mode .note_shell {
  815. display: block;
  816. }
  817. .tran_sent p {
  818. display: inline;
  819. }
  820. .sent_tran li {
  821. line-height: normal;
  822. }
  823. .note_foot {
  824. display: flex;
  825. justify-content: space-between;
  826. }
  827. .term_pali {
  828. font-style: italic;
  829. }
  830. .note_body note {
  831. display: inline;
  832. }
  833. span.keybutton {
  834. background-color: gray;
  835. border-radius: 6px;
  836. font-size: 80%;
  837. padding: 0 3px;
  838. color: white;
  839. font-weight: 300;
  840. height: fit-content;
  841. }
  842. #contents_view .focus {
  843. border-radius: 20px;
  844. box-shadow: 0 5px 7px rgb(0 0 0 / 15%);
  845. margin: 10px 0;
  846. background-color: #f5deb36b;
  847. padding: 0.7rem;
  848. word-break: break-word;
  849. }
  850. span.tran_sent {
  851. line-height: 1.7em;
  852. }
  853. .tran_sent ul,
  854. .tran_sent li {
  855. list-style-type: unset;
  856. margin-left: 1em;
  857. }
  858. .icon_sent_status {
  859. display: none;
  860. width: 22px;
  861. height: 22px;
  862. background-repeat: no-repeat;
  863. background-size: contain;
  864. margin: 0 6px;
  865. }
  866. .icon_sent_status .icon {
  867. width: 22px;
  868. height: 22px;
  869. }
  870. .icon_sent_loading {
  871. background: url(loading.gif);
  872. background-size: contain;
  873. }
  874. .loading .icon_sent_loading {
  875. display: block;
  876. }
  877. .loading .face {
  878. display: none;
  879. }
  880. .error .left_bar > .face {
  881. display: none;
  882. }
  883. .icon_sent_error {
  884. display: none;
  885. fill: red;
  886. cursor: pointer;
  887. background: url(error.svg);
  888. background-size: contain;
  889. }
  890. .error .icon_sent_error {
  891. display: block;
  892. }
  893. .icon_spin {
  894. -webkit-animation: spin 1.5s linear infinite;
  895. animation: spin 1.5s linear infinite;
  896. }
  897. .read .bg_color_1 {
  898. background-color: unset;
  899. }
  900. .read .bg_color_2 {
  901. background: unset;
  902. }
  903. .read .bg_color_3 {
  904. background: unset;
  905. }
  906. .read .bg_color_4 {
  907. background: unset;
  908. }
  909. .read .bg_color_5 {
  910. background: unset;
  911. }
  912. .palitext n {
  913. color: dodgerblue;
  914. }
  915. /*字符串比对*/
  916. del {
  917. color: red;
  918. }
  919. ins {
  920. background-color: greenyellow;
  921. text-decoration: unset;
  922. }
  923. pali>p {
  924. display: inline;
  925. }
  926. .para_mode .palitext{
  927. text-indent: 2em;
  928. }
  929. .sent_mode>div>p {
  930. border-bottom: 0.5em solid var(--btn-color);
  931. }
  932. .circle_num { border: 1px solid var(--border-line-color);
  933. border-radius: 99px;
  934. line-height: 20px;
  935. width: 22px;
  936. text-align: center;
  937. display: inline-block;
  938. margin-left: 5px;
  939. }
  940. /*术语输入AT弹出菜单*/
  941. .text_input>.textarea{
  942. padding: 5px;
  943. font-family: inherit;
  944. width: 100%;
  945. height: 100px;
  946. resize: vertical;
  947. font-size: 14px;
  948. line-height: 1;
  949. border: 1px solid #ddd;
  950. white-space: pre-wrap;
  951. word-break: break-all;
  952. z-index: 1;
  953. resize: vertical;
  954. color: var(--main-color);
  955. width: 100%;
  956. background-color: var(--drop-bg-color);
  957. border: unset;
  958. border-radius: 8px;
  959. padding: 5px;
  960. line-height: 1.5em;
  961. }
  962. .text_input>.text_shadow{
  963. position: absolute;
  964. width: 100%;
  965. visibility: hidden;
  966. }
  967. .text_input .cursor{
  968. position: absolute;
  969. border-left: 1px solid #000;
  970. }
  971. .text_input>.menu{
  972. width: 200px;
  973. height:300px;
  974. background-color: aqua;
  975. box-shadow: #000;
  976. position:absolute;
  977. display: none;
  978. z-index: 100;
  979. }
  980. .text_input>.menu ul{
  981. list-style-type: none;
  982. margin: 0;
  983. padding: 0;
  984. }
  985. .text_input>.menu ul li{
  986. cursor: pointer;
  987. }
  988. .text_input>.menu ul li:hover{
  989. background-color: wheat;
  990. }
  991. .text_input>.menu .focus{
  992. color:red;
  993. }
  994. .term_at_menu_input{
  995. height:1em;
  996. border: 1px solid gray;
  997. }
  998. .text_input{
  999. width:100%;
  1000. position: relative;
  1001. }
  1002. .term_mean {
  1003. text-transform: capitalize;
  1004. }