ruoyi.scss 4.3 KB

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