index.scss 2.6 KB

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