main.css 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428
  1. /*building SAAS 0.1*/
  2. /*bootstrap 初始化*/
  3. html{
  4. height:100%;
  5. width:100%
  6. }
  7. /*自定义css*/
  8. body{
  9. color: #505458 !important;
  10. background-color: #ebeff2;
  11. font-size: 14px;
  12. width:100%;
  13. }
  14. body.login-body{
  15. height: 100%
  16. }
  17. @-webkit-keyframes tada {
  18. 0% {
  19. -webkit-transform: scale(1)
  20. }
  21. 10%, 20% {
  22. -webkit-transform: scale(0.9) rotate(-3deg)
  23. }
  24. 30%, 50%, 70%, 90% {
  25. -webkit-transform: scale(1.1) rotate(3deg)
  26. }
  27. 40%, 60%, 80% {
  28. -webkit-transform: scale(1.1) rotate(-3deg)
  29. }
  30. 100% {
  31. -webkit-transform: scale(1) rotate(0)
  32. }
  33. }
  34. @-moz-keyframes tada {
  35. 0% {
  36. -moz-transform: scale(1)
  37. }
  38. 10%, 20% {
  39. -moz-transform: scale(0.9) rotate(-3deg)
  40. }
  41. 30%, 50%, 70%, 90% {
  42. -moz-transform: scale(1.1) rotate(3deg)
  43. }
  44. 40%, 60%, 80% {
  45. -moz-transform: scale(1.1) rotate(-3deg)
  46. }
  47. 100% {
  48. -moz-transform: scale(1) rotate(0)
  49. }
  50. }
  51. .has-danger {
  52. -webkit-animation: shake 1s .2s ease both;
  53. -moz-animation: shake 1s .2s ease both;
  54. animation: shake 1s .2s ease both;
  55. }
  56. @-webkit-keyframes shake {
  57. 0%, 100% {
  58. -webkit-transform: translateX(0);
  59. }
  60. 10%, 30%, 50%, 70%, 90% {
  61. -webkit-transform: translateX(-10px);
  62. }
  63. 20%, 40%, 60%, 80% {
  64. -webkit-transform: translateX(10px);
  65. }
  66. }
  67. @-moz-keyframes shake {
  68. 0%, 100% {
  69. -moz-transform: translateX(0);
  70. }
  71. 10%, 30%, 50%, 70%, 90% {
  72. -moz-transform: translateX(-10px);
  73. }
  74. 20%, 40%, 60%, 80% {
  75. -moz-transform: translateX(10px);
  76. }
  77. }
  78. @keyframes shake {
  79. 0%, 100% {
  80. transform: translateX(0);
  81. }
  82. 10%, 30%, 50%, 70%, 90% {
  83. transform: translateX(-10px);
  84. }
  85. 20%, 40%, 60%, 80% {
  86. transform: translateX(10px);
  87. }
  88. }
  89. .login-bg {
  90. width: 100%;
  91. height: 100%;
  92. background:#f0f0f0 url("../img/login-bg.jpg") bottom center no-repeat;
  93. background-size: 100% auto;
  94. display: inline-block;
  95. }
  96. .form-signin {
  97. width: 420px;
  98. margin: 0 auto;
  99. position: absolute;
  100. left: 0;
  101. right: 0;
  102. top: 20%;
  103. }
  104. .wrapper{
  105. position: relative;
  106. }
  107. .top-bar{
  108. position: fixed;
  109. top: 0;
  110. left: 0;
  111. width: 100%;
  112. z-index: 9;
  113. }
  114. .top-bar .logo{
  115. height:60px;
  116. width: 250px;
  117. position: absolute;
  118. text-align: center;
  119. background: #ffffff;
  120. border-top: 3px solid #007bff;
  121. }
  122. .top-bar .logo a{
  123. line-height: 60px;
  124. }
  125. .top-bar .nav{
  126. background-color: #ebeff2;
  127. }
  128. .top-bar .nav .title{
  129. font-size: 16px;
  130. font-weight: 600;
  131. line-height:60px;
  132. margin: 0;
  133. }
  134. .top-bar .nav{
  135. margin-left: 250px;
  136. border-top: 3px solid #007bff;
  137. padding: 0 15px;
  138. }
  139. .top-bar .nav .action-area{
  140. position: absolute;
  141. right: 15px;
  142. top: 0;
  143. }
  144. .aside{
  145. background: #ffffff none repeat scroll 0 0;
  146. bottom: 50px;
  147. box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.06), 0 1px 0 0 rgba(0, 0, 0, 0.02);
  148. height: 100%;
  149. margin-bottom: -70px;
  150. margin-top: 0;
  151. padding-bottom: 70px;
  152. position: fixed;
  153. top: 60px;
  154. width: 250px;
  155. z-index: 2;
  156. }
  157. .aside .user-info{
  158. padding: 10px 0 20px;
  159. text-align: center;
  160. }
  161. .aside .user-info .user-img{
  162. height: 88px;
  163. width: 88px;
  164. overflow: hidden;
  165. margin: 0 auto;
  166. }
  167. .aside .user-info .user-img img{
  168. max-width: 100%;
  169. border-radius: 50%;
  170. padding: 4px;
  171. border: 1px solid #ebeff2;
  172. }
  173. .aside .user-info h5{
  174. color: #98a6ad;
  175. }
  176. .aside .min-menu{
  177. margin: 0;
  178. padding: 0;
  179. list-style: none;
  180. }
  181. .aside .min-menu li{
  182. display: inline;
  183. margin-left: 4px;
  184. }
  185. .aside .min-menu li a{
  186. color: #98a6ad;
  187. }
  188. .aside .min-menu li a:hover{
  189. color: #007bff !important;
  190. }
  191. .aside .menu,
  192. .aside .sub-menu{
  193. list-style: none;
  194. margin: 0;
  195. padding: 0;
  196. }
  197. .aside .sub-menu{
  198. display: none;
  199. }
  200. .aside .menu li{
  201. position: relative;
  202. }
  203. .aside .menu > li.active > a{
  204. border-left: 3px solid #007bff;
  205. }
  206. .aside .menu li.active > a{
  207. color: #007bff !important;
  208. }
  209. .aside .menu li a:hover{
  210. color: #007bff !important;
  211. }
  212. .aside .menu > li > a{
  213. border-left: 3px solid transparent;
  214. color: #435966;
  215. display: block;
  216. margin: 4px 0;
  217. padding: 12px 20px;
  218. text-decoration: none;
  219. transition: all 0.3s ease-out 0s;
  220. }
  221. .aside .menu > li a i{
  222. margin-left: 3px;
  223. margin-right: 15px;
  224. }
  225. .aside .menu > li a .menu-arrow{
  226. position: absolute;
  227. right: 0;
  228. top: 17px;
  229. }
  230. .aside .sub-menu > li > a{
  231. color: #63747c;
  232. display: block;
  233. padding: 10px 20px 10px 58px;
  234. transition: all 0.3s ease-out 0s;
  235. text-decoration: none;
  236. }
  237. .wrapper .content-page{
  238. margin-left: 250px;
  239. margin-top:60px;
  240. width: auto;
  241. }
  242. .grid-view{
  243. clear: both;
  244. }
  245. .grid-view .summary{
  246. text-align: right;
  247. }
  248. .grid-view .pagination{
  249. float: right;
  250. display: inline-block;
  251. }
  252. .card-box{
  253. background-color: #ffffff;
  254. padding: 20px;
  255. border-radius: 5px;
  256. position: relative;
  257. }
  258. .card-box > h5{
  259. padding: 8px 15px;
  260. margin-bottom: 20px;
  261. margin-top: 0;
  262. }
  263. .card-box .dropdown.action{
  264. position: absolute;
  265. right: 20px;
  266. top: 27px;
  267. }
  268. .card-box .data{
  269. margin-top: 20px;
  270. }
  271. .card-box .dropdown.action > a{
  272. color: #98a6ad;
  273. }
  274. .breadcrumb {
  275. background: none
  276. }
  277. /* tree */
  278. .tree::before{
  279. border-left: 1px solid #666;
  280. bottom: 16px;
  281. content: "";
  282. display: block;
  283. left: 0;
  284. position: absolute;
  285. top: -21px;
  286. width: 1px;
  287. z-index: 1;
  288. }
  289. .tree{
  290. position: relative;
  291. overflow: auto;
  292. padding-left: 14px;
  293. }
  294. .tree .tree-folder::before,
  295. .tree .tree-item::before{
  296. border-top: 1px solid #666;
  297. content: "";
  298. display: inline-block;
  299. height: 0;
  300. left: -13px;
  301. position: absolute;
  302. top: 14px;
  303. width: 18px;
  304. z-index: 1;
  305. }
  306. .tree .tree-item,
  307. .tree .tree-folder {
  308. border: 1px solid #fff;
  309. cursor: pointer !important;
  310. }
  311. .tree .tree-folder,
  312. .tree .tree-item {
  313. position: relative;
  314. }
  315. .tree .tree-folder {
  316. min-height: 20px;
  317. width: auto;
  318. }
  319. .tree .tree-item{
  320. cursor: default;
  321. }
  322. .tree .tree-item,
  323. .tree .tree-folder .tree-folder-header{
  324. box-sizing: content-box;
  325. color: #333;
  326. margin: 0;
  327. padding: 4px 5px 6px;
  328. }
  329. .tree .tree-folder .tree-folder-header{
  330. position: relative;
  331. line-height: 20px;
  332. }
  333. .tree .tree-folder .tree-folder-content::before{
  334. border-left: 1px solid #666;
  335. bottom: 16px;
  336. content: "";
  337. display: inline-block;
  338. left: -12px;
  339. position: absolute;
  340. top: -9px;
  341. width: 1px;
  342. z-index: 1;
  343. }
  344. .tree .tree-folder .tree-folder-content{
  345. margin-left: 23px;
  346. position: relative;
  347. }
  348. .tree .tree-folder,
  349. .tree .tree-item{
  350. position: relative;
  351. }
  352. .tree-folder .tree-folder-header:hover,
  353. .tree-item .tree-folder-header:hover{
  354. background-color: rgba(113, 182, 249, 0.2);
  355. border-radius: 4px;
  356. }
  357. .tree .tree-item-name{
  358. margin-left: 2px;
  359. display: inline-block;
  360. }
  361. .tree-folder-content .child{
  362. display: none;
  363. }
  364. .tree-action{
  365. position: absolute;
  366. right: 4px;
  367. top: 5px;
  368. display: none;
  369. }
  370. .tree-action a{
  371. color: #999;
  372. }
  373. .tree-action a:hover{
  374. color: #666;
  375. }
  376. .tree-item{
  377. padding-left: 0 !important;
  378. padding-right: 0 !important;
  379. }
  380. .form-control-plaintext{
  381. width:100%
  382. }
  383. .ztree-warp {
  384. border:1px solid #ddd;
  385. overflow: auto;
  386. }
  387. /**帮助**/
  388. .help-content .sticky-top{
  389. float:right;
  390. top:80px;
  391. right:80px;
  392. border-left: 1px solid #ccc;
  393. padding:10px 0 10px 20px;
  394. }
  395. .help-content legend{
  396. border-bottom:1px solid #ccc;
  397. padding-bottom:10px;
  398. font-size: 2rem
  399. }
  400. .help-content h2,.help-content h3,.help-content h4{
  401. font-weight:600px
  402. }
  403. .help-content h2 {
  404. font-size:1.75rem;
  405. margin:1rem 0;
  406. }
  407. .help-content h3 {
  408. font-size:1.5rem;
  409. padding-left:5px;
  410. margin-left:2px;
  411. border-left: 2px solid #007bff;
  412. margin:1rem 0;
  413. }
  414. .help-content h4 {
  415. font-size:1.25rem;
  416. padding-left:6px;
  417. margin-left:2px;
  418. border-left: 1px solid #007bff;
  419. margin:1rem 0;
  420. }
  421. .help-content p {
  422. font-size:1rem;
  423. margin-left:9px
  424. }
  425. .help-content pre[class*="language-"]{
  426. margin-left:9px;
  427. }