main.css 7.9 KB

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