右旗智慧驼厂
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

384 lines
5.8 KiB

  1. /**
  2. * 通用css样式布局处理
  3. * Copyright (c) 2019 chenhai
  4. */
  5. /** 基础通用 **/
  6. .pt5 {
  7. padding-top: 5px;
  8. }
  9. .pr5 {
  10. padding-right: 5px;
  11. }
  12. .pb5 {
  13. padding-bottom: 5px;
  14. }
  15. .mt5 {
  16. margin-top: 5px;
  17. }
  18. .mr5 {
  19. margin-right: 5px;
  20. }
  21. .mb5 {
  22. margin-bottom: 5px;
  23. }
  24. .mb8 {
  25. margin-bottom: 8px;
  26. }
  27. .ml5 {
  28. margin-left: 5px;
  29. }
  30. .mt10 {
  31. margin-top: 10px;
  32. }
  33. .mr10 {
  34. margin-right: 10px;
  35. }
  36. .mb10 {
  37. margin-bottom: 10px;
  38. }
  39. .ml0 {
  40. margin-left: 10px;
  41. }
  42. .mt20 {
  43. margin-top: 20px;
  44. }
  45. .mr20 {
  46. margin-right: 20px;
  47. }
  48. .mb20 {
  49. margin-bottom: 20px;
  50. }
  51. .m20 {
  52. margin-left: 20px;
  53. }
  54. .el-dialog:not(.is-fullscreen) {
  55. margin-top: 6vh !important;
  56. }
  57. .el-table {
  58. .el-table__header-wrapper,
  59. .el-table__fixed-header-wrapper {
  60. th {
  61. word-break: break-word;
  62. background-color: #f8f8f9;
  63. color: #515a6e;
  64. height: 40px;
  65. font-size: 13px;
  66. }
  67. }
  68. .el-table__body-wrapper {
  69. .el-button [class*="el-icon-"] + span {
  70. margin-left: 1px;
  71. }
  72. }
  73. }
  74. /** 表单布局 **/
  75. .form-header {
  76. font-size: 15px;
  77. color: #6379bb;
  78. border-bottom: 1px solid #ddd;
  79. margin: 8px 10px 25px 10px;
  80. padding-bottom: 5px;
  81. }
  82. /** 表格布局 **/
  83. .pagination-container {
  84. position: relative;
  85. height: 25px;
  86. margin-bottom: 10px;
  87. margin-top: 15px;
  88. padding: 10px 20px !important;
  89. }
  90. /* tree border */
  91. .tree-border {
  92. margin-top: 5px;
  93. border: 1px solid #e5e6e7;
  94. background: #ffffff none;
  95. border-radius: 4px;
  96. }
  97. .pagination-container .el-pagination {
  98. right: 0;
  99. position: absolute;
  100. }
  101. .el-table .fixed-width .el-button--mini {
  102. color: #409eff;
  103. padding-left: 0;
  104. padding-right: 0;
  105. width: inherit;
  106. }
  107. .el-tree-node__content > .el-checkbox {
  108. margin-right: 8px;
  109. }
  110. .list-group-striped > .list-group-item {
  111. border-left: 0;
  112. border-right: 0;
  113. border-radius: 0;
  114. padding-left: 0;
  115. padding-right: 0;
  116. }
  117. .list-group {
  118. padding-left: 0px;
  119. list-style: none;
  120. }
  121. .list-group-item {
  122. border-bottom: 1px solid #e7eaec;
  123. border-top: 1px solid #e7eaec;
  124. margin-bottom: -1px;
  125. padding: 11px 0px;
  126. font-size: 13px;
  127. }
  128. .pull-right {
  129. float: right !important;
  130. }
  131. .el-card__header {
  132. padding: 14px 15px 7px;
  133. min-height: 40px;
  134. }
  135. .el-card__body {
  136. padding: 15px 20px 20px 20px;
  137. }
  138. .card-box {
  139. padding-right: 15px;
  140. padding-left: 15px;
  141. margin-bottom: 10px;
  142. }
  143. /* button color */
  144. .el-button--cyan.is-active,
  145. .el-button--cyan:active {
  146. background: #20b2aa;
  147. border-color: #20b2aa;
  148. color: #ffffff;
  149. }
  150. .el-button--cyan:focus,
  151. .el-button--cyan:hover {
  152. background: #48d1cc;
  153. border-color: #48d1cc;
  154. color: #ffffff;
  155. }
  156. .el-button--cyan {
  157. background-color: #20b2aa;
  158. border-color: #20b2aa;
  159. color: #ffffff;
  160. }
  161. .up {
  162. position: relative;
  163. // padding-right: 15px;
  164. &::after {
  165. content: '\279C';
  166. position: absolute;
  167. top: 0;
  168. right: -20px;
  169. bottom: 2px;
  170. color: #00ac51;
  171. font-size: 16px;
  172. font-weight: bold;
  173. transform: rotateZ(-90deg);
  174. }
  175. }
  176. .down {
  177. position: relative;
  178. // padding-right: 15px;
  179. &::after {
  180. content: '\279C';
  181. position: absolute;
  182. top: 0;
  183. right: -15px;
  184. bottom: 2px;
  185. color: #ef3248;
  186. font-size: 16px;
  187. font-weight: bold;
  188. transform: rotateZ(90deg);
  189. }
  190. }
  191. /* text color */
  192. .text-navy {
  193. color: #00ac51;
  194. }
  195. .text-primary {
  196. color: inherit;
  197. }
  198. .text-success {
  199. color: #0095ff;
  200. }
  201. .text-info {
  202. color: #525264;
  203. }
  204. .text-warning {
  205. color: #f8ac59;
  206. }
  207. .text-danger {
  208. color: #ef3248;
  209. }
  210. .text-muted {
  211. color: #888888;
  212. }
  213. /* background color */
  214. .bg-navy {
  215. background-color: #00ac51;
  216. }
  217. .bg-success {
  218. background-color: #0095ff;
  219. }
  220. .bg-info {
  221. background-color: #23c6c8;
  222. }
  223. .bg-warning {
  224. background-color: #f8ac59;
  225. }
  226. .bg-danger {
  227. background-color: #ef3248;
  228. }
  229. .bg-muted {
  230. background-color: #888888;
  231. }
  232. .bg-success-opacity {
  233. background-color: #0095ff20;
  234. }
  235. .bg-warning-opacity {
  236. background-color: #f8ac5920;
  237. }
  238. .bg-danger-opacity {
  239. background-color: #ef324820;
  240. }
  241. .bg-light-blue {
  242. border: 1px solid #0095ff;
  243. background: #e2f6ff;
  244. }
  245. .bg-light-grey {
  246. border: 1px solid #525264;
  247. background: #d7dbf2;
  248. }
  249. .bg-light-green {
  250. border: 1px solid #00ac51;
  251. background: #dcf7e9;
  252. }
  253. .bg-light-orange {
  254. border: 1px solid #f8ac59;
  255. background: #f6e8df;
  256. }
  257. .border-success {
  258. border-color: #0095ff20;
  259. }
  260. .border-navy {
  261. border-color: #00ac5120;
  262. }
  263. /* image */
  264. .img-circle {
  265. border-radius: 50%;
  266. }
  267. .img-lg {
  268. width: 120px;
  269. height: 120px;
  270. }
  271. .avatar-upload-preview {
  272. position: absolute;
  273. top: 50%;
  274. transform: translate(50%, -50%);
  275. width: 200px;
  276. height: 200px;
  277. border-radius: 50%;
  278. box-shadow: 0 0 4px #ccc;
  279. overflow: hidden;
  280. }
  281. /* 拖拽列样式 */
  282. .sortable-ghost {
  283. opacity: 0.8;
  284. color: #fff !important;
  285. background: #00ac51 !important;
  286. }
  287. .top-right-btn {
  288. position: relative;
  289. float: right;
  290. }
  291. .vue-treeselect--has-value .vue-treeselect__input {
  292. vertical-align: middle !important;
  293. }
  294. .el-upload__tip {
  295. font-size: 14px;
  296. }
  297. .el-select {
  298. width: 100%;
  299. }
  300. .el-dialog {
  301. .el-descriptions {
  302. font-size: 16px;
  303. margin-bottom: 15px;
  304. }
  305. .el-dialog__body {
  306. overflow-y: auto;
  307. padding-bottom: 75px;
  308. max-height: 750px;
  309. }
  310. .el-dialog__footer {
  311. position: absolute;
  312. bottom: 0;
  313. left: 0;
  314. width: 100%;
  315. background-color: #fff;
  316. }
  317. }
  318. .el-tag + .el-tag {
  319. margin-left: 10px;
  320. }
  321. .el-alert {
  322. padding: 0px 16px !important;
  323. }
  324. .button-new-tag {
  325. margin-left: 10px;
  326. height: 32px;
  327. line-height: 30px;
  328. padding-top: 0;
  329. padding-bottom: 0;
  330. }
  331. .input-new-tag {
  332. width: 90px;
  333. margin-left: 10px;
  334. vertical-align: bottom;
  335. }