term.css 18 KB

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