ruoyi.scss 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406
  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-dialog__body{
  73. font-size:16px !important;
  74. }
  75. .el-table {
  76. .el-table__header-wrapper, .el-table__fixed-header-wrapper {
  77. th {
  78. word-break: break-word;
  79. background-color: #f8f8f9;
  80. color: #515a6e;
  81. height: 40px;
  82. font-size: 13px;
  83. }
  84. }
  85. .el-button [class*=el-icon-] + span{
  86. margin-left: 2px;
  87. }
  88. }
  89. /** 表单布局 **/
  90. .form-header {
  91. font-size:15px;
  92. color:#6379bb;
  93. border-bottom:1px solid #ddd;
  94. margin:8px 10px 25px 10px;
  95. padding-bottom:5px
  96. }
  97. /** 表格布局 **/
  98. .pagination-container {
  99. display: flex;
  100. justify-content: flex-end;
  101. align-items: center;
  102. height: 57px;
  103. padding: 10px;
  104. background-color: #fff;
  105. border:1px solid #f1f1f1;
  106. border-top:none;
  107. box-shadow: 0 2px 8px #ccc;
  108. }
  109. /* tree border */
  110. .tree-border {
  111. margin-top: 5px;
  112. border: 1px solid #e5e6e7;
  113. background: #FFFFFF none;
  114. border-radius:4px;
  115. }
  116. @media ( max-width : 768px) {
  117. .pagination-container .el-pagination > .el-pagination__jump {
  118. display: none !important;
  119. }
  120. .pagination-container .el-pagination > .el-pagination__sizes {
  121. display: none !important;
  122. }
  123. }
  124. .el-table{
  125. box-shadow:-8px 0 8px -8px #ccc, 8px 0 8px -8px #ccc;
  126. }
  127. .el-table .fixed-width .el-button--mini {
  128. padding-left: 0;
  129. padding-right: 0;
  130. width: inherit;
  131. }
  132. /** 表格更多操作下拉样式 */
  133. .el-table .el-dropdown-link,.el-table .el-dropdown-selfdefine {
  134. cursor: pointer;
  135. margin-left: 5px;
  136. }
  137. .el-table .el-dropdown, .el-icon-arrow-down {
  138. font-size: 12px;
  139. }
  140. .el-tree-node__content > .el-checkbox {
  141. margin-right: 8px;
  142. }
  143. .list-group-striped > .list-group-item {
  144. border-left: 0;
  145. border-right: 0;
  146. border-radius: 0;
  147. padding-left: 0;
  148. padding-right: 0;
  149. }
  150. .list-group {
  151. padding-left: 0px;
  152. list-style: none;
  153. }
  154. .list-group-item {
  155. border-bottom: 1px solid #e7eaec;
  156. border-top: 1px solid #e7eaec;
  157. margin-bottom: -1px;
  158. padding: 17px 0px;
  159. font-size: 13px;
  160. }
  161. .pull-right {
  162. float: right !important;
  163. }
  164. .el-card__header {
  165. padding: 14px 15px 7px;
  166. min-height: 40px;
  167. }
  168. .el-card__body {
  169. padding: 15px 20px 20px 20px;
  170. }
  171. .card-box {
  172. padding-right: 15px;
  173. padding-left: 15px;
  174. margin-bottom: 10px;
  175. }
  176. /* button color */
  177. .el-button--cyan.is-active,
  178. .el-button--cyan:active {
  179. background: #20B2AA;
  180. border-color: #20B2AA;
  181. color: #FFFFFF;
  182. }
  183. .el-button--cyan:focus,
  184. .el-button--cyan:hover {
  185. background: #48D1CC;
  186. border-color: #48D1CC;
  187. color: #FFFFFF;
  188. }
  189. .el-button--cyan {
  190. background-color: #20B2AA;
  191. border-color: #20B2AA;
  192. color: #FFFFFF;
  193. }
  194. /* text color */
  195. .text-navy {
  196. color: #1ab394;
  197. }
  198. .text-primary {
  199. color: inherit;
  200. }
  201. .text-success {
  202. color: #008CD6FF;;
  203. }
  204. .text-info {
  205. color: #23c6c8;
  206. }
  207. .text-warning {
  208. color: #f8ac59;
  209. }
  210. .text-danger {
  211. color: #ed5565;
  212. }
  213. .text-muted {
  214. color: #888888;
  215. }
  216. /* image */
  217. .img-circle {
  218. border-radius: 50%;
  219. }
  220. .img-lg {
  221. width: 120px;
  222. height: 120px;
  223. }
  224. .avatar-upload-preview {
  225. position: relative;
  226. top: 50%;
  227. left: 50%;
  228. transform: translate(-50%, -50%);
  229. width: 200px;
  230. height: 200px;
  231. border-radius: 50%;
  232. box-shadow: 0 0 4px #ccc;
  233. overflow: hidden;
  234. }
  235. /* 拖拽列样式 */
  236. .sortable-ghost{
  237. opacity: .8;
  238. color: #fff!important;
  239. background: #42b983!important;
  240. }
  241. .top-right-btn {
  242. position: relative;
  243. float: right;
  244. }
  245. .el-form-item__label{
  246. font-size:13px!important;
  247. }
  248. .el-input__inner{
  249. font-size:12px!important;
  250. }
  251. input[type=text]::placeholder{
  252. font-size: 12px;
  253. }
  254. .el-button--mini{
  255. font-size: 16px!important;
  256. }
  257. .el-table--small{
  258. font-size: 16px!important;
  259. }
  260. .el-table thead{
  261. >tr{
  262. >th{
  263. font-family: SYHeavy,Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
  264. font-size: 16px!important;
  265. background-color: #d1e0f1 !important;
  266. }
  267. }
  268. }
  269. .el-tree-node__content{
  270. font-size: 16px;
  271. height: 36px!important;
  272. line-height: 36px!important;
  273. }
  274. .el-submenu__title,.el-menu-item{
  275. display: flex;
  276. font-size: 16px!important;
  277. height: 42px!important;
  278. align-items: center;
  279. justify-content: flex-start;
  280. }
  281. .el-form-item__label{
  282. font-size: 16px!important;
  283. }
  284. .tags-view-item{
  285. line-height: 23px!important;
  286. font-size: 16px!important;
  287. }
  288. .tags-view-item.active::before{
  289. top:-2px;
  290. }
  291. .el-pagination button, .el-pagination span:not([class*=suffix]){
  292. font-size: 16px!important;
  293. }
  294. .el-checkbox{
  295. display: flex!important;
  296. align-items: center!important;
  297. }
  298. .el-checkbox__inner{
  299. width: 16px!important;
  300. height: 16px!important;
  301. }
  302. .el-checkbox__label{
  303. padding-left: 5px!important;
  304. font-size: 16px!important;
  305. }
  306. .el-input__inner{
  307. font-size: 14px!important;
  308. }
  309. .el-descriptions{
  310. font-size: 16px !important;
  311. }
  312. .el-button--text{
  313. padding: 0!important;
  314. }
  315. .el-table--small .el-table__cell{
  316. padding: 10px 0!important;
  317. }
  318. .el-collapse-item__header{
  319. font-size: 16px!important;
  320. }
  321. .gx_info_label{
  322. text-align: center !important;
  323. color: #1e1e1e;
  324. }
  325. .text_nbsp{
  326. text-align: justify !important;
  327. white-space: pre-wrap !important;
  328. }
  329. .el-descriptions-item__label.is-bordered-label {
  330. font-weight: bold;
  331. color: #515a6e;
  332. background: #d7d7d7 !important;
  333. }
  334. .extend_mod{
  335. .el-table thead{
  336. >tr{
  337. >th{
  338. background-color: #d7d7d7 !important;
  339. }
  340. }
  341. }
  342. }
  343. .vue-treeselect__single-value{
  344. align-items: center;
  345. color: #666!important;
  346. }
  347. .vue-treeselect__control{
  348. height: 30px!important;
  349. }
  350. .vue-treeselect__input{
  351. height: 30px!important;
  352. }
  353. .el-descriptions-item__label.is-bordered-label{
  354. color:#333!important;
  355. }