ruoyi.scss 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309
  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. .ml10 {
  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. .ml20 {
  52. margin-left: 20px;
  53. }
  54. .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  55. font-family: inherit;
  56. font-weight: 500;
  57. line-height: 1.1;
  58. color: inherit;
  59. }
  60. .el-message-box__status + .el-message-box__message{
  61. word-break: break-word;
  62. }
  63. .el-dialog:not(.is-fullscreen) {
  64. margin-top: 6vh !important;
  65. }
  66. .el-dialog__wrapper.scrollbar .el-dialog .el-dialog__body {
  67. overflow: auto;
  68. overflow-x: hidden;
  69. max-height: 70vh;
  70. padding: 10px 20px 0;
  71. }
  72. .el-table {
  73. .el-table__header-wrapper, .el-table__fixed-header-wrapper {
  74. th {
  75. word-break: break-word;
  76. background-color: #f8f8f9;
  77. color: #515a6e;
  78. height: 40px;
  79. font-size: 13px;
  80. }
  81. }
  82. .el-button [class*=el-icon-] + span{
  83. margin-left: 2px;
  84. }
  85. }
  86. /** 表单布局 **/
  87. .form-header {
  88. font-size:15px;
  89. color:#6379bb;
  90. border-bottom:1px solid #ddd;
  91. margin:8px 10px 25px 10px;
  92. padding-bottom:5px
  93. }
  94. /** 表格布局 **/
  95. .pagination-container {
  96. display: flex;
  97. justify-content: flex-end;
  98. align-items: center;
  99. height: 57px;
  100. padding: 10px;
  101. background-color: #fff;
  102. border:1px solid #f1f1f1;
  103. border-top:none;
  104. box-shadow: 0 2px 8px #ccc;
  105. }
  106. /* tree border */
  107. .tree-border {
  108. margin-top: 5px;
  109. border: 1px solid #e5e6e7;
  110. background: #FFFFFF none;
  111. border-radius:4px;
  112. }
  113. @media ( max-width : 768px) {
  114. .pagination-container .el-pagination > .el-pagination__jump {
  115. display: none !important;
  116. }
  117. .pagination-container .el-pagination > .el-pagination__sizes {
  118. display: none !important;
  119. }
  120. }
  121. .el-table{
  122. box-shadow:-8px 0 8px -8px #ccc, 8px 0 8px -8px #ccc;
  123. }
  124. .el-table .fixed-width .el-button--mini {
  125. padding-left: 0;
  126. padding-right: 0;
  127. width: inherit;
  128. }
  129. /** 表格更多操作下拉样式 */
  130. .el-table .el-dropdown-link,.el-table .el-dropdown-selfdefine {
  131. cursor: pointer;
  132. margin-left: 5px;
  133. }
  134. .el-table .el-dropdown, .el-icon-arrow-down {
  135. font-size: 12px;
  136. }
  137. .el-tree-node__content > .el-checkbox {
  138. margin-right: 8px;
  139. }
  140. .list-group-striped > .list-group-item {
  141. border-left: 0;
  142. border-right: 0;
  143. border-radius: 0;
  144. padding-left: 0;
  145. padding-right: 0;
  146. }
  147. .list-group {
  148. padding-left: 0px;
  149. list-style: none;
  150. }
  151. .list-group-item {
  152. border-bottom: 1px solid #e7eaec;
  153. border-top: 1px solid #e7eaec;
  154. margin-bottom: -1px;
  155. padding: 17px 0px;
  156. font-size: 13px;
  157. }
  158. .pull-right {
  159. float: right !important;
  160. }
  161. .el-card__header {
  162. padding: 14px 15px 7px;
  163. min-height: 40px;
  164. }
  165. .el-card__body {
  166. padding: 15px 20px 20px 20px;
  167. }
  168. .card-box {
  169. padding-right: 15px;
  170. padding-left: 15px;
  171. margin-bottom: 10px;
  172. }
  173. /* button color */
  174. .el-button--cyan.is-active,
  175. .el-button--cyan:active {
  176. background: #20B2AA;
  177. border-color: #20B2AA;
  178. color: #FFFFFF;
  179. }
  180. .el-button--cyan:focus,
  181. .el-button--cyan:hover {
  182. background: #48D1CC;
  183. border-color: #48D1CC;
  184. color: #FFFFFF;
  185. }
  186. .el-button--cyan {
  187. background-color: #20B2AA;
  188. border-color: #20B2AA;
  189. color: #FFFFFF;
  190. }
  191. /* text color */
  192. .text-navy {
  193. color: #1ab394;
  194. }
  195. .text-primary {
  196. color: inherit;
  197. }
  198. .text-success {
  199. color: #008CD6FF;;
  200. }
  201. .text-info {
  202. color: #23c6c8;
  203. }
  204. .text-warning {
  205. color: #f8ac59;
  206. }
  207. .text-danger {
  208. color: #ed5565;
  209. }
  210. .text-muted {
  211. color: #888888;
  212. }
  213. /* image */
  214. .img-circle {
  215. border-radius: 50%;
  216. }
  217. .img-lg {
  218. width: 120px;
  219. height: 120px;
  220. }
  221. .avatar-upload-preview {
  222. position: relative;
  223. top: 50%;
  224. left: 50%;
  225. transform: translate(-50%, -50%);
  226. width: 200px;
  227. height: 200px;
  228. border-radius: 50%;
  229. box-shadow: 0 0 4px #ccc;
  230. overflow: hidden;
  231. }
  232. /* 拖拽列样式 */
  233. .sortable-ghost{
  234. opacity: .8;
  235. color: #fff!important;
  236. background: #42b983!important;
  237. }
  238. .top-right-btn {
  239. position: relative;
  240. float: right;
  241. }
  242. .el-form-item__label{
  243. font-size:13px!important;
  244. }
  245. .el-input__inner{
  246. font-size:12px!important;
  247. }
  248. input[type=text]::placeholder{
  249. font-size: 12px;
  250. }
  251. .el-button--mini{
  252. font-size: 13px!important;
  253. }
  254. .el-table thead{
  255. >tr{
  256. >th{
  257. background-color: #d1e0f1 !important;
  258. }
  259. }
  260. }
  261. .el-tree-node__content{
  262. font-size: 13px;
  263. height: 32px!important;
  264. }
  265. .el-submenu__title,.el-menu-item{
  266. font-size: 13px!important;
  267. height: 42px!important;
  268. line-height: 42px!important;
  269. }