main.css 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  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. border-left: 1px solid #ccc;
  67. margin-left: 29px;
  68. background: #fff
  69. }
  70. .tools-btn {
  71. height: 30px;
  72. line-height: 30px;
  73. }
  74. .toolsbar .tools-btn.btn:hover {
  75. background: #f7f7f9;
  76. }
  77. .main-side {
  78. border-top: 1px solid #ccc;
  79. border-left: 1px solid #ccc;
  80. }
  81. .top-content, .fluid-content {
  82. overflow: auto;
  83. border-bottom: 1px solid #ccc;
  84. }
  85. .warp-p2 {
  86. padding: 2px
  87. }
  88. .bottom-content .nav {
  89. background: #f7f7f9;
  90. }
  91. .bottom-content .nav-tabs .nav-link, .side-tabs .nav-tabs .nav-link {
  92. border-radius: 0;
  93. padding: 0.2em 0.5em
  94. }
  95. .side-tabs .nav-tabs {
  96. border-bottom: none;
  97. }
  98. .side-tabs .nav-tabs .nav-link {
  99. border-radius: 0;
  100. padding: 0em 0.5em;
  101. line-height: 30px
  102. }
  103. .bottom-content .nav-tabs .nav-link.active {
  104. border-top: 1px solid #f7f7f9
  105. }
  106. .side-tabs .nav-tabs .nav-link.active {
  107. border-top: none;
  108. background: #ccc
  109. }
  110. .side-tabs a.active, .sub-nav a.active {
  111. background: #ccc
  112. }
  113. .poj-manage {
  114. background: #fff
  115. }
  116. .slide-sidebar {
  117. border-left: 1px solid #E1E1E1;
  118. box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.1);
  119. background: none repeat scroll 0% 0% #ffffff;
  120. overflow: hidden;
  121. position: absolute;
  122. right: 0px;
  123. top: 0;
  124. z-index: 999;
  125. width: 0px;
  126. }
  127. .new-msg {
  128. -webkit-animation: tada 1s infinite .2s ease both;
  129. -moz-animation: tada 1s infinite .2s ease both;
  130. }
  131. @-webkit-keyframes tada {
  132. 0% {
  133. -webkit-transform: scale(1)
  134. }
  135. 10%, 20% {
  136. -webkit-transform: scale(0.9) rotate(-3deg)
  137. }
  138. 30%, 50%, 70%, 90% {
  139. -webkit-transform: scale(1.1) rotate(3deg)
  140. }
  141. 40%, 60%, 80% {
  142. -webkit-transform: scale(1.1) rotate(-3deg)
  143. }
  144. 100% {
  145. -webkit-transform: scale(1) rotate(0)
  146. }
  147. }
  148. @-moz-keyframes tada {
  149. 0% {
  150. -moz-transform: scale(1)
  151. }
  152. 10%, 20% {
  153. -moz-transform: scale(0.9) rotate(-3deg)
  154. }
  155. 30%, 50%, 70%, 90% {
  156. -moz-transform: scale(1.1) rotate(3deg)
  157. }
  158. 40%, 60%, 80% {
  159. -moz-transform: scale(1.1) rotate(-3deg)
  160. }
  161. 100% {
  162. -moz-transform: scale(1) rotate(0)
  163. }
  164. }
  165. .has-danger {
  166. -webkit-animation: shake 1s .2s ease both;
  167. -moz-animation: shake 1s .2s ease both;
  168. animation: shake 1s .2s ease both;
  169. }
  170. @-webkit-keyframes shake {
  171. 0%, 100% {
  172. -webkit-transform: translateX(0);
  173. }
  174. 10%, 30%, 50%, 70%, 90% {
  175. -webkit-transform: translateX(-10px);
  176. }
  177. 20%, 40%, 60%, 80% {
  178. -webkit-transform: translateX(10px);
  179. }
  180. }
  181. @-moz-keyframes shake {
  182. 0%, 100% {
  183. -moz-transform: translateX(0);
  184. }
  185. 10%, 30%, 50%, 70%, 90% {
  186. -moz-transform: translateX(-10px);
  187. }
  188. 20%, 40%, 60%, 80% {
  189. -moz-transform: translateX(10px);
  190. }
  191. }
  192. @keyframes shake {
  193. 0%, 100% {
  194. transform: translateX(0);
  195. }
  196. 10%, 30%, 50%, 70%, 90% {
  197. transform: translateX(-10px);
  198. }
  199. 20%, 40%, 60%, 80% {
  200. transform: translateX(10px);
  201. }
  202. }
  203. .tab-content {
  204. max-height: 200px;
  205. overflow: auto;
  206. }
  207. .form-signin {
  208. max-width: 500px;
  209. margin: 150px auto;
  210. }
  211. .poj-list, .side-content {
  212. overflow: auto;
  213. }
  214. .poj-list span.poj-icon {
  215. padding-right:10px;
  216. color:#ccc
  217. }
  218. .print-toolsbar{
  219. padding:5px
  220. }
  221. .print-toolsbar .panel {
  222. display:inline-block;
  223. vertical-align:top;
  224. background:#f7f7f9
  225. }
  226. .print-toolsbar .panel .panel-foot{
  227. text-align: center;
  228. font-size: 12px
  229. }
  230. .print-list {
  231. border-right:1px solid #ccc
  232. }
  233. .print-list .form-list {
  234. overflow: auto
  235. }
  236. .print-list .list-tools{
  237. height:50px;
  238. padding:10px 0;
  239. border-bottom:1px solid #f2f2f2
  240. }
  241. .pageContainer {
  242. background: #ededed;
  243. text-align: center
  244. }
  245. .pageContainer .page{
  246. border:9px solid transparent;
  247. display: inline-block;
  248. }
  249. .pageContainer .page img{
  250. width:inherit;
  251. height: inherit;
  252. }