ruoyi.scss 2.7 KB

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