style.css 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633
  1. #main_tag {
  2. font-size: 150%;
  3. text-align: center;
  4. margin: 5em 0;
  5. transition: all 600ms ease;
  6. text-transform: capitalize;
  7. }
  8. #main_tag span {
  9. margin: 2px;
  10. padding: 2px 12px;
  11. font-weight: 500;
  12. transition-duration: 0.2s;
  13. cursor: pointer;
  14. font-size: 120%;
  15. border: unset;
  16. border-radius: 0;
  17. border-bottom: 2px solid var(--nocolor);
  18. display: inline-block;
  19. }
  20. #main_tag span:hover {
  21. background-color: unset;
  22. color: unset;
  23. border-color: var(--link-hover-color);
  24. }
  25. #main_tag .select {
  26. border-bottom: 2px solid var(--link-color);
  27. }
  28. #tag_selected {
  29. margin: 1em 0;
  30. }
  31. tag {
  32. background-color: var(--btn-color);
  33. margin: 2px;
  34. padding: 2px 12px;
  35. border-radius: 5px;
  36. cursor: pointer;
  37. display: inline-block;
  38. }
  39. tag:hover{
  40. background-color: var(--border-line-color);
  41. }
  42. .tag-delete {
  43. margin-left: 6px;
  44. color: #f93e3e;
  45. cursor: pointer;
  46. }
  47. .tag-delete:hover {
  48. color: red;
  49. font-weight: 700;
  50. }
  51. .tag_others {
  52. margin: 10px 0;
  53. }
  54. .canon-tag {
  55. background-color: #46a6d2;
  56. border: 0;
  57. border-radius: 6px;
  58. color: white;
  59. font-weight: 400;
  60. }
  61. .canon-tag:hover {
  62. background-color: var(--link-hover-color);
  63. }
  64. .sutta_row {
  65. display: grid;
  66. align-items: center;
  67. grid-template-columns: 100px 200px 100px auto;
  68. width: 100%;
  69. border-bottom: 1px solid var(--border-line-color);
  70. }
  71. .sutta_row div {
  72. padding: 10px;
  73. /*display: flex;*/
  74. justify-items: center;
  75. }
  76. .sutta_row:hover {
  77. background-color: var(--drop-bg-color);
  78. }
  79. .c_level_1 {
  80. padding-top: 15px;
  81. padding-bottom: 15px;
  82. background-color: var(--main-color1);
  83. }
  84. .c_level_1 .chapter_title {
  85. font-size: 120%;
  86. font-weight: 700;
  87. }
  88. #book_list {
  89. display: flex;
  90. flex-wrap: wrap;
  91. }
  92. .chapter_list {
  93. display: none;
  94. }
  95. .chapter_book {
  96. display: block;
  97. }
  98. .chapter_progress {
  99. display: block;
  100. }
  101. .parent_chapter {
  102. width: 350px;
  103. }
  104. .parent_chapter .chapter_book,
  105. .parent_chapter .chapter_progress {
  106. display: none;
  107. }
  108. #select_bar>div {
  109. display:inline;
  110. }
  111. .chapter_list {
  112. display: flex;
  113. }
  114. .chapter_list > div{
  115. max-height: calc(100vh - 100px);
  116. overflow-y: scroll;
  117. }
  118. .chapter_list .grid {
  119. width: 400px;
  120. max-width: 100%;
  121. }
  122. .chapter_list .list {
  123. width: 200px;
  124. }
  125. .chapter_list .list .chapter_head_tool_bar {
  126. display: none;
  127. }
  128. .chapter_list .list .res_more {
  129. display: none;
  130. }
  131. .chapter_list .show {
  132. display: block;
  133. }
  134. .chapter_list .hidden {
  135. display: none;
  136. }
  137. .chapter_list .list .resource .item {
  138. display: none;
  139. }
  140. .chapter_list ul {
  141. padding: 0;
  142. }
  143. .chapter_list ul li .main {
  144. display: flex;
  145. justify-content: space-between;
  146. padding: 8px;
  147. white-space: nowrap;
  148. overflow-x: hidden;
  149. border-bottom: 1px solid var(--border-line-color);
  150. }
  151. .chapter_list ul li:hover {
  152. /*background-color: darkorange;*/
  153. /*cursor: pointer;*/
  154. }
  155. .chapter_list .resource {
  156. margin-top: auto;
  157. margin-bottom: auto;
  158. white-space: normal;
  159. display: -webkit-box;
  160. -webkit-box-orient: vertical;
  161. -webkit-line-clamp: 3;
  162. overflow: hidden;
  163. word-break: break-word;
  164. word-wrap: break-word;
  165. }
  166. .chapter_list .title .title_1 {
  167. color: var(--link-color);
  168. font-weight: 700;
  169. font-size: 110%;
  170. width: 637px;
  171. white-space: normal;
  172. }
  173. .chapter_list .title .title_1:hover {
  174. color: var(--link-hover-color);
  175. cursor: pointer;
  176. }
  177. .chapter_list .title .title_2 {
  178. font-size: 80%;
  179. color: var(--main-color1);
  180. }
  181. .subchapter {
  182. margin-left: 1.5em;
  183. padding-left: 0.5em;
  184. display: none;
  185. border-left: 2px solid gray;
  186. }
  187. .selected .title_2 {
  188. font-size: 80%;
  189. color: unset;
  190. }
  191. .chapter_list .title {
  192. text-transform: capitalize;
  193. display: flex;
  194. justify-content: space-between;
  195. }
  196. .chapter_list .title div:lang(pali) {
  197. font-size: 80%;
  198. }
  199. .chapter_list .selected {
  200. background-color: var(--btn-color);
  201. }
  202. /*書標題特殊樣式*/
  203. .chapter_list .level_1 {
  204. color: whitesmoke;
  205. }
  206. .book_view .level_1 {
  207. background: linear-gradient(45deg, #e89650 20%, transparent 90%);
  208. }
  209. /*当前选择書標題特殊樣式*/
  210. li.level_1.selected {
  211. /*height: 250px;*/
  212. background: linear-gradient(45deg, #e89650 20%, transparent 90%);
  213. }
  214. .progress_circle {
  215. transform-origin: center;
  216. transform: rotateZ(-90deg);
  217. }
  218. .progress_color {
  219. stroke: mediumseagreen;
  220. }
  221. .progress_bg {
  222. stroke: lightgrey;
  223. }
  224. .chapter_head {
  225. border-bottom: 1px solid var(--border-line-color);
  226. }
  227. .chapter_head .title {
  228. text-align: center;
  229. }
  230. .chapter_head .title .title_1 {
  231. color: var(--main-color);
  232. font-size: 120%;
  233. padding: 1em 0 0.5em 0;
  234. font-weight: 700;
  235. }
  236. .chapter_head .title .title_2 {
  237. padding: 0 0 0.5em 0;
  238. }
  239. .progress .item {
  240. display: flex;
  241. margin: 5px;
  242. }
  243. .progress .item .lang {
  244. line-height: 30px;
  245. padding-left: 10px;
  246. }
  247. .chapter_head .res {
  248. border-top: 1px solid var(--border-line-color);
  249. }
  250. .chapter_head .res h2 {
  251. padding: 0 5px;
  252. font-size: 100%;
  253. font-weight: 700;
  254. }
  255. .chapter_head_tool_bar .chapter_back_button {
  256. display: none;
  257. }
  258. .chapter_head_tool_bar .chapter_close_button {
  259. display: inline-block;
  260. }
  261. .chapter_head_tool_bar {
  262. display: flex;
  263. justify-content: space-between;
  264. }
  265. .book_view .grid {
  266. width: 100%;
  267. }
  268. .book_view ul {
  269. border-right: unset;
  270. }
  271. .book_view ul li {
  272. width: 180px;
  273. height: 120px;
  274. margin: 1em;
  275. border: 10px solid wheat;
  276. }
  277. .book_view ul {
  278. display: flex;
  279. flex-flow: wrap;
  280. }
  281. .chapter_list .more_info{
  282. display:none;
  283. }
  284. .head_bar{
  285. display:flex;
  286. }
  287. .book_view .list li {
  288. width: 180px;
  289. height: unset;
  290. margin: unset;
  291. border: unset;
  292. }
  293. .chapter_dynamic_svg{
  294. width:150px;
  295. }
  296. .bangdan li{
  297. list-style-type:unset;
  298. white-space: nowrap;
  299. overflow: hidden;
  300. }
  301. .bangdan ol{
  302. padding-left: 1.5em;
  303. width: 200px;
  304. overflow: auto;/*整体列表增加滚动条*/
  305. }
  306. .chapter_list ul {
  307. margin-left: 0;
  308. }
  309. .head_bar{
  310. display: flex;
  311. flex-direction: column;
  312. }
  313. #left-bar{
  314. flex: 2;
  315. width: 20vw;
  316. background-color: var(--box-bg-color2);
  317. position: fixed;
  318. }
  319. .chapter_list ul li .main{
  320. display:flex;
  321. }
  322. .book_view ul li{
  323. display:block;
  324. }
  325. .book_view .level_1{
  326. background:unset;
  327. }
  328. .book_view ul li{
  329. border:unset;
  330. width: 30%;
  331. height:90px;
  332. }
  333. .chapter_list .list {
  334. display: none;
  335. }
  336. .chapter_list .show {
  337. display: block;
  338. width: 100%;
  339. }
  340. .chapter_list .grid {
  341. width: 100%;
  342. }
  343. .chapter_list > div {
  344. max-height: unset;
  345. overflow-y: unset;
  346. }
  347. .chapter_list .more_info{
  348. display:flex;
  349. font-size:80%;
  350. color: var(--main-color1);
  351. justify-content: space-between;
  352. }
  353. .more_info>.palicanon_chapter_info>.item{
  354. margin-right:1em;
  355. }
  356. .left_item>.item{
  357. margin-right:1em;
  358. }
  359. .filter>.inner {
  360. /*max-height: 200px;*/
  361. /*overflow-y: auto;*/
  362. background-color: var(--input-bg-color);
  363. }
  364. .main_menu {
  365. font-size: 100%;
  366. text-align: center;
  367. margin: 0 1em;
  368. transition: all 600ms ease;
  369. text-transform: capitalize;
  370. }
  371. .main_menu>span {
  372. margin: 2px;
  373. padding: 2px 12px;
  374. font-weight: 500;
  375. transition-duration: 0.2s;
  376. cursor: pointer;
  377. font-size: 120%;
  378. border: unset;
  379. border-radius: 0;
  380. border-bottom: 2px solid var(--nocolor);
  381. display: inline-block;
  382. }
  383. .main_menu>.select {
  384. border-bottom: 2px solid var(--link-color);
  385. }
  386. .main_menu>span>a {
  387. color:unset;
  388. }
  389. .main_menu span:hover {
  390. background-color: unset;
  391. color: unset;
  392. border-color: var(--link-hover-color);
  393. }
  394. .submenu select>option {
  395. background-color: gray;
  396. }
  397. button.active {
  398. background-color: gray;
  399. }
  400. .chapter_list ul li>.main>.left{
  401. width: 100px;
  402. display: flex;
  403. flex-direction: row;
  404. justify-content: space-between;
  405. }
  406. .chapter_list ul li>.main>.right{
  407. width:calc(100% - 100px);
  408. }
  409. .chapter_tag {
  410. width: 475px;
  411. padding: 5px 0;
  412. overflow-y: visible;
  413. overflow-x: auto;
  414. display: flex;
  415. flex-wrap: wrap;
  416. }
  417. .left_item {
  418. margin: 4px 0;
  419. }
  420. .left_item>.item>.small_icon{
  421. width:16px;
  422. height:16px;
  423. }
  424. .left_item>.item>.text{
  425. padding:5px;
  426. }
  427. div#tag_list {
  428. background-color: var(--btn-color);
  429. padding: 5px;
  430. display: none;
  431. }
  432. #more_chapter {
  433. text-align: center;
  434. }
  435. #more_chapter_line {
  436. border-bottom: 1px solid var(--border-line-color);
  437. height: 1em;
  438. }
  439. #btn_more_chapter{
  440. position: absolute;
  441. margin-top: -1.1em;
  442. background-color: var(--link-color);
  443. color: var(--bg-color);
  444. border: none;
  445. padding: 2px 40px;
  446. margin-left: -5em;
  447. }
  448. #filter-author li.active{
  449. background-color:gray;
  450. }
  451. #filter_bar {
  452. display: flex;
  453. justify-content: space-between;
  454. }
  455. div#filter_bar {
  456. font-size: 120%;
  457. }
  458. span.channel:hover {
  459. background-color: wheat;
  460. }
  461. span.channel {
  462. cursor: pointer;
  463. }
  464. .settting-item {
  465. display: flex;
  466. justify-content: space-between;
  467. padding: 2px;
  468. }
  469. #main_view{
  470. display:flex;
  471. }
  472. #tag_list_inner {
  473. display: flex;
  474. flex-direction: row;
  475. }
  476. #tag_list_tag_div {
  477. flex: 7;
  478. padding: 10px;
  479. }
  480. #tag_list_setting_div {
  481. flex: 3;
  482. padding: 10px;
  483. }
  484. #palicanon-category{
  485. display:none;
  486. }
  487. #select_bar_home{
  488. display:none;
  489. }
  490. #left-bar-inner {
  491. height: calc(100vh - 50px);
  492. overflow-y: scroll;
  493. }
  494. #palicanon-category{
  495. display:block;
  496. border: 1px solid var(--border-line-color);
  497. border-radius: 20px;
  498. }
  499. .community #palicanon-category{
  500. display:none;
  501. }
  502. #palicanon-category>.chapter_list {
  503. flex-direction: column;
  504. margin: 0;
  505. }
  506. #palicanon-category li{
  507. display: flex;
  508. padding: 10px 16px;
  509. border-bottom: 1px solid var(--border-line-color);
  510. }
  511. #palicanon-category li:last-child{
  512. border-bottom:none;
  513. }
  514. #palicanon-category .chapter_list .title .title_1 {
  515. width: unset;
  516. }
  517. #palicanon-category .chapter_list .title{
  518. width: -webkit-fill-available;
  519. padding-left: 12px;
  520. }
  521. #course_head_bar{
  522. flex:6;
  523. padding:0 10px 10px 20vw;
  524. width: 80vw;
  525. }
  526. #bread-crumbs{
  527. display: none;
  528. }
  529. .popup {
  530. color: var(--tool-bt-color);
  531. }
  532. .popup #bread-crumbs{
  533. display: block;
  534. }
  535. .popup #file_background {
  536. position: fixed;
  537. top: 0;
  538. left: 0;
  539. width: 100vw;
  540. height: 100vh;
  541. background-color: rgba(0,0,0,0.85);
  542. z-index: 200;
  543. }
  544. .popup #file_list_div {
  545. position: fixed;
  546. top: 4em;
  547. z-index: 210;
  548. }
  549. .popup #index_inner {
  550. height: calc(100vh - 4em);
  551. overflow-y: auto;
  552. }
  553. .popup .index_inner {
  554. height: calc(100vh - 5em);
  555. overflow-y: auto;
  556. }
  557. header {
  558. z-index: 100;
  559. }
  560. #bread-crumbs>span{
  561. padding: 0 4px;
  562. }
  563. .category #btn_more_chapter{
  564. display:none;
  565. }
  566. .recent{
  567. display:flex;
  568. }
  569. .recent>.title{
  570. flex:5;
  571. }
  572. .recent>.count{
  573. flex:1;
  574. }
  575. .recent>.update{
  576. flex:3;
  577. }