main.css 11 KB

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