main.scss 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  1. .el-loading-parent--relative{
  2. overflow: hidden !important;
  3. }
  4. .MessageBoxClass{
  5. color: red;
  6. }
  7. .MessageBoxClass:hover{
  8. cursor:pointer;
  9. border-bottom:1px solid red ;
  10. }
  11. .input_border_none{
  12. .el-input__inner{
  13. border: none !important;
  14. }
  15. }
  16. @keyframes shake {
  17. 0% { transform: translateX(0); }
  18. 25% { transform: translateX(-5px); }
  19. 50% { transform: translateX(5px); }
  20. 75% { transform: translateX(-5px); }
  21. 100% { transform: translateX(5px); }
  22. }
  23. //弹窗
  24. .el-dialog__wrapper{
  25. display: flex;
  26. align-items: center;
  27. .el-dialog{
  28. margin: auto !important;
  29. .el-dialog__header{
  30. border-bottom: 1px solid #EBEEF5;
  31. }
  32. .el-dialog__footer{
  33. border-top: 1px solid #EBEEF5;
  34. padding: 10px 20px 10px 10px;
  35. }
  36. .el-dialog__title{
  37. font-family: var(--fm) !important;
  38. color: var(--color1) !important;
  39. font-weight: bold !important;
  40. font-size: 20px !important;
  41. }
  42. .el-dialog__body{
  43. padding-top: 15px;
  44. max-height: calc(100vh - 220px) !important;
  45. overflow: auto;
  46. }
  47. }
  48. }
  49. .el-dialog__wrapper:has(.shakeDialog){
  50. pointer-events: none;
  51. .shakeDialog{
  52. pointer-events: auto;
  53. }
  54. }
  55. //抽屉
  56. .el-drawer{
  57. #el-drawer__title span{
  58. font-family: var(--fm) !important;
  59. color: var(--color1) !important;
  60. font-weight: bold !important;
  61. font-size: 20px !important;
  62. }
  63. }
  64. //表单样式
  65. .el-form-item__label{
  66. color:var(--color2) !important;
  67. font-family: var(--fm) !important;
  68. font-weight: bold;
  69. font-size: 15px !important;
  70. }
  71. .el-form-item.is-required:not(.is-no-asterisk) .el-form-item__label-wrap>.el-form-item__label:before, .el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label:before{
  72. content:'' !important;
  73. margin-right:0 !important;
  74. }
  75. .el-form-item.is-required:not(.is-no-asterisk) .el-form-item__label-wrap>.el-form-item__label:before, .el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label:after{
  76. content:'*' !important;
  77. color:#F56C6c !important;
  78. }
  79. //input框
  80. .el-input__inner{
  81. border:1px solid var(--color1) !important;
  82. }
  83. .el-input__inner:hover, .el-input__inner:focus{
  84. border-color: #409eff !important;
  85. }
  86. .el-input-number .el-input__inner{
  87. text-align: left;
  88. }
  89. //文本域
  90. textarea {
  91. font-family: 微软雅黑;
  92. border-color: var(--color1) !important;
  93. }
  94. textarea:hover, .textarea:focus{
  95. border-color: #409eff !important;
  96. }
  97. //按钮样式
  98. .el-button--primary{
  99. background: var(--bg) !important;
  100. border-color: var(--bg) !important;
  101. color: var(--color);
  102. }
  103. //表格
  104. .hideIconTable{
  105. .el-table__expand-icon{
  106. visibility: hidden;
  107. }
  108. }
  109. .el-table{
  110. // border: 1px solid rgba(124,124,124) !important;
  111. // height: 100%;
  112. // width: 100%;
  113. // padding-bottom:10px;
  114. // overflow-x: auto !important;
  115. max-height: none !important;
  116. .el-table__body-wrapper{
  117. // max-height: calc(100% - 75px);
  118. // overflow: auto;
  119. padding-bottom: 10px;
  120. }
  121. }
  122. .el-table th{
  123. background: var(--bg) !important;
  124. color: var(--color);
  125. }
  126. // .el-table tr td{
  127. // border-bottom: 1px solid rgba(124,124,124) !important;
  128. // }
  129. // .el-table tr td:first-child{
  130. // border-right: 1px solid rgba(124,124,124) !important;
  131. // border-left: 1px solid rgba(124,124,124) !important;
  132. // }
  133. // .el-table tr td:last-child{
  134. // border-right: 1px solid rgba(124,124,124) !important;
  135. // border-left: 1px solid rgba(124,124,124) !important;
  136. // }
  137. //下拉选项
  138. .el-dropdown-menu{
  139. li{
  140. .el-dropdown{
  141. width: 100%;
  142. }
  143. }
  144. p{
  145. margin: 0 -15px;
  146. padding: 0 15px;
  147. cursor: pointer;
  148. }
  149. p:hover{
  150. background-color: #ecf5ff;
  151. color: #66b1ff;
  152. }
  153. }
  154. .el-divider--horizontal{
  155. margin:10px !important;
  156. }
  157. //不换行
  158. .noWrap{
  159. overflow: hidden;
  160. white-space: nowrap;
  161. text-overflow:ellipsis;
  162. }
  163. .btn{
  164. margin: 0;
  165. i{
  166. color: var(--color2);
  167. font-size: 16px;
  168. margin-right:16px
  169. }
  170. }
  171. //tab
  172. .basic_header{
  173. padding: 0 !important;
  174. width: 100%;
  175. align-items: end;
  176. border-bottom:0 ;
  177. .el-tabs__header{
  178. margin: 0;
  179. }
  180. }
  181. //选中框
  182. .el-checkbox{
  183. width: 100%;
  184. .el-checkbox__label{
  185. width: 100%;
  186. text-align: left;
  187. }
  188. }
  189. .noWord{
  190. .el-checkbox__label{
  191. width: 0px;
  192. }
  193. }
  194. .el-tree-node__content{
  195. .el-checkbox{
  196. width: auto;
  197. }
  198. }
  199. .disabled{
  200. cursor:not-allowed !important;
  201. }
  202. .pointerEvents{
  203. pointer-events: none;
  204. }
  205. .del{
  206. text-decoration: line-through;
  207. color: red;
  208. }
  209. .greenColor{
  210. background: #409EFF !important;
  211. }
  212. .showPiZhu{
  213. position: absolute;
  214. background: rgb(255 249 199);
  215. left:0;
  216. width:200px;
  217. box-shadow: 5px 5px 5px rgb(227, 227, 75);
  218. padding: 5px;
  219. border-radius: 5px;
  220. }
  221. .pizhuLightHeigh{
  222. position: relative;
  223. background: #409EFF !important;
  224. }