健腾mes前端
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.

524 lines
8.7 KiB

2 years 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: 246px;
  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: 5px 10px;
  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 {
  135. height: 35px;
  136. }
  137. .site-sidebar {
  138. top: 35px;
  139. }
  140. .site-navbar__body {
  141. height: 35px;
  142. }
  143. .site-content > .el-tabs > .el-tabs__header {
  144. top: 35px;
  145. }
  146. .site-navbar__menu .el-menu-item, .site-navbar__menu .el-submenu > .el-submenu__title {
  147. height: 35px;
  148. line-height: 35px;
  149. }
  150. .site-content > .el-tabs > .el-tabs__content > .site-tabs__tools {
  151. top: 35px;
  152. height: 40px;
  153. font-size: 16px;
  154. line-height: 40px;
  155. }
  156. /*按钮*/
  157. .el-dialog__footer {
  158. padding: 10px 20px 20px;
  159. text-align: center;
  160. -webkit-box-sizing: border-box;
  161. box-sizing: border-box;
  162. }
  163. /*提示消息 按钮 确认在右 取消仔左*/
  164. .el-message-box__btns {
  165. padding: 5px 15px 0;
  166. display: flex;
  167. flex-direction: row-reverse;
  168. gap: 10px;
  169. }
  170. /* 树结构label 字体*/
  171. .el-tree-node__label {
  172. font-size: 12px;
  173. }
  174. /* form-item__label*/
  175. .el-form-item__label {
  176. font-size: 12px;
  177. }
  178. /* checkbox__label */
  179. .el-checkbox__label {
  180. font-size: 12px;
  181. }
  182. /* radio__label */
  183. .el-radio__label {
  184. font-size: 12px;
  185. }
  186. .el-table .cell, .el-table th div, .el-table--border td:first-child .cell, .el-table--border th:first-child .cell {
  187. padding-left: 5px;
  188. }
  189. .el-table .cell, .el-table th div {
  190. padding-right: 4px;
  191. overflow: hidden;
  192. text-overflow: ellipsis;
  193. }
  194. /* 全局缩小行间距 LR*/
  195. /* 针对普通的input*/
  196. .el-form-item__content{
  197. margin-top: -3px;
  198. }
  199. /*全局年与日类型 宽度*/
  200. div.el-time-width{
  201. width: 120px !important;
  202. }
  203. /* 全局时间右边框*/
  204. input.el-input__inner{
  205. height: 20px !important;
  206. padding-right: 0px !important;
  207. }
  208. /* 时间框选择样式 */
  209. .customer-css span.el-input__prefix{
  210. left: 1px;
  211. }
  212. /* 时间HH:MM的样式*/
  213. .el-input--prefix .el-input__inner {
  214. padding-left: 23px;
  215. }
  216. /* table单击选中行的样式 */
  217. .el-table__body tr.current-row > td{
  218. background-color: #d9edf7 !important; ;
  219. /* color: #f19944; */ /* 设置文字颜色,可以选择不设置 */
  220. }
  221. /*全局的fieldset样式*/
  222. .customer-fieldset{
  223. padding: 0.125em;
  224. }
  225. /*全局fieldset的legend的样式*/
  226. .customer-fieldset > .customer-legend{
  227. font-size: 12px;
  228. line-height: 20px;
  229. }
  230. /*全局fieldset的页签内容的样式*/
  231. .customer-fieldset .el-tabs__item {
  232. padding: 0 13px;
  233. height: 26px;
  234. line-height: 26px;
  235. font-size: 12px;
  236. font-weight: 500;
  237. }
  238. /*定制组件的样式*/
  239. .customer-css .el-dialog{
  240. top: 10vh !important;
  241. margin-top: 0px !important;
  242. margin-bottom: 10px;
  243. }
  244. /* 定制模态框中 table的样式 */
  245. .customer-tab .el-table .is-leaf{
  246. line-height: 16px;
  247. }
  248. /*.el-form {
  249. margin-top: -8px !important;
  250. }*/
  251. // 2021-12-14 13:29 sxm
  252. .el-form-item--medium .el-form-item__label {
  253. height: 20px;
  254. line-height: 20px;
  255. }
  256. .el-input--medium .el-input__inner,.el-form-item--medium .el-form-item__content {
  257. height: 24px;
  258. line-height: 20px;
  259. }
  260. .el-input--medium .el-input__icon {
  261. line-height: 20px;
  262. }
  263. .el-form-item--mini .el-form-item__content, .el-form-item--mini .el-form-item__label {
  264. line-height: 20px;
  265. }
  266. .el-form-item--mini .el-form-item__label {
  267. line-height: 20px;
  268. }
  269. // sxm 模态框 2021-12-22
  270. .el-dialog__header {
  271. padding: 5px 10px 5px;
  272. }
  273. .el-dialog__footer {
  274. padding: 5px 10px 5px;
  275. }
  276. .el-dialog--center .el-dialog__body {
  277. text-align: initial;
  278. padding: 0px 10px 0px;
  279. }
  280. .el-dialog__headerbtn {
  281. position: absolute;
  282. top: 5px;
  283. right: 10px;
  284. padding: 0;
  285. background: 0 0;
  286. border: none;
  287. outline: 0;
  288. cursor: pointer;
  289. font-size: 16px;
  290. }
  291. /*全局 el-table 下 el-input的样式 LR 2022-01-12*/
  292. .customer-number-cell .cell{
  293. height: 24px !important;
  294. padding: 0px;
  295. }
  296. .customer-text-cell .cell{
  297. height: 24px !important;
  298. padding: 0px;
  299. }
  300. /*table中input 修改样式*/
  301. div.table-number-input {
  302. padding: 0px 0px;
  303. height: 24px !important;
  304. }
  305. /*table中input*/
  306. div.table-number-input input.el-input__inner{
  307. padding: 0px 0px;
  308. height: 24px !important;
  309. text-align: right;
  310. }
  311. div.table-text-input input.el-input__inner{
  312. padding: 0px 0px;
  313. height: 24px !important;
  314. text-align: center;
  315. }
  316. /*a标签全局无下划线 2022-01-18 LR*/
  317. a:hover{
  318. text-decoration: none;
  319. }
  320. /*重写checkbox的样式 2022-03-09*/
  321. .el-checkbox__inner::after {
  322. left: 3px;
  323. top: -0.5px;
  324. }
  325. .sl .el-form-item {
  326. margin-bottom: 5px;
  327. }
  328. .el-textarea__inner {
  329. padding: 5px 5px;
  330. }
  331. .el-button--small, .el-button--small.is-round {
  332. padding: 5px 10px;
  333. }
  334. .el-dropdown-menu--medium .el-dropdown-menu__item {
  335. line-height: 30px;
  336. padding: 0 17px;
  337. font-size: 12px;
  338. }
  339. .el-input__prefix {
  340. left: 0px;
  341. }
  342. .sl-svg {
  343. overflow: hidden;
  344. float: right;
  345. }
  346. .el-form-item__error {
  347. color: #f56c6c;
  348. font-size: 12px;
  349. line-height: 1;
  350. padding-top: 0px;
  351. position: absolute;
  352. top: 85%;
  353. left: 0;
  354. }
  355. .site-sidebar__menu.el-menu {
  356. width: 220px;
  357. border-right: 0;
  358. }
  359. /* board2 看板样式*/
  360. .board2 .el-table .cell {
  361. line-height: 13px;
  362. font-size: 12px;
  363. height: 13px;
  364. padding: 0px;
  365. }
  366. .board2 .el-table .success-row {
  367. background: #1bb61b;
  368. }
  369. .board2 .el-table .false-row {
  370. /*background: #cbcb14;*/
  371. background: #db1212;
  372. }
  373. .board2 .el-table .yellow-row{
  374. background: #ffff00;
  375. }
  376. /* el-form-item 对话框标题 start*/
  377. .el-dialog__title{
  378. font-size: 14px;
  379. font-weight: bold;
  380. }
  381. /* el-form-item 对话框标题 end*/
  382. /* el-form-item 控件标题 start*/
  383. .el-form-item__label{
  384. font-size: 12px;
  385. }
  386. .pad .el-form-item__label {
  387. font-size: 18px;
  388. }
  389. .pad .el-input__inner{
  390. font-size: 18px;
  391. }
  392. .pad .el-input--medium .el-input__inner {
  393. height: 35px;
  394. line-height: 21px;
  395. }
  396. .pad .el-button--medium {
  397. font-size: 18px;
  398. }
  399. .pad .el-table .cell {
  400. line-height: 25px;
  401. font-size: 18px;
  402. height: 25px;
  403. }
  404. .pad .el-select-dropdown__item{
  405. font-size: 18px;
  406. }
  407. .el-table .cell, .el-table th div, .el-table--border td:first-child .cell, .el-table--border th:first-child .cell {
  408. padding-left: 0px;
  409. }
  410. .rq .el-table .cell {
  411. line-height: 20px;
  412. font-size: 12px;
  413. height: 20px;
  414. }
  415. .boardLogo {
  416. position: absolute;
  417. top: 0;
  418. left: 0;
  419. }
  420. //.el-table .cell, .el-table th div, .el-table--border td:first-child .cell, .el-table--border th:first-child .cell {
  421. // padding-left: 0px;
  422. //}
  423. .rq .el-table .cell {
  424. line-height: 20px;
  425. font-size: 12px;
  426. height: 20px;
  427. }
  428. //.sl-svg {
  429. // overflow: hidden;
  430. // float: right;
  431. //}
  432. .rq-bmPic {
  433. position: relative;
  434. width: 100%;
  435. height: 100px;
  436. float: top;
  437. margin-top: 0%;
  438. margin-left: 0%;
  439. overflow: hidden;
  440. display: flex;
  441. justify-content: center; /* 水平居中 */
  442. }