reader.css 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422
  1. ::-webkit-scrollbar {
  2. width: 8px;
  3. height: 8px;
  4. /*display: none;*/
  5. }
  6. /*::-webkit-scrollbar-track {
  7. -webkit-border-radius: 10px;
  8. border-radius: 10px;
  9. background: rgba(85, 85, 85, 0.1);
  10. }*/
  11. ::-webkit-scrollbar-thumb {
  12. -webkit-border-radius: 10px;
  13. border-radius: 10px;
  14. background: rgba(85, 85, 85, 0.0);
  15. }
  16. :hover::-webkit-scrollbar-thumb {
  17. -webkit-border-radius: 10px;
  18. border-radius: 10px;
  19. background: rgba(85, 85, 85, 0.4);
  20. }
  21. .reader_body {
  22. display: flex;
  23. flex-direction: column;
  24. margin: 0;
  25. padding: 0;
  26. background-color: white;
  27. color: #252525;
  28. }
  29. .reader_toolbar {
  30. height: 2.5em;
  31. width: 100%;
  32. top: 0;
  33. left: 0;
  34. margin: 0;
  35. padding: 0 10px;
  36. position: fixed;
  37. border-bottom: 1px solid #989797;
  38. background-color: #eaeaea;
  39. display: -webkit-flex;
  40. display: -moz-flex;
  41. display: flex;
  42. -webkit-align-items: center;
  43. -moz-align-items: center;
  44. align-items: center;
  45. -webkit-justify-content: space-between;
  46. -moz-justify-content: space-between;
  47. justify-content: space-between;
  48. z-index: 2
  49. }
  50. #main_text_view{
  51. padding-top:2.5em;
  52. font-family: 'Noto Sans', 'Noto Sans SC', 'Noto Sans TC', Arial, Verdana;
  53. }
  54. button,
  55. input[type="button"],
  56. input[type="submit"] {
  57. font-weight: 500;
  58. font-size: 90%;
  59. background-color: rgba(255, 0, 0, 0);
  60. color: red;
  61. border: 1px solid red;
  62. border-radius: 4px;
  63. margin: 2px;
  64. padding: 2px 12px;
  65. -webkit-transition-duration: 0.2s;
  66. -moz-transition-duration: 0.2s;
  67. transition-duration: 0.2s;
  68. cursor: pointer;
  69. display: -webkit-inline-flex;
  70. display: -moz-inline-flex;
  71. display: inline-flex;
  72. -webkit-align-items: center;
  73. -moz-align-items: center;
  74. align-items: center;
  75. -webkit-flex-wrap: nowrap;
  76. -moz-flex-wrap: nowrap;
  77. flex-wrap: nowrap;
  78. -webkit-justify-content: center;
  79. -moz-justify-content: center;
  80. justify-content: center;
  81. }
  82. button:hover,
  83. input[type="button"]:hover,
  84. input[type="submit"]:hover {
  85. background-color: red;
  86. color: white;
  87. }
  88. button:disabled,
  89. input[type="button"]:disabled,
  90. input[type="submit"]:disabled {
  91. color: #878787;
  92. border-color: #878787;
  93. }
  94. .par_div{
  95. margin: 1em 5px 1em 15px;
  96. }
  97. .text_level_0{
  98. }
  99. .text_level_1{
  100. font-size:200%;
  101. font-weight:700;
  102. text-align:center;
  103. }
  104. .text_level_2{
  105. text-align:center;
  106. font-size:140%;
  107. font-weight:700;
  108. }
  109. .text_level_3{
  110. text-align:center;
  111. font-size:120%;
  112. font-weight:700;
  113. }
  114. .text_level_4{
  115. font-size:110%;
  116. font-weight:700;
  117. }
  118. .text_level_5{
  119. font-weight:700;
  120. }
  121. .text_level_6{
  122. font-weight:500;
  123. }
  124. .text_level_7{
  125. font-weight:500;
  126. }
  127. .text_level_8{
  128. line-height: 130%;
  129. }
  130. .comments_text_div{
  131. margin: 2px 1em;
  132. background-color: #fff1d2;
  133. padding: 4px;
  134. border-left: 4px solid#eda710;
  135. display: -webkit-flex;
  136. display: -moz-flex;
  137. display: flex;
  138. -webkit-align-items: center;
  139. -moz-align-items: center;
  140. align-items: center;
  141. -webkit-justify-content: space-between;
  142. -moz-justify-content: space-between;
  143. justify-content: space-between;
  144. }
  145. .comments_text{
  146. font-size:80%;
  147. }
  148. #new_comm_text{
  149. width: 100%;
  150. height: 5em;
  151. }
  152. /* 下拉按钮样式 */
  153. .case_dropbtn {
  154. }
  155. .case_dropdown .case_dropbtn {
  156. display: flex;
  157. cursor: pointer;
  158. margin: 0px;
  159. }
  160. /* 容器 <div> - 需要定位下拉内容 */
  161. .case_dropdown {
  162. padding: 0;
  163. cursor: pointer;
  164. min-width: 3em;
  165. display: inline-block;
  166. }
  167. /* 下拉内容 (默认隐藏) */
  168. .case_dropdown-content {
  169. margin: 0.3em;
  170. display: none;
  171. position: absolute;
  172. background-color: white;
  173. min-width: 8em;
  174. max-width: 30em;
  175. margin: -1px 0px;
  176. box-shadow: 0px 3px 13px 0px black;
  177. color: black;
  178. z-index: 200;
  179. }
  180. .case_dropdown-title{
  181. padding: 0.1em 0.1em;
  182. display: block;
  183. text-align: left;
  184. background-color: #fdfdbf;
  185. font-size: 80%;
  186. cursor: default;
  187. font-weight: 500;
  188. }
  189. /* 下拉菜单的链接 */
  190. .case_dropdown-content a {
  191. /*padding: 0.3em 0.4em;*/
  192. line-height: 160%;
  193. text-decoration: none;
  194. display: block;
  195. cursor: pointer;
  196. text-align: left;
  197. }
  198. /* 鼠标移上去后修改下拉菜单链接颜色 */
  199. .case_dropdown-content a:hover {
  200. background-color: blue;
  201. color: white;
  202. }
  203. /* 在鼠标移上去后显示下拉菜单 */
  204. .case_dropdown:hover .case_dropdown-content {
  205. display: block;
  206. }
  207. /* 当下拉内容显示后修改下拉按钮的背景颜色 */
  208. .case_dropdown:hover .case_dropbtn {
  209. opacity: 0.4;
  210. }
  211. /*下拉菜单结束*/
  212. #tool_bar_comments{
  213. display:none;
  214. }
  215. #tool_bar_dighest{
  216. display:none;
  217. }
  218. .full_screen_window{
  219. height: 100%;
  220. width: 100%;
  221. top: 0;
  222. left: 0;
  223. margin: 0;
  224. padding: 0;
  225. position: fixed;
  226. background-color:white;
  227. }
  228. .full_screen_window .win_caption{
  229. height:2em;
  230. border-bottom: 1px solid #989797;
  231. background-color: #eaeaea;
  232. display: -webkit-flex;
  233. display: -moz-flex;
  234. display: flex;
  235. -webkit-align-items: center;
  236. -moz-align-items: center;
  237. align-items: center;
  238. -webkit-justify-content: space-between;
  239. -moz-justify-content: space-between;
  240. justify-content: space-between;
  241. }
  242. #dighest_edit_div{
  243. display:none;
  244. }
  245. #leftmenuinner {
  246. background-color: white;
  247. position: fixed;
  248. display: block;
  249. top: 0;
  250. left: 0;
  251. padding: 0;
  252. height: 100%;
  253. width: 100%;
  254. max-width:20em;
  255. z-index: 15;
  256. -webkit-transition-duration: 0.4s;
  257. transition-duration: 0.4s;
  258. }
  259. .viewswitch_on {
  260. -webkit-transform:translateX(0em);
  261. -moz-transform:translateX:(0em);
  262. transform:translateX:(0em);
  263. box-shadow: 5px 0 20px 5px var(--shadow-color);
  264. }
  265. .viewswitch_off {
  266. -webkit-transform:translateX(-82em);
  267. -moz-transform:translateX(-82em);
  268. transform:translateX(-82em);
  269. }
  270. .common-tab {
  271. text-align: center;
  272. width: auto;
  273. position: relative;
  274. height: 100%;
  275. display: -webkit-flex;
  276. display: -moz-flex;
  277. display: flex;
  278. margin: 15px 15px 0 15px;
  279. align-items: flex-end;
  280. font-weight: 500;
  281. z-index: 11;
  282. }
  283. .common-tab_li {
  284. margin: 0;
  285. padding: 8px 10px;
  286. display: inline-block;
  287. cursor: pointer;
  288. border: 1px solid gray;
  289. border-bottom: 0px;
  290. }
  291. .common-tab_li_act {
  292. color:var(--tool-color);
  293. margin: 0;
  294. padding: 8px 10px;
  295. display: inline-block;
  296. cursor: pointer;
  297. box-shadow: 0 1px 0 0 black;
  298. background-color: gray;
  299. border: 1px solid black;
  300. border-bottom: 0px;
  301. border-top-right-radius: 4px;
  302. border-top-left-radius: 4px;
  303. }
  304. .blackscreen {
  305. position: fixed;
  306. left: 0;
  307. top: 0;
  308. width: 100%;
  309. height: 100%;
  310. background-color: rgba(25, 25, 25, 0.6);
  311. display: none;
  312. z-index: 14;
  313. }
  314. .toc_item{
  315. padding: 0.3em 0.6em;
  316. line-height: 1.4em;
  317. border-radius: 2px;
  318. -webkit-transition-duration: 0.2s;
  319. transition-duration: 0.2s;
  320. cursor: pointer;
  321. display: -webkit-box;
  322. display: -moz-box;
  323. display: box;
  324. word-break: keep-all;
  325. overflow: hidden;
  326. white-space: nowrap;
  327. border-bottom: 1px solid #989797;
  328. }
  329. .level_2{
  330. padding-left:10px;
  331. }
  332. .level_3{
  333. padding-left:20px;
  334. }
  335. .level_4{
  336. padding-left:30px;
  337. }
  338. .level_4{
  339. padding-left:40px;
  340. }
  341. pb {
  342. width: 1em;
  343. height: 1em;
  344. background-color: blue;
  345. display: inline-block;
  346. }
  347. .tooltip {
  348. background-color:yellow;
  349. position: relative;
  350. display: inline;
  351. zcursor: help;
  352. }
  353. .tooltip .tooltiptext {
  354. visibility: hidden;
  355. position: absolute;
  356. width: 100px;
  357. background-color: #555;
  358. color: #fff;
  359. text-align: center;
  360. padding: 5px 0;
  361. border-radius: 6px;
  362. z-index: 1;
  363. opacity: 0;
  364. transition: opacity .6s;
  365. }
  366. .tooltip .tooltiptext {
  367. width: 120px;
  368. top: 100%;
  369. left: 50%;
  370. margin-left: -60px; /* 使用一半宽度 (120/2 = 60) 来居中提示工具 */
  371. }
  372. .tooltip .tooltiptext::after {
  373. content: " ";
  374. position: absolute;
  375. bottom: 100%;
  376. /* 提示工具头部 */
  377. left: 50%;
  378. margin-left: -5px;
  379. border-width: 5px;
  380. border-style: solid;
  381. border-color: transparent transparent black transparent;
  382. }
  383. .tooltip:hover{
  384. color:red;
  385. }
  386. .tooltip:hover .tooltiptext {
  387. visibility: visible;
  388. opacity: 1;
  389. }
  390. #tool_bar_fix{
  391. display:none;
  392. }