huyi.scss 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416
  1. /**
  2. * 通用css样式布局处理
  3. * Copyright (c) 2019 huyi
  4. */
  5. /** 基础通用 **/
  6. .pt5 {
  7. padding-top: 5px;
  8. }
  9. .pr5 {
  10. padding-right: 5px;
  11. }
  12. .pb5 {
  13. padding-bottom: 5px;
  14. }
  15. .pt6{
  16. padding-top: 6px;
  17. }
  18. .pt12{
  19. padding-top: 12px !important;
  20. }
  21. .pt20 {
  22. padding-top: 20px !important;
  23. }
  24. .pb20 {
  25. padding-bottom: 20px !important;
  26. }
  27. .mt5 {
  28. margin-top: 5px;
  29. }
  30. .mr5 {
  31. margin-right: 5px;
  32. }
  33. .mb5 {
  34. margin-bottom: 5px;
  35. }
  36. .mb8 {
  37. margin-bottom: 8px;
  38. }
  39. .ml5 {
  40. margin-left: 5px;
  41. }
  42. .mt10 {
  43. margin-top: 10px;
  44. }
  45. .mr10 {
  46. margin-right: 10px;
  47. }
  48. .mb10 {
  49. margin-bottom: 10px;
  50. }
  51. .ml0 {
  52. margin-left: 10px;
  53. }
  54. .mt16{
  55. margin-top: 16px;
  56. }
  57. .mt20 {
  58. margin-top: 20px;
  59. }
  60. .mr20 {
  61. margin-right: 20px;
  62. }
  63. .mb20 {
  64. margin-bottom: 20px !important;
  65. }
  66. .m20 {
  67. margin-left: 20px;
  68. }
  69. .ml24{
  70. margin-left: 24px;
  71. }
  72. .mt32{
  73. margin-top: 32px;
  74. }
  75. .el-dialog:not(.is-fullscreen) {
  76. margin-top: 6vh !important;
  77. }
  78. .el-table--medium th,
  79. .el-table--medium td {
  80. padding: 6px 0 !important;
  81. }
  82. .el-table {
  83. font-size: 12px;
  84. .el-table--medium th,
  85. .el-table--medium td {
  86. padding: 8px, 0 !important;
  87. }
  88. .el-table__header-wrapper,
  89. .el-table__fixed-header-wrapper {
  90. th {
  91. word-break: break-word;
  92. background-color: #f8f8f9;
  93. color: #515a6e;
  94. height: 28px;
  95. font-size: 12px;
  96. }
  97. }
  98. .el-table__body-wrapper {
  99. .el-button [class*='el-icon-'] + span {
  100. margin-left: 1px;
  101. }
  102. }
  103. }
  104. /** 表单布局 **/
  105. .form-header {
  106. font-size: 12px;
  107. color: #6379bb;
  108. border-bottom: 1px solid #ddd;
  109. margin: 8px 10px 25px 10px;
  110. padding-bottom: 5px;
  111. }
  112. /** 表格布局 **/
  113. .pagination-container {
  114. position: relative;
  115. height: 25px;
  116. margin-bottom: 10px;
  117. margin-top: 15px;
  118. padding: 10px 20px !important;
  119. }
  120. /* tree border */
  121. .tree-border {
  122. margin-top: 5px;
  123. border: 1px solid #e5e6e7;
  124. background: #ffffff none;
  125. border-radius: 4px;
  126. }
  127. .pagination-container .el-pagination {
  128. right: 0;
  129. position: absolute;
  130. }
  131. .el-table .fixed-width .el-button--mini {
  132. color: #409eff;
  133. padding-left: 0;
  134. padding-right: 0;
  135. width: inherit;
  136. }
  137. .el-tree-node__content > .el-checkbox {
  138. margin-right: 8px;
  139. font-size: 13px;
  140. }
  141. .list-group-striped > .list-group-item {
  142. border-left: 0;
  143. border-right: 0;
  144. border-radius: 0;
  145. padding-left: 0;
  146. padding-right: 0;
  147. }
  148. .list-group {
  149. padding-left: 0px;
  150. list-style: none;
  151. }
  152. .list-group-item {
  153. border-bottom: 1px solid #ebebeb;
  154. margin-bottom: -1px;
  155. padding: 11px 0px;
  156. font-size: 14px;
  157. color: #999999;
  158. }
  159. .pull-right {
  160. float: right !important;
  161. }
  162. .pulll-right {
  163. float: right !important;
  164. border: none;
  165. overflow: hidden;
  166. text-overflow: ellipsis;
  167. white-space: nowrap;
  168. max-width: 50%;
  169. }
  170. //卡片样式>
  171. .fiche {
  172. border-radius: 8px;
  173. margin-bottom: 10px;
  174. background-color: #fafafa;
  175. }
  176. .el-card__header {
  177. padding: 14px 15px 7px;
  178. min-height: 40px;
  179. }
  180. .el-card__body {
  181. padding: 15px 20px 0px 20px;
  182. }
  183. .el-form-item__label {
  184. font-size: 13px !important;
  185. }
  186. .el-button--small {
  187. padding: 7px 8px;
  188. border-radius: 20px;
  189. }
  190. .card-box {
  191. padding-right: 15px;
  192. padding-left: 15px;
  193. margin-bottom: 10px;
  194. }
  195. /* button color */
  196. .el-button--cyan.is-active,
  197. .el-button--cyan:active {
  198. background: #4280f2;
  199. border-color: #4280f2;
  200. color: #ffffff;
  201. }
  202. .el-button--cyan:focus,
  203. .el-button--cyan:hover {
  204. background: #6899f5;
  205. border-color: #6899f5;
  206. color: #ffffff;
  207. }
  208. .el-button--cyan {
  209. background-color: #4280f2;
  210. border-color: #4280f2;
  211. color: #ffffff;
  212. }
  213. /* text color */
  214. .text-navy {
  215. color: #1ab394;
  216. }
  217. .text-primary {
  218. color: inherit;
  219. }
  220. .text-success {
  221. color: #1c84c6;
  222. }
  223. .text-info {
  224. color: #23c6c8;
  225. }
  226. .text-warning {
  227. color: #f8ac59;
  228. }
  229. .text-warnings {
  230. color: #23c6c8;
  231. }
  232. .text-danger {
  233. color: #ed5565;
  234. }
  235. .text-muted {
  236. color: #888888;
  237. }
  238. /* image */
  239. .img-circle {
  240. border-radius: 50%;
  241. }
  242. .img-lg {
  243. width: 120px;
  244. height: 120px;
  245. }
  246. .avatar-upload-preview {
  247. position: absolute;
  248. top: 50%;
  249. transform: translate(50%, -50%);
  250. width: 200px;
  251. height: 200px;
  252. border-radius: 50%;
  253. box-shadow: 0 0 4px #ccc;
  254. overflow: hidden;
  255. }
  256. /* 拖拽列样式 */
  257. .sortable-ghost {
  258. opacity: 0.8;
  259. color: #fff !important;
  260. background: #42b983 !important;
  261. }
  262. .top-right-btn {
  263. position: relative;
  264. float: right;
  265. }
  266. .el-tree-node__label {
  267. font-size: 13px;
  268. }
  269. .el-tree__empty-text {
  270. font-size: 13px;
  271. }
  272. .el-input.is-disabled .el-input__inner {
  273. background-color: #fff !important;
  274. color: #000;
  275. }
  276. .el-tooltip__popper.is-light {
  277. font-size: 16px !important;
  278. border: 1px solid #000000 !important;
  279. }
  280. .zap-line {
  281. width: 100%;
  282. height: 0;
  283. border-bottom: 1px solid #f4f5f6;
  284. }
  285. .el-dialog__header {
  286. position: relative;
  287. height: 48px;
  288. padding: 13px 20px;
  289. background-color: #4280f2;
  290. z-index: 20;
  291. }
  292. .el-dialog__title {
  293. font-size: 16px;
  294. color: #ffffff;
  295. }
  296. .el-dialog__headerbtn{
  297. top: 14px !important;
  298. }
  299. .el-dialog__headerbtn .el-dialog__close:hover,
  300. .el-dialog__headerbtn .el-dialog__close {
  301. font-size: 20px;
  302. color: #ffffff;
  303. }
  304. .el-dialog__footer {
  305. text-align: center;
  306. }
  307. .dialog-footer{
  308. text-align: center;
  309. }
  310. // 警告框
  311. .el-message-box{
  312. width: 610px;
  313. height: 211px;
  314. box-shadow: none;
  315. border: none;
  316. }
  317. .el-message-box__header{
  318. padding: 13px 20px;
  319. background-color: #4280F2;
  320. }
  321. .el-message-box__headerbtn .el-message-box__close,
  322. .el-message-box__title{
  323. line-height: 22px;
  324. font-size: 16px;
  325. color: #ffffff;
  326. }
  327. .el-message-box__status.el-icon-warning{
  328. font-size: 16px !important;
  329. color: #ed5565;
  330. }
  331. .el-message-box__status + .el-message-box__message{
  332. padding-left: 24px;
  333. }
  334. .el-message-box__content{
  335. display: flex;
  336. align-items: center;
  337. padding: 0 76px;
  338. height: 108px;
  339. }
  340. .el-message-box__btns{
  341. display: flex;
  342. flex-direction: row-reverse;
  343. justify-content: center;
  344. text-align: center;
  345. .el-button--small{
  346. flex: 0 0 102px;
  347. width: 102px;
  348. height: 36px;
  349. border-radius: 4px;
  350. box-sizing: border-box;
  351. }
  352. }
  353. .el-message-box__btns button:nth-child(1){
  354. margin-left: 32px;
  355. }
  356. .el-message-box__btns button:nth-child(2){
  357. margin-left: 0;
  358. }
  359. .zap-form-item__content{
  360. .el-form-item__content{
  361. display: flex;
  362. align-items: center;
  363. }
  364. }
  365. .zap-form-input{
  366. width: 264px !important;
  367. }
  368. .zap-form-input--large{
  369. width: 320px !important;
  370. }
  371. .zap-form__textarea{
  372. height: 80px;
  373. .el-textarea__inner{
  374. height: 80px !important;
  375. border: none;
  376. background-color: #F4F5F6;
  377. }
  378. }
  379. .zap-form-tip{
  380. display: inline-block;
  381. width: 20px;
  382. height: 20px;
  383. margin-left: 8px;
  384. }
  385. .text-right{
  386. text-align: right;
  387. }