main.css 9.4 KB

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