base.scss 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409
  1. $colorMain: #e2231a !default; //主色、文字选中、搜索
  2. *{
  3. font-family: Arial,sans-serif,Roboto,Helvetica Neue,Arial,Noto Sans
  4. }
  5. /**
  6. * 全局通用样式
  7. */
  8. //一行隐藏
  9. .overflow_ellipsis {
  10. overflow: hidden;
  11. white-space: nowrap;
  12. text-overflow: ellipsis;
  13. }
  14. //两行隐藏
  15. .overflow_ellipsis_two {
  16. overflow: hidden;
  17. text-overflow: ellipsis;
  18. display: -webkit-box;
  19. -webkit-line-clamp: 2;
  20. -webkit-box-orient: vertical;
  21. }
  22. .flex {
  23. display: flex;
  24. }
  25. .flex_row_center_center {
  26. display: flex;
  27. justify-content: center;
  28. align-items: center;
  29. }
  30. .flex_row_center_between {
  31. display: flex;
  32. justify-content: center;
  33. align-items: space-between;
  34. }
  35. .flex_row_center_around {
  36. display: flex;
  37. justify-content: center;
  38. align-items: space-around;
  39. }
  40. .flex_row_center_start {
  41. display: flex;
  42. justify-content: center;
  43. align-items: flex-start;
  44. }
  45. .flex_row_center_end {
  46. display: flex;
  47. justify-content: center;
  48. align-items: flex-end;
  49. }
  50. .flex_row_between_center {
  51. display: flex;
  52. justify-content: space-between;
  53. align-items: center;
  54. }
  55. .flex_row_between_between {
  56. display: flex;
  57. justify-content: space-between;
  58. align-items: space-between;
  59. }
  60. .flex_row_between_around {
  61. display: flex;
  62. justify-content: space-between;
  63. align-items: space-around;
  64. }
  65. .flex_row_between_start {
  66. display: flex;
  67. justify-content: space-between;
  68. align-items: flex-start;
  69. }
  70. .flex_row_between_end {
  71. display: flex;
  72. justify-content: space-between;
  73. align-items: flex-end;
  74. }
  75. .flex_row_around_center {
  76. display: flex;
  77. justify-content: space-around;
  78. align-items: center;
  79. }
  80. .flex_row_around_between {
  81. display: flex;
  82. justify-content: space-around;
  83. align-items: space-between;
  84. }
  85. .flex_row_around_around {
  86. display: flex;
  87. justify-content: space-around;
  88. align-items: space-around;
  89. }
  90. .flex_row_around_start {
  91. display: flex;
  92. justify-content: space-around;
  93. align-items: flex-start;
  94. }
  95. .flex_row_around_end {
  96. display: flex;
  97. justify-content: space-around;
  98. align-items: flex-end;
  99. }
  100. .flex_row_start_center {
  101. display: flex;
  102. justify-content: flex-start;
  103. align-items: center;
  104. }
  105. .flex_row_start_between {
  106. display: flex;
  107. justify-content: flex-start;
  108. align-items: space-between;
  109. }
  110. .flex_row_start_around {
  111. display: flex;
  112. justify-content: flex-start;
  113. align-items: space-around;
  114. }
  115. .flex_row_start_start {
  116. display: flex;
  117. justify-content: flex-start;
  118. align-items: flex-start;
  119. }
  120. .flex_row_start_end {
  121. display: flex;
  122. justify-content: flex-start;
  123. align-items: flex-end;
  124. }
  125. .flex_row_end_center {
  126. display: flex;
  127. justify-content: flex-end;
  128. align-items: center;
  129. }
  130. .flex_row_end_between {
  131. display: flex;
  132. justify-content: flex-end;
  133. align-items: space-between;
  134. }
  135. .flex_row_end_around {
  136. display: flex;
  137. justify-content: flex-end;
  138. align-items: space-around;
  139. }
  140. .flex_row_end_start {
  141. display: flex;
  142. justify-content: flex-end;
  143. align-items: flex-start;
  144. }
  145. .flex_row_end_end {
  146. display: flex;
  147. justify-content: flex-end;
  148. align-items: flex-end;
  149. }
  150. .flex_column_center_center {
  151. display: flex;
  152. flex-direction: column;
  153. justify-content: center;
  154. align-items: center;
  155. }
  156. .flex_column_center_between {
  157. display: flex;
  158. flex-direction: column;
  159. justify-content: center;
  160. align-items: space-between;
  161. }
  162. .flex_column_center_around {
  163. display: flex;
  164. flex-direction: column;
  165. justify-content: center;
  166. align-items: space-around;
  167. }
  168. .flex_column_center_start {
  169. display: flex;
  170. flex-direction: column;
  171. justify-content: center;
  172. align-items: flex-start;
  173. }
  174. .flex_column_center_end {
  175. display: flex;
  176. flex-direction: column;
  177. justify-content: center;
  178. align-items: flex-end;
  179. }
  180. .flex_column_between_center {
  181. display: flex;
  182. flex-direction: column;
  183. justify-content: space-between;
  184. align-items: center;
  185. }
  186. .flex_column_between_between {
  187. display: flex;
  188. flex-direction: column;
  189. justify-content: space-between;
  190. align-items: space-between;
  191. }
  192. .flex_column_between_around {
  193. display: flex;
  194. flex-direction: column;
  195. justify-content: space-between;
  196. align-items: space-around;
  197. }
  198. .flex_column_between_start {
  199. display: flex;
  200. flex-direction: column;
  201. justify-content: space-between;
  202. align-items: flex-start;
  203. }
  204. .flex_column_between_end {
  205. display: flex;
  206. flex-direction: column;
  207. justify-content: space-between;
  208. align-items: flex-end;
  209. }
  210. .flex_column_around_center {
  211. display: flex;
  212. flex-direction: column;
  213. justify-content: space-around;
  214. align-items: center;
  215. }
  216. .flex_column_around_between {
  217. display: flex;
  218. flex-direction: column;
  219. justify-content: space-around;
  220. align-items: space-between;
  221. }
  222. .flex_column_around_around {
  223. display: flex;
  224. flex-direction: column;
  225. justify-content: space-around;
  226. align-items: space-around;
  227. }
  228. .flex_column_around_start {
  229. display: flex;
  230. flex-direction: column;
  231. justify-content: space-around;
  232. align-items: flex-start;
  233. }
  234. .flex_column_around_end {
  235. display: flex;
  236. flex-direction: column;
  237. justify-content: space-around;
  238. align-items: flex-end;
  239. }
  240. .flex_column_start_center {
  241. display: flex;
  242. flex-direction: column;
  243. justify-content: flex-start;
  244. align-items: center;
  245. }
  246. .flex_column_start_between {
  247. display: flex;
  248. flex-direction: column;
  249. justify-content: flex-start;
  250. align-items: space-between;
  251. }
  252. .flex_column_start_around {
  253. display: flex;
  254. flex-direction: column;
  255. justify-content: flex-start;
  256. align-items: space-around;
  257. }
  258. .flex_column_start_start {
  259. display: flex;
  260. flex-direction: column;
  261. justify-content: flex-start;
  262. align-items: flex-start;
  263. }
  264. .flex_column_start_end {
  265. display: flex;
  266. flex-direction: column;
  267. justify-content: flex-start;
  268. align-items: flex-end;
  269. }
  270. .flex_column_end_center {
  271. display: flex;
  272. flex-direction: column;
  273. justify-content: flex-end;
  274. align-items: center;
  275. }
  276. .flex_column_end_between {
  277. display: flex;
  278. flex-direction: column;
  279. justify-content: flex-end;
  280. align-items: space-between;
  281. }
  282. .flex_column_end_around {
  283. display: flex;
  284. flex-direction: column;
  285. justify-content: flex-end;
  286. align-items: space-around;
  287. }
  288. .flex_column_end_start {
  289. display: flex;
  290. flex-direction: column;
  291. justify-content: flex-end;
  292. align-items: flex-start;
  293. }
  294. .flex_column_end_end {
  295. display: flex;
  296. flex-direction: column;
  297. justify-content: flex-end;
  298. align-items: flex-end;
  299. }
  300. .clearfix:after, .clearfix:before {
  301. display: table;
  302. content: " ";
  303. }
  304. .clearfix:after {
  305. content: ".";
  306. display: block;
  307. height: 0;
  308. clear: both;
  309. visibility: hidden;
  310. }
  311. /* 分页的样式 start */
  312. .sld_pagination .el-pager li.active {
  313. color: $colorMain;
  314. }
  315. .sld_pagination .el-pager li:hover {
  316. color: $colorMain;
  317. }
  318. .sld_pagination .el-input__inner:focus {
  319. border-color: $colorMain;
  320. }
  321. /* 分页的样式 end */
  322. // 悬浮鼠标变手
  323. .pointer {
  324. &:hover {
  325. cursor: pointer;
  326. }
  327. }
  328. .el-pagination {
  329. text-align: center;
  330. }
  331. /* 全局空图 start */
  332. .sld_common_empty {
  333. margin: 0 auto !important;
  334. .empty_img {
  335. width: 140px;
  336. margin-bottom: 15px;
  337. }
  338. }
  339. /* 全局空图 end */