create.scss 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. .doc-container{
  2. width:100%;
  3. min-height:98vh;
  4. position:relative;
  5. .editor-top{
  6. display: flex;
  7. width:100%;
  8. height:60px;
  9. min-height: 60px;
  10. flex-direction: row;
  11. justify-content: space-between;
  12. align-items: center;
  13. position:fixed;
  14. top:0px;
  15. z-index: 999;
  16. background: #fff;
  17. border-bottom:1px solid #ebebeb;
  18. .left{
  19. width:50%;
  20. height:100%;
  21. display: flex;
  22. flex-direction: row;
  23. justify-content: flex-start;
  24. align-items: center;
  25. font-size:14px;
  26. padding-left:10px;
  27. .doc{
  28. margin-right:20px;
  29. font-size:14px;
  30. >span{
  31. font-weight:800;
  32. }
  33. }
  34. .creator{
  35. font-size:14px;
  36. >span{
  37. font-weight:800;
  38. }
  39. }
  40. }
  41. .right{
  42. width:50%;
  43. display: flex;
  44. flex-direction: row;
  45. justify-content: flex-end;
  46. justify-items: center;
  47. padding-right: 10px;
  48. }
  49. }
  50. .editor-content{
  51. width:100%;
  52. min-height:80vh;
  53. margin-top:60px;
  54. border:1px solid #ebebeb;
  55. .neary-doc{
  56. position:fixed;
  57. top:60px;
  58. left:0px;
  59. width:205px;
  60. // min-height: 100%;
  61. height: 99vh;
  62. border:1px solid #ebebeb;
  63. padding:5px;
  64. border-radius: 10px;
  65. border-top-left-radius: 0;
  66. z-index:1000!important;
  67. background:#FFF;
  68. .left-content{
  69. padding:10px;
  70. height:80vh;
  71. overflow:hidden;
  72. overflow-y:auto;
  73. overflow-x: auto; /* Enable horizontal scrolling */
  74. .new-article{
  75. background:#FFF;
  76. margin-top:5px;
  77. .sub-title{
  78. height:30px;
  79. line-height: 30px;
  80. font-weight: bold;
  81. margin-top:10px;
  82. font-size:14px;
  83. border-bottom: 1px solid #e5e5e5;
  84. }
  85. .el-collapse{
  86. width:90%;
  87. margin:auto;
  88. .el-collapse-item {
  89. .el-collapse-item__content{
  90. .sub-menus{
  91. margin-left:15px;
  92. font-size:12px;
  93. height:20px;
  94. line-height: 20px;
  95. cursor:pointer;
  96. }
  97. }
  98. }
  99. }
  100. }
  101. }
  102. }
  103. .editor-main{
  104. width:65%;
  105. margin:auto;
  106. overflow: hidden;
  107. overflow-y: auto;
  108. position:relative;
  109. .menus-box{
  110. position: fixed;
  111. top:60px;
  112. background:#FFF;
  113. z-index:999;
  114. width: 61.5%;
  115. }
  116. .editor-box{
  117. margin-top:80px;
  118. }
  119. .editor{
  120. width: 100%;
  121. div{
  122. span{
  123. }
  124. }
  125. .template-textarea{
  126. .rich-editor{
  127. padding: 0 10px;
  128. }
  129. }
  130. }
  131. }
  132. .editor-option{
  133. width:255px;
  134. height: 100vh;
  135. position:fixed;
  136. top:60px;
  137. right:0;
  138. border:1px solid #f0f0f0;
  139. z-index: 1000 !important;
  140. background:#FFF;
  141. .editor-menu{
  142. writing-mode: vertical-rl;
  143. position: fixed;
  144. width:60px;
  145. right:254px;
  146. top:65px;
  147. font-size:12px;
  148. .item{
  149. background-color: #fff;
  150. border: 1px solid rgba(0,0,0,.1);
  151. /* -webkit-box-shadow: 0 2px 8px 0 rgba(0,0,0,.1);
  152. box-shadow: 0 2px 8px 0 rgba(0,0,0,.1); */
  153. border-radius: 2px;
  154. /* width: 94px; */
  155. letter-spacing: 3px;
  156. height: 75px;
  157. display: inline-block;
  158. text-align: center;
  159. line-height: 32px;
  160. margin-bottom: 12px;
  161. -webkit-transition: all .8s;
  162. transition: all .8s;
  163. cursor: pointer;
  164. .name{
  165. font-size:12px;
  166. }
  167. }
  168. .active-item{
  169. background-color: #155bd4;
  170. color: #fff;
  171. }
  172. }
  173. }
  174. }
  175. }
  176. /* .neary-doc {
  177. display: flex;
  178. }
  179. .left-content {
  180. flex: 1;
  181. }
  182. */
  183. .right-sidebarew{
  184. position: absolute;
  185. left: 203px;
  186. top: 10px;
  187. display: flex;
  188. writing-mode: vertical-rl;
  189. flex-direction: row;
  190. font-size: 12px;
  191. }
  192. .sidebar-item {
  193. background-color: #fff;
  194. border: 1px solid #ddd;
  195. padding: 10px;
  196. letter-spacing: 3px;
  197. margin-bottom: 10px;
  198. cursor: pointer;
  199. text-align: center;
  200. }
  201. .active-item{
  202. background-color: #155bd4;
  203. color: #fff;
  204. }