main.css 23 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298
  1. /*building SAAS 0.1*/
  2. /*bootstrap 初始化*/
  3. body {
  4. font-size: 0.9rem;
  5. overflow: hidden;
  6. background: #e4e7ea;
  7. }
  8. .text-warning {
  9. color: #da9500 !important;
  10. }
  11. .dropdown-menu {
  12. font-size: 12px
  13. }
  14. .btn.text-primary.disabled, .btn.text-primary:disabled {
  15. color:#666!important
  16. }
  17. .btn,.btn-group {
  18. vertical-align: baseline;
  19. }
  20. .nav-pills .nav-link.active, .nav-pills .show > .nav-link{
  21. background-color: #e4e7ea;
  22. color:#333;
  23. font-weight: 600
  24. }
  25. .custom-file-sm,.custom-file-sm .custom-file-label{
  26. height: calc(1.5em + .5rem + 2px);
  27. padding-top: .25rem;
  28. padding-bottom: .25rem;
  29. padding-left: .5rem;
  30. }
  31. .custom-file-sm .custom-file-label:after{
  32. height: calc(1.4em + .5rem + 2px);
  33. padding-top: .25rem;
  34. padding-bottom: .25rem;
  35. font-size: .875rem;
  36. }
  37. .custom-file-sm input{
  38. height: calc(1.5em + .5rem + 2px);
  39. font-size: .875rem;
  40. }
  41. .table th {
  42. background: #e9ecef;
  43. font-weight: normal;
  44. color:#000;
  45. }
  46. .form-check,.form-check-label{
  47. cursor: pointer;
  48. line-height: 22px;
  49. }
  50. .input-group-text .group-checkbox[type="checkbox"],.input-group-text .group-checkbox[type="radio"]{
  51. margin-top: .3rem;
  52. }
  53. .custom-control-label::before {
  54. top:.1rem;
  55. }
  56. .custom-control-label::after{
  57. top:.1rem;
  58. }
  59. .dropdown-menu .custom-control-label::before {
  60. top:.5rem;
  61. }
  62. .dropdown-menu .custom-control-label::after{
  63. top:.5rem;
  64. }
  65. .custom-switch .custom-control-label::after{
  66. top:.25rem;
  67. }
  68. .custom-control {
  69. min-height: 1.2rem
  70. }
  71. .custom-control-label {
  72. cursor: pointer;
  73. }
  74. .popover {
  75. background-color: #000
  76. }
  77. .popover-body{
  78. color:#fff;
  79. }
  80. .bs-popover-auto[x-placement^="bottom"] .arrow::after, .bs-popover-bottom .arrow::after{
  81. border-bottom-color:#000;
  82. }
  83. .custom-control-warning-input:checked ~ .custom-control-warning-label::before{
  84. border-color:#da9500 ;
  85. background-color:#da9500
  86. }
  87. .custom-control-warning-label{
  88. color:#da9500;
  89. }
  90. /*
  91. .btn.disabled, .btn:disabled {
  92. opacity:.4
  93. }*/
  94. .btn-primary.disabled, .btn-primary:disabled {
  95. color:#fff;
  96. border-color:#666;
  97. background: #666
  98. }
  99. .btn-outline-primary.disabled, .btn-outline-primary:disabled {
  100. color:#666;
  101. border-color:#666;
  102. background: #ddd
  103. }
  104. .btn-outline-primary.disabled .badge, .btn-outline-primary:disabled .badge{
  105. background: #999
  106. }
  107. .group-tab .btn-light{
  108. color:#007bff;
  109. border-color:#d3d9df;
  110. cursor: pointer;
  111. }
  112. .group-tab .btn-light.active{
  113. cursor: default;
  114. }
  115. .group-tab .btn-light.active a{
  116. text-decoration: none;
  117. color:#212529;
  118. cursor: default;
  119. }
  120. .group-tab .btn-light a:hover{
  121. text-decoration: none;
  122. }
  123. .text-info-50{
  124. color: #bee5eb;
  125. }
  126. .text-danger-50{
  127. color: #ed969e;
  128. }
  129. .text-success-50{
  130. color: #c3e6cb;
  131. }
  132. .text-primary-50{
  133. color: #cce5ff;
  134. }
  135. .text-warning-50{
  136. color: #ffddc5;
  137. }
  138. .text-secondary-50{
  139. color: #dcdcdc;
  140. }
  141. .bg-info-50{
  142. background-color: #d0f6fd;
  143. }
  144. .bg-danger-50{
  145. background-color: #f8d7da;
  146. }
  147. .bg-success-50{
  148. background-color: #d4edda;
  149. }
  150. .bg-primary-50{
  151. background-color: #cce5ff;
  152. }
  153. .bg-warning-50{
  154. background-color: #ffddc5;
  155. }
  156. .bg-secondary-50{
  157. background-color: #dcdcdc;
  158. }
  159. .border-info-50{
  160. border:1px solid #9be6f4;
  161. }
  162. .border-danger-50{
  163. border:1px solid #f5c6cb;
  164. }
  165. .border-success-50{
  166. border:1px solid #c3e6cb;
  167. }
  168. .border-primary-50{
  169. border:1px solid #b8daff;
  170. }
  171. .border-warning-50{
  172. border:1px solid #fbc7a3;
  173. }
  174. .border-secondary-50{
  175. border:1px solid #ccc;
  176. }
  177. .input-group-cancel{
  178. position: absolute;
  179. margin-left: -15px;
  180. margin-top: 2px;
  181. font-size: 14px
  182. }
  183. /*在谷歌下移除input[number]的上下箭头*/
  184. input.nospin[type='number']::-webkit-outer-spin-button,
  185. input.nospin[type='number']::-webkit-inner-spin-button{
  186. -webkit-appearance: none !important;
  187. margin: 0;
  188. }
  189. /*在firefox下移除input[number]的上下箭头*/
  190. input.nospin[type="number"]{-moz-appearance:textfield;}
  191. /*自定义css*/
  192. .in-1{padding-left:5px!important}
  193. .in-2{padding-left:21px!important}
  194. .in-3{padding-left:42px!important}
  195. .in-4{padding-left:63px!important}
  196. .in-5{padding-left:84px!important}
  197. .in-6{padding-left:105px!important}
  198. /*滚动条*/
  199. /* 滚动条 */
  200. /*水平滚动条的样式*/
  201. /*::-webkit-scrollbar-thumb:horizontal {
  202. width: 5px;
  203. background-color: #e9ecef;
  204. -webkit-border-radius: 0;
  205. }*/
  206. /*滚动条的背景颜色,滚动条的圆角宽度*/
  207. /*::-webkit-scrollbar-track-piece {
  208. background-color: #efefef;
  209. -webkit-border-radius: 0;
  210. }*/
  211. /*滚动条的宽度,滚动条的高度*/
  212. /*::-webkit-scrollbar {
  213. width: 14px;
  214. height: 14px;
  215. }*/
  216. /*垂直滚动条的样式*/
  217. /*::-webkit-scrollbar-thumb:vertical {
  218. height: 50px;
  219. background-color: #e9ecef;
  220. -webkit-border-radius: 0;
  221. outline: 1px solid #fff;
  222. outline-offset: -1px;
  223. border: 1px solid #ced4da;
  224. }*/
  225. /*滚动条的hover样式*/
  226. /*::-webkit-scrollbar-thumb:hover {
  227. height: 50px;
  228. background-color: #ced4da;
  229. -webkit-border-radius: 0;
  230. }*/
  231. .sjs-height-1,.sjs-height-2,.sjs-sh,.sjs-sh-1,.sjs-sh-2,.sjs-sh-3,.sjs-sh-4,.sjs-sh-5{
  232. overflow: hidden;
  233. }
  234. .sjs-height-4,.sjs-height-5,.sjs-height-6,.sjs-option-height{
  235. overflow: auto;
  236. }
  237. .sjs-bar-1,.sjs-bar-2,.sjs-bar-3,.sjs-bar-4,.sjs-bar-5{
  238. height:30px;
  239. padding-top:3px;
  240. }
  241. .sjs-bar{
  242. height:30px;
  243. padding-top:3px;
  244. }
  245. .sjs-bar .nav {
  246. margin-top:-3px;
  247. }
  248. .sjs-bottom{
  249. height:250px;
  250. }
  251. .sjs-bottom-2{
  252. height:360px;
  253. overflow-y: auto;
  254. }
  255. .form-signin {
  256. max-width:400px;
  257. margin-left:auto;
  258. background: #fff;
  259. padding:30px;
  260. border:1px solid #ddd;
  261. border-radius: .25rem
  262. }
  263. .bg-404{
  264. background:#dcdcdc url("404.png") bottom center no-repeat;
  265. }
  266. .has-danger {
  267. -webkit-animation: shake 1s .2s ease both;
  268. -moz-animation: shake 1s .2s ease both;
  269. animation: shake 1s .2s ease both;
  270. }
  271. @-webkit-keyframes shake {
  272. 0%, 100% {
  273. -webkit-transform: translateX(0);
  274. }
  275. 10%, 30%, 50%, 70%, 90% {
  276. -webkit-transform: translateX(-10px);
  277. }
  278. 20%, 40%, 60%, 80% {
  279. -webkit-transform: translateX(10px);
  280. }
  281. }
  282. @-moz-keyframes shake {
  283. 0%, 100% {
  284. -moz-transform: translateX(0);
  285. }
  286. 10%, 30%, 50%, 70%, 90% {
  287. -moz-transform: translateX(-10px);
  288. }
  289. 20%, 40%, 60%, 80% {
  290. -moz-transform: translateX(10px);
  291. }
  292. }
  293. @keyframes shake {
  294. 0%, 100% {
  295. transform: translateX(0);
  296. }
  297. 10%, 30%, 50%, 70%, 90% {
  298. transform: translateX(-10px);
  299. }
  300. 20%, 40%, 60%, 80% {
  301. transform: translateX(10px);
  302. }
  303. }
  304. /*2.主体框架*/
  305. .header {
  306. background:#fff;
  307. position: fixed;
  308. z-index: 10;
  309. width: 100%;
  310. height: 50px;
  311. top: 0;
  312. left: 0
  313. }
  314. .main{
  315. position: relative;
  316. z-index: 4;
  317. }
  318. .main-nav {
  319. position: fixed;
  320. z-index: 99;
  321. width:55px;
  322. left: 0;
  323. top: 0;
  324. height: 100%;
  325. background: #33425b;
  326. }
  327. .main-panel{
  328. padding-left:55px;
  329. box-sizing: border-box;
  330. }
  331. .panel-sidebar{
  332. box-sizing: border-box;
  333. background: #fbfcfd;
  334. position: fixed;
  335. height: 100%;
  336. z-index: 4;
  337. left:55px;
  338. /*padding-top:50px;*/
  339. border-right: 1px solid #ddd;
  340. width: 200px;
  341. }
  342. .side-fold{
  343. position: absolute;
  344. bottom:10px;
  345. right:20px;
  346. }
  347. .min-side .side-fold{
  348. position: absolute;
  349. bottom:15px;
  350. right:5px;
  351. height: 20px
  352. }
  353. .min-side{
  354. border-right: 1px solid #ddd;
  355. margin-right:10px;
  356. padding-right:15px;
  357. position: relative;
  358. }
  359. .min-side .side-switch i{
  360. font-size: 20px
  361. }
  362. .min-side .side-menu{
  363. position: absolute;
  364. left:-15px;
  365. top:50px;
  366. background:#fff;
  367. width:150px;
  368. border-right:1px solid #ddd;
  369. border-bottom:1px solid #ddd;
  370. box-shadow: 0 1px 3px rgba(0,0,0,.1);
  371. }
  372. .panel-content{
  373. padding:65px 0 0;
  374. position: relative;
  375. z-index: 3;
  376. box-sizing: border-box;
  377. overflow-y: auto;
  378. height: 100vh;
  379. }
  380. .panel-content .content-wrap{
  381. margin:0 15px 15px;
  382. position: relative;
  383. }
  384. .panel-sidebar+.panel-content{
  385. padding: 65px 0 0 200px;
  386. }
  387. .panel-title, .panel-title>.title-bar {
  388. height:50px;
  389. line-height: 50px
  390. }
  391. .panel-title .dropdown-item,.panel-title .dropdown-item-text,.panel-title .form-group {
  392. line-height: normal;
  393. }
  394. .panel-title{
  395. position: fixed;
  396. top:0px;
  397. z-index: 98;
  398. width: 100%;
  399. box-sizing: border-box;
  400. background: #fff;
  401. box-shadow: 0 1px 3px rgba(0,0,0,.05);
  402. border-top: 1px solid #ddd;
  403. }
  404. .panel-sidebar .panel-title{
  405. width:200px;
  406. border-right: 1px solid #ddd;
  407. box-shadow: 0 1px 3px rgba(0,0,0,.1);
  408. }
  409. .panel-content .panel-title{
  410. left: 0;
  411. padding-left: 255px;
  412. padding-right: 20px;
  413. }
  414. .panel-content .panel-title.fluid{
  415. padding-left:55px
  416. }
  417. .panel-title>.title-bar{
  418. padding-left: 20px
  419. }
  420. .panel-title>.title-bar>h2,.panel-title>.title-main>h2{
  421. font-size: 16px;
  422. margin:0;
  423. height: 50px;
  424. line-height: 50px;
  425. display:block
  426. }
  427. .panel-title>.title-bar>h2 .btn{
  428. margin-right:15px
  429. }
  430. .panel-title>.title-main .btn.pull-right {
  431. margin:10px 0 0 10px
  432. }
  433. .panel-title>.title-main .form-control {
  434. margin:10px 0 0 0
  435. }
  436. .panel-title>.title-main{
  437. padding-left: 15px
  438. }
  439. .panel-title .alert {
  440. line-height: normal;
  441. z-index: 999
  442. }
  443. .sidebar-title{
  444. padding: 10px;
  445. border-bottom: 1px solid #ddd;
  446. margin-bottom: 10px;
  447. }
  448. .side-menu{
  449. position: fixed;
  450. right:15px;
  451. top:65px
  452. }
  453. .side-menu .nav-link{
  454. line-height: 16px;
  455. font-size: 14px;
  456. color:#007bff;
  457. }
  458. .side-menu .nav-link:hover{
  459. background:#dcdee3;
  460. color:#333;
  461. }
  462. .sub-content{
  463. margin:0;
  464. }
  465. .pr-46{
  466. padding-right:36px
  467. }
  468. .bcontent-wrap{
  469. height: 350px
  470. }
  471. @media only screen and (max-height: 768px) {
  472. .bcontent-wrap{
  473. height: 250px
  474. }
  475. }
  476. .modal-xl {
  477. max-width: 1200px
  478. }
  479. .border-right-1 {
  480. border-right:1px solid #dee2e6;
  481. }
  482. .border-left-1 {
  483. border-left:1px solid #dee2e6;
  484. }
  485. .border-top-1 {
  486. border-top:1px solid #dee2e6;
  487. }
  488. .border-bottom-1 {
  489. border-bottom:1px solid #dee2e6;
  490. }
  491. /*滚动*/
  492. .scrollbar-auto {
  493. overflow-y: auto;
  494. position: absolute;
  495. bottom: 0;
  496. left: 0;
  497. top: 0;
  498. right: 0;
  499. }
  500. .panel-sidebar .scrollbar-auto{
  501. padding-top: 20px;
  502. box-sizing: border-box;
  503. }
  504. .panel-sidebar .scrollbar-auto {
  505. height: calc(100vh - 100px);
  506. width: 100%;
  507. overflow-y: auto;
  508. position: static;
  509. }
  510. /*结构宽度高度调整条*/
  511. .resize-y{
  512. height:5px;
  513. width:100%;
  514. float: left;
  515. margin-top:-5px;
  516. cursor: s-resize;
  517. z-index: 999
  518. }
  519. .resize-x{
  520. width:5px;
  521. height:100%;
  522. float: left;
  523. margin-left:-5px;
  524. cursor: w-resize;
  525. z-index: 999
  526. }
  527. /*头部*/
  528. .header .logo {
  529. float: left;
  530. box-shadow: 1px 0 6px rgba(0,0,0,.06);
  531. margin-right: 20px;
  532. margin:0
  533. }
  534. .header .logo>a{
  535. width:120px;
  536. height:50px;
  537. line-height: 50px;
  538. display: inline-block;
  539. color:#fff;
  540. font-size:24px;
  541. padding:0 10px;
  542. transition: all ease .4s;
  543. background:#207fd1 url(logo.png) no-repeat;
  544. text-indent: -9999px;
  545. vertical-align: top
  546. }
  547. .header .logo>a:hover{
  548. background-color:#5596cf;
  549. text-decoration: none;
  550. }
  551. .header-user > div {
  552. float:left
  553. }
  554. .avatar .pic {
  555. height: 35px;
  556. width: 35px;
  557. border-radius: 100%;
  558. display: inline-block;
  559. float:left;
  560. margin:7px 7px 0 0
  561. }
  562. .avatar .pic img{
  563. display: block;
  564. width: 100%;
  565. height: 100%;
  566. border-radius: 100%;
  567. }
  568. .avatar > a,.msg >a{
  569. display: block;
  570. height:50px;
  571. line-height: 50px;
  572. color:#666;
  573. padding:0 15px;
  574. cursor: pointer;
  575. }
  576. .avatar > a:hover,.msg > a:hover{
  577. text-decoration: none;
  578. box-shadow: inset 0 3px 5px rgba(0,0,0,.125)
  579. }
  580. .avatar.s-1x{
  581. height: 26px;
  582. line-height: 26px;
  583. width: 26px;
  584. font-size: 11px;
  585. border: none
  586. }
  587. .header-user .msg{
  588. border-left:1px solid #eee
  589. }
  590. .header-user .msg .glyphicon{
  591. font-size:20px;
  592. vertical-align: middle;
  593. }
  594. .header-user .msg .badge{
  595. margin:0 0 0 5px
  596. }
  597. .header .poj-name {
  598. float:left;
  599. padding:0 0 0 15px;
  600. font-size:18px
  601. }
  602. .header .poj-name a{
  603. color:#666
  604. }
  605. .header .poj-name > span{
  606. height:50px;
  607. line-height:50px;
  608. }
  609. /*登陆相关*/
  610. .login-body{
  611. background:linear-gradient(#192948,#33425b);
  612. height:100%
  613. }
  614. .login-infoinput {
  615. margin-top:15%
  616. }
  617. .login-body .container{
  618. position:absolute;
  619. top:10%;
  620. margin:0 auto;
  621. left:0;
  622. right:0;
  623. }
  624. .login-bg.img-1{
  625. background:url("undraw_all_the_data_h4ki.svg") no-repeat;
  626. }
  627. .login-bg.img-2{
  628. background:url("undraw_order_a_car_3tww.svg") no-repeat;
  629. }
  630. .login-bg.img-3{
  631. background:url("undraw_work_chat_erdt.svg") no-repeat;
  632. }
  633. .login-body .login-bg{
  634. width: 100%;
  635. height: 100%;
  636. background-position:25% 95%;
  637. background-size: 40% auto;
  638. display: inline-block;
  639. opacity: .8
  640. }
  641. /*侧栏主菜单*/
  642. .nav-top,.nav-bottom{
  643. width: 55px
  644. }
  645. .bg-nav a{
  646. color:#7786ab;
  647. width:55px;
  648. text-align: center;
  649. display: inline-block;
  650. padding:15px 0;
  651. font-size: 12px
  652. }
  653. .bg-nav a i{
  654. font-size:22px;
  655. }
  656. .bg-nav a span{
  657. display: none;
  658. }
  659. .bg-nav > li{
  660. width:120px
  661. }
  662. .bg-nav > li.active{
  663. background: #192948
  664. }
  665. .bg-nav > li.active a{
  666. border-radius: 0;
  667. background: #192948
  668. }
  669. .bg-nav > li > a:hover,.bg-nav > li.active > a:hover{
  670. background: #192948;
  671. color:#f2f2f2;
  672. text-decoration: none;
  673. }
  674. .bg-nav > li > a.maintain-icon:hover{
  675. background:none;
  676. color:none;
  677. text-decoration: none;
  678. }
  679. .bg-nav > li.active a span{
  680. display: block;
  681. }
  682. .bg-nav > li + li {
  683. margin-top:0;
  684. }
  685. .bg-nav .sub-menu {
  686. list-style:none;
  687. padding:0 0 0 20px;
  688. width:120px;
  689. display: none
  690. }
  691. .bg-nav .sub-menu a {
  692. width:100px;
  693. height:30px;
  694. line-height:30px
  695. }
  696. .bg-nav .sub-menu:last-child{
  697. margin:0 0 20px 0
  698. }
  699. .bg-nav .menu-arrow{
  700. margin:22px 8px 0 0
  701. }
  702. .nav-box h3{
  703. font-size: 14px;
  704. font-weight: 700;
  705. padding-bottom: 4px;
  706. border-bottom: 1px solid #e2eaec;
  707. padding-right: 15px;
  708. margin-bottom: 10px;
  709. margin-left: 17px
  710. }
  711. .nav-box > .sub-list > li > a{
  712. padding-left: 40px
  713. }
  714. .nav-box .tips-dot {
  715. right:20px;
  716. top:8px
  717. }
  718. .nav-box .nav-list li{
  719. position: relative;
  720. }
  721. .contarl-box{
  722. padding:1rem 2rem 1rem 2rem;
  723. border-top:1px solid #ddd;
  724. }
  725. .nav-list li a{
  726. color: #333;
  727. display: block;
  728. height: 35px;
  729. line-height: 35px;
  730. box-sizing: border-box;
  731. padding-left: 17px;
  732. padding-right: 45px;
  733. text-overflow: ellipsis;
  734. position: relative;
  735. }
  736. .nav-list li a:hover{
  737. text-decoration: none;
  738. background:#e4e7ea;
  739. cursor: pointer;
  740. }
  741. .nav-list li a .badge{
  742. position: absolute;
  743. right:17px;
  744. top:9px
  745. }
  746. .nav-list li.active a{
  747. background:#e4e7ea;
  748. font-weight: 600
  749. }
  750. .side-menu .nav-link{
  751. padding:.5rem .6rem;
  752. }
  753. /*内容区*/
  754. .c-header {
  755. padding:0 0 5px
  756. }
  757. .c-body{
  758. padding:1px;
  759. background:#fff;
  760. }
  761. .right-nav{
  762. width:36px
  763. }
  764. .right-nav .nav-link.active{
  765. background: #fff;
  766. color:#495057
  767. }
  768. .form-group .necessary{
  769. font-size:18px;
  770. color:#f90000
  771. }
  772. .bg-gray {
  773. background-color:#bbb!important;
  774. }
  775. .datepickers-container {
  776. z-index: 9999
  777. }
  778. .modal-height-500{
  779. height:450px;
  780. overflow: hidden
  781. }
  782. .modal-height-300{
  783. height:300px;
  784. overflow:auto
  785. }
  786. .scroll-y {
  787. overflow-y: auto;
  788. }
  789. .scroll-x {
  790. overflow-x: auto;
  791. }
  792. .modal-lgx {
  793. max-width:1000px
  794. }
  795. .title-main .nav{
  796. line-height: 16px;
  797. margin-top:8px
  798. }
  799. .msg-content {
  800. font-size: 14px
  801. }
  802. .bd-toc {
  803. position: sticky;
  804. top:3rem;
  805. height: calc(100vh - 10rem);
  806. overflow-y: auto;
  807. }
  808. /*草图编辑器*/
  809. .img-view{
  810. height:400px;
  811. border:.2rem solid #ccc;
  812. position: relative;
  813. width:100%;
  814. overflow: hidden;
  815. }
  816. .img-view::after{
  817. content:"草图编辑区";
  818. color:#ddd;
  819. position: absolute;
  820. left:50%;
  821. top:50%;
  822. margin-left:-80px;
  823. margin-top:-24px;
  824. font-size:36px
  825. }
  826. .img-view .img-item{
  827. position: absolute;
  828. }
  829. .img-view .img-item .img-bar{
  830. position:absolute;
  831. right:0;
  832. top:0;
  833. display:none
  834. }
  835. .img-item:hover .img-bar{
  836. display: block;
  837. }
  838. .batch-l-t{
  839. height: 180px;
  840. overflow: hidden
  841. }
  842. .batch-l-b{
  843. height: 320px;
  844. overflow: hidden
  845. }
  846. .batch-r {
  847. height:522px;
  848. overflow: hidden
  849. }
  850. /*打印工具栏*/
  851. .print-toolsbar{
  852. padding-bottom:5px
  853. }
  854. .print-toolsbar .panel {
  855. display:inline-block;
  856. vertical-align:top;
  857. background:#f7f7f9
  858. }
  859. .print-toolsbar .panel .panel-foot{
  860. text-align: center;
  861. font-size: 12px
  862. }
  863. .print-list {
  864. border-right:1px solid #ccc
  865. }
  866. .print-list .form-list {
  867. overflow: auto
  868. }
  869. .print-list .list-tools{
  870. height:50px;
  871. padding:10px 0;
  872. border-bottom:1px solid #f2f2f2
  873. }
  874. .pageContainer {
  875. background: #ededed;
  876. text-align: center
  877. }
  878. .pageContainer .page{
  879. border:9px solid transparent;
  880. display: inline-block;
  881. }
  882. .pageContainer .page img{
  883. width:inherit;
  884. height: inherit;
  885. }
  886. .pageContainer canvas{
  887. background: #fff
  888. }
  889. .m-close-side{
  890. position: absolute;
  891. right:-1px;
  892. top:250px;
  893. background: #f2f2f2;
  894. padding:30px 3px;
  895. }
  896. .m-close-side:hover{
  897. background:#eae9e9;
  898. }
  899. .baobiao-close-side{
  900. position: absolute;
  901. left:15px;
  902. top:250px;
  903. background: #e1e1e1
  904. }
  905. .baobiao-close-side a{
  906. color:#007bff;
  907. height:80px;
  908. line-height: 80px;
  909. display: inline-block
  910. }
  911. .baobiao-close-side:hover{
  912. background:#007bff;
  913. }
  914. .baobiao-close-side:hover a{
  915. color:#fff;
  916. }
  917. .edit-tag-btn{
  918. display: none
  919. }
  920. .tag-item:hover .edit-tag-btn{
  921. display: block
  922. }
  923. /*电子签名*/
  924. .add-sign-list-item{
  925. padding:.5rem .5rem .5rem 1rem;
  926. }
  927. .add-sign-list-item:hover{
  928. box-shadow:0 0 3px rgba(0,0,0,.18)
  929. }
  930. .add-sign-list-item .btn-link {
  931. display: none
  932. }
  933. .add-sign-list-item:hover .btn-link {
  934. display: block
  935. }
  936. /*标段类表折叠收起*/
  937. .fold-switch {
  938. cursor: pointer;
  939. }
  940. .fold-switch:hover{
  941. color:#0056b3;
  942. }
  943. /*界面紧凑相关代码*/
  944. body{
  945. font-size:12px;
  946. }
  947. .btn-group-sm > .btn, .btn-sm{
  948. font-size: 12px;
  949. padding:1px 0.6rem;
  950. }
  951. .panel-title, .panel-title > .title-bar{
  952. height:34px;
  953. line-height: 30px;
  954. }
  955. .panel-title > .title-main .btn.pull-right {
  956. margin: 5px 0 0 0
  957. }
  958. .panel-content{
  959. padding-top:35px;
  960. overflow: hidden
  961. }
  962. .panel-content .content-wrap{
  963. margin:0;
  964. }
  965. .table td, .table th {
  966. padding:.3rem;
  967. }
  968. .form-control-sm {
  969. font-size:12px;
  970. padding-top:.1rem;
  971. }
  972. label{
  973. margin-bottom:.3rem;
  974. color:#757575;
  975. }
  976. .form-control-plaintext.form-control-lg, .form-control-plaintext.form-control-sm {
  977. padding-left:.5rem;
  978. background: #f2f2f280
  979. }
  980. .invalid-feedback{
  981. font-size:100%;
  982. }
  983. .modal-header{
  984. padding:.5rem 1rem
  985. }
  986. .modal-title{
  987. font-size:16px;
  988. }
  989. .modal-footer {
  990. padding:.5rem 1rem
  991. }
  992. .modal-body h6,.modal-body h5{
  993. font-size:12px;
  994. }
  995. .panel-title > .title-bar{
  996. padding-left:10px;
  997. }
  998. .panel-sidebar .panel-title{
  999. width:120px;
  1000. }
  1001. .panel-title > .title-bar > h2, .panel-title > .title-main > h2{
  1002. height:34px;
  1003. line-height: 34px;
  1004. font-size: 12px
  1005. }
  1006. .panel-title > .title-main .form-control {
  1007. margin: 4px 0 0 0;
  1008. }
  1009. .panel-sidebar {
  1010. width:120px;
  1011. }
  1012. .panel-sidebar .scrollbar-auto{
  1013. padding-top:0;
  1014. }
  1015. .nav-list li a{
  1016. padding-right:0px;
  1017. height:30px;
  1018. line-height: 30px
  1019. }
  1020. .nav-box h3{
  1021. margin-left:12px;
  1022. }
  1023. .nav-box > .sub-list > li > a{
  1024. padding-left:32px;
  1025. }
  1026. .panel-sidebar + .panel-content{
  1027. padding:35px 0 0 120px;
  1028. overflow: hidden;
  1029. }
  1030. .contarl-box{
  1031. padding:1rem 1rem;
  1032. }
  1033. .min-side .side-menu {
  1034. top:34px;
  1035. }
  1036. .panel-content .panel-title{
  1037. padding-left:175px;
  1038. background: linear-gradient( #ccc,2%, #ffffff);
  1039. }
  1040. .nav-link{
  1041. padding:.3rem .5rem;
  1042. }
  1043. .side-menu .nav-link{
  1044. font-size:12px;
  1045. }
  1046. legend {
  1047. font-size:16px;
  1048. }
  1049. .input-group-sm > .custom-select, .input-group-sm > .form-control:not(textarea) {
  1050. height: calc(1.4125rem + 2px);
  1051. }
  1052. .input-group-sm>.form-control, .input-group-sm>.input-group-append>.btn, .input-group-sm>.input-group-append>.input-group-text, .input-group-sm>.input-group-prepend>.btn, .input-group-sm>.input-group-prepend>.input-group-text{
  1053. height: calc(1.4125rem + 2px);
  1054. }
  1055. .input-group-sm > .custom-select, .input-group-sm > .form-control, .input-group-sm > .input-group-append > .btn, .input-group-sm > .input-group-append > .input-group-text, .input-group-sm > .input-group-prepend > .btn, .input-group-sm > .input-group-prepend > .input-group-text {
  1056. font-size:12px;
  1057. padding:.1rem .5rem;
  1058. }
  1059. .side-menu{
  1060. right:0;
  1061. top:35px;
  1062. }
  1063. .form-control-sm{
  1064. height:calc(1.4125rem + 2px);
  1065. }
  1066. .form-group {
  1067. margin-bottom:.5rem;
  1068. }
  1069. .badge{
  1070. font-size:100%;
  1071. }
  1072. .sjs-height-0{
  1073. overflow: auto;
  1074. }
  1075. .nav-box h3{
  1076. margin-bottom:5px;
  1077. }
  1078. .min-side .side-menu{
  1079. padding-bottom:10px;
  1080. }
  1081. .side-fold {
  1082. right:50px;
  1083. bottom:5px;
  1084. }
  1085. .side-fold a{
  1086. font-size:24px;
  1087. }
  1088. .min-side {
  1089. padding-bottom:5px;
  1090. }
  1091. .min-side .side-fold{
  1092. bottom:10px;
  1093. }
  1094. .min-side .side-fold a{
  1095. font-size:18px;
  1096. }
  1097. .form-text{
  1098. font-size:12px;
  1099. }
  1100. .btn-sm .badge{
  1101. font-size:10px;
  1102. padding:.2em .4em;
  1103. top:0;
  1104. }
  1105. .search-group {
  1106. position: relative;
  1107. }
  1108. .search-group .remove-btn {
  1109. position:absolute;
  1110. right:10px;
  1111. top:3px;
  1112. }
  1113. /*菜单栏系统维护图标*/
  1114. a.maintain-icon{
  1115. position:relative;
  1116. }
  1117. a.maintain-icon span{
  1118. position: absolute;
  1119. left:55px;
  1120. height:53px;
  1121. line-height: 53px;
  1122. width:390px;
  1123. top:0;
  1124. display:none;
  1125. font-size:14px;
  1126. }
  1127. a.maintain-icon:hover span{
  1128. display: inline-block;
  1129. }
  1130. a.maintain-icon .fa{
  1131. -webkit-animation: shake_a 2s .2s ease both;
  1132. -moz-animation: shake_a 2s .2s ease both;
  1133. animation: shake_a 2s .2s ease both;
  1134. animation-iteration-count:infinite
  1135. }
  1136. @-webkit-keyframes shake_a {
  1137. 0%, 100% {
  1138. -webkit-transform: rotate(0);
  1139. }
  1140. 10%, 30%, 50%, 70%, 90% {
  1141. -webkit-transform: rotate(5deg);
  1142. }
  1143. 20%, 40%, 60%, 80% {
  1144. -webkit-transform: rotate(-5deg);
  1145. }
  1146. }
  1147. @-moz-keyframes shake_a {
  1148. 0%, 100% {
  1149. -moz-transform: rotate(0);
  1150. }
  1151. 10%, 30%, 50%, 70%, 90% {
  1152. -moz-transform: rotate(5deg);
  1153. }
  1154. 20%, 40%, 60%, 80% {
  1155. -moz-transform: rotate(-5deg);
  1156. }
  1157. }
  1158. @keyframes shake_a {
  1159. 0%, 100% {
  1160. transform: rotate(0);
  1161. }
  1162. 10%, 30%, 50%, 70%, 90% {
  1163. transform: rotate(5deg);
  1164. }
  1165. 20%, 40%, 60%, 80% {
  1166. transform: rotate(-5deg);
  1167. }
  1168. }
  1169. a.maintain-icon:hover .fa{
  1170. animation-iteration-count:0
  1171. }
  1172. /*审批列表*/
  1173. .timeline-list .timeline-list-item{
  1174. position: relative;
  1175. }
  1176. .timeline-list-item .timeline-item-date{
  1177. width:50px;
  1178. position:absolute;
  1179. left:0px;
  1180. text-align: center;
  1181. color:#ccc;
  1182. }
  1183. .timeline-list-item .timeline-item-date span{
  1184. display: block;
  1185. color: #333;
  1186. text-align: center;
  1187. }
  1188. .timeline-list-item .timeline-item-tail{
  1189. position: absolute;
  1190. top: 10px;
  1191. left: 55px;
  1192. height: calc(100% - 10px);
  1193. border-left: 1px solid #ddd ;
  1194. }
  1195. .timeline-list-item .timeline-item-icon{
  1196. width:20px;
  1197. height:20px;
  1198. position: absolute;
  1199. border-radius: 100px;
  1200. text-align: center;
  1201. line-height: 20px;
  1202. left:45px;
  1203. }
  1204. .timeline-list-item .timeline-item-content{
  1205. position: relative;
  1206. margin: 0 0 0 70px;
  1207. word-break: break-word;
  1208. }
  1209. .book-list{
  1210. padding: 0;
  1211. margin: 0;
  1212. height: 285px;
  1213. overflow-y: auto;
  1214. }
  1215. .book-list dt{
  1216. padding:5px 0 5px 5px;
  1217. background-color: #f2f2f2;
  1218. }
  1219. .book-list dd{
  1220. padding-left:15px;
  1221. cursor: pointer;
  1222. }
  1223. .book-list dd:hover{
  1224. background-color: #f2f2f2
  1225. }
  1226. .dd-content {
  1227. display: none;
  1228. }
  1229. .fold-card {
  1230. display: none;
  1231. }
  1232. .att-file-btn {
  1233. display: none;
  1234. }
  1235. .list-table tr:hover .att-file-btn{
  1236. display: inline-block;
  1237. }
  1238. /*头像颜色*/
  1239. .avatar{
  1240. height: 40px;
  1241. line-height:38px;
  1242. width:40px;
  1243. border-radius: 20px;
  1244. color:#fff;
  1245. font-size: 11px;
  1246. text-align: center;
  1247. display: inline-block;
  1248. border:1px solid #fff;
  1249. }
  1250. .avatar:hover{
  1251. text-decoration:none;
  1252. color:#fff;
  1253. }
  1254. .avatar.bg-1{
  1255. background:rgb(16,109,156)
  1256. }
  1257. .avatar.bg-2{
  1258. background:rgb(90,146,173)
  1259. }
  1260. .avatar.bg-3{
  1261. background:rgb(132, 118, 104)
  1262. }
  1263. .avatar.bg-4{
  1264. background:rgb(196, 160, 93)
  1265. }
  1266. .avatar.bg-5{
  1267. background:rgb(148, 129, 170)
  1268. }
  1269. .avatar.bg-6{
  1270. background:rgb(61,89,171)
  1271. }
  1272. .avatar.bg-7{
  1273. background:rgb(200, 132, 146)
  1274. }
  1275. .avatar.bg-8{
  1276. background:rgb(102, 138, 92)
  1277. }
  1278. .avatar.bg-9{
  1279. background:rgb(215, 75, 75)
  1280. }
  1281. .avatar.bg-0{
  1282. background:rgb(134, 131, 131)
  1283. }
  1284. .avatar.bg-10{
  1285. border:1px solid #007bff;
  1286. color:#007bff;
  1287. line-height: 24px
  1288. }
  1289. .avatar.bg-10:hover{
  1290. background-color: #007bff;
  1291. color:#fff;
  1292. }