common.scss 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309
  1. .w100 {
  2. width: 100%;
  3. }
  4. // 页头
  5. .ele-body {
  6. .page-title {
  7. display: flex;
  8. justify-content: space-between;
  9. align-items: center;
  10. border-bottom: 1px solid #eaeefb;
  11. padding-bottom: 8px;
  12. margin-bottom: 16px;
  13. }
  14. }
  15. // ele-split-layout 左侧盒子充满
  16. .split-layout-right-content {
  17. position: absolute;
  18. top: 0;
  19. bottom: 0;
  20. left: 0;
  21. right: 0;
  22. box-sizing: border-box;
  23. border-width: 1px;
  24. border-style: solid;
  25. overflow: auto;
  26. }
  27. // tab切换框
  28. .switch {
  29. display: flex;
  30. justify-content: space-between;
  31. }
  32. .switch_left ul {
  33. list-style-type: none;
  34. display: flex;
  35. padding: 0;
  36. margin: 0;
  37. }
  38. .switch_left ul li {
  39. min-width: 80px;
  40. padding: 0 10px;
  41. text-align: center;
  42. background: #dfdfdf;
  43. color: #333;
  44. font-size: 14px;
  45. height: 36px;
  46. line-height: 32px;
  47. margin-right: 5px;
  48. border-top: 4px solid #dfdfdf;
  49. cursor: pointer;
  50. }
  51. .switch_left ul .active {
  52. background: #fff;
  53. border-top: 4px solid #157a2c;
  54. color: #157a2c;
  55. }
  56. .mt-16 {
  57. margin-top: 16px;
  58. }
  59. .mb-16 {
  60. margin-bottom: 16px;
  61. }
  62. .label-required {
  63. &.after::after {
  64. content: '*';
  65. color: var(--color-danger);
  66. font-size: 1.2em;
  67. }
  68. &.before::before {
  69. content: '*';
  70. color: var(--color-danger);
  71. font-size: 1.2em;
  72. }
  73. }
  74. .form-no-message {
  75. .el-form-item {
  76. margin-bottom: 0 !important;
  77. }
  78. }
  79. .sort-wrap {
  80. i {
  81. font-size: 24px;
  82. cursor: pointer;
  83. }
  84. .el-icon-caret-top {
  85. color: red;
  86. }
  87. .el-icon-caret-bottom {
  88. color: #157a2c;
  89. }
  90. }
  91. /* 布局-横向 */
  92. /* c:center,s:start,e:end,a:around,b:between,w:wrap */
  93. .rx {
  94. display: flex;
  95. }
  96. .rx-c {
  97. display: flex;
  98. align-items: center;
  99. }
  100. .rx-cc {
  101. display: flex;
  102. flex-flow: row nowrap;
  103. justify-content: center;
  104. align-items: center;
  105. }
  106. .rx-sc {
  107. display: flex;
  108. flex-flow: row nowrap;
  109. justify-content: flex-start;
  110. align-items: center;
  111. }
  112. .rx-ss {
  113. display: flex;
  114. flex-flow: row nowrap;
  115. justify-content: flex-start;
  116. align-items: flex-start;
  117. }
  118. .rx-warp {
  119. display: flex;
  120. flex-flow: row nowrap;
  121. justify-content: flex-start;
  122. align-items: flex-start;
  123. flex-wrap: wrap;
  124. }
  125. .rx-se {
  126. display: flex;
  127. flex-flow: row nowrap;
  128. justify-content: flex-start;
  129. align-items: flex-end;
  130. }
  131. .rx-dir-start {
  132. display: flex;
  133. flex-direction: column;
  134. align-items: flex-start;
  135. }
  136. .rx-ec {
  137. display: flex;
  138. flex-flow: row nowrap;
  139. justify-content: flex-end;
  140. align-items: center;
  141. }
  142. .rx-es {
  143. display: flex;
  144. flex-flow: row nowrap;
  145. justify-content: flex-end;
  146. align-items: flex-start;
  147. }
  148. .rx-ee {
  149. display: flex;
  150. flex-flow: row nowrap;
  151. justify-content: flex-end;
  152. align-items: flex-end;
  153. }
  154. .rx-ac {
  155. display: flex;
  156. flex-flow: row nowrap;
  157. justify-content: space-around;
  158. align-items: center;
  159. }
  160. .rx-bc {
  161. display: flex;
  162. flex-flow: row nowrap;
  163. justify-content: space-between;
  164. align-items: center;
  165. }
  166. .rx-bs {
  167. display: flex;
  168. flex-flow: row nowrap;
  169. justify-content: space-between;
  170. align-items: flex-start;
  171. }
  172. .rx-be {
  173. display: flex;
  174. flex-flow: row nowrap;
  175. justify-content: space-between;
  176. align-items: flex-end;
  177. }
  178. .rx-vc {
  179. display: flex;
  180. flex-flow: row nowrap;
  181. justify-content: space-evenly;
  182. align-items: center;
  183. }
  184. .rx-cs {
  185. display: flex;
  186. flex-flow: row nowrap;
  187. justify-content: center;
  188. align-items: flex-start;
  189. }
  190. .rx-wsc {
  191. display: flex;
  192. flex-flow: row wrap;
  193. justify-content: flex-start;
  194. align-items: center;
  195. }
  196. .rx-wss {
  197. display: flex;
  198. flex-flow: row wrap;
  199. justify-content: flex-start;
  200. align-content: flex-start;
  201. }
  202. .rx-wbs {
  203. display: flex;
  204. flex-flow: row wrap;
  205. justify-content: space-between;
  206. align-content: flex-start;
  207. }
  208. /* 布局-纵向 */
  209. .cx {
  210. display: flex;
  211. flex-flow: column nowrap;
  212. }
  213. .cx-cc {
  214. display: flex;
  215. flex-flow: column nowrap;
  216. justify-content: center;
  217. align-items: center;
  218. }
  219. .cx-ce {
  220. display: flex;
  221. flex-flow: column nowrap;
  222. justify-content: center;
  223. align-items: flex-end;
  224. }
  225. .cx-sc {
  226. display: flex;
  227. flex-flow: column nowrap;
  228. justify-content: flex-start;
  229. align-items: center;
  230. }
  231. .cx-cs {
  232. display: flex;
  233. flex-flow: column nowrap;
  234. justify-content: center;
  235. align-items: flex-start;
  236. }
  237. .cx-rc {
  238. display: flex;
  239. flex-flow: column-reverse nowrap;
  240. justify-content: center;
  241. align-items: center;
  242. }
  243. .el-dialog {
  244. margin-top: 5vh !important;
  245. }
  246. .el-table--medium .el-table__cell {
  247. padding: 2px 0 !important;
  248. }
  249. .el-button--medium {
  250. padding: 7px 10px !important;
  251. font-size: 12px !important;
  252. border-radius: 3px !important;
  253. }
  254. .el-button--small {
  255. padding: 7px 10px !important;
  256. font-size: 12px !important;
  257. border-radius: 3px !important;
  258. }
  259. .el-input--medium .el-input__inner {
  260. height: 32px !important;
  261. line-height: 32px !important;
  262. }