ruoyi.scss 2.3 KB

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