index.scss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. @import "./mixin.scss";
  2. @import "./transition.scss";
  3. @import "./element-plus.scss";
  4. @import "./sidebar.scss";
  5. @import "./dark.scss";
  6. .warning-row {
  7. --el-table-tr-bg-color: antiquewhite;
  8. }
  9. body {
  10. width: 100%;
  11. height: 100%;
  12. -moz-osx-font-smoothing: grayscale;
  13. -webkit-font-smoothing: antialiased;
  14. text-rendering: optimizelegibility;
  15. font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB",
  16. "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  17. }
  18. html {
  19. width: 100%;
  20. height: 100%;
  21. box-sizing: border-box;
  22. }
  23. #app {
  24. width: 100%;
  25. height: 100%;
  26. min-width:1200px;
  27. }
  28. /* 头部用户信息样式重置 */
  29. .hidden {
  30. display: none !important;
  31. }
  32. /* 灰色模式 */
  33. .html-grey {
  34. filter: grayscale(100%);
  35. }
  36. /* 色弱模式 */
  37. .html-weakness {
  38. filter: invert(80%);
  39. }
  40. .pc-spacing {
  41. margin: 10px;
  42. }
  43. .mobile-spacing {
  44. margin: 0;
  45. }
  46. /* 重置vxe-table中pager样式 */
  47. .vxe-pager .vxe-pager--num-btn:not(.is--disabled).is--active {
  48. color: #fff !important;
  49. }
  50. .fr{
  51. float: right;
  52. }
  53. .fl{
  54. float: left;
  55. }
  56. .tl{
  57. text-align: left;
  58. }
  59. .tr{
  60. text-align: right;
  61. }
  62. .tc{
  63. text-align: center;
  64. }
  65. .clear::after,
  66. .clear::before {
  67. content: "";
  68. display: block;
  69. clear: both;
  70. }
  71. .el-dialog .el-dialog__body{
  72. padding-top:8px!important;
  73. }
  74. .el-dialog{
  75. // width: 800px !important;
  76. max-width: 90vw;
  77. }
  78. .white-bg{
  79. background-color: #fff;
  80. }
  81. .IntervalTime,.IntervalNum{
  82. width: 100%;
  83. display: flex;
  84. .timeItem{
  85. width: calc(50% - 11px );
  86. }
  87. .timeZhi{
  88. width:22px;
  89. text-align: center;
  90. line-height: 32px;
  91. }
  92. }
  93. .padding__container{
  94. background-color: #fff;
  95. padding: 15px !important;
  96. }
  97. .dialog-max{
  98. min-width: 1040px !important;
  99. }
  100. .el-dialog {
  101. min-width: 1024px !important;
  102. }
  103. .el-dialog__body{
  104. overflow-x:hidden;
  105. }
  106. .main-content {
  107. padding: 15px !important;
  108. // background:#f4f7fc !important;
  109. }
  110. .page-search {
  111. box-shadow:rgba(33, 76, 217, 0.2) 0px 2px 8px 0px;
  112. border-radius: 4px;
  113. }
  114. .page-content {
  115. box-shadow: rgba(33, 76, 217, 0.2) 0px 2px 8px 0px;
  116. border-radius: 4px;
  117. }
  118. .bg-white {
  119. background:#FFF !important;
  120. }
  121. body {
  122. font-family: robotothin,-apple-system,Helvetica Neue,Helvetica,Arial,PingFang SC,Hiragino Sans GB,STHeiti,Microsoft YaHei,Microsoft JhengHei,SimSun,sans-serif !important;
  123. }
  124. .menu-drawer {
  125. min-width: 1000px;
  126. .el-drawer__body{
  127. padding: 10px !important;
  128. background-color: #f2f4f7;
  129. }
  130. }
  131. .menu-drawer-item {
  132. transition: all .2s;
  133. &:hover{
  134. p {
  135. transition: all .2s;
  136. color: #4091f7!important;
  137. }
  138. }
  139. &.active {
  140. background: rgba(64,145,247,0.3) !important;
  141. p {
  142. transition: all .2s;
  143. color: #4091f7!important;
  144. }
  145. }
  146. }
  147. .menu-drawer-mask{
  148. top:48px !important
  149. }
  150. .child-drawer-item{
  151. transition: all .2s;
  152. .el-rate{
  153. display: none;
  154. }
  155. &:hover{
  156. background-color: #f2f4f7;
  157. p {
  158. transition: all .3s;
  159. color: #4091f7!important;
  160. }
  161. .el-rate{
  162. display: block;
  163. }
  164. }
  165. &.active {
  166. background-color: #f2f4f7 !important;
  167. p {
  168. transition: all .3s;
  169. color: #4091f7!important;
  170. }
  171. .el-rate{
  172. display: block;
  173. }
  174. }
  175. }