index.less 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. @editorTabsborderColor: #121315;
  2. body, html{
  3. height: 100%;
  4. margin: 0;
  5. padding: 0;
  6. background: #fff;
  7. -moz-osx-font-smoothing: grayscale;
  8. -webkit-font-smoothing: antialiased;
  9. text-rendering: optimizeLegibility;
  10. font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;
  11. }
  12. #app {
  13. height: 100%;
  14. }
  15. input, textarea{
  16. font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;
  17. }
  18. .editor-tabs{
  19. background: @editorTabsborderColor;
  20. .el-tabs__header{
  21. margin: 0;
  22. border-bottom-color: @editorTabsborderColor;
  23. .el-tabs__nav{
  24. border-color: @editorTabsborderColor;
  25. }
  26. }
  27. .el-tabs__item{
  28. height: 32px;
  29. line-height: 32px;
  30. color: #888a8e;
  31. border-left: 1px solid @editorTabsborderColor!important;
  32. background: #363636;
  33. margin-right: 5px;
  34. user-select: none;
  35. }
  36. .el-tabs__item.is-active{
  37. background: #1e1e1e;
  38. border-bottom-color: #1e1e1e!important;
  39. color: #fff;
  40. }
  41. .el-icon-edit{
  42. color: #f1fa8c;
  43. }
  44. .el-icon-document{
  45. color: #a95812;
  46. }
  47. :focus.is-active.is-focus:not(:active) {
  48. box-shadow: none;
  49. border-radius: 0;
  50. }
  51. }
  52. // home
  53. .right-scrollbar {
  54. .el-scrollbar__view {
  55. padding: 12px 18px 15px 15px;
  56. }
  57. }
  58. .el-scrollbar__wrap {
  59. box-sizing: border-box;
  60. overflow-x: hidden !important;
  61. margin-bottom: 0 !important;
  62. }
  63. .center-tabs{
  64. .el-tabs__header{
  65. margin-bottom: 0!important;
  66. }
  67. .el-tabs__item{
  68. width: 50%;
  69. text-align: center;
  70. }
  71. .el-tabs__nav{
  72. width: 100%;
  73. }
  74. }
  75. .reg-item{
  76. padding: 12px 6px;
  77. background: #f8f8f8;
  78. position: relative;
  79. border-radius: 4px;
  80. .close-btn{
  81. position: absolute;
  82. right: -6px;
  83. top: -6px;
  84. display: block;
  85. width: 16px;
  86. height: 16px;
  87. line-height: 16px;
  88. background: rgba(0, 0, 0, 0.2);
  89. border-radius: 50%;
  90. color: #fff;
  91. text-align: center;
  92. z-index: 1;
  93. cursor: pointer;
  94. font-size: 12px;
  95. &:hover{
  96. background: rgba(210, 23, 23, 0.5)
  97. }
  98. }
  99. & + .reg-item{
  100. margin-top: 18px;
  101. }
  102. }
  103. .action-bar{
  104. & .el-button+.el-button {
  105. margin-left: 15px;
  106. }
  107. & i {
  108. font-size: 20px;
  109. vertical-align: middle;
  110. position: relative;
  111. top: -1px;
  112. }
  113. }
  114. .custom-tree-node{
  115. width: 100%;
  116. font-size: 14px;
  117. .node-operation{
  118. float: right;
  119. }
  120. i[class*="el-icon"] + i[class*="el-icon"]{
  121. margin-left: 6px;
  122. }
  123. .el-icon-plus{
  124. color: #409EFF;
  125. }
  126. .el-icon-delete{
  127. color: #157a0c;
  128. }
  129. }
  130. .el-scrollbar__view{
  131. overflow-x: hidden;
  132. }
  133. .el-rate{
  134. display: inline-block;
  135. vertical-align: text-top;
  136. }
  137. .el-upload__tip{
  138. line-height: 1.2;
  139. }
  140. a,
  141. a:focus,
  142. a:hover {
  143. color: inherit;
  144. outline: none;
  145. text-decoration: none;
  146. }