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.

542 lines
9.5 KiB

8 months ago
7 months ago
8 months ago
7 months ago
8 months ago
6 months ago
8 months ago
6 months ago
8 months ago
6 months ago
8 months ago
8 months ago
6 months ago
8 months ago
7 months ago
8 months ago
8 months ago
7 months ago
8 months ago
7 months ago
6 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: #e2ecf6;
  27. color: rgba(37, 35, 35, 0.8);
  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 {
  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: 32px !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. .customer-components .el-table .is-leaf{
  249. line-height: 16px;
  250. }
  251. /*.el-form {
  252. margin-top: -8px !important;
  253. }*/
  254. // 2021-12-14 13:29 sxm
  255. .el-form-item--medium .el-form-item__label {
  256. height: 20px;
  257. line-height: 20px;
  258. }
  259. .el-input--medium .el-input__inner,.el-form-item--medium .el-form-item__content {
  260. height: 24px;
  261. line-height: 20px;
  262. }
  263. .el-input--medium .el-input__icon {
  264. line-height: 20px;
  265. }
  266. .el-form-item--mini .el-form-item__content, .el-form-item--mini .el-form-item__label {
  267. line-height: 20px;
  268. }
  269. .el-form-item--mini .el-form-item__label {
  270. line-height: 20px;
  271. }
  272. // sxm 模态框 2021-12-22
  273. .el-dialog__header {
  274. padding: 5px 10px 5px;
  275. }
  276. .el-dialog__footer {
  277. padding: 5px 10px 5px;
  278. }
  279. .el-dialog--center .el-dialog__body {
  280. text-align: initial;
  281. padding: 0px 10px 0px;
  282. }
  283. .el-dialog__headerbtn {
  284. position: absolute;
  285. top: 5px;
  286. right: 10px;
  287. padding: 0;
  288. background: 0 0;
  289. border: none;
  290. outline: 0;
  291. cursor: pointer;
  292. font-size: 16px;
  293. }
  294. /*全局 el-table 下 el-input的样式 LR 2022-01-12*/
  295. .customer-number-cell .cell{
  296. height: 24px !important;
  297. padding: 0px;
  298. }
  299. .customer-text-cell .cell{
  300. height: 24px !important;
  301. padding: 0px;
  302. }
  303. /*table中input 修改样式*/
  304. div.table-number-input {
  305. padding: 0px 0px;
  306. height: 24px !important;
  307. }
  308. /*table中input*/
  309. div.table-number-input input.el-input__inner{
  310. padding: 0px 0px;
  311. height: 24px !important;
  312. text-align: right;
  313. }
  314. div.table-text-input input.el-input__inner{
  315. padding: 0px 0px;
  316. height: 24px !important;
  317. text-align: center;
  318. }
  319. /*a标签全局无下划线 2022-01-18 LR*/
  320. a:hover{
  321. text-decoration: none;
  322. }
  323. /*重写checkbox的样式 2022-03-09*/
  324. .el-checkbox__inner::after {
  325. left: 3px;
  326. top: -0.5px;
  327. }
  328. .sl .el-form-item {
  329. margin-bottom: 5px;
  330. }
  331. .el-textarea__inner {
  332. padding: 5px 5px;
  333. }
  334. .el-button--small, .el-button--small.is-round {
  335. padding: 5px 10px;
  336. }
  337. .el-dropdown-menu--medium .el-dropdown-menu__item {
  338. line-height: 30px;
  339. padding: 0 17px;
  340. font-size: 12px;
  341. }
  342. .el-transfer-panel {
  343. border: 2px solid #17b3a3;
  344. border-radius: 4px;
  345. overflow: hidden;
  346. background: #fff;
  347. display: inline-block;
  348. vertical-align: middle;
  349. width: 252px;
  350. max-height: 100%;
  351. -webkit-box-sizing: border-box;
  352. box-sizing: border-box;
  353. position: relative;
  354. }
  355. .el-transfer-panel .el-transfer-panel__header {
  356. height: 40px;
  357. line-height: 40px;
  358. background: #17b3a3;
  359. margin: 0;
  360. padding-left: 15px;
  361. border-bottom: 1px solid #17b3a3;
  362. -webkit-box-sizing: border-box;
  363. box-sizing: border-box;
  364. color: #000;
  365. }
  366. .rred input {
  367. color: red;
  368. }
  369. /* 自定义渐变按钮 */
  370. .el-button {
  371. color: #fff !important;
  372. border: none !important;
  373. background-image: linear-gradient(
  374. 45deg,
  375. #17b3a3,
  376. #17c6f1
  377. ) !important;
  378. transition: all 0.3s ease !important; /* 添加过渡动画 */
  379. }
  380. /* 鼠标悬停加深渐变 */
  381. .el-button:hover {
  382. background-image: linear-gradient(
  383. 45deg,
  384. #17b3a3,
  385. #17c6f1
  386. ) !important;
  387. }
  388. /* 点击状态 */
  389. .el-button:active {
  390. background-image: linear-gradient(
  391. 45deg,
  392. #17b3a3,
  393. #0052a3
  394. ) !important;
  395. }
  396. .status-bar {
  397. background: #17b3a3;
  398. color: white;
  399. padding: 8px 12px;
  400. display: flex;
  401. justify-content: space-between;
  402. font-size: 14px;
  403. flex-shrink: 0;
  404. margin-bottom: 5px;
  405. }
  406. /* 默认$confirm弹出框尺寸 */
  407. .el-message-box {
  408. width: 88% !important; /* 调整宽度 */
  409. max-width: 330px !important; /* 限制最大宽度 */
  410. min-width: 200px !important; /* 限制最小宽度 */
  411. }
  412. .el-form-item {
  413. margin-bottom: 5px;
  414. }
  415. .pda-button {
  416. position: relative;
  417. width: 90px;
  418. height: 90px;
  419. aspect-ratio: 1;
  420. border: none;
  421. border-radius: 12px;
  422. display: flex;
  423. flex-direction: column;
  424. align-items: center;
  425. justify-content: center;
  426. color: white;
  427. transition: transform 0.1s ease;
  428. box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  429. overflow: hidden;
  430. cursor: pointer;
  431. user-select: none;
  432. }
  433. .button-icon {
  434. font-size: 28px;
  435. margin-bottom: 6px;
  436. }
  437. .button-label {
  438. font-size: 18px;
  439. font-weight: 800;
  440. }
  441. @media (max-width: 350px) {
  442. .button-icon {
  443. font-size: 24px;
  444. }
  445. .button-label {
  446. font-size: 16px;
  447. }
  448. }
  449. .submit-btn {
  450. padding: 12px;
  451. background: #07c160;
  452. color: white;
  453. border: none;
  454. font-size: larger;
  455. margin-bottom: 10px;
  456. }
  457. @media screen and (max-width: 600px) {
  458. .el-message {
  459. top: 40% !important;
  460. left: 60% !important;
  461. transform: translate(-50%, -50%) !important;
  462. max-width: 200px !important; /* 弹窗最大宽度 */
  463. width: 50vw !important; /* 或者用百分比宽度,适应屏幕 */
  464. padding: 10px 20px; /* 适当调整内边距 */
  465. box-sizing: border-box;
  466. }
  467. }