nexo.scss 4.4 KB

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