global.scss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. $bg_color : #3C64DC;
  2. html,
  3. body {
  4. height: 100%;
  5. }
  6. h1,
  7. h2,
  8. h3,
  9. h4,
  10. h5,
  11. h6,
  12. p,
  13. body,
  14. html,
  15. ul,
  16. ol,
  17. li {
  18. margin: 0;
  19. padding: 0;
  20. }
  21. ul,
  22. ol,
  23. li {
  24. outline: none;
  25. list-style: none;
  26. }
  27. .overflow {
  28. overflow: hidden;
  29. white-space: nowrap;
  30. text-overflow: ellipsis;
  31. }
  32. // 前台公共样式
  33. a {
  34. color: #333333;
  35. text-decoration: none;
  36. }
  37. .center {
  38. width: 1200px;
  39. margin: 0 auto;
  40. height: 100%;
  41. }
  42. .overflow {
  43. overflow: hidden;
  44. white-space: nowrap;
  45. text-overflow: ellipsis;
  46. }
  47. .flex {
  48. display: flex;
  49. justify-content: center;
  50. align-items: center;
  51. }
  52. /*定义滚动条的样式*/
  53. ::-webkit-scrollbar {
  54. width: 10px;
  55. height: 10px;
  56. }
  57. /*定义滚动条滑块的样式*/
  58. ::-webkit-scrollbar-thumb {
  59. background: #ccc;
  60. border-radius: 10px;
  61. }
  62. /*定义滚动条轨道的背景颜色*/
  63. ::-webkit-scrollbar-track {
  64. background: #f1f1f1;
  65. }
  66. // 表格样式
  67. .el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell {
  68. background: #F9FAFE;
  69. }
  70. .el-table {
  71. th.el-table__cell.is-leaf,
  72. td.el-table__cell {
  73. border-bottom: none;
  74. }
  75. .el-table__header-wrapper,
  76. .el-table__fixed-header-wrapper {
  77. th {
  78. word-break: break-word;
  79. background-color: #ECEFF6;
  80. ;
  81. color: #515a6e;
  82. height: 45px;
  83. }
  84. }
  85. // 滚动条的宽度
  86. .el-table__body-wrapper::-webkit-scrollbar {
  87. width: 10px; // 横向滚动条
  88. height: 10px; // 纵向滚动条 必写
  89. }
  90. // 滚动条的滑块
  91. .el-table__body-wrapper::-webkit-scrollbar-thumb {
  92. background-color: #DDDEE0; //颜色
  93. border-radius: 5px; //圆角
  94. }
  95. .el-table__body-wrapper {
  96. position: relative;
  97. .el-table__empty-text {
  98. display: inline-block;
  99. line-height: 25px;
  100. position: absolute;
  101. left: 50%;
  102. top: 30px;
  103. transform: translateX(-50%);
  104. color: #999;
  105. overflow: hidden;
  106. }
  107. }
  108. .el-table__empty-block {
  109. min-height: 150px;
  110. }
  111. }
  112. // 集团公告发布页面tip
  113. .notice-testtooltip {
  114. padding: 2px 8px;
  115. color: #666;
  116. }
  117. //------------------------------公共样式开始-----------------------------------------
  118. // 公共div外部样式
  119. .common-box {
  120. padding: 20px;
  121. background-color: #fff;
  122. border-radius: 6px;
  123. overflow-y: auto;
  124. }
  125. // 富文本编辑器样式
  126. .editor-css {
  127. ul {
  128. li {
  129. list-style: disc;
  130. }
  131. }
  132. ol {
  133. li {
  134. list-style: decimal;
  135. }
  136. }
  137. }
  138. // 面包屑导航
  139. .app-breadcrumb.el-breadcrumb {
  140. line-height: 40px;
  141. margin-left: 20px;
  142. color: #616161;
  143. .no-redirect {
  144. color: $bg_color;
  145. cursor: text;
  146. }
  147. .el-breadcrumb__separator {
  148. color: #898989;
  149. }
  150. }
  151. // 按钮湖蓝色------新增按钮
  152. .lake-Blue {
  153. background: #52C8CC;
  154. border: #52C8CC;
  155. }