common.css 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. html,
  2. body {
  3. display: block;
  4. width: 100%;
  5. height: 100%;
  6. overflow: auto;
  7. font: 12px/1.5 tahoma, arial, simsun;
  8. font-family: "微软雅黑" !important;
  9. color: #000000;
  10. position: relative;
  11. }
  12. div{
  13. margin: 0 auto;
  14. }
  15. * {
  16. box-sizing: border-box;
  17. margin: 0;
  18. padding: 0;
  19. }
  20. address, cite, dfn, em, var {
  21. font-style: normal;
  22. color: #000000;
  23. }
  24. .clearfix::after {
  25. clear: both;
  26. }
  27. .clearfix::before,
  28. .clearfix::after {
  29. content: ' ';
  30. display: table;
  31. }
  32. .left {
  33. float: left;
  34. }
  35. .right {
  36. float: right;
  37. }
  38. .width50_ {
  39. width: 50%;
  40. }
  41. .tcenter {
  42. text-align: center;
  43. }
  44. .tleft {
  45. text-align: left;
  46. }
  47. .relative {
  48. position: relative;
  49. }
  50. .ellipsis {
  51. overflow: hidden;
  52. text-overflow: ellipsis;
  53. white-space: nowrap;
  54. }
  55. .inline-block {
  56. display: inline-block;
  57. }
  58. input[type=checkbox] {
  59. vertical-align: middle;
  60. width: 16px;
  61. height: 16px;
  62. appearance: none;
  63. /**css3属性,不支持ie,但不影响使用**/
  64. -webkit-appearance: none;
  65. -moz-appearance: none;
  66. background-color: transparent;
  67. border: 0;
  68. outline: 0 !important;
  69. cursor: pointer
  70. }
  71. input[type=checkbox]+label {
  72. vertical-align: middle;
  73. padding-left: 1px;
  74. padding-right: 1px;
  75. }
  76. input[type=checkbox]:after {
  77. content: "";
  78. display: block;
  79. width: 16px;
  80. height: 16px;
  81. text-align: center;
  82. line-height: 15px;
  83. color: #fff;
  84. border: 1px solid #c0c0c0;
  85. background-color: #fff;
  86. box-sizing: border-box;
  87. font-weight: bold
  88. }
  89. input[type=checkbox]:checked:after {
  90. content: "\2713";
  91. border-color: #37AF6E;
  92. background-color: #37AF6E;
  93. }
  94. a:hover {
  95. color: #FF0000;
  96. text-decoration: underline
  97. }
  98. a:focus {
  99. -moz-outline-style: none;
  100. }
  101. .red {
  102. color: #FF0000;
  103. }
  104. select {
  105. height: 26px;
  106. line-height: auto;
  107. vertical-align: middle;
  108. box-sizing: content-box;
  109. font-size: 13px;
  110. -webkit-appearance: menulist-button;
  111. border: #CCC solid 1px;
  112. }
  113. input[type=radio] {
  114. vertical-align: middle;
  115. width: 16px;
  116. height: 16px;
  117. appearance: none;
  118. /**css3属性,不支持ie,但不影响使用**/
  119. -webkit-appearance: none;
  120. -moz-appearance: none;
  121. background-color: transparent;
  122. border: 0;
  123. outline: 0 !important;
  124. line-height: 14px;
  125. color: #d8d8d8;
  126. }
  127. input[type=radio]+label {
  128. vertical-align: middle;
  129. padding-left: 1px;
  130. padding-right: 1px;
  131. }
  132. input[type=radio]:after {
  133. content: "";
  134. display: block;
  135. width: 16px;
  136. height: 16px;
  137. border-radius: 50%;
  138. text-align: center;
  139. line-height: 12px;
  140. color: #fff;
  141. border: 1px solid #ddd;
  142. background-color: #fff;
  143. box-sizing: border-box;
  144. }
  145. input[type=radio]:checked:after {
  146. content: "L";
  147. transform: matrix(-0.766044, -0.642788, -0.642788, 0.766044, 0, 0);
  148. -webkit-transform: matrix(-0.766044, -0.642788, -0.642788, 0.766044, 0, 0);
  149. -ms-transform: matrix(-0.766044, -0.642788, -0.642788, 0.766044, 0, 0);
  150. /*兼容ie9+ */
  151. -moz-transform: matrix(-0.766044, -0.642788, -0.642788, 0.766044, 0, 0);
  152. /*兼容ie9+ */
  153. border-color: #37AF6E;
  154. background-color: #37AF6E;
  155. }
  156. ::-webkit-scrollbar {
  157. width: 8px;
  158. height: 1px;
  159. }
  160. ::-webkit-scrollbar-thumb {
  161. border-radius: 10px;
  162. -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  163. background: #DFDFDF;
  164. }
  165. ::-webkit-scrollbar-track {
  166. -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  167. border-radius: 10px;
  168. background: #f5f5f5;
  169. }
  170. .ml10 {
  171. margin-left: 10px;
  172. }
  173. .ml20{
  174. margin-left: 20px;
  175. }
  176. .txtbox {
  177. border: 1px solid #ccc;
  178. background: #fff url(/static/img/icon071402.png) no-repeat;
  179. padding: 1px 2px;
  180. height: 24px;
  181. line-height: 24px;
  182. vertical-align: middle;
  183. text-indent: 3px;
  184. box-sizing: content-box;
  185. }
  186. .layui-table-view{
  187. margin-top: 0 !important;
  188. }
  189. .red2{
  190. padding-left: 5px;
  191. padding-right: 5px;
  192. color: #FF0000;
  193. }
  194. .layui-table{
  195. color: #000000;
  196. }
  197. .onclickbg {
  198. background-color: #3ea400 !important;
  199. color: #FFF;
  200. }
  201. .jieshaokehu {
  202. background-color: #b78453 !important;
  203. font-weight: normal;
  204. width: 45px !important;
  205. height: 25px;
  206. color: #FFF;
  207. text-align: center;
  208. line-height: 25px;
  209. z-index: 100;
  210. display: block;
  211. position: absolute;
  212. top: 7px;
  213. right: 3px;
  214. border-radius: 11px;
  215. font-size: 12px;
  216. }
  217. .layui-table-box,.layui-table-view{
  218. height: max-content !important;
  219. }
  220. .layui-box.layui-laypage.layui-laypage-default{
  221. float: right;
  222. }
  223. .mr20{
  224. margin-right: 20px;
  225. }
  226. .mwidth50_ {
  227. min-width: 50%;
  228. }
  229. label,select,option,input,a{
  230. color: #000000;
  231. }
  232. .layui-table-tips-c:before{right: -1px;top: -5px;font-size: 12px;}