term.css 19 KB

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