main.css 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553
  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{
  170. position: fixed;
  171. top:0px;
  172. z-index: 98;
  173. width: 100%;
  174. box-sizing: border-box;
  175. background: #fff;
  176. box-shadow: 0 1px 3px rgba(0,0,0,.05);
  177. border-top: 1px solid #ddd;
  178. }
  179. .panel-sidebar .panel-title{
  180. width:200px;
  181. border-right: 1px solid #ddd;
  182. box-shadow: 0 1px 3px rgba(0,0,0,.1);
  183. }
  184. .panel-content .panel-title{
  185. left: 0;
  186. padding-left: 255px;
  187. padding-right: 20px;
  188. }
  189. .panel-content .panel-title.fluid{
  190. padding-left:55px
  191. }
  192. .panel-title>.title-bar{
  193. padding-left: 20px
  194. }
  195. .panel-title>.title-bar>h2,.panel-title>.title-main>h2{
  196. font-size: 16px;
  197. margin:0;
  198. height: 50px;
  199. line-height: 50px;
  200. display:block
  201. }
  202. .panel-title>.title-bar>h2 .btn{
  203. margin-right:15px
  204. }
  205. .panel-title>.title-main .btn.pull-right {
  206. margin:10px 0 0 10px
  207. }
  208. .panel-title>.title-main .form-control {
  209. margin:10px 0 0 0
  210. }
  211. .panel-title>.title-main{
  212. padding-left: 15px
  213. }
  214. .side-menu{
  215. position: fixed;
  216. right:15px;
  217. top:66px
  218. }
  219. .side-menu .nav-link{
  220. line-height: 16px;
  221. font-size: 14px
  222. }
  223. .side-bar{
  224. height: 31px;
  225. }
  226. .sub-content{
  227. margin:0;
  228. }
  229. .pr-46{
  230. padding-right:46px
  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. /*滚动*/
  241. .scrollbar-auto {
  242. overflow-y: auto;
  243. position: absolute;
  244. bottom: 0;
  245. left: 0;
  246. top: 0;
  247. right: 0;
  248. }
  249. .panel-sidebar .scrollbar-auto{
  250. padding-top: 20px;
  251. box-sizing: border-box;
  252. }
  253. .panel-sidebar .scrollbar-auto {
  254. height: 100%;
  255. width: 100%;
  256. overflow-y: auto;
  257. position: static;
  258. }
  259. /*头部*/
  260. .header .logo {
  261. float: left;
  262. box-shadow: 1px 0 6px rgba(0,0,0,.06);
  263. margin-right: 20px;
  264. margin:0
  265. }
  266. .header .logo>a{
  267. width:120px;
  268. height:50px;
  269. line-height: 50px;
  270. display: inline-block;
  271. color:#fff;
  272. font-size:24px;
  273. padding:0 10px;
  274. transition: all ease .4s;
  275. background:#207fd1 url(logo.png) no-repeat;
  276. text-indent: -9999px;
  277. vertical-align: top
  278. }
  279. .header .logo>a:hover{
  280. background-color:#5596cf;
  281. text-decoration: none;
  282. }
  283. .header-user > div {
  284. float:left
  285. }
  286. .avatar .pic {
  287. height: 35px;
  288. width: 35px;
  289. border-radius: 100%;
  290. display: inline-block;
  291. float:left;
  292. margin:7px 7px 0 0
  293. }
  294. .avatar .pic img{
  295. display: block;
  296. width: 100%;
  297. height: 100%;
  298. border-radius: 100%;
  299. }
  300. .avatar > a,.msg >a{
  301. display: block;
  302. height:50px;
  303. line-height: 50px;
  304. color:#666;
  305. padding:0 15px;
  306. cursor: pointer;
  307. }
  308. .avatar > a:hover,.msg > a:hover{
  309. text-decoration: none;
  310. box-shadow: inset 0 3px 5px rgba(0,0,0,.125)
  311. }
  312. .header-user .msg{
  313. border-left:1px solid #eee
  314. }
  315. .header-user .msg .glyphicon{
  316. font-size:20px;
  317. vertical-align: middle;
  318. }
  319. .header-user .msg .badge{
  320. margin:0 0 0 5px
  321. }
  322. .header .poj-name {
  323. float:left;
  324. padding:0 0 0 15px;
  325. font-size:18px
  326. }
  327. .header .poj-name a{
  328. color:#666
  329. }
  330. .header .poj-name > span{
  331. height:50px;
  332. line-height:50px;
  333. }
  334. /*登陆相关*/
  335. .login-body{
  336. background: #fff
  337. }
  338. .login-infoinput {
  339. margin-top:15%
  340. }
  341. /*侧栏主菜单*/
  342. .nav-top,.nav-bottom{
  343. width: 55px
  344. }
  345. .bg-nav a{
  346. color:#7786ab;
  347. width:55px;
  348. text-align: center;
  349. display: inline-block;
  350. padding:15px 0;
  351. font-size: 12px
  352. }
  353. .bg-nav a i{
  354. font-size:22px;
  355. }
  356. .bg-nav a span{
  357. display: none;
  358. }
  359. .bg-nav > li{
  360. width:120px
  361. }
  362. .bg-nav > li.active{
  363. background: #192948
  364. }
  365. .bg-nav > li.active a{
  366. border-radius: 0;
  367. background: #192948
  368. }
  369. .bg-nav > li > a:hover,.bg-nav > li.active > a:hover{
  370. background: #192948;
  371. color:#f2f2f2;
  372. text-decoration: none;
  373. }
  374. .bg-nav > li.active a span{
  375. display: block;
  376. }
  377. .bg-nav > li + li {
  378. margin-top:0;
  379. }
  380. .bg-nav .sub-menu {
  381. list-style:none;
  382. padding:0 0 0 20px;
  383. width:120px;
  384. display: none
  385. }
  386. .bg-nav .sub-menu a {
  387. width:100px;
  388. height:30px;
  389. line-height:30px
  390. }
  391. .bg-nav .sub-menu:last-child{
  392. margin:0 0 20px 0
  393. }
  394. .bg-nav .menu-arrow{
  395. margin:22px 8px 0 0
  396. }
  397. .nav-box h3{
  398. font-size: 14px;
  399. font-weight: 700;
  400. padding-bottom: 4px;
  401. border-bottom: 1px solid #e2eaec;
  402. padding-right: 15px;
  403. margin-bottom: 10px;
  404. margin-left: 17px
  405. }
  406. .nav-box > .sub-list > li > a{
  407. padding-left: 40px
  408. }
  409. .nav-list li a{
  410. color: #333;
  411. display: block;
  412. height: 35px;
  413. line-height: 35px;
  414. box-sizing: border-box;
  415. padding-left: 17px;
  416. padding-right: 45px;
  417. text-overflow: ellipsis;
  418. position: relative;
  419. }
  420. .nav-list li a:hover{
  421. text-decoration: none;
  422. background:#e4e7ea;
  423. cursor: pointer;
  424. }
  425. .nav-list li a .badge{
  426. position: absolute;
  427. right:17px;
  428. top:9px
  429. }
  430. .nav-list li.active a{
  431. background:#e4e7ea;
  432. font-weight: 600
  433. }
  434. .nav-list li a.active{
  435. background:#e4e7ea;
  436. font-weight: 600
  437. }
  438. /*内容区*/
  439. .c-header {
  440. padding:0 0 5px
  441. }
  442. .c-body{
  443. padding:15px;
  444. background:#fff;
  445. }
  446. .right-nav{
  447. width:46px
  448. }
  449. .right-nav .nav-link.active{
  450. background: #fff;
  451. color:#495057
  452. }
  453. .form-group .necessary{
  454. font-size:18px;
  455. color:#f90000
  456. }
  457. .bg-gray {
  458. background-color:#bbb!important;
  459. }
  460. .datepickers-container {
  461. z-index: 9999
  462. }
  463. .modal-height-500{
  464. height:500px;
  465. overflow: hidden
  466. }
  467. .modal-height-300{
  468. height:300px;
  469. overflow:auto
  470. }
  471. .modal-lgx {
  472. max-width:1000px
  473. }
  474. .title-main .nav{
  475. line-height: 16px;
  476. margin-top:8px
  477. }
  478. /*草图编辑器*/
  479. .img-view{
  480. height:400px;
  481. border:.2rem solid #ccc;
  482. position: relative;
  483. width:100%;
  484. overflow: hidden;
  485. }
  486. .img-view::after{
  487. content:"草图编辑区";
  488. color:#ddd;
  489. position: absolute;
  490. left:50%;
  491. top:50%;
  492. margin-left:-80px;
  493. margin-top:-24px;
  494. font-size:36px
  495. }
  496. .img-view .img-item{
  497. position: absolute;
  498. }
  499. .img-view .img-item .img-bar{
  500. position:absolute;
  501. right:0;
  502. top:0;
  503. display:none
  504. }
  505. .img-item:hover .img-bar{
  506. display: block;
  507. }
  508. .batch-l-t,.batch-l-b{
  509. height: 200px;
  510. overflow: hidden
  511. }
  512. .batch-r {
  513. height:400px;
  514. overflow: hidden
  515. }
  516. /*打印工具栏*/
  517. .print-toolsbar{
  518. padding-bottom:5px
  519. }
  520. .print-toolsbar .panel {
  521. display:inline-block;
  522. vertical-align:top;
  523. background:#f7f7f9
  524. }
  525. .print-toolsbar .panel .panel-foot{
  526. text-align: center;
  527. font-size: 12px
  528. }
  529. .print-list {
  530. border-right:1px solid #ccc
  531. }
  532. .print-list .form-list {
  533. overflow: auto
  534. }
  535. .print-list .list-tools{
  536. height:50px;
  537. padding:10px 0;
  538. border-bottom:1px solid #f2f2f2
  539. }
  540. .pageContainer {
  541. background: #ededed;
  542. text-align: center
  543. }
  544. .pageContainer .page{
  545. border:9px solid transparent;
  546. display: inline-block;
  547. }
  548. .pageContainer .page img{
  549. width:inherit;
  550. height: inherit;
  551. }