main.css 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464
  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. .sub-content{
  203. margin:0;
  204. }
  205. .pr-46{
  206. padding-right:46px
  207. }
  208. /*滚动*/
  209. .scrollbar-auto {
  210. overflow-y: auto;
  211. position: absolute;
  212. bottom: 0;
  213. left: 0;
  214. top: 0;
  215. right: 0;
  216. }
  217. .panel-sidebar .scrollbar-auto{
  218. padding-top: 20px;
  219. box-sizing: border-box;
  220. }
  221. .panel-sidebar .scrollbar-auto {
  222. height: 100%;
  223. width: 100%;
  224. overflow-y: auto;
  225. position: static;
  226. }
  227. /*头部*/
  228. .header .logo {
  229. float: left;
  230. box-shadow: 1px 0 6px rgba(0,0,0,.06);
  231. margin-right: 20px;
  232. margin:0
  233. }
  234. .header .logo>a{
  235. width:120px;
  236. height:50px;
  237. line-height: 50px;
  238. display: inline-block;
  239. color:#fff;
  240. font-size:24px;
  241. padding:0 10px;
  242. transition: all ease .4s;
  243. background:#207fd1 url(logo.png) no-repeat;
  244. text-indent: -9999px;
  245. vertical-align: top
  246. }
  247. .header .logo>a:hover{
  248. background-color:#5596cf;
  249. text-decoration: none;
  250. }
  251. .header-user > div {
  252. float:left
  253. }
  254. .avatar .pic {
  255. height: 35px;
  256. width: 35px;
  257. border-radius: 100%;
  258. display: inline-block;
  259. float:left;
  260. margin:7px 7px 0 0
  261. }
  262. .avatar .pic img{
  263. display: block;
  264. width: 100%;
  265. height: 100%;
  266. border-radius: 100%;
  267. }
  268. .avatar > a,.msg >a{
  269. display: block;
  270. height:50px;
  271. line-height: 50px;
  272. color:#666;
  273. padding:0 15px;
  274. cursor: pointer;
  275. }
  276. .avatar > a:hover,.msg > a:hover{
  277. text-decoration: none;
  278. box-shadow: inset 0 3px 5px rgba(0,0,0,.125)
  279. }
  280. .header-user .msg{
  281. border-left:1px solid #eee
  282. }
  283. .header-user .msg .glyphicon{
  284. font-size:20px;
  285. vertical-align: middle;
  286. }
  287. .header-user .msg .badge{
  288. margin:0 0 0 5px
  289. }
  290. .header .poj-name {
  291. float:left;
  292. padding:0 0 0 15px;
  293. font-size:18px
  294. }
  295. .header .poj-name a{
  296. color:#666
  297. }
  298. .header .poj-name > span{
  299. height:50px;
  300. line-height:50px;
  301. }
  302. /*登陆相关*/
  303. .login-body{
  304. background: #fff
  305. }
  306. .login-infoinput {
  307. margin-top:15%
  308. }
  309. /*侧栏主菜单*/
  310. .nav-top{
  311. padding-top: 50px
  312. }
  313. .bg-nav a{
  314. color:#7786ab;
  315. width:120px;
  316. height: 55px;
  317. line-height: 55px;
  318. display: inline-block;
  319. padding:0 0 0 10px
  320. }
  321. .bg-nav > li{
  322. width:120px
  323. }
  324. .bg-nav > li.active{
  325. background: #192948
  326. }
  327. .bg-nav > li.active a{
  328. border-radius: 0;
  329. background: #192948
  330. }
  331. .bg-nav > li > a:hover,.bg-nav > li.active > a:hover{
  332. background: #192948;
  333. color:#f2f2f2;
  334. text-decoration: none;
  335. }
  336. .bg-nav > li + li {
  337. margin-top:0;
  338. }
  339. .bg-nav .sub-menu {
  340. list-style:none;
  341. padding:0 0 0 20px;
  342. width:120px;
  343. display: none
  344. }
  345. .bg-nav .sub-menu a {
  346. width:100px;
  347. height:30px;
  348. line-height:30px
  349. }
  350. .bg-nav .sub-menu:last-child{
  351. margin:0 0 20px 0
  352. }
  353. .bg-nav .menu-arrow{
  354. margin:22px 8px 0 0
  355. }
  356. .nav-box h3{
  357. font-size: 14px;
  358. font-weight: 700;
  359. padding-bottom: 4px;
  360. border-bottom: 1px solid #e2eaec;
  361. padding-right: 15px;
  362. margin-bottom: 10px;
  363. margin-left: 20px
  364. }
  365. .nav-list li a{
  366. color: #333;
  367. display: block;
  368. height: 35px;
  369. line-height: 35px;
  370. box-sizing: border-box;
  371. padding-left: 17px;
  372. padding-right: 45px;
  373. text-overflow: ellipsis;
  374. position: relative;
  375. }
  376. .nav-list li a:hover{
  377. text-decoration: none;
  378. background:#e4e7ea;
  379. cursor: pointer;
  380. }
  381. .nav-list li a .badge{
  382. position: absolute;
  383. right:17px;
  384. top:9px
  385. }
  386. .nav-list li.active a{
  387. background:#e4e7ea;
  388. font-weight: 600
  389. }
  390. /*内容区*/
  391. .c-header {
  392. padding:0 0 5px
  393. }
  394. .c-body{
  395. padding:15px;
  396. background:#fff;
  397. }
  398. .right-nav{
  399. width:46px
  400. }
  401. .right-nav .nav-link.active{
  402. background: #fff;
  403. color:#495057
  404. }
  405. .form-group .necessary{
  406. font-size:18px;
  407. color:#f90000
  408. }
  409. .bg-gray {
  410. background-color:#bbb!important;
  411. }
  412. .datepickers-container {
  413. z-index: 9999
  414. }
  415. .modal-height-500{
  416. height:500px;
  417. overflow: hidden
  418. }
  419. .modal-lgx {
  420. max-width:1000px
  421. }
  422. .title-main .nav{
  423. line-height: 16px;
  424. margin-top:8px
  425. }
  426. /*草图编辑器*/
  427. .img-view{
  428. height:400px;
  429. border:.2rem solid #ccc;
  430. position: relative;
  431. width:100%;
  432. overflow: hidden;
  433. }
  434. .img-view::after{
  435. content:"草图编辑区";
  436. color:#ddd;
  437. position: absolute;
  438. left:50%;
  439. top:50%;
  440. margin-left:-80px;
  441. margin-top:-24px;
  442. font-size:36px
  443. }
  444. .img-view .img-item{
  445. position: absolute;
  446. }
  447. .img-view .img-item .img-bar{
  448. position:absolute;
  449. right:0;
  450. top:0;
  451. display:none
  452. }
  453. .img-item:hover .img-bar{
  454. display: block;
  455. }
  456. .batch-l-t,.batch-l-b{
  457. height: 200px;
  458. overflow: hidden
  459. }
  460. .batch-r {
  461. height:400px;
  462. overflow: hidden
  463. }