main.css 11 KB

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