main.css 8.0 KB

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