plm前端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

548 lines
9.6 KiB

2 years ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
1 year ago
1 year ago
9 months ago
  1. /* 侧边导航栏 start*/
  2. .el-menu-item, .el-submenu__title {
  3. height: 35px;
  4. line-height: 35px;
  5. position: relative;
  6. -webkit-box-sizing: border-box;
  7. white-space: nowrap;
  8. list-style: none;
  9. }
  10. .el-submenu .el-menu-item {
  11. height: 35px;
  12. line-height: 35px;
  13. padding: 0 45px;
  14. min-width: 200px;
  15. }
  16. .site-sidebar__inner {
  17. width: 256px;
  18. }
  19. .site-sidebar__inner {
  20. width: 260px;
  21. }
  22. /* 侧边导航栏 end*/
  23. /*table start*/
  24. .el-table th {
  25. display: table-cell !important;
  26. background-color: #17b3a3;
  27. color: #fff;
  28. height: 20px;
  29. }
  30. .el-table .cell {
  31. line-height: 14px;
  32. font-size: 12px;
  33. height: 14px;
  34. }
  35. .el-input--medium .el-input__inner {
  36. height: 28px;
  37. line-height: 20px;
  38. }
  39. .el-table--medium td, .el-table--medium th {
  40. padding: 5px 0;
  41. }
  42. /*table end*/
  43. /* 输入框 start*/
  44. .el-input--medium {
  45. font-size: 12px;
  46. }
  47. .el-button--medium {
  48. padding: 3px 10px;
  49. font-size: 12px;
  50. border-radius: 4px;
  51. }
  52. .el-select-dropdown__item {
  53. font-size: 12px;
  54. }
  55. .el-form-item {
  56. margin-bottom: 0px;
  57. }
  58. .el-checkbox__inner {
  59. width: 12px;
  60. height: 11px;
  61. }
  62. /* 输入框 end*/
  63. /* tag start*/
  64. .el-tag--small {
  65. height: 15px;
  66. padding: 0 8px;
  67. line-height: 13px;
  68. }
  69. /* tag end*/
  70. .el-table .caret-wrapper {
  71. height: 20px;
  72. }
  73. /* table排序 start */
  74. .el-table .descending .sort-caret.descending {
  75. border-top-color: #00ff00;
  76. }
  77. .el-table .ascending .sort-caret.ascending {
  78. border-bottom-color: #00ff00;
  79. }
  80. /* table排序 end */
  81. /* input start*/
  82. .el-input__inner {
  83. padding: 0 5px;
  84. }
  85. /* input end*/
  86. /* el-dialog start*/
  87. .el-dialog__body{
  88. padding: 0px 10px;
  89. }
  90. /* el-dialog end*/
  91. /* el-form-item 间距 start*/
  92. .el-form--label-top .el-form-item__label {
  93. float: none;
  94. display: inline-block;
  95. text-align: left;
  96. padding: 0px 0 0px;
  97. }
  98. /* el-form-item 间距 end*/
  99. /* el-form-item 间距 start*/
  100. .el-form--label-top .el-form-item__label {
  101. float: none;
  102. display: inline-block;
  103. text-align: left;
  104. padding: 0px 0 0px;
  105. line-height: 28px;
  106. }
  107. .el-form-item--medium .el-form-item__content, .el-form-item--medium .el-form-item__label {
  108. line-height: 30px;
  109. }
  110. .el-form-item--mini.el-form-item, .el-form-item--small.el-form-item {
  111. margin-bottom: 1px;
  112. }
  113. /* el-form-item 间距 end*/
  114. /* 提示消息 start */
  115. .el-message{
  116. margin-top: 20%;
  117. }
  118. /* end */
  119. /* 布局间距 */
  120. .el-card__body {
  121. padding: 5px;
  122. }
  123. .site-content > .el-tabs > .el-tabs__content {
  124. padding: 0 5px 5px;
  125. }
  126. .site-content--tabs {
  127. padding: 30px 0 0;
  128. }
  129. .site-navbar__brand {
  130. height: 35px;
  131. line-height: 35px;
  132. font-size: 18px;
  133. }
  134. .site-navbar__brand2 {
  135. height: 35px;
  136. line-height: 35px;
  137. font-size: 18px;
  138. }
  139. .site-navbar {
  140. height: 35px;
  141. }
  142. .site-sidebar {
  143. top: 35px;
  144. }
  145. .site-navbar__body {
  146. height: 35px;
  147. }
  148. .site-content > .el-tabs > .el-tabs__header {
  149. top: 35px;
  150. }
  151. .site-navbar__menu .el-menu-item, .site-navbar__menu .el-submenu > .el-submenu__title {
  152. height: 35px;
  153. line-height: 35px;
  154. }
  155. .site-content > .el-tabs > .el-tabs__content > .site-tabs__tools {
  156. top: 35px;
  157. height: 40px;
  158. font-size: 16px;
  159. line-height: 40px;
  160. }
  161. /*按钮*/
  162. .el-dialog__footer {
  163. padding: 10px 20px 20px;
  164. text-align: center;
  165. -webkit-box-sizing: border-box;
  166. box-sizing: border-box;
  167. }
  168. /*提示消息 按钮 确认在右 取消仔左*/
  169. .el-message-box__btns {
  170. padding: 5px 15px 0;
  171. display: flex;
  172. flex-direction: row-reverse;
  173. gap: 10px;
  174. }
  175. /* 树结构label 字体*/
  176. .el-tree-node__label {
  177. font-size: 12px;
  178. }
  179. /* form-item__label*/
  180. .el-form-item__label {
  181. font-size: 12px;
  182. }
  183. /* checkbox__label */
  184. .el-checkbox__label {
  185. font-size: 12px;
  186. }
  187. /* radio__label */
  188. .el-radio__label {
  189. font-size: 12px;
  190. }
  191. .el-table .cell, .el-table th div, .el-table--border td:first-child .cell, .el-table--border th:first-child .cell {
  192. padding-left: 5px;
  193. }
  194. .el-table .cell, .el-table th div {
  195. padding-right: 4px;
  196. overflow: hidden;
  197. text-overflow: ellipsis;
  198. }
  199. /* 全局缩小行间距 LR*/
  200. /* 针对普通的input*/
  201. .el-form-item__content{
  202. margin-top: -3px;
  203. }
  204. /*全局年与日类型 宽度*/
  205. div.el-time-width{
  206. width: 120px !important;
  207. }
  208. /* 全局时间右边框*/
  209. input.el-input__inner{
  210. height: 20px !important;
  211. padding-right: 0px !important;
  212. }
  213. /* 时间框选择样式 */
  214. .customer-css span.el-input__prefix{
  215. left: 1px;
  216. }
  217. /* 时间HH:MM的样式*/
  218. .el-input--prefix .el-input__inner {
  219. padding-left: 23px;
  220. }
  221. /* table单击选中行的样式 */
  222. .el-table__body tr.current-row > td{
  223. background-color: #d9edf7 !important; ;
  224. /* color: #f19944; */ /* 设置文字颜色,可以选择不设置 */
  225. }
  226. /*全局的fieldset样式*/
  227. .customer-fieldset{
  228. padding: 0.125em;
  229. }
  230. /*全局fieldset的legend的样式*/
  231. .customer-fieldset > .customer-legend{
  232. font-size: 12px;
  233. line-height: 20px;
  234. }
  235. /*全局fieldset的页签内容的样式*/
  236. .customer-fieldset .el-tabs__item {
  237. padding: 0 13px;
  238. height: 26px;
  239. line-height: 26px;
  240. font-size: 12px;
  241. font-weight: 500;
  242. }
  243. /*定制组件的样式*/
  244. .customer-css .el-dialog{
  245. top: 10vh !important;
  246. margin-top: 0px !important;
  247. margin-bottom: 10px;
  248. }
  249. /* 定制模态框中 table的样式 */
  250. .customer-tab .el-table .is-leaf{
  251. line-height: 16px;
  252. }
  253. .customer-components .el-table .is-leaf{
  254. line-height: 16px;
  255. }
  256. /*.el-form {
  257. margin-top: -8px !important;
  258. }*/
  259. // 2021-12-14 13:29 sxm
  260. .el-form-item--medium .el-form-item__label {
  261. height: 20px;
  262. line-height: 20px;
  263. }
  264. .el-input--medium .el-input__inner,.el-form-item--medium .el-form-item__content {
  265. height: 24px;
  266. line-height: 20px;
  267. }
  268. .el-input--medium .el-input__icon {
  269. line-height: 20px;
  270. }
  271. .el-form-item--mini .el-form-item__content, .el-form-item--mini .el-form-item__label {
  272. line-height: 20px;
  273. }
  274. .el-form-item--mini .el-form-item__label {
  275. line-height: 20px;
  276. }
  277. .el-input-number{
  278. width: 100%;
  279. }
  280. .el-input-number .el-input__inner {
  281. text-align: right;
  282. padding-right: 5px !important;
  283. padding-left: 0 !important;
  284. }
  285. .el-input-number--medium .el-input-number__decrease, .el-input-number--medium .el-input-number__increase{
  286. width: 18px;
  287. height: 18px;
  288. font-size: 14px;
  289. line-height: 1.5;
  290. }
  291. .el-input-number--mini{
  292. line-height: 20px
  293. }
  294. .el-input-number--mini .el-input-number__decrease, .el-input-number--mini .el-input-number__increase{
  295. width: 18px;
  296. height: 18px;
  297. font-size: 14px;
  298. line-height: 1.5;
  299. }
  300. .el-input .el-input--medium{
  301. line-height: 20px;
  302. }
  303. .el-input-number .el-input--medium{
  304. line-height: 20px;
  305. }
  306. // sxm 模态框 2021-12-22
  307. .el-dialog__header {
  308. padding: 5px 10px 5px;
  309. }
  310. .el-dialog__footer {
  311. padding: 5px 10px 5px;
  312. }
  313. .el-dialog--center .el-dialog__body {
  314. text-align: initial;
  315. padding: 0px 10px 0px;
  316. }
  317. .el-dialog__headerbtn {
  318. position: absolute;
  319. top: 5px;
  320. right: 10px;
  321. padding: 0;
  322. background: 0 0;
  323. border: none;
  324. outline: 0;
  325. cursor: pointer;
  326. font-size: 16px;
  327. }
  328. /*全局 el-table 下 el-input的样式 LR 2022-01-12*/
  329. .customer-number-cell .cell{
  330. height: 24px !important;
  331. padding: 0px;
  332. }
  333. .customer-text-cell .cell{
  334. height: 24px !important;
  335. padding: 0px;
  336. }
  337. /*table中input 修改样式*/
  338. div.table-number-input {
  339. padding: 0px 0px;
  340. height: 24px !important;
  341. }
  342. /*table中input*/
  343. div.table-number-input input.el-input__inner{
  344. padding: 0px 0px;
  345. height: 24px !important;
  346. text-align: right;
  347. }
  348. div.table-text-input input.el-input__inner{
  349. padding: 0px 0px;
  350. height: 24px !important;
  351. text-align: center;
  352. }
  353. /*a标签全局无下划线 2022-01-18 LR*/
  354. a:hover{
  355. text-decoration: none;
  356. }
  357. /*重写checkbox的样式 2022-03-09*/
  358. .el-checkbox__inner::after {
  359. left: 3px;
  360. top: -0.5px;
  361. }
  362. .sl .el-form-item {
  363. margin-bottom: 5px;
  364. }
  365. .el-textarea__inner {
  366. padding: 5px 5px;
  367. }
  368. .el-button--small, .el-button--small.is-round {
  369. padding: 5px 10px;
  370. }
  371. .el-dropdown-menu--medium .el-dropdown-menu__item {
  372. line-height: 30px;
  373. padding: 0 17px;
  374. font-size: 12px;
  375. }
  376. .el-transfer-panel {
  377. border: 2px solid #17b3a3;
  378. border-radius: 4px;
  379. overflow: hidden;
  380. background: #fff;
  381. display: inline-block;
  382. vertical-align: middle;
  383. width: 252px;
  384. max-height: 100%;
  385. -webkit-box-sizing: border-box;
  386. box-sizing: border-box;
  387. position: relative;
  388. }
  389. .el-transfer-panel .el-transfer-panel__header {
  390. height: 40px;
  391. line-height: 40px;
  392. background: #17b3a3;
  393. margin: 0;
  394. padding-left: 15px;
  395. border-bottom: 1px solid #17b3a3;
  396. -webkit-box-sizing: border-box;
  397. box-sizing: border-box;
  398. color: #000;
  399. }
  400. .rred input {
  401. color: red;
  402. }
  403. .rq .el-transfer-panel {
  404. border: 2px solid #17b3a3;
  405. border-radius: 4px;
  406. overflow: hidden;
  407. background: #fff;
  408. display: inline-block;
  409. vertical-align: middle;
  410. width: 200px;
  411. max-height: 100%;
  412. -webkit-box-sizing: border-box;
  413. box-sizing: border-box;
  414. position: relative;
  415. }
  416. .rq .el-transfer-panel .el-transfer-panel__header {
  417. height: 40px;
  418. line-height: 40px;
  419. background: #17b3a3;
  420. margin: 0;
  421. padding-left: 15px;
  422. border-bottom: 1px solid #17b3a3;
  423. -webkit-box-sizing: border-box;
  424. box-sizing: border-box;
  425. color: #000;
  426. }
  427. .rq .el-transfer-panel .el-transfer-panel__header .el-checkbox .el-checkbox__label {
  428. font-size: 14px;
  429. color: #303133;
  430. font-weight: 400;
  431. }
  432. .rq .el-transfer-panel__filter .el-input__icon {
  433. margin-left: -3px;
  434. margin-top: -2px;
  435. }
  436. /* 全局隐藏上下箭头 */
  437. input[type="number"]::-webkit-inner-spin-button,
  438. input[type="number"]::-webkit-outer-spin-button {
  439. -webkit-appearance: none;
  440. margin-top: 0;
  441. margin-right: 2px;
  442. }
  443. input[type="number"] {
  444. -moz-appearance: textfield; /* Firefox */
  445. text-align: right;
  446. }
  447. .auto .el-form-item__content{
  448. height: auto;
  449. line-height: 1.5;
  450. }
  451. .full-block{
  452. height:100%;
  453. width:100%;
  454. overflow:hidden;
  455. }
  456. .flex-layout{
  457. display:flex;
  458. flex-direction:column;
  459. }
  460. .flex-auto{
  461. flex:1 1 auto
  462. }
  463. .flex-none{
  464. flex:none
  465. }
  466. //盒子高度
  467. .box-container{
  468. display: flex;
  469. flex-direction: column;
  470. height: calc(100vh - 100px);
  471. min-height: 200px;
  472. }