main.css 9.8 KB

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