ruoyi.scss 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316
  1. /**
  2. * 通用css样式布局处理
  3. * Copyright (c) 2019 Allen
  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: #1e262f;
  77. color: #fff;
  78. height: 40px;
  79. font-size: 13px;
  80. }
  81. }
  82. .el-table__body-wrapper {
  83. .el-button [class*="el-icon-"] + span {
  84. margin-left: 1px;
  85. }
  86. }
  87. .el-table__body{
  88. tr {
  89. background: #0a0e27 !important;
  90. color: white;
  91. }
  92. tr:hover>td{
  93. background-color: rgba(0, 0, 0, 0.1) !important;
  94. }
  95. }
  96. .el-table__expand-icon{
  97. color: white;
  98. }
  99. }
  100. /** 表单布局 **/
  101. .form-header {
  102. font-size:15px;
  103. color:#6379bb;
  104. border-bottom:1px solid #ddd;
  105. margin:8px 10px 25px 10px;
  106. padding-bottom:5px
  107. }
  108. /** 表格布局 **/
  109. .pagination-container {
  110. position: relative;
  111. height: 25px;
  112. margin-bottom: 10px;
  113. margin-top: 15px;
  114. padding: 10px 20px !important;
  115. }
  116. /* tree border */
  117. .tree-border {
  118. margin-top: 5px;
  119. border: 1px solid #e5e6e7;
  120. background: #FFFFFF none;
  121. border-radius:4px;
  122. }
  123. .pagination-container .el-pagination {
  124. right: 0;
  125. position: absolute;
  126. .btn-prev,
  127. .btn-next{
  128. background-color: #0a0e27;
  129. color: white;
  130. }
  131. .el-pagination__total{
  132. color: white;
  133. }
  134. .el-pagination__sizes .el-input__inner{
  135. color: white;
  136. }
  137. .el-pagination__jump{
  138. color: white;
  139. .el-pagination__editor .el-input__inner{
  140. color: white;
  141. }
  142. }
  143. }
  144. @media ( max-width : 768px) {
  145. .pagination-container .el-pagination > .el-pagination__jump {
  146. display: none !important;
  147. }
  148. .pagination-container .el-pagination > .el-pagination__sizes {
  149. display: none !important;
  150. }
  151. }
  152. .el-table .fixed-width .el-button--mini {
  153. padding-left: 0;
  154. padding-right: 0;
  155. width: inherit;
  156. }
  157. /** 表格更多操作下拉样式 */
  158. .el-table .el-dropdown-link,.el-table .el-dropdown-selfdefine {
  159. cursor: pointer;
  160. margin-left: 5px;
  161. }
  162. .el-table .el-dropdown, .el-icon-arrow-down {
  163. font-size: 12px;
  164. }
  165. .el-tree-node__content > .el-checkbox {
  166. margin-right: 8px;
  167. }
  168. .el-tree-node__content:hover {
  169. background-color: rgba(0, 0, 0, 0.1) !important;
  170. }
  171. .list-group-striped > .list-group-item {
  172. border-left: 0;
  173. border-right: 0;
  174. border-radius: 0;
  175. padding-left: 0;
  176. padding-right: 0;
  177. }
  178. .list-group {
  179. padding-left: 0px;
  180. list-style: none;
  181. }
  182. .list-group-item {
  183. // border-bottom: 1px solid #e7eaec;
  184. // border-top: 1px solid #e7eaec;
  185. margin-bottom: -1px;
  186. padding: 11px 0px;
  187. font-size: 13px;
  188. }
  189. .pull-right {
  190. float: right !important;
  191. }
  192. .el-card__header {
  193. padding: 14px 15px 7px;
  194. min-height: 40px;
  195. }
  196. .el-card__header{
  197. background-color: #0a0e27;
  198. color: #fff;
  199. }
  200. .el-card__body {
  201. background-color: #0a0e27;
  202. color: #fff;
  203. padding: 15px 20px 20px 20px;
  204. }
  205. .card-box {
  206. padding-right: 15px;
  207. padding-left: 15px;
  208. margin-bottom: 10px;
  209. }
  210. /* button color */
  211. .el-button--cyan.is-active,
  212. .el-button--cyan:active {
  213. background: #20B2AA;
  214. border-color: #20B2AA;
  215. color: #FFFFFF;
  216. }
  217. .el-button--cyan:focus,
  218. .el-button--cyan:hover {
  219. background: #48D1CC;
  220. border-color: #48D1CC;
  221. color: #FFFFFF;
  222. }
  223. .el-button--cyan {
  224. background-color: #20B2AA;
  225. border-color: #20B2AA;
  226. color: #FFFFFF;
  227. }
  228. /* text color */
  229. .text-navy {
  230. color: #1ab394;
  231. }
  232. .text-primary {
  233. color: inherit;
  234. }
  235. .text-success {
  236. color: #1c84c6;
  237. }
  238. .text-info {
  239. color: #23c6c8;
  240. }
  241. .text-warning {
  242. color: #f8ac59;
  243. }
  244. .text-danger {
  245. color: #ed5565;
  246. }
  247. .text-muted {
  248. color: #888888;
  249. }
  250. /* image */
  251. .img-circle {
  252. border-radius: 50%;
  253. }
  254. .img-lg {
  255. width: 120px;
  256. height: 120px;
  257. }
  258. .avatar-upload-preview {
  259. position: relative;
  260. top: 50%;
  261. left: 50%;
  262. transform: translate(-50%, -50%);
  263. width: 200px;
  264. height: 200px;
  265. border-radius: 50%;
  266. box-shadow: 0 0 4px #ccc;
  267. overflow: hidden;
  268. }
  269. /* 拖拽列样式 */
  270. .sortable-ghost{
  271. opacity: .8;
  272. color: #fff!important;
  273. background: #42b983!important;
  274. }
  275. .top-right-btn {
  276. position: relative;
  277. float: right;
  278. }