main.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696
  1. /*building SAAS 0.1*/
  2. /*bootstrap 初始化*/
  3. body {
  4. font-size: 0.9rem;
  5. overflow: hidden;
  6. background: #e4e7ea
  7. }
  8. .dropdown-menu {
  9. font-size: 0.9rem
  10. }
  11. .btn.disabled, .btn:disabled {
  12. color:#999
  13. }
  14. .btn,.btn-group {
  15. vertical-align: baseline;
  16. }
  17. .nav-pills .nav-link.active, .nav-pills .show > .nav-link{
  18. background-color: #e4e7ea;
  19. color:#333;
  20. font-weight: 600
  21. }
  22. .custom-file-sm,.custom-file-sm .custom-file-label{
  23. height: calc(1.5em + .5rem + 2px);
  24. padding-top: .25rem;
  25. padding-bottom: .25rem;
  26. padding-left: .5rem;
  27. }
  28. .custom-file-sm .custom-file-label:after{
  29. height: calc(1.4em + .5rem + 2px);
  30. padding-top: .25rem;
  31. padding-bottom: .25rem;
  32. font-size: .875rem;
  33. }
  34. .custom-file-sm input{
  35. height: calc(1.5em + .5rem + 2px);
  36. font-size: .875rem;
  37. }
  38. .table th {
  39. background: #e9ecef;
  40. font-weight: normal;
  41. }
  42. .form-check,.form-check-label{
  43. cursor: pointer;
  44. }
  45. .input-group-text .group-checkbox[type="checkbox"],.input-group-text .group-checkbox[type="radio"]{
  46. margin-top: .3rem;
  47. }
  48. .custom-control {
  49. min-height: 1.2rem
  50. }
  51. .custom-control-label {
  52. cursor: pointer;
  53. }
  54. /*自定义css*/
  55. .in-1{padding-left:5px!important}
  56. .in-2{padding-left:21px!important}
  57. .in-3{padding-left:42px!important}
  58. .in-4{padding-left:63px!important}
  59. .in-5{padding-left:84px!important}
  60. .in-6{padding-left:105px!important}
  61. /*滚动条*/
  62. /* 滚动条 */
  63. ::-webkit-scrollbar-thumb:horizontal { /*水平滚动条的样式*/
  64. width: 5px;
  65. background-color: #e9ecef;
  66. -webkit-border-radius: 0;
  67. }
  68. ::-webkit-scrollbar-track-piece {
  69. background-color: #efefef; /*滚动条的背景颜色*/
  70. -webkit-border-radius: 0; /*滚动条的圆角宽度*/
  71. }
  72. ::-webkit-scrollbar {
  73. width: 14px; /*滚动条的宽度*/
  74. height: 14px; /*滚动条的高度*/
  75. }
  76. ::-webkit-scrollbar-thumb:vertical { /*垂直滚动条的样式*/
  77. height: 50px;
  78. background-color: #e9ecef;
  79. -webkit-border-radius: 0;
  80. outline: 1px solid #fff;
  81. outline-offset: -1px;
  82. border: 1px solid #ced4da;
  83. }
  84. ::-webkit-scrollbar-thumb:hover { /*滚动条的hover样式*/
  85. height: 50px;
  86. background-color: #ced4da;
  87. -webkit-border-radius: 0;
  88. }
  89. .sjs-height-1,.sjs-height-2,.sjs-sh-1,.sjs-sh-2,.sjs-sh-3,.sjs-sh-4,.sjs-sh-5{
  90. overflow: hidden;
  91. }
  92. .sjs-height-4,.sjs-height-5,.sjs-height-6,.sjs-option-height{
  93. overflow: auto;
  94. }
  95. .sjs-bottom{
  96. height:400px;
  97. overflow-y: auto;
  98. }
  99. .sjs-bottom-2{
  100. height:360px;
  101. overflow-y: auto;
  102. }
  103. .form-signin {
  104. max-width: 500px;
  105. margin: 150px auto;
  106. }
  107. .has-danger {
  108. -webkit-animation: shake 1s .2s ease both;
  109. -moz-animation: shake 1s .2s ease both;
  110. animation: shake 1s .2s ease both;
  111. }
  112. @-webkit-keyframes shake {
  113. 0%, 100% {
  114. -webkit-transform: translateX(0);
  115. }
  116. 10%, 30%, 50%, 70%, 90% {
  117. -webkit-transform: translateX(-10px);
  118. }
  119. 20%, 40%, 60%, 80% {
  120. -webkit-transform: translateX(10px);
  121. }
  122. }
  123. @-moz-keyframes shake {
  124. 0%, 100% {
  125. -moz-transform: translateX(0);
  126. }
  127. 10%, 30%, 50%, 70%, 90% {
  128. -moz-transform: translateX(-10px);
  129. }
  130. 20%, 40%, 60%, 80% {
  131. -moz-transform: translateX(10px);
  132. }
  133. }
  134. @keyframes shake {
  135. 0%, 100% {
  136. transform: translateX(0);
  137. }
  138. 10%, 30%, 50%, 70%, 90% {
  139. transform: translateX(-10px);
  140. }
  141. 20%, 40%, 60%, 80% {
  142. transform: translateX(10px);
  143. }
  144. }
  145. /*2.主体框架*/
  146. .header {
  147. background:#fff;
  148. position: fixed;
  149. z-index: 10;
  150. width: 100%;
  151. height: 50px;
  152. top: 0;
  153. left: 0
  154. }
  155. .main{
  156. position: relative;
  157. z-index: 4;
  158. }
  159. .main-nav {
  160. position: fixed;
  161. z-index: 99;
  162. width:55px;
  163. left: 0;
  164. top: 0;
  165. height: 100%;
  166. background: #33425b;
  167. }
  168. .main-panel{
  169. padding-left:55px;
  170. box-sizing: border-box;
  171. }
  172. .panel-sidebar{
  173. box-sizing: border-box;
  174. background: #fbfcfd;
  175. position: fixed;
  176. height: 100%;
  177. z-index: 4;
  178. left:55px;
  179. padding-top:50px;
  180. border-right: 1px solid #ddd;
  181. width: 200px;
  182. }
  183. .side-fold{
  184. position: absolute;
  185. bottom:10px;
  186. right:20px;
  187. }
  188. .min-side .side-fold{
  189. position: absolute;
  190. bottom:15px;
  191. right:5px;
  192. height: 20px
  193. }
  194. .min-side{
  195. border-right: 1px solid #ddd;
  196. margin-right:10px;
  197. padding-right:15px;
  198. position: relative;
  199. }
  200. .min-side .side-switch i{
  201. font-size: 20px
  202. }
  203. .min-side .side-menu{
  204. position: absolute;
  205. left:-15px;
  206. top:50px;
  207. background:#fff;
  208. width:150px;
  209. border-right:1px solid #ddd;
  210. border-bottom:1px solid #ddd;
  211. box-shadow: 0 1px 3px rgba(0,0,0,.1);
  212. }
  213. .panel-content{
  214. padding:65px 0 0;
  215. position: relative;
  216. z-index: 3;
  217. box-sizing: border-box;
  218. overflow-y: auto;
  219. height: 100vh;
  220. }
  221. .panel-content .content-wrap{
  222. margin:0 15px 15px;
  223. position: relative;
  224. background-color: #d2d5da
  225. }
  226. .panel-sidebar+.panel-content{
  227. padding: 65px 0 0 200px;
  228. }
  229. .panel-title, .panel-title>.title-bar {
  230. height:50px;
  231. line-height: 50px
  232. }
  233. .panel-title .dropdown-item,.panel-title .dropdown-item-text,.panel-title .form-group {
  234. line-height: normal;
  235. }
  236. .panel-title{
  237. position: fixed;
  238. top:0px;
  239. z-index: 98;
  240. width: 100%;
  241. box-sizing: border-box;
  242. background: #fff;
  243. box-shadow: 0 1px 3px rgba(0,0,0,.05);
  244. border-top: 1px solid #ddd;
  245. }
  246. .panel-sidebar .panel-title{
  247. width:200px;
  248. border-right: 1px solid #ddd;
  249. box-shadow: 0 1px 3px rgba(0,0,0,.1);
  250. }
  251. .panel-content .panel-title{
  252. left: 0;
  253. padding-left: 255px;
  254. padding-right: 20px;
  255. }
  256. .panel-content .panel-title.fluid{
  257. padding-left:55px
  258. }
  259. .panel-title>.title-bar{
  260. padding-left: 20px
  261. }
  262. .panel-title>.title-bar>h2,.panel-title>.title-main>h2{
  263. font-size: 16px;
  264. margin:0;
  265. height: 50px;
  266. line-height: 50px;
  267. display:block
  268. }
  269. .panel-title>.title-bar>h2 .btn{
  270. margin-right:15px
  271. }
  272. .panel-title>.title-main .btn.pull-right {
  273. margin:10px 0 0 10px
  274. }
  275. .panel-title>.title-main .form-control {
  276. margin:10px 0 0 0
  277. }
  278. .panel-title>.title-main{
  279. padding-left: 15px
  280. }
  281. .panel-title .alert {
  282. line-height: normal;
  283. z-index: 999
  284. }
  285. .side-menu{
  286. position: fixed;
  287. right:15px;
  288. top:65px
  289. }
  290. .side-menu .nav-link{
  291. line-height: 16px;
  292. font-size: 14px;
  293. color:#666;
  294. }
  295. .side-menu .nav-link:hover{
  296. background:#dcdee3;
  297. color:#333;
  298. }
  299. .sub-content{
  300. margin:0;
  301. }
  302. .pr-46{
  303. padding-right:36px
  304. }
  305. .bcontent-wrap{
  306. height: 350px
  307. }
  308. @media only screen and (max-height: 768px) {
  309. .bcontent-wrap{
  310. height: 250px
  311. }
  312. }
  313. .modal-xl {
  314. max-width: 1200px
  315. }
  316. /*滚动*/
  317. .scrollbar-auto {
  318. overflow-y: auto;
  319. position: absolute;
  320. bottom: 0;
  321. left: 0;
  322. top: 0;
  323. right: 0;
  324. }
  325. .panel-sidebar .scrollbar-auto{
  326. padding-top: 20px;
  327. box-sizing: border-box;
  328. }
  329. .panel-sidebar .scrollbar-auto {
  330. height: 100%;
  331. width: 100%;
  332. overflow-y: auto;
  333. position: static;
  334. }
  335. /*结构宽度高度调整条*/
  336. .resize-y{
  337. height:5px;
  338. width:100%;
  339. float: left;
  340. margin-top:-5px;
  341. cursor: s-resize;
  342. z-index: 999
  343. }
  344. .resize-x{
  345. width:5px;
  346. height:100%;
  347. float: left;
  348. margin-left:-15px;
  349. cursor: w-resize;
  350. z-index: 999
  351. }
  352. /*头部*/
  353. .header .logo {
  354. float: left;
  355. box-shadow: 1px 0 6px rgba(0,0,0,.06);
  356. margin-right: 20px;
  357. margin:0
  358. }
  359. .header .logo>a{
  360. width:120px;
  361. height:50px;
  362. line-height: 50px;
  363. display: inline-block;
  364. color:#fff;
  365. font-size:24px;
  366. padding:0 10px;
  367. transition: all ease .4s;
  368. background:#207fd1 url(logo.png) no-repeat;
  369. text-indent: -9999px;
  370. vertical-align: top
  371. }
  372. .header .logo>a:hover{
  373. background-color:#5596cf;
  374. text-decoration: none;
  375. }
  376. .header-user > div {
  377. float:left
  378. }
  379. .avatar .pic {
  380. height: 35px;
  381. width: 35px;
  382. border-radius: 100%;
  383. display: inline-block;
  384. float:left;
  385. margin:7px 7px 0 0
  386. }
  387. .avatar .pic img{
  388. display: block;
  389. width: 100%;
  390. height: 100%;
  391. border-radius: 100%;
  392. }
  393. .avatar > a,.msg >a{
  394. display: block;
  395. height:50px;
  396. line-height: 50px;
  397. color:#666;
  398. padding:0 15px;
  399. cursor: pointer;
  400. }
  401. .avatar > a:hover,.msg > a:hover{
  402. text-decoration: none;
  403. box-shadow: inset 0 3px 5px rgba(0,0,0,.125)
  404. }
  405. .header-user .msg{
  406. border-left:1px solid #eee
  407. }
  408. .header-user .msg .glyphicon{
  409. font-size:20px;
  410. vertical-align: middle;
  411. }
  412. .header-user .msg .badge{
  413. margin:0 0 0 5px
  414. }
  415. .header .poj-name {
  416. float:left;
  417. padding:0 0 0 15px;
  418. font-size:18px
  419. }
  420. .header .poj-name a{
  421. color:#666
  422. }
  423. .header .poj-name > span{
  424. height:50px;
  425. line-height:50px;
  426. }
  427. /*登陆相关*/
  428. .login-body{
  429. background: #fff
  430. }
  431. .login-infoinput {
  432. margin-top:15%
  433. }
  434. /*侧栏主菜单*/
  435. .nav-top,.nav-bottom{
  436. width: 55px
  437. }
  438. .bg-nav a{
  439. color:#7786ab;
  440. width:55px;
  441. text-align: center;
  442. display: inline-block;
  443. padding:15px 0;
  444. font-size: 12px
  445. }
  446. .bg-nav a i{
  447. font-size:22px;
  448. }
  449. .bg-nav a span{
  450. display: none;
  451. }
  452. .bg-nav > li{
  453. width:120px
  454. }
  455. .bg-nav > li.active{
  456. background: #192948
  457. }
  458. .bg-nav > li.active a{
  459. border-radius: 0;
  460. background: #192948
  461. }
  462. .bg-nav > li > a:hover,.bg-nav > li.active > a:hover{
  463. background: #192948;
  464. color:#f2f2f2;
  465. text-decoration: none;
  466. }
  467. .bg-nav > li.active a span{
  468. display: block;
  469. }
  470. .bg-nav > li + li {
  471. margin-top:0;
  472. }
  473. .bg-nav .sub-menu {
  474. list-style:none;
  475. padding:0 0 0 20px;
  476. width:120px;
  477. display: none
  478. }
  479. .bg-nav .sub-menu a {
  480. width:100px;
  481. height:30px;
  482. line-height:30px
  483. }
  484. .bg-nav .sub-menu:last-child{
  485. margin:0 0 20px 0
  486. }
  487. .bg-nav .menu-arrow{
  488. margin:22px 8px 0 0
  489. }
  490. .nav-box h3{
  491. font-size: 14px;
  492. font-weight: 700;
  493. padding-bottom: 4px;
  494. border-bottom: 1px solid #e2eaec;
  495. padding-right: 15px;
  496. margin-bottom: 10px;
  497. margin-left: 17px
  498. }
  499. .nav-box > .sub-list > li > a{
  500. padding-left: 40px
  501. }
  502. .nav-box .tips-dot {
  503. right:20px;
  504. top:8px
  505. }
  506. .nav-box .nav-list li{
  507. position: relative;
  508. }
  509. .contarl-box{
  510. padding:1rem 2rem 1rem 2rem;
  511. border-top:1px solid #ddd;
  512. }
  513. .nav-list li a{
  514. color: #333;
  515. display: block;
  516. height: 35px;
  517. line-height: 35px;
  518. box-sizing: border-box;
  519. padding-left: 17px;
  520. padding-right: 45px;
  521. text-overflow: ellipsis;
  522. position: relative;
  523. }
  524. .nav-list li a:hover{
  525. text-decoration: none;
  526. background:#e4e7ea;
  527. cursor: pointer;
  528. }
  529. .nav-list li a .badge{
  530. position: absolute;
  531. right:17px;
  532. top:9px
  533. }
  534. .nav-list li.active a{
  535. background:#e4e7ea;
  536. font-weight: 600
  537. }
  538. .side-menu .nav-link{
  539. padding:.5rem .6rem;
  540. }
  541. /*内容区*/
  542. .c-header {
  543. padding:0 0 5px
  544. }
  545. .c-body{
  546. padding:6px 6px 4px 6px;
  547. background:#fff;
  548. }
  549. .right-nav{
  550. width:36px
  551. }
  552. .right-nav .nav-link.active{
  553. background: #fff;
  554. color:#495057
  555. }
  556. .form-group .necessary{
  557. font-size:18px;
  558. color:#f90000
  559. }
  560. .bg-gray {
  561. background-color:#bbb!important;
  562. }
  563. .datepickers-container {
  564. z-index: 9999
  565. }
  566. .modal-height-500{
  567. height:450px;
  568. overflow: hidden
  569. }
  570. .modal-height-300{
  571. height:300px;
  572. overflow:auto
  573. }
  574. .modal-lgx {
  575. max-width:1000px
  576. }
  577. .title-main .nav{
  578. line-height: 16px;
  579. margin-top:8px
  580. }
  581. /*草图编辑器*/
  582. .img-view{
  583. height:400px;
  584. border:.2rem solid #ccc;
  585. position: relative;
  586. width:100%;
  587. overflow: hidden;
  588. }
  589. .img-view::after{
  590. content:"草图编辑区";
  591. color:#ddd;
  592. position: absolute;
  593. left:50%;
  594. top:50%;
  595. margin-left:-80px;
  596. margin-top:-24px;
  597. font-size:36px
  598. }
  599. .img-view .img-item{
  600. position: absolute;
  601. }
  602. .img-view .img-item .img-bar{
  603. position:absolute;
  604. right:0;
  605. top:0;
  606. display:none
  607. }
  608. .img-item:hover .img-bar{
  609. display: block;
  610. }
  611. .batch-l-t,.batch-l-b{
  612. height: 200px;
  613. overflow: hidden
  614. }
  615. .batch-r {
  616. height:400px;
  617. overflow: hidden
  618. }
  619. /*打印工具栏*/
  620. .print-toolsbar{
  621. padding-bottom:5px
  622. }
  623. .print-toolsbar .panel {
  624. display:inline-block;
  625. vertical-align:top;
  626. background:#f7f7f9
  627. }
  628. .print-toolsbar .panel .panel-foot{
  629. text-align: center;
  630. font-size: 12px
  631. }
  632. .print-list {
  633. border-right:1px solid #ccc
  634. }
  635. .print-list .form-list {
  636. overflow: auto
  637. }
  638. .print-list .list-tools{
  639. height:50px;
  640. padding:10px 0;
  641. border-bottom:1px solid #f2f2f2
  642. }
  643. .pageContainer {
  644. background: #ededed;
  645. text-align: center
  646. }
  647. .pageContainer .page{
  648. border:9px solid transparent;
  649. display: inline-block;
  650. }
  651. .pageContainer .page img{
  652. width:inherit;
  653. height: inherit;
  654. }
  655. .m-close-side{
  656. position: absolute;
  657. right:-1px;
  658. top:250px;
  659. background: #f2f2f2;
  660. padding:30px 3px;
  661. }
  662. .m-close-side:hover{
  663. background:#eae9e9;
  664. }
  665. .flowtoolsbar{
  666. display:none;
  667. position: absolute;
  668. bottom: 0;
  669. left:50%;
  670. margin-left:-110px;
  671. background-color: #33425b
  672. }
  673. .showtoolsbar:hover .flowtoolsbar{
  674. display: block
  675. }
  676. .edit-tag-btn{
  677. display: none
  678. }
  679. .tag-item:hover .edit-tag-btn{
  680. display: block
  681. }
  682. /*电子签名*/
  683. .add-sign-list-item{
  684. padding:.5rem .5rem .5rem 1rem;
  685. }
  686. .add-sign-list-item:hover{
  687. box-shadow:0 0 3px rgba(0,0,0,.18)
  688. }
  689. .add-sign-list-item .btn-link {
  690. display: none
  691. }
  692. .add-sign-list-item:hover .btn-link {
  693. display: block
  694. }