ruoyi.scss 3.7 KB

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