term.css 18 KB

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