main.css 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257
  1. /*building SAAS 0.1*/
  2. /*bootstrap 初始化*/
  3. body {
  4. font-size: 0.9rem
  5. }
  6. .dropdown-menu {
  7. font-size: 0.9rem
  8. }
  9. /*自定义css*/
  10. .header {
  11. background: #e1e1e1
  12. }
  13. .header .header-logo {
  14. background: #ff6501;
  15. color: #fff;
  16. float: left;
  17. padding-top: .25rem;
  18. padding-bottom: .25rem;
  19. margin-right: 1rem;
  20. font-size: 1.25rem;
  21. line-height: inherit
  22. }
  23. .top-msg{
  24. position: fixed;
  25. top:0;
  26. width:100%;
  27. z-index: 999
  28. }
  29. .in-1{padding-left:0rem!important}
  30. .in-2{padding-left:1rem!important}
  31. .in-3{padding-left:1.5rem!important}
  32. .in-4{padding-left:2rem!important}
  33. .in-5{padding-left:2.5rem!important}
  34. .in-6{padding-left:3rem!important}
  35. .main {
  36. position: relative;
  37. background: #f7f7f9;
  38. }
  39. .main-nav {
  40. position: absolute;
  41. text-align: center;
  42. z-index: 999;
  43. padding: 2px 0 0 2px
  44. }
  45. .main-nav .nav a {
  46. display: block;
  47. width: 28px;
  48. text-align: center;
  49. line-height: 18px;
  50. color: #999;
  51. padding: 10px 0;
  52. border-right: 1px solid #ccc;
  53. }
  54. .main-nav .nav a:hover {
  55. background: #fff;
  56. color: #333;
  57. text-decoration: none;
  58. }
  59. .main-nav .nav a.active {
  60. border: 1px solid #ccc;
  61. border-right: 1px solid #fff;
  62. background: #fff;
  63. color: #333
  64. }
  65. .content {
  66. margin:0 5px;
  67. background: #fff
  68. }
  69. .tools-btn {
  70. height: 30px;
  71. line-height: 30px;
  72. }
  73. .toolsbar .tools-btn.btn:hover {
  74. background: #f7f7f9;
  75. }
  76. .main-side {
  77. border-left: 1px solid #ccc;
  78. overflow-y: auto;
  79. }
  80. .top-content, .fluid-content {
  81. overflow: auto;
  82. border-bottom: 1px solid #ccc;
  83. }
  84. .warp-p2 {
  85. padding: 2px
  86. }
  87. .bottom-content .nav,.top-content .nav {
  88. background: #f7f7f9;
  89. padding:0 0 0 2px
  90. }
  91. .bottom-content .nav-tabs .nav-link, .side-tabs .nav-tabs .nav-link,.top-content .nav-tabs .nav-link {
  92. border-radius: 0;
  93. padding: 0.2em 0.5em
  94. }
  95. .side-tabs .nav-tabs .nav-item {
  96. z-index: 999
  97. }
  98. .side-tabs .nav-tabs {
  99. border-bottom: none;
  100. margin-bottom: -1px
  101. }
  102. .side-tabs .nav-tabs .nav-link {
  103. border-radius: 0;
  104. padding: 0em 0.5em;
  105. line-height: 30px;
  106. z-index: 999
  107. }
  108. .bottom-content .nav-tabs .nav-link.active {
  109. border-top: 1px solid #f7f7f9
  110. }
  111. .side-tabs .nav-tabs .nav-link.active {
  112. border-top: none;
  113. border-bottom:1px solid #fff
  114. }
  115. .side-tabs a.active, .sub-nav a.active {
  116. background: #ccc
  117. }
  118. .poj-manage {
  119. background: #fff
  120. }
  121. .slide-sidebar {
  122. border-left: 1px solid #E1E1E1;
  123. box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.1);
  124. background: none repeat scroll 0% 0% #ffffff;
  125. overflow: hidden;
  126. position: absolute;
  127. right: 0px;
  128. top: 0;
  129. z-index: 999;
  130. width: 0px;
  131. }
  132. .new-msg {
  133. -webkit-animation: tada 1s infinite .2s ease both;
  134. -moz-animation: tada 1s infinite .2s ease both;
  135. }
  136. @-webkit-keyframes tada {
  137. 0% {
  138. -webkit-transform: scale(1)
  139. }
  140. 10%, 20% {
  141. -webkit-transform: scale(0.9) rotate(-3deg)
  142. }
  143. 30%, 50%, 70%, 90% {
  144. -webkit-transform: scale(1.1) rotate(3deg)
  145. }
  146. 40%, 60%, 80% {
  147. -webkit-transform: scale(1.1) rotate(-3deg)
  148. }
  149. 100% {
  150. -webkit-transform: scale(1) rotate(0)
  151. }
  152. }
  153. @-moz-keyframes tada {
  154. 0% {
  155. -moz-transform: scale(1)
  156. }
  157. 10%, 20% {
  158. -moz-transform: scale(0.9) rotate(-3deg)
  159. }
  160. 30%, 50%, 70%, 90% {
  161. -moz-transform: scale(1.1) rotate(3deg)
  162. }
  163. 40%, 60%, 80% {
  164. -moz-transform: scale(1.1) rotate(-3deg)
  165. }
  166. 100% {
  167. -moz-transform: scale(1) rotate(0)
  168. }
  169. }
  170. .has-danger {
  171. -webkit-animation: shake 1s .2s ease both;
  172. -moz-animation: shake 1s .2s ease both;
  173. animation: shake 1s .2s ease both;
  174. }
  175. @-webkit-keyframes shake {
  176. 0%, 100% {
  177. -webkit-transform: translateX(0);
  178. }
  179. 10%, 30%, 50%, 70%, 90% {
  180. -webkit-transform: translateX(-10px);
  181. }
  182. 20%, 40%, 60%, 80% {
  183. -webkit-transform: translateX(10px);
  184. }
  185. }
  186. @-moz-keyframes shake {
  187. 0%, 100% {
  188. -moz-transform: translateX(0);
  189. }
  190. 10%, 30%, 50%, 70%, 90% {
  191. -moz-transform: translateX(-10px);
  192. }
  193. 20%, 40%, 60%, 80% {
  194. -moz-transform: translateX(10px);
  195. }
  196. }
  197. @keyframes shake {
  198. 0%, 100% {
  199. transform: translateX(0);
  200. }
  201. 10%, 30%, 50%, 70%, 90% {
  202. transform: translateX(-10px);
  203. }
  204. 20%, 40%, 60%, 80% {
  205. transform: translateX(10px);
  206. }
  207. }
  208. .bottom-content .tab-content {
  209. height: 350px;
  210. overflow: auto;
  211. }
  212. .form-signin {
  213. max-width: 500px;
  214. margin: 150px auto;
  215. }
  216. .poj-list, .side-content {
  217. overflow: auto;
  218. }
  219. .poj-list span.poj-icon {
  220. padding-right:10px;
  221. color:#ccc
  222. }
  223. .print-toolsbar{
  224. padding:5px
  225. }
  226. .print-toolsbar .panel {
  227. display:inline-block;
  228. vertical-align:top;
  229. background:#f7f7f9
  230. }
  231. .print-toolsbar .panel .panel-foot{
  232. text-align: center;
  233. font-size: 12px
  234. }
  235. .print-list {
  236. border-right:1px solid #ccc
  237. }
  238. .print-list .form-list {
  239. overflow: auto
  240. }
  241. .print-list .list-tools{
  242. height:50px;
  243. padding:10px 0;
  244. border-bottom:1px solid #f2f2f2
  245. }
  246. .pageContainer {
  247. background: #ededed;
  248. text-align: center
  249. }
  250. .pageContainer .page{
  251. border:9px solid transparent;
  252. display: inline-block;
  253. }
  254. .pageContainer .page img{
  255. width:inherit;
  256. height: inherit;
  257. }