index.less 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. @charset "utf-8";
  2. #sentence-read {
  3. height: 100%;
  4. background: rgba(221, 227, 237, 1);
  5. .layout {
  6. height: 100%;
  7. .layout-body {
  8. width: 1000px;
  9. margin: 0 auto;
  10. height: 100%;
  11. overflow: hidden;
  12. overflow-y: auto;
  13. background: #fff;
  14. padding: 20px 30px;
  15. position: relative;
  16. .crumb {
  17. color: #5E677B;
  18. margin-bottom: 5px;
  19. }
  20. .title {
  21. color: #000000;
  22. font-size: 20px;
  23. font-weight: 600;
  24. margin-bottom: 40px;
  25. }
  26. .text {
  27. color: #000000;
  28. line-height: 20px;
  29. }
  30. .overload {
  31. position: relative;
  32. margin: 0 20px;
  33. .text {
  34. position: absolute;
  35. left: 0;
  36. top: 0;
  37. width: 960px;
  38. }
  39. }
  40. }
  41. .layout-menu {
  42. position: absolute;
  43. top: 0;
  44. bottom: 0;
  45. right: 0;
  46. left: 0;
  47. padding: 60px;
  48. background: #fff;
  49. overflow: hidden;
  50. overflow-y: auto;
  51. .title {
  52. font-size: 24px;
  53. color: #333333;
  54. border-bottom: 1px solid #E5E7F0;
  55. padding-bottom: 30px;
  56. margin: 0;
  57. }
  58. .close {
  59. position: absolute;
  60. top: 60px;
  61. right: 30px;
  62. font-size: 14px;
  63. font-family: Helvetica Neue;
  64. width: 20px;
  65. height: 20px;
  66. line-height: 20px;
  67. text-align: center;
  68. cursor: pointer;
  69. color: #B1B1B1;
  70. }
  71. .chapter {}
  72. .chapter-item {
  73. height: 50px;
  74. line-height: 50px;
  75. padding-left: 20px;
  76. font-size: 20px;
  77. color: #333333;
  78. border-bottom: 1px solid #E5E7F0;
  79. cursor: pointer;
  80. &.trail {
  81. color: #999;
  82. }
  83. }
  84. .chapter-item:hover,
  85. .chapter-item.active {
  86. color: #4292F0;
  87. &trail {
  88. color: #999;
  89. }
  90. }
  91. .part-item {
  92. height: 50px;
  93. line-height: 50px;
  94. padding-left: 70px;
  95. font-size: 16px;
  96. color: #5E677B;
  97. border-bottom: 1px solid #E5E7F0;
  98. cursor: pointer;
  99. &.trail {
  100. color: #999;
  101. }
  102. }
  103. .part-item:hover,
  104. .part-item.active {
  105. color: #4292F0;
  106. &trail {
  107. color: #999;
  108. }
  109. }
  110. .page {
  111. float: right;
  112. padding-right: 20px;
  113. }
  114. }
  115. .layout-right {
  116. position: fixed;
  117. left: 50%;
  118. top: 45px;
  119. transform: translateX(500px);
  120. margin-left: 6px;
  121. }
  122. .layout-bottom {
  123. position: fixed;
  124. bottom: 20px;
  125. left: 22px;
  126. font-size: 10px;
  127. color: #8897A8;
  128. .per {
  129. margin-right: 10px;
  130. }
  131. .num {
  132. margin-right: 10px;
  133. }
  134. .btn {
  135. position: relative;
  136. .assets {
  137. cursor: pointer;
  138. }
  139. .jump {
  140. position: absolute;
  141. top: -40px;
  142. width: 120px;
  143. height: 30px;
  144. padding: 6px 10px;
  145. background: rgba(255, 255, 255, 0.5);
  146. .text {
  147. font-size: 12px;
  148. color: #8897A8;
  149. margin-right: 10px;
  150. display: inline-block;
  151. }
  152. .input {
  153. vertical-align: top;
  154. width: 36px;
  155. height: 18px;
  156. line-height: 18px;
  157. background: rgba(255, 255, 255, 1);
  158. display: inline-block;
  159. border: none;
  160. text-align: center;
  161. }
  162. .assets {
  163. vertical-align: top;
  164. }
  165. }
  166. }
  167. }
  168. .layout-progress {
  169. position: fixed;
  170. bottom: 0;
  171. left: 0;
  172. right: 0;
  173. }
  174. }
  175. }