common.css 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. /*
  2. * 前后台共用
  3. * add by pjh
  4. */
  5. body {
  6. margin: 0;
  7. padding: 0;
  8. }
  9. .left {
  10. float: left;
  11. }
  12. .right {
  13. float: right;
  14. }
  15. .clear {
  16. clear: both;
  17. }
  18. .red {
  19. color: red;
  20. }
  21. .green {
  22. color: green;
  23. }
  24. .blue {
  25. color: blue;
  26. }
  27. .w-gray {
  28. color: #aaaaaa;
  29. }
  30. .w-white {
  31. color: #FFFFFF !important;
  32. }
  33. .w-blue {
  34. color: #0086da;
  35. }
  36. .w-blue a {
  37. color: #0086da !important;
  38. }
  39. .margin-l5 {
  40. margin-left: 5px;
  41. }
  42. .margin-l15 {
  43. margin-left: 15px;
  44. }
  45. .margin-r30 {
  46. margin-right: 30px !important;
  47. }
  48. .margin-t0 {
  49. margin-top: 0 !important;
  50. }
  51. .margin-t30 {
  52. margin-top: 30px !important;
  53. }
  54. .margin-t5 {
  55. margin-top: 5px;
  56. }
  57. .margin-t10 {
  58. margin-top: 10px;
  59. }
  60. .margin-b15 {
  61. margin-bottom: 15px;
  62. }
  63. .margin-b30 {
  64. margin-bottom: 30px !important;
  65. }
  66. .margin-b60 {
  67. margin-bottom: 60px !important;
  68. }
  69. .margin-lr10 {
  70. margin: 0 10px;
  71. }
  72. .margin-lr20 {
  73. margin: 0 20px;
  74. }
  75. .padding-t15 {
  76. padding-top: 15px;
  77. }
  78. .padding-t30 {
  79. padding-top: 30px !important;
  80. }
  81. .padding-b10 {
  82. padding-bottom: 10px;
  83. }
  84. .padding-l10 {
  85. padding-left: 10px;
  86. }
  87. .padding-l50 {
  88. padding-left: 50px;
  89. }
  90. .padding-lr20 {
  91. padding: 0 20px;
  92. }
  93. .border-0 {
  94. border: 0;
  95. }
  96. .height-15 {
  97. height: 15px !important;
  98. }
  99. .height-80 {
  100. height: 80px !important;
  101. }
  102. .width-90 {
  103. width: 90px !important;
  104. }
  105. .width-100 {
  106. width: 100px !important;
  107. }
  108. .width-120 {
  109. width: 120px;
  110. }
  111. .width-100p {
  112. width: 100%;
  113. }
  114. .width-95p {
  115. width: 95%;
  116. }
  117. .width-70p {
  118. width: 70%;
  119. }
  120. .width-50p {
  121. width: 50% !important;
  122. }
  123. .width-30p {
  124. width: 30%;
  125. }
  126. .width-20p {
  127. width: 20%;
  128. }
  129. .txt-left {
  130. text-align: left;
  131. }
  132. .txt-center {
  133. text-align: center;
  134. }
  135. .txt-right {
  136. text-align: right;
  137. }
  138. .font-s15 {
  139. font-size: 15px !important;
  140. }
  141. .font-s17 {
  142. font-size: 17px;
  143. }
  144. .font-s22 {
  145. font-size: 22px !important;
  146. }
  147. .font-s36 {
  148. font-size: 36px !important;
  149. }
  150. .font-wb {
  151. font-weight: bold;
  152. }
  153. /* 消息提示框 */
  154. .mes {
  155. top: 200px;
  156. left: 43%;
  157. z-index: 1009;
  158. font-weight: bold;
  159. position: absolute;
  160. background-color: #fff;
  161. border: solid 1px #cccccc;
  162. box-shadow: 8px 8px 8px rgba(0, 0, 0, .3);
  163. }
  164. .mes-title {
  165. height: 22px;
  166. background-color: #eaf0f7;
  167. }
  168. .mes-text {
  169. padding: 20px;
  170. font-size: 24px;
  171. font-weight: bold;
  172. }
  173. .mes-sure {
  174. margin-left: 40%;
  175. margin-bottom: 10px;
  176. }
  177. .close {
  178. width: 28px;
  179. height: 18px;
  180. background: url(../images/admin/close.gif);
  181. }
  182. .close:hover {
  183. background-position: 0 -18px;
  184. }
  185. /* 分页 */
  186. .render {
  187. float: right;
  188. margin: 15px;
  189. }
  190. .render li {
  191. float: left;
  192. width: 25px;
  193. font-weight: bold;
  194. text-align: center;
  195. border: solid 1px #c2d0d9;
  196. background-color: #fff;
  197. font-size: 13px;
  198. padding: 5px 0;
  199. }
  200. .render a, .render .disabled {
  201. color: #5189c4;
  202. }
  203. .render .active {
  204. color: #fff;
  205. background-color: #5189c4;
  206. }
  207. /* 表格 */
  208. .table-blue {
  209. border: solid 1px #d5dfe8;
  210. }
  211. .table-blue th {
  212. background: #eaf0f7;
  213. }
  214. /* 输入表单 */
  215. .form-input {
  216. width: 390px;
  217. margin: auto;
  218. margin-bottom: 25px;
  219. }
  220. .form-input input {
  221. width: 220px;
  222. padding: 6px;
  223. border: solid 1px #ccc;
  224. }
  225. .form-input input[type="radio"] {
  226. width: 50px;
  227. }
  228. .form-input i {
  229. color: red;
  230. margin-right: 8px;
  231. font-weight: bold;
  232. }
  233. @media only screen and (max-width:641px) {
  234. .mes {
  235. left: 20%;
  236. }
  237. }