main.css 12 KB

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