ruoyi.scss 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  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. .pagination-container .el-pagination {
  90. right: 0;
  91. position: absolute;
  92. }
  93. .el-table .fixed-width .el-button--mini {
  94. color: #409EFF;
  95. padding-left: 0;
  96. padding-right: 0;
  97. width: inherit;
  98. }
  99. .el-tree-node__content > .el-checkbox {
  100. margin-right: 8px;
  101. }
  102. .list-group-striped > .list-group-item {
  103. border-left: 0;
  104. border-right: 0;
  105. border-radius: 0;
  106. padding-left: 0;
  107. padding-right: 0;
  108. }
  109. .list-group {
  110. padding-left: 0px;
  111. list-style: none;
  112. }
  113. .list-group-item {
  114. border-bottom: 1px solid #e7eaec;
  115. border-top: 1px solid #e7eaec;
  116. margin-bottom: -1px;
  117. padding: 11px 0px;
  118. font-size: 13px;
  119. }
  120. .pull-right {
  121. float: right !important;
  122. }
  123. .el-card__header {
  124. padding: 14px 15px 7px;
  125. min-height: 40px;
  126. }
  127. .el-card__body {
  128. padding: 15px 20px 20px 20px;
  129. }
  130. .card-box {
  131. padding-right: 15px;
  132. padding-left: 15px;
  133. margin-bottom: 10px;
  134. }
  135. /* button color */
  136. .el-button--cyan.is-active,
  137. .el-button--cyan:active {
  138. background: #20B2AA;
  139. border-color: #20B2AA;
  140. color: #FFFFFF;
  141. }
  142. .el-button--cyan:focus,
  143. .el-button--cyan:hover {
  144. background: #48D1CC;
  145. border-color: #48D1CC;
  146. color: #FFFFFF;
  147. }
  148. .el-button--cyan {
  149. background-color: #20B2AA;
  150. border-color: #20B2AA;
  151. color: #FFFFFF;
  152. }
  153. /* text color */
  154. .text-navy {
  155. color: #1ab394;
  156. }
  157. .text-primary {
  158. color: inherit;
  159. }
  160. .text-success {
  161. color: #1c84c6;
  162. }
  163. .text-info {
  164. color: #23c6c8;
  165. }
  166. .text-warning {
  167. color: #f8ac59;
  168. }
  169. .text-danger {
  170. color: #ed5565;
  171. }
  172. .text-muted {
  173. color: #888888;
  174. }
  175. /* image */
  176. .img-circle {
  177. border-radius: 50%;
  178. }
  179. .img-lg {
  180. width: 120px;
  181. height: 120px;
  182. }
  183. .avatar-upload-preview {
  184. position: absolute;
  185. top: 50%;
  186. transform: translate(50%, -50%);
  187. width: 180px;
  188. height: 180px;
  189. border-radius: 50%;
  190. box-shadow: 0 0 4px #ccc;
  191. overflow: hidden;
  192. }
  193. /* 拖拽列样式 */
  194. .sortable-ghost{
  195. opacity: .8;
  196. color: #fff!important;
  197. background: #42b983!important;
  198. }
  199. .top-right-btn {
  200. position: relative;
  201. float: right;
  202. }