fuint.scss 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400
  1. /**
  2. * 通用css样式布局处理
  3. * Copyright (c) https://www.fuint.cn
  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. .ml10 {
  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. .ml20 {
  52. margin-left: 20px;
  53. }
  54. .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  55. font-family: inherit;
  56. font-weight: 500;
  57. line-height: 1.1;
  58. color: inherit;
  59. }
  60. .main-panel {
  61. border: solid 1px #ccc;
  62. padding: 25px 10px 20px 10px;
  63. .input {
  64. width: 450px;
  65. }
  66. .min-input {
  67. width: 240px;
  68. }
  69. .el-upload {
  70. width: 80px;
  71. height: 80px;
  72. line-height: 88px;
  73. }
  74. .el-upload-list__item {
  75. width: 80px;
  76. height: 80px;
  77. }
  78. .footer {
  79. margin-left: 80px;
  80. }
  81. }
  82. .el-dialog:not(.is-fullscreen) {
  83. margin-top: 6vh !important;
  84. }
  85. .el-dialog__wrapper.scrollbar .el-dialog .el-dialog__body {
  86. overflow: auto;
  87. overflow-x: hidden;
  88. max-height: 70vh;
  89. padding: 10px 20px 0;
  90. }
  91. .el-table {
  92. .el-table__header-wrapper, .el-table__fixed-header-wrapper {
  93. th {
  94. word-break: break-word;
  95. background-color: #f8f8f9;
  96. color: #515a6e;
  97. height: 40px;
  98. font-size: 13px;
  99. }
  100. }
  101. .el-table__body-wrapper {
  102. .el-button [class*="el-icon-"] + span {
  103. margin-left: 1px;
  104. }
  105. }
  106. }
  107. /** 表单布局 **/
  108. .form-header {
  109. font-size:15px;
  110. color:#6379bb;
  111. border-bottom:1px solid #ddd;
  112. margin:8px 10px 25px 10px;
  113. padding-bottom:5px
  114. }
  115. /** 表单提示 **/
  116. .form-tips {
  117. font-size: 12px;
  118. color: #888;
  119. height: 25px;
  120. padding-left: 5px;
  121. line-height: 25px;
  122. }
  123. /** 表格布局 **/
  124. .pagination-container {
  125. position: relative;
  126. height: 25px;
  127. margin-bottom: 10px;
  128. margin-top: 15px;
  129. padding: 10px 20px !important;
  130. }
  131. /* tree border */
  132. .tree-border {
  133. margin-top: 5px;
  134. border: 1px solid #e5e6e7;
  135. background: #FFFFFF none;
  136. border-radius:4px;
  137. }
  138. .pagination-container .el-pagination {
  139. right: 0;
  140. position: absolute;
  141. }
  142. @media ( max-width : 768px) {
  143. .pagination-container .el-pagination > .el-pagination__jump {
  144. display: none !important;
  145. }
  146. .pagination-container .el-pagination > .el-pagination__sizes {
  147. display: none !important;
  148. }
  149. }
  150. .el-table .fixed-width .el-button--mini {
  151. padding-left: 0;
  152. padding-right: 0;
  153. width: inherit;
  154. }
  155. /** 表格更多操作下拉样式 */
  156. .el-table .el-dropdown-link {
  157. cursor: pointer;
  158. color: #113a28;
  159. margin-left: 5px;
  160. }
  161. .el-table .el-dropdown, .el-icon-arrow-down {
  162. font-size: 12px;
  163. }
  164. .el-tree-node__content > .el-checkbox {
  165. margin-right: 8px;
  166. }
  167. .list-group-striped > .list-group-item {
  168. border-left: 0;
  169. border-right: 0;
  170. border-radius: 0;
  171. padding-left: 0;
  172. padding-right: 0;
  173. }
  174. .list-group {
  175. padding-left: 0px;
  176. list-style: none;
  177. }
  178. .list-group-item {
  179. border-bottom: 1px solid #e7eaec;
  180. border-top: 1px solid #e7eaec;
  181. margin-bottom: -1px;
  182. padding: 11px 0px;
  183. font-size: 13px;
  184. }
  185. .pull-right {
  186. float: right !important;
  187. }
  188. .el-card__header {
  189. padding: 14px 15px 7px;
  190. min-height: 40px;
  191. }
  192. .el-card__body {
  193. padding: 15px 20px 20px 20px;
  194. }
  195. .card-box {
  196. padding-right: 15px;
  197. padding-left: 15px;
  198. margin-bottom: 10px;
  199. }
  200. .main-text {
  201. color: #113a28;
  202. }
  203. .main-text:hover {
  204. color: #04cdcd;
  205. }
  206. /* button color */
  207. .el-button--cyan.is-active,
  208. .el-button--cyan:active {
  209. background: #20B2AA;
  210. border-color: #20B2AA;
  211. color: #FFFFFF;
  212. }
  213. .el-button--cyan:focus,
  214. .el-button--cyan:hover {
  215. background: #48D1CC;
  216. border-color: #48D1CC;
  217. color: #FFFFFF;
  218. }
  219. .el-button--cyan {
  220. background-color: #20B2AA;
  221. border-color: #20B2AA;
  222. color: #FFFFFF;
  223. }
  224. /* text color */
  225. .text-navy {
  226. color: #1ab394;
  227. }
  228. .text-primary {
  229. color: inherit;
  230. }
  231. .text-success {
  232. color: #113a28;
  233. }
  234. .text-info {
  235. color: #23c6c8;
  236. }
  237. .text-warning {
  238. color: #f8ac59;
  239. }
  240. .text-danger {
  241. color: #ed5565;
  242. }
  243. .text-muted {
  244. color: #888888;
  245. }
  246. /* image */
  247. .img-circle {
  248. border-radius: 50%;
  249. }
  250. .img-lg {
  251. width: 120px;
  252. height: 120px;
  253. }
  254. .avatar-upload-preview {
  255. position: absolute;
  256. top: 50%;
  257. transform: translate(50%, -50%);
  258. width: 200px;
  259. height: 200px;
  260. border-radius: 50%;
  261. box-shadow: 0 0 4px #ccc;
  262. overflow: hidden;
  263. }
  264. /* 拖拽列样式 */
  265. .sortable-ghost{
  266. opacity: .8;
  267. color: #fff!important;
  268. background: #42b983!important;
  269. }
  270. .top-right-btn {
  271. position: relative;
  272. float: right;
  273. }
  274. .no-border {
  275. border: none;
  276. }
  277. .list-img {
  278. width: 58px;
  279. height: 48px;
  280. border-radius: 5px;
  281. border: 1px solid #ccc;
  282. }
  283. .list-avatar {
  284. width: 45px;
  285. height: 45px;
  286. border-radius: 30px;
  287. border: 1px solid #ccc;
  288. }
  289. .el-upload {
  290. width: 150px;
  291. height: 150px;
  292. line-height: 150px;
  293. }
  294. .mini-btn {
  295. padding: 4px 8px 4px 8px;
  296. }
  297. .status-active {
  298. color: #52c41a;
  299. background: #f6ffed;
  300. border: #b7eb8f solid 1px;
  301. border-radius: 20px;
  302. display: block;
  303. font-size: 90%;
  304. text-align: center;
  305. line-height: 24px;
  306. height: 24px;
  307. }
  308. .status-disabled {
  309. color: #f5222d;
  310. background: #fff1f0;
  311. border: #ffa39e solid 1px;
  312. border-radius: 20px;
  313. font-size: 90%;
  314. display: block;
  315. text-align: center;
  316. line-height: 24px;
  317. height: 24px;
  318. }
  319. .status-normal {
  320. color: #666666;
  321. background: #ffffff;
  322. border: #666666 solid 1px;
  323. border-radius: 24px;
  324. display: block;
  325. font-size: 90%;
  326. text-align: center;
  327. cursor: pointer;
  328. line-height: 24px;
  329. height: 24px;
  330. }
  331. .nav-icon {
  332. cursor: pointer;
  333. }
  334. .nav-tool {
  335. cursor: pointer;
  336. text-align: center;
  337. .icon {
  338. margin-left: 10px;
  339. margin-top: 6px;
  340. width: 25px;
  341. height: 25px;
  342. clear: both;
  343. display: block;
  344. }
  345. .name {
  346. font-size: 12px;
  347. clear: both;
  348. padding: 0px;
  349. margin: 0px;
  350. line-height: 20px;
  351. font-weight: bold;
  352. }
  353. }
  354. .el-pagination.is-background .el-pager li:not(.disabled).active {
  355. background-color: #f67f20;
  356. }
  357. .el-tabs__item.is-active {
  358. color: #113a28;
  359. font-weight: bold;
  360. }
  361. .el-tabs--border-card > .el-tabs__header .el-tabs__item.is-active {
  362. color: #113a28;
  363. font-weight: bold;
  364. }