ruoyi.scss 4.0 KB

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