main.css 8.6 KB

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