term.css 17 KB

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