yongtian.scss 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320
  1. /**
  2. * 通用css样式布局处理
  3. * Copyright (c) 2019 yongtian
  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. .h1,
  55. .h2,
  56. .h3,
  57. .h4,
  58. .h5,
  59. .h6,
  60. h1,
  61. h2,
  62. h3,
  63. h4,
  64. h5,
  65. h6 {
  66. font-family: inherit;
  67. font-weight: 500;
  68. line-height: 1.1;
  69. color: inherit;
  70. }
  71. .el-dialog:not(.is-fullscreen) {
  72. margin-top: 6vh !important;
  73. }
  74. .el-table {
  75. .el-table__header-wrapper,
  76. .el-table__fixed-header-wrapper {
  77. th {
  78. word-break: break-word;
  79. background-color: #f8f8f9;
  80. color: #515a6e;
  81. height: 40px;
  82. font-size: 13px;
  83. }
  84. }
  85. .el-table__body-wrapper {
  86. .el-button [class*="el-icon-"]+span {
  87. margin-left: 1px;
  88. }
  89. }
  90. }
  91. /** 表单布局 **/
  92. .form-header {
  93. font-size: 15px;
  94. color: #6379bb;
  95. border-bottom: 1px solid #ddd;
  96. margin: 8px 10px 25px 10px;
  97. padding-bottom: 5px
  98. }
  99. /** 表格布局 **/
  100. .pagination-container {
  101. position: relative;
  102. height: 25px;
  103. margin-bottom: 10px;
  104. margin-top: 15px;
  105. padding: 10px 20px !important;
  106. }
  107. /* tree border */
  108. .tree-border {
  109. margin-top: 5px;
  110. border: 1px solid #e5e6e7;
  111. background: #FFFFFF none;
  112. border-radius: 4px;
  113. }
  114. .pagination-container .el-pagination {
  115. right: 0;
  116. position: absolute;
  117. }
  118. @media ( max-width: 768px) {
  119. .pagination-container .el-pagination>.el-pagination__jump {
  120. display: none !important;
  121. }
  122. .pagination-container .el-pagination>.el-pagination__sizes {
  123. display: none !important;
  124. }
  125. }
  126. .el-table .fixed-width .el-button--mini {
  127. padding-left: 0;
  128. padding-right: 0;
  129. width: inherit;
  130. }
  131. /** 表格更多操作下拉样式 */
  132. .el-table .el-dropdown-link {
  133. cursor: pointer;
  134. color: #1890ff;
  135. margin-left: 5px;
  136. }
  137. .el-table .el-dropdown,
  138. .el-icon-arrow-down {
  139. font-size: 12px;
  140. }
  141. .el-tree-node__content>.el-checkbox {
  142. margin-right: 8px;
  143. }
  144. .list-group-striped>.list-group-item {
  145. border-left: 0;
  146. border-right: 0;
  147. border-radius: 0;
  148. padding-left: 0;
  149. padding-right: 0;
  150. }
  151. .list-group {
  152. padding-left: 0px;
  153. list-style: none;
  154. }
  155. .list-group-item {
  156. border-bottom: 1px solid #e7eaec;
  157. border-top: 1px solid #e7eaec;
  158. margin-bottom: -1px;
  159. padding: 11px 0px;
  160. font-size: 13px;
  161. }
  162. .pull-right {
  163. float: right !important;
  164. }
  165. .el-card__header {
  166. padding: 14px 15px 7px;
  167. min-height: 40px;
  168. }
  169. .el-card__body {
  170. padding: 15px 20px 20px 20px;
  171. }
  172. .card-box {
  173. padding-right: 15px;
  174. padding-left: 15px;
  175. margin-bottom: 10px;
  176. }
  177. /* button color */
  178. .el-button--cyan.is-active,
  179. .el-button--cyan:active {
  180. background: #20B2AA;
  181. border-color: #20B2AA;
  182. color: #FFFFFF;
  183. }
  184. .el-button--cyan:focus,
  185. .el-button--cyan:hover {
  186. background: #48D1CC;
  187. border-color: #48D1CC;
  188. color: #FFFFFF;
  189. }
  190. .el-button--cyan {
  191. background-color: #20B2AA;
  192. border-color: #20B2AA;
  193. color: #FFFFFF;
  194. }
  195. /* text color */
  196. .text-navy {
  197. color: #1ab394;
  198. }
  199. .text-primary {
  200. color: inherit;
  201. }
  202. .text-success {
  203. color: #1c84c6;
  204. }
  205. .text-info {
  206. color: #23c6c8;
  207. }
  208. .text-warning {
  209. color: #f8ac59;
  210. }
  211. .text-danger {
  212. color: #ed5565;
  213. }
  214. .text-muted {
  215. color: #888888;
  216. }
  217. /* image */
  218. .img-circle {
  219. border-radius: 50%;
  220. }
  221. .img-lg {
  222. width: 120px;
  223. height: 120px;
  224. }
  225. .avatar-upload-preview {
  226. position: absolute;
  227. top: 50%;
  228. transform: translate(50%, -50%);
  229. width: 200px;
  230. height: 200px;
  231. border-radius: 50%;
  232. box-shadow: 0 0 4px #ccc;
  233. overflow: hidden;
  234. }
  235. /* 拖拽列样式 */
  236. .sortable-ghost {
  237. opacity: .8;
  238. color: #fff!important;
  239. background: #42b983!important;
  240. }
  241. .top-right-btn {
  242. position: relative;
  243. float: right;
  244. }
  245. .lans {
  246. color: #016de7;
  247. }
  248. .lvs {
  249. color: #1abc5e;
  250. }
  251. .chengs {
  252. color: #ff9500;
  253. }
  254. .hongs {
  255. color: #ff3b30;
  256. }
  257. .right {
  258. float: right;
  259. }
  260. .el-table--border {
  261. border: 1px solid #dfe6ec !important;
  262. // border-bottom: 1px solid #dfe6ec !important;
  263. border-right: none !important;
  264. }