ruoyi.scss 3.0 KB

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