ruoyi.scss 4.2 KB

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