style.css 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632
  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: auto;
  300. }
  301. .bangdan ol{
  302. padding-left: 1.5em;
  303. width: 200px;
  304. }
  305. .chapter_list ul {
  306. margin-left: 0;
  307. }
  308. .head_bar{
  309. display: flex;
  310. flex-direction: column;
  311. }
  312. #left-bar{
  313. flex: 2;
  314. width: 20vw;
  315. background-color: var(--box-bg-color2);
  316. position: fixed;
  317. }
  318. .chapter_list ul li .main{
  319. display:flex;
  320. }
  321. .book_view ul li{
  322. display:block;
  323. }
  324. .book_view .level_1{
  325. background:unset;
  326. }
  327. .book_view ul li{
  328. border:unset;
  329. width: 30%;
  330. height:90px;
  331. }
  332. .chapter_list .list {
  333. display: none;
  334. }
  335. .chapter_list .show {
  336. display: block;
  337. width: 100%;
  338. }
  339. .chapter_list .grid {
  340. width: 100%;
  341. }
  342. .chapter_list > div {
  343. max-height: unset;
  344. overflow-y: unset;
  345. }
  346. .chapter_list .more_info{
  347. display:flex;
  348. font-size:80%;
  349. color: var(--main-color1);
  350. justify-content: space-between;
  351. }
  352. .more_info>.palicanon_chapter_info>.item{
  353. margin-right:1em;
  354. }
  355. .left_item>.item{
  356. margin-right:1em;
  357. }
  358. .filter>.inner {
  359. /*max-height: 200px;*/
  360. /*overflow-y: auto;*/
  361. background-color: var(--input-bg-color);
  362. }
  363. .main_menu {
  364. font-size: 100%;
  365. text-align: center;
  366. margin: 0 1em;
  367. transition: all 600ms ease;
  368. text-transform: capitalize;
  369. }
  370. .main_menu>span {
  371. margin: 2px;
  372. padding: 2px 12px;
  373. font-weight: 500;
  374. transition-duration: 0.2s;
  375. cursor: pointer;
  376. font-size: 120%;
  377. border: unset;
  378. border-radius: 0;
  379. border-bottom: 2px solid var(--nocolor);
  380. display: inline-block;
  381. }
  382. .main_menu>.select {
  383. border-bottom: 2px solid var(--link-color);
  384. }
  385. .main_menu>span>a {
  386. color:unset;
  387. }
  388. .main_menu span:hover {
  389. background-color: unset;
  390. color: unset;
  391. border-color: var(--link-hover-color);
  392. }
  393. .submenu select>option {
  394. background-color: gray;
  395. }
  396. button.active {
  397. background-color: gray;
  398. }
  399. .chapter_list ul li>.main>.left{
  400. width: 100px;
  401. display: flex;
  402. flex-direction: row;
  403. justify-content: space-between;
  404. }
  405. .chapter_list ul li>.main>.right{
  406. width:calc(100% - 100px);
  407. }
  408. .chapter_tag {
  409. width: 475px;
  410. padding: 5px 0;
  411. overflow-y: visible;
  412. overflow-x: auto;
  413. display: flex;
  414. flex-wrap: wrap;
  415. }
  416. .left_item {
  417. margin: 4px 0;
  418. }
  419. .left_item>.item>.small_icon{
  420. width:16px;
  421. height:16px;
  422. }
  423. .left_item>.item>.text{
  424. padding:5px;
  425. }
  426. div#tag_list {
  427. background-color: var(--btn-color);
  428. padding: 5px;
  429. display: none;
  430. }
  431. #more_chapter {
  432. text-align: center;
  433. }
  434. #more_chapter_line {
  435. border-bottom: 1px solid var(--border-line-color);
  436. height: 1em;
  437. }
  438. #btn_more_chapter{
  439. position: absolute;
  440. margin-top: -1.1em;
  441. background-color: var(--link-color);
  442. color: var(--bg-color);
  443. border: none;
  444. padding: 2px 40px;
  445. margin-left: -5em;
  446. }
  447. #filter-author li.active{
  448. background-color:gray;
  449. }
  450. #filter_bar {
  451. display: flex;
  452. justify-content: space-between;
  453. }
  454. div#filter_bar {
  455. font-size: 120%;
  456. }
  457. span.channel:hover {
  458. background-color: wheat;
  459. }
  460. span.channel {
  461. cursor: pointer;
  462. }
  463. .settting-item {
  464. display: flex;
  465. justify-content: space-between;
  466. padding: 2px;
  467. }
  468. #main_view{
  469. display:flex;
  470. }
  471. #tag_list_inner {
  472. display: flex;
  473. flex-direction: row;
  474. }
  475. #tag_list_tag_div {
  476. flex: 7;
  477. padding: 10px;
  478. }
  479. #tag_list_setting_div {
  480. flex: 3;
  481. padding: 10px;
  482. }
  483. #palicanon-category{
  484. display:none;
  485. }
  486. #select_bar_home{
  487. display:none;
  488. }
  489. #left-bar-inner {
  490. height: calc(100vh - 50px);
  491. overflow-y: scroll;
  492. }
  493. #palicanon-category{
  494. display:block;
  495. border: 1px solid var(--border-line-color);
  496. border-radius: 20px;
  497. }
  498. .community #palicanon-category{
  499. display:none;
  500. }
  501. #palicanon-category>.chapter_list {
  502. flex-direction: column;
  503. margin: 0;
  504. }
  505. #palicanon-category li{
  506. display: flex;
  507. padding: 10px 16px;
  508. border-bottom: 1px solid var(--border-line-color);
  509. }
  510. #palicanon-category li:last-child{
  511. border-bottom:none;
  512. }
  513. #palicanon-category .chapter_list .title .title_1 {
  514. width: unset;
  515. }
  516. #palicanon-category .chapter_list .title{
  517. width: -webkit-fill-available;
  518. padding-left: 12px;
  519. }
  520. #course_head_bar{
  521. flex:6;
  522. padding:0 10px 10px 20vw;
  523. width: 80vw;
  524. }
  525. #bread-crumbs{
  526. display: none;
  527. }
  528. .popup {
  529. color: var(--tool-bt-color);
  530. }
  531. .popup #bread-crumbs{
  532. display: block;
  533. }
  534. .popup #file_background {
  535. position: fixed;
  536. top: 0;
  537. left: 0;
  538. width: 100vw;
  539. height: 100vh;
  540. background-color: rgba(0,0,0,0.85);
  541. z-index: 200;
  542. }
  543. .popup #file_list_div {
  544. position: fixed;
  545. top: 4em;
  546. z-index: 210;
  547. }
  548. .popup #index_inner {
  549. height: calc(100vh - 4em);
  550. overflow-y: auto;
  551. }
  552. .popup .index_inner {
  553. height: calc(100vh - 5em);
  554. overflow-y: auto;
  555. }
  556. header {
  557. z-index: 100;
  558. }
  559. #bread-crumbs>span{
  560. padding: 0 4px;
  561. }
  562. .category #btn_more_chapter{
  563. display:none;
  564. }
  565. .recent{
  566. display:flex;
  567. }
  568. .recent>.title{
  569. flex:5;
  570. }
  571. .recent>.count{
  572. flex:1;
  573. }
  574. .recent>.update{
  575. flex:3;
  576. }