main.less 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. ::-webkit-scrollbar {
  2. height: 8px;
  3. width: 8px;
  4. background: transparent;
  5. border-radius: 4px;
  6. }
  7. ::-webkit-scrollbar-button {
  8. display: none;
  9. }
  10. ::-webkit-scrollbar-thumb {
  11. width: 8px;
  12. min-height: 15px;
  13. background: #c1c1c1;
  14. border-radius: 4px;
  15. }
  16. ::-webkit-scrollbar-track {
  17. background-color: transparent;
  18. }
  19. ::-webkit-scrollbar-track-piece {
  20. background: transparent;
  21. }
  22. ::selection {
  23. background: #accef7;
  24. }
  25. .lsiten-container {
  26. .lsiten-editor-toolbar {
  27. height: 40px;
  28. background: #ffffff;
  29. border-bottom: 1px #ece8e8 solid;
  30. box-shadow: 0 3px 7px rgba(0,0,0,.1);
  31. * {
  32. width: auto;
  33. height: auto;
  34. }
  35. }
  36. .lsiten-editor-view {
  37. overflow-x: scroll;
  38. overflow-y: scroll;
  39. position: relative;
  40. * {
  41. // box-sizing: content-box;
  42. height: auto;
  43. width: 100%;
  44. }
  45. // .page-break {
  46. // position: absolute;
  47. // text-align: center;
  48. // font-size: 1px;
  49. // z-index: 10;
  50. // left: 0;
  51. // width: 100%;
  52. // .spanMark {
  53. // width: 100%;
  54. // display: inline-block;
  55. // }
  56. // .topSpan, .bottomSpan{
  57. // display: block;
  58. // }
  59. // .middleSpan {
  60. // display: block;
  61. // background-color: #f6f6f6;
  62. // box-shadow: inset 0 7px 7px -5px rgba(0,0,0,.1), inset 0 -5px 5px -7px rgba(0,0,0,.1), 7px 0 7px #f6f6f6, -7px 0 7px #f6f6f6;
  63. // }
  64. // }
  65. // * {
  66. // box-sizing: content-box;
  67. // height: auto;
  68. // }
  69. // .lsiten-page-view {
  70. // background: #ffffff;
  71. // position: relative;
  72. // min-width: 0;
  73. // margin: 0 auto;
  74. // box-shadow: 0 2px 7px rgba(0,0,0,.1);
  75. // overflow: hidden;
  76. // .lsiten-editor-page {
  77. // width: 100%;
  78. // }
  79. // .lsiten-page-column {
  80. // float: left;
  81. // }
  82. // .header-footer-view {
  83. // position: absolute;
  84. // left: 0;
  85. // .footer-input {
  86. // width: 100%;
  87. // line-height: 30px;
  88. // outline: none;
  89. // color: #aaa;
  90. // font-size: 13px;
  91. // border: 1px dashed transparent;
  92. // white-space: nowrap;
  93. // overflow: hidden;
  94. // box-sizing: border-box;
  95. // text-align: center;
  96. // &:hover {
  97. // border-color: #ccc;
  98. // }
  99. // &:focus {
  100. // color: #666;
  101. // border-color: #666;
  102. // }
  103. // }
  104. // }
  105. // .page-header {
  106. // left: 90px;
  107. // right: 90px;
  108. // width: auto;
  109. // top: 30px;
  110. // }
  111. // .page-footer {
  112. // bottom: 30px;
  113. // left: 90px;
  114. // right: 90px;
  115. // width: auto;
  116. // }
  117. // .lsiten_editor_text {
  118. // min-height: 100%;
  119. // height: auto;
  120. // padding: 70px!important;
  121. // box-sizing: border-box;
  122. // min-width: 100%;
  123. // display: inline-block;
  124. // outline: none;
  125. // word-wrap: break-word;
  126. // -webkit-line-break: after-white-space;
  127. // .block-view {
  128. // margin: 0;
  129. // padding: 0 20px;
  130. // outline: none;
  131. // box-sizing: border-box;
  132. // text-align: left;
  133. // white-space: pre-wrap;
  134. // line-height: 1.75;
  135. // }
  136. // }
  137. // }
  138. // .lsiten-page-A4 {
  139. // width: 802px;
  140. // }
  141. // .lsiten-page-A3 {
  142. // width: 1464px;
  143. // }
  144. }
  145. }