ZDelement.scss 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519
  1. @import './ZDcolor.sass';
  2. /*消息提示窗背景色*/
  3. .el-message--success{
  4. background-color: rgba(231,250,240,0.4);
  5. }
  6. .el-message--warning{
  7. background-color: rgba(253,246,236,0.4);
  8. }
  9. .el-message--error{
  10. background-color: rgba(254,240,240,0.4);
  11. }
  12. /*===================================input textarea样式===================================*/
  13. .el-textarea .el-input__count{
  14. line-height:20px;
  15. height:20px;
  16. background-color: rgba(255,255,255,0);
  17. }
  18. /*===================================多选框样式===================================*/
  19. .el-tag.el-tag--info{
  20. color:#0183fa!important;
  21. background:rgba(1,131,250,0.2)!important;;
  22. border:none;
  23. }
  24. .el-tag.el-tag--info .el-tag__close{
  25. color:#fff;
  26. background-color: #0183fa;
  27. }
  28. .el-tag.el-tag--info .el-tag__close:hover{
  29. color:#fff;
  30. background-color: #0183fa;
  31. }
  32. /*===================================label标签样式===================================*/
  33. .el-form-item--medium .el-form-item__label{
  34. color:#333;
  35. font-weight:500;
  36. }
  37. /*===================================分页按钮===================================*/
  38. //选中
  39. .el-pagination.is-background .el-pager li:not(.disabled).active{
  40. background-color: $pagination_button-color;
  41. //border:1px solid $pagination_button_selected;
  42. color:$pagination_button_selected;
  43. }
  44. //未选中
  45. .el-pagination.is-background .btn-prev, .el-pagination.is-background .btn-next, .el-pagination.is-background .el-pager li{
  46. background-color: $pagination_button-color;
  47. //border:1px solid $pagination_button;
  48. color:$pagination_button-font-color;
  49. }
  50. //样式部分
  51. .pagination-container{
  52. height:32px!important;
  53. padding:0!important;
  54. .el-pagination__sizes{
  55. width: 120px !important;
  56. overflow: hidden!important;
  57. .teacher .el-select{
  58. width: 120px !important;
  59. }
  60. input{
  61. border:none;
  62. }
  63. }
  64. .el-pagination{
  65. display: flex;
  66. width:100%;
  67. }
  68. }
  69. .el-pagination__total{
  70. flex:1;
  71. text-align: right;
  72. }
  73. /*===================================表格===================================*/
  74. .el-table{
  75. border-right:1px solid #dfe6ec;
  76. background-color: #f5f5f5;
  77. }
  78. .el-table .caret-wrapper{
  79. height:20px;
  80. }
  81. .el-table .sort-caret.ascending{
  82. top:-3px;
  83. }
  84. .el-table .sort-caret.descending{
  85. bottom:-1px;
  86. }
  87. .el-table--group::after, .el-table--border::after{
  88. width:0;
  89. }
  90. .el-table--fit{
  91. display: flex;
  92. flex-direction: column;
  93. }
  94. .el-table__row{
  95. color:$color_33;
  96. }
  97. .el-table .el-table__header-wrapper th, .el-table .el-table__fixed-header-wrapper th{
  98. color:$color_33;
  99. background-color:#f5f5f5;
  100. line-height:20px;
  101. }
  102. .el-table__body-wrapper{
  103. //border-right:1px solid #dfe6ec;
  104. background-color: #fff;
  105. flex: 1;
  106. overflow-y: scroll!important;
  107. }
  108. .el-table--fit{
  109. flex: 1;
  110. }
  111. //表格滚动条样式
  112. .el-table__body-wrapper::-webkit-scrollbar{
  113. width: 8px; /*高宽分别对应横竖滚动条的尺寸*/
  114. height: 8px;
  115. }
  116. .el-table__body-wrapper::-webkit-scrollbar-thumb{
  117. border-radius: 5px;
  118. //background: #CBCDD1;
  119. background: #CBCDD1;
  120. }
  121. .el-table__body-wrapper::-webkit-scrollbar-track{
  122. -webkit-box-shadow: inset 0 0 5px rgba(255,255,255,1);
  123. border-radius: 0;
  124. background: rgba(255,255,255,1);
  125. }
  126. //表格内容高度部分
  127. //表头
  128. .el-table__fixed-header-wrapper{
  129. th, td{
  130. padding:18px 0;
  131. }
  132. .el-table--medium th, .el-table--medium td{
  133. padding:12px 0!important;
  134. border-top: 1px solid #dfe6ec!important;
  135. }
  136. }
  137. .el-table__fixed, .el-table__fixed-right{
  138. top:1px;
  139. left:1px;
  140. }
  141. .el-table--medium th, .el-table--medium td {
  142. padding: 8px 0;
  143. }
  144. .el-table__header-wrapper{
  145. width: calc(100% - 9px);
  146. border-right:1px solid #f5f5f5;
  147. height:40px;
  148. th, td{
  149. padding:8px 0;
  150. }
  151. }
  152. //表格
  153. .el-table__body-wrapper{
  154. th, td{
  155. padding:8px 0;
  156. }
  157. }
  158. .el-table{
  159. font-size:14px;
  160. }
  161. //============================实心按钮部分================================
  162. .el-button--primary{
  163. font-size:14px;
  164. background:$back_one;
  165. }
  166. .el-button{
  167. width:70px;
  168. height:40px;
  169. border-radius:6px;
  170. }
  171. //============================空心按钮部分================================
  172. //新增
  173. .el-button--primary.is-plain{
  174. width:120px;
  175. height:40px;
  176. color:$color_one!important;
  177. border:1px solid $color_one!important;
  178. background: $back_ff;
  179. }
  180. .el-button--primary.is-plain:hover{
  181. color:$color_ff!important;
  182. background: $back_one;
  183. }
  184. //修改
  185. .el-button--success.is-plain.is-disabled{
  186. }
  187. .el-button--success.is-plain.is-disabled:hover{
  188. }
  189. //删除
  190. .el-button--danger.is-plain.is-disabled{
  191. }
  192. .el-button--danger.is-plain.is-disabled:hover{
  193. }
  194. //导出
  195. .el-button--warning.is-plain{
  196. }
  197. .el-button--warning.is-plain:hover{
  198. }
  199. //===========================输入框
  200. .el-form-item__label{
  201. line-height:40px!important;
  202. }
  203. .el-input--small{
  204. width:220px;
  205. }
  206. .el-input--small input{
  207. height: 40px !important;
  208. }
  209. .el-input--medium .el-input__inner{
  210. height: 40px ;
  211. }
  212. //===========================弹窗窗体
  213. .el-dialog{
  214. border-radius: 10px;
  215. }
  216. //===========================弹窗title
  217. .el-dialog__title{
  218. color:$color_one;
  219. font-weight: bold;
  220. }
  221. //===========================弹出层
  222. .el-dialog__header{
  223. border-bottom:1px solid #E0E0E0;
  224. padding-bottom:20px;
  225. }
  226. .el-dialog__footer{
  227. padding-top:20px!important;
  228. border-top:1px solid #E0E0E0;
  229. }
  230. //===========================提示弹窗按钮(包含登录失效)
  231. .el-message-box__btns{
  232. .el-button{
  233. width:100px;
  234. }
  235. }
  236. //==================抽屉滚动条
  237. .el-drawer__body::-webkit-scrollbar{
  238. width: 4px; /*高宽分别对应横竖滚动条的尺寸*/
  239. height: 4px;
  240. }
  241. .el-drawer__body::-webkit-scrollbar-thumb{
  242. border-radius: 5px;
  243. -webkit-box-shadow: inset 0 0 5px #999;
  244. background: #fff;
  245. }
  246. .el-drawer__body::-webkit-scrollbar-track{
  247. -webkit-box-shadow: inset 0 0 5px rgba(255,255,255,0);
  248. border-radius: 0;
  249. background: rgba(255,255,255,0);
  250. }
  251. //====================公共滚动条样式
  252. .scrollbar-box::-webkit-scrollbar{
  253. width: 4px; /*高宽分别对应横竖滚动条的尺寸*/
  254. height: 4px;
  255. }
  256. .scrollbar-box::-webkit-scrollbar-thumb{
  257. border-radius: 5px;
  258. -webkit-box-shadow: inset 0 0 5px #999;
  259. background: #fff;
  260. }
  261. .scrollbar-box::-webkit-scrollbar-track{
  262. -webkit-box-shadow: inset 0 0 5px rgba(255,255,255,0);
  263. border-radius: 0;
  264. background: rgba(255,255,255,0);
  265. }
  266. /*=================================switch按钮样式==================================*/
  267. .el-switch.is-disabled .el-switch__core, .el-switch.is-disabled .el-switch__label{
  268. cursor: pointer!important;
  269. }
  270. /*============================表格缺省样式*/
  271. .el-table__empty-text{
  272. font-size:0;
  273. color:rgba(0,0,0,0);
  274. width:100%;
  275. height:100%;
  276. background: url("../ZDimages/null-data-1.png") no-repeat 50% 50%;
  277. background-color: #fff;
  278. background-size: 10%;
  279. }
  280. /*======================el-dialog弹窗居中*/
  281. .el-dialog__wrapper{
  282. position: fixed; top: 0; left: 0; right: 0; bottom: 0; display: -webkit-box; -webkit-box-align: center;-webkit-box-pack: center;
  283. }
  284. .el-dialog__wrapper .el-dialog{
  285. -webkit-box-flex: 0;
  286. margin-top:-1%!important;
  287. }
  288. /*表格标题字号 (表头与表格text-align 公共设置)*/
  289. .el-table th > .cell{
  290. font-size:14px;
  291. text-align: center;
  292. }
  293. .el-table .cell{
  294. text-align: left;
  295. }
  296. .el-table-column--selection .cell{
  297. text-align: center;
  298. }
  299. /*表格内容*/
  300. .el-table td div{
  301. font-weight:500;
  302. }
  303. //左侧导航滚动条
  304. .scrollbar-wrapper{
  305. padding-right:17px;
  306. }
  307. .scrollbar-wrapper::-webkit-scrollbar{
  308. display: none;
  309. }
  310. /*顶部按钮滚动条*/
  311. .tags-view-container{
  312. padding:0!important;
  313. margin:0!important;
  314. overflow: hidden;
  315. .scroll-container{
  316. padding:0!important;
  317. margin:0!important;
  318. overflow: hidden;
  319. .el-scrollbar__wrap{
  320. padding:0!important;
  321. margin:0!important;
  322. overflow: hidden;
  323. .el-scrollbar__view{
  324. margin-top:16px;
  325. height:50px;
  326. overflow-x: scroll;
  327. overflow-y: hidden;
  328. }
  329. //滚动条样式
  330. .el-scrollbar__view::-webkit-scrollbar{
  331. width: 4px; /*高宽分别对应横竖滚动条的尺寸*/
  332. height: 4px;
  333. }
  334. .el-scrollbar__view::-webkit-scrollbar-thumb{
  335. border-radius: 5px;
  336. -webkit-box-shadow: inset 0 0 5px #999;
  337. background: #fff
  338. }
  339. .el-scrollbar__view::-webkit-scrollbar-track{
  340. -webkit-box-shadow: inset 0 0 5px rgba(255,255,255,0);
  341. border-radius: 0;
  342. background: rgba(255,255,255,0);
  343. }
  344. }
  345. }
  346. }
  347. /*登录页面*/
  348. .login{
  349. .login-input-box{
  350. margin-bottom:30px!important;
  351. }
  352. .login-input-box-one{
  353. margin-bottom:0!important;
  354. }
  355. .login-input-box-two{
  356. margin-bottom:50px!important;
  357. }
  358. .login-max-box .right-box .login-form .el-input{
  359. height:50px!important;
  360. }
  361. .login-max-box .right-box .login-form .el-input input{
  362. height:50px!important;
  363. background: #f8f8f8!important;
  364. border: 1px solid #E0E0E0!important;
  365. border-radius:10px;
  366. }
  367. .el-form-item__error{
  368. padding-top:10px;
  369. }
  370. .el-button{
  371. height:50px;
  372. }
  373. }
  374. //消息详情列表展示富文本弹窗信息
  375. .manageInformation{
  376. .el-collapse{
  377. border:none!important;
  378. }
  379. .el-collapse-item__header.is-active{
  380. border:none!important;
  381. }
  382. .el-collapse-item__header{
  383. height:23px;
  384. color:#999;
  385. }
  386. .el-table--enable-row-hover .el-table__body tr:hover > td{
  387. background: rgba(255,255,255,0);
  388. }
  389. img{
  390. max-width:100%!important;
  391. }
  392. }
  393. //消息弹窗
  394. .user-home-el-dialog{
  395. .el-dialog__body{
  396. overflow: auto;
  397. height:800px;
  398. img{
  399. max-width:100%!important;
  400. }
  401. }
  402. .el-dialog__body::-webkit-scrollbar{
  403. width: 4px; /*高宽分别对应横竖滚动条的尺寸*/
  404. height: 4px;
  405. }
  406. .el-dialog__body::-webkit-scrollbar-thumb{
  407. border-radius: 5px;
  408. -webkit-box-shadow: inset 0 0 5px #999;
  409. background: #fff
  410. }
  411. .el-dialog__body::-webkit-scrollbar-track{
  412. -webkit-box-shadow: inset 0 0 5px rgba(255,255,255,0);
  413. border-radius: 0;
  414. background: rgba(255,255,255,0);
  415. }
  416. }
  417. //管理员工作台
  418. .manageHome{
  419. .top-max-big-box .top-right-max-box .top-right-top-box .top-right-top-for-max-box .top-right-top-for-box div:nth-child(1) p{
  420. font-weight: 500;
  421. }
  422. .top-max-big-box .top-right-max-box .top-right-bottom-box .top-right-bottom-for-max-box .top-right-bottom-for-box{
  423. font-weight: 500;
  424. }
  425. }
  426. //关联配置页面
  427. .associationConfiguration{
  428. .el-input-group__append{
  429. padding:0;
  430. }
  431. }
  432. //实验室列表
  433. .subject-page{
  434. .left-subject-list{
  435. .el-table{
  436. .el-input--medium .el-input__inner{
  437. height:30px;
  438. line-height:30px;
  439. width:55px;
  440. text-align: center;
  441. padding:0 10px;
  442. }
  443. }
  444. .pagination-container{
  445. height: 45px;
  446. }
  447. }
  448. }
  449. //实验室编辑
  450. .addSubject{
  451. .el-form .el-select__tags-text {
  452. display: inline-block;
  453. max-width: 455px;
  454. overflow: hidden;
  455. text-overflow: ellipsis;
  456. white-space: nowrap;
  457. }
  458. .el-select .el-tag__close.el-icon-close {
  459. top: -7px;
  460. }
  461. }
  462. //table 过长文本浮层样式
  463. .el-tooltip__popper.is-dark{
  464. max-width:60%!important;
  465. }
  466. /*****************input-number去除加减按钮*****************/
  467. .input-number-none-box{
  468. .el-input-number__decrease{
  469. display: none;
  470. }
  471. .el-input-number__increase{
  472. display: none;
  473. }
  474. .el-input__inner{
  475. padding:0 15px;
  476. }
  477. }
  478. .input-number-none-box-left{
  479. .el-input-number__decrease{
  480. display: none;
  481. }
  482. .el-input-number__increase{
  483. display: none;
  484. }
  485. .el-input__inner{
  486. padding:0 15px;
  487. text-align: left;
  488. }
  489. }
  490. /************按钮***********/
  491. .el-button--medium{
  492. height:30px;
  493. padding:0;
  494. }
  495. //时间选择器中间边框位置调整
  496. .el-time-spinner__wrapper{
  497. margin-top:-16px;
  498. }
  499. /************ cascader内容过长 ***********/
  500. .cascader-filterable-hazardCheckPro{
  501. width:898px;
  502. span{
  503. height:34px;
  504. line-height: 34px;
  505. overflow: hidden;
  506. }
  507. }