term.css 17 KB

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