ruoyi.scss 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390
  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-dialog:not(.is-fullscreen) {
  61. margin-top: 6vh !important;
  62. }
  63. .el-dialog__wrapper.scrollbar .el-dialog .el-dialog__body {
  64. overflow: auto;
  65. overflow-x: hidden;
  66. max-height: 70vh;
  67. padding: 10px 20px 0;
  68. }
  69. .el-table {
  70. .el-table__header-wrapper, .el-table__fixed-header-wrapper {
  71. th {
  72. word-break: break-word;
  73. // background-color: #f8f8f9;
  74. // color: #515a6e;
  75. color: rgb(191, 203, 217);
  76. height: 40px;
  77. font-size: 13px;
  78. }
  79. }
  80. .el-table__body-wrapper {
  81. .el-button [class*="el-icon-"] + span {
  82. margin-left: 1px;
  83. }
  84. }
  85. color: rgb(191, 203, 217);
  86. }
  87. /** 表单布局 **/
  88. .form-header {
  89. font-size:15px;
  90. color:#6379bb;
  91. border-bottom:1px solid #ddd;
  92. margin:8px 10px 25px 10px;
  93. padding-bottom:5px
  94. }
  95. /** 表格布局 **/
  96. .pagination-container {
  97. position: relative;
  98. height: 25px;
  99. margin-bottom: 10px;
  100. margin-top: 15px;
  101. padding: 10px 20px !important;
  102. }
  103. /* tree border */
  104. .tree-border {
  105. margin-top: 5px;
  106. border: 1px solid #e5e6e7;
  107. background: #FFFFFF none;
  108. border-radius:4px;
  109. }
  110. .pagination-container .el-pagination {
  111. right: 0;
  112. position: absolute;
  113. }
  114. @media ( max-width : 768px) {
  115. .pagination-container .el-pagination > .el-pagination__jump {
  116. display: none !important;
  117. }
  118. .pagination-container .el-pagination > .el-pagination__sizes {
  119. display: none !important;
  120. }
  121. }
  122. .el-table .fixed-width .el-button--mini {
  123. padding-left: 0;
  124. padding-right: 0;
  125. width: inherit;
  126. }
  127. /** 表格更多操作下拉样式 */
  128. .el-table .el-dropdown-link,.el-table .el-dropdown-selfdefine {
  129. cursor: pointer;
  130. margin-left: 5px;
  131. }
  132. .el-table .el-dropdown, .el-icon-arrow-down {
  133. font-size: 12px;
  134. }
  135. .el-tree-node__content > .el-checkbox {
  136. margin-right: 8px;
  137. }
  138. .list-group-striped > .list-group-item {
  139. border-left: 0;
  140. border-right: 0;
  141. border-radius: 0;
  142. padding-left: 0;
  143. padding-right: 0;
  144. }
  145. .list-group {
  146. padding-left: 0px;
  147. list-style: none;
  148. }
  149. .list-group-item {
  150. border-bottom: 1px solid #e7eaec;
  151. border-top: 1px solid #e7eaec;
  152. margin-bottom: -1px;
  153. padding: 11px 0px;
  154. font-size: 13px;
  155. }
  156. .pull-right {
  157. float: right !important;
  158. }
  159. .el-card__header {
  160. padding: 14px 15px 7px;
  161. min-height: 40px;
  162. }
  163. .el-card__body {
  164. padding: 15px 20px 20px 20px;
  165. }
  166. .card-box {
  167. padding-right: 15px;
  168. padding-left: 15px;
  169. margin-bottom: 10px;
  170. }
  171. /* button color */
  172. .el-button--cyan.is-active,
  173. .el-button--cyan:active {
  174. background: #20B2AA;
  175. border-color: #20B2AA;
  176. color: #FFFFFF;
  177. }
  178. .el-button--cyan:focus,
  179. .el-button--cyan:hover {
  180. background: #48D1CC;
  181. border-color: #48D1CC;
  182. color: #FFFFFF;
  183. }
  184. .el-button--cyan {
  185. background-color: #20B2AA;
  186. border-color: #20B2AA;
  187. color: #FFFFFF;
  188. }
  189. /* text color */
  190. .text-navy {
  191. color: #1ab394;
  192. }
  193. .text-primary {
  194. color: inherit;
  195. }
  196. .text-success {
  197. color: #1c84c6;
  198. }
  199. .text-info {
  200. color: #23c6c8;
  201. }
  202. .text-warning {
  203. color: #f8ac59;
  204. }
  205. .text-danger {
  206. color: #ed5565;
  207. }
  208. .text-muted {
  209. color: #888888;
  210. }
  211. /* image */
  212. .img-circle {
  213. border-radius: 50%;
  214. }
  215. .img-lg {
  216. width: 120px;
  217. height: 120px;
  218. }
  219. .avatar-upload-preview {
  220. position: relative;
  221. top: 50%;
  222. left: 50%;
  223. transform: translate(-50%, -50%);
  224. width: 200px;
  225. height: 200px;
  226. border-radius: 50%;
  227. box-shadow: 0 0 4px #ccc;
  228. overflow: hidden;
  229. }
  230. /* 拖拽列样式 */
  231. .sortable-ghost{
  232. opacity: .8;
  233. color: #fff!important;
  234. background: #42b983!important;
  235. }
  236. .top-right-btn {
  237. position: relative;
  238. float: right;
  239. }
  240. .el-input__inner {
  241. background-color: #27668e;
  242. }
  243. .el-loading-mask {
  244. background-color: transparent;
  245. }
  246. .el-form-item__label {
  247. color: #deedff;
  248. }
  249. .el-dialog__title {
  250. color: #deedff;
  251. }
  252. .el-menu--horizontal>.el-menu-item:not(.is-disabled):focus,.el-menu--horizontal>.el-menu-item:not(.is-disabled):hover,.el-menu--horizontal>.el-submenu .el-submenu__title:hover{background-color: transparent;}
  253. .el-tooltip__popper.is-dark {
  254. background: #27668e;
  255. color: #deedff;
  256. }
  257. .el-range-editor--small .el-range-input {
  258. background-color: #27668e;
  259. color: #deedff;
  260. }
  261. .el-tabs__item {
  262. color: #deedff;
  263. }
  264. .el-message-box__title {
  265. color: #deedff;
  266. }
  267. .el-dialog__body{
  268. color: #deedff
  269. }
  270. .el-table__expand-icon {
  271. color: #deedff;
  272. }
  273. .el-card {
  274. color: #deedff;
  275. background-color: transparent;
  276. }
  277. .el-table tr {
  278. background-color: transparent
  279. }
  280. .el-table th.el-table__cell {
  281. background-color: transparent
  282. }
  283. .el-link.el-link--default {
  284. color: #deedff;
  285. }
  286. .el-upload__tip {
  287. color: #deedff;
  288. }
  289. .el-input__inner {
  290. color: #deedff;
  291. }
  292. .el-button--default {
  293. color: #deedff;
  294. }
  295. .el-select-dropdown__item {
  296. color: #deedff;
  297. }
  298. .el-tabs__item {
  299. color: #deedff;
  300. }
  301. .selected {
  302. background-color: transparent;
  303. }
  304. .el-select-dropdown__item.hover, .el-select-dropdown__item:hover {
  305. background-color: #265440;
  306. }
  307. .el-menu--horizontal > .el-menu-item {
  308. color: #deedff;
  309. }
  310. .el-dropdown-menu__item {
  311. color: #deedff;
  312. }
  313. .el-radio {
  314. color: #deedff;
  315. }
  316. .el-message-box__content {
  317. color: #deedff;
  318. }
  319. .el-checkbox {
  320. color: #deedff;
  321. }
  322. .el-tag.el-tag--info {
  323. color: #deedff;
  324. }
  325. .vue-treeselect__label {
  326. color: #303030;
  327. }
  328. .el-textarea__inner {
  329. color: #deedff;
  330. }