admin.scss 2.7 KB

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