css02.css 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  1. /*-----------去除默认样式-------------------------------------*/
  2. body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, /* structural elements 结构元素 */
  3. dl, dt, dd, ul, ol, li, /* list elements 列表元素 */
  4. pre, /* text formatting elements 文本格式元素 */
  5. fieldset, button, input, textarea, lengend /* form elements 表单元素 */
  6. th, td { /* table elements 表格元素 */
  7. margin: 0;
  8. padding: 0;
  9. border: none;
  10. color: #333;
  11. }
  12. body,
  13. button, input, select, textarea {
  14. /* for ie */
  15. /*font: 12px/1 Tahoma, Helvetica, Arial, "宋体", sans-serif;*/
  16. font: 12px/1 Tahoma, Helvetica, Arial, "\5b8b\4f53", sans-serif;
  17. /* 用 ascii 字符表示,使得在任何编码下都无问题 */
  18. }
  19. button, input, select, textarea {
  20. font-size: 100%; /* 使得表单元素在 ie 下能继承字体大小 */
  21. outline: none;
  22. }
  23. /*chrome表单自动填充去掉input黄色背景解决方案
  24. 可以对input:-webkit-autofill使用足够大的纯色内阴影来覆盖input输入框的黄色背景;如:*/
  25. input:-webkit-autofill {
  26. -webkit-box-shadow: 0 0 0px 1000px white inset;
  27. border: 1px solid #fff !important;
  28. }
  29. /*只要在样式里面加一句去掉css去掉iPhone、iPad的默认按钮样式就可以了!~*/
  30. input[type="button"], input[type="submit"], input[type="reset"] {
  31. -webkit-appearance: none;
  32. }
  33. /* 定义placeholder文字颜色 */
  34. ::-webkit-input-placeholder { /* WebKit browsers */
  35. color: #b9b9b9;
  36. }
  37. :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
  38. color: #b9b9b9;
  39. }
  40. ::-moz-placeholder { /* Mozilla Firefox 19+ */
  41. color: #b9b9b9;
  42. }
  43. :-ms-input-placeholder { /* Internet Explorer 10+ */
  44. color: #b9b9b9;
  45. }
  46. select {
  47. border: solid 1px #000; /*Chrome和Firefox里面的边框是不一样的,所以复写了一下*/
  48. /*很关键:将默认的select选择框样式清除*/
  49. appearance: none;
  50. -moz-appearance: none;
  51. -webkit-appearance: none;
  52. /*在选择框的最右侧中间显示小箭头图片*/
  53. background: url("http://ourjs.github.io/static/2015/arrow.png") no-repeat scroll right center transparent;
  54. /*为下拉小箭头留出一点位置,避免被文字覆盖*/
  55. padding-right: 14px;
  56. }
  57. /*清除ie的默认选择框样式清除,隐藏下拉箭头*/
  58. select::-ms-expand {
  59. display: none;
  60. }
  61. textarea {
  62. -webkit-appearance: none;
  63. }
  64. /* 重置表格元素 */
  65. table {
  66. border-collapse: collapse;
  67. border-spacing: 0;
  68. width: 100%;
  69. text-align: center;
  70. border-collapse: collapse;
  71. border-spacing: 1;
  72. border-spacing: 0;
  73. }
  74. table td {
  75. word-break: break-all;
  76. word-wrap: break-word;
  77. }
  78. img {
  79. border: none;
  80. display: block;
  81. }
  82. /* for ie6 */
  83. fieldset, img {
  84. border: none;
  85. }
  86. /* 重置文本格式元素 */
  87. a {
  88. text-decoration: none;
  89. }
  90. a:hover {
  91. text-decoration: underline;
  92. }
  93. /* 重置列表元素 */
  94. ul, ol {
  95. list-style: none;
  96. }
  97. /* 重置 hr */
  98. hr {
  99. border: none;
  100. height: 1px;
  101. }
  102. address, cite, dfn, em, var {
  103. font-style: normal;
  104. }
  105. /* 将斜体扶正 */
  106. code, kbd, pre, samp, tt {
  107. font-family: "Courier New", Courier, monospace;
  108. }
  109. /* 统一等宽字体 *//* 小于 12px 的中文很难阅读,让 small 正常化 */
  110. small {
  111. font-size: 12px;
  112. }
  113. abbr[title], acronym[title] { /* 注:1.ie6 不支持 abbr; 2.这里用了属性选择符,ie6 下无效果 */
  114. border-bottom: 1px dotted;
  115. cursor: help;
  116. }
  117. q:before, q:after {
  118. content: '';
  119. }
  120. /* 重置表单元素 */
  121. legend {
  122. color: #000;
  123. }
  124. /*
  125. 移动端项目:font-family:Tahoma,Arial,Roboto,”Droid Sans”,”Helvetica Neue”,”Droid Sans Fallback”,”Heiti SC”,sans-self;
  126. pc端(含Mac)项目:font-family:Tahoma,Arial,”Helvetica Neue“,”Hiragino Sans GB”,Simsun,sans-self;
  127. 移动和pc端项目:font-family:Tahoma,Arial,Roboto,”Droid Sans”,”Helvetica Neue”,”Droid Sans Fallback”,”Heiti SC”,”Hiragino Sans GB”,Simsun,sans-self;*/
  128. /*渐变:
  129. background:-webkit-linear-gradient(top,#d82c3e,#ff6450);
  130. background:-moz-linear-gradient(top,#d82c3e,#ff6450);
  131. background:-ms-linear-gradient(top,#d82c3e,#ff6450);
  132. background:-o-linear-gradient(top,#d82c3e,#ff6450);
  133. */
  134. /*
  135. 左侧滑动覆盖滚动条
  136. .left {
  137. width: 230px;
  138. height: 100%;
  139. position: fixed;
  140. left: 0;
  141. z-index:9;
  142. background: #1c2b36;
  143. overflow: hidden;
  144. }
  145. .left > div {
  146. width: 100%;
  147. height: 100%;
  148. overflow-x: hidden;
  149. overflow-y: auto;
  150. padding-right: 25px;
  151. }
  152. */
  153. /*************************************************************************************************/
  154. .index-left{
  155. float: left;
  156. width: 48%;
  157. margin-right: 2%;
  158. }
  159. .index-right{
  160. float: left;
  161. width: 50%;
  162. }
  163. .index-left-btn{
  164. width: 50px;
  165. height: 24px;
  166. color: #fff;
  167. border-radius: 15px;
  168. background: #0598db;
  169. font-size: 14px;
  170. margin-bottom: 10px;
  171. }
  172. .table-style01{
  173. border: solid 1px #9ed2f1;
  174. padding: 0 20px 20px 20px;
  175. margin-bottom: 50px;
  176. }
  177. .table-style01-title {
  178. height: 50px;
  179. overflow: hidden;
  180. }
  181. .table-style01-title > p {
  182. float: left;
  183. line-height: 50px;
  184. color: #333;
  185. font-weight: bold;
  186. }
  187. .table-style01-title > a {
  188. padding: 2px 10px;
  189. color: #fff;
  190. border-radius: 15px;
  191. background: #0598db;
  192. margin-top: 13px;
  193. float: right;
  194. font-size: 14px;
  195. }
  196. .table-style01-title > input {
  197. padding: 5px 15px;
  198. color: #fff;
  199. border-radius: 15px;
  200. background: #0598db;
  201. margin-top: 13px;
  202. float: right;
  203. font-size: 14px;
  204. border: none;
  205. }
  206. .table-style01 table {
  207. border: solid 1px #9ed2f1;
  208. }
  209. .table-style01 table thead {
  210. background: #e0f1fb;
  211. }
  212. .table-style01 table tr {
  213. height: 40px;
  214. line-height: 40px;
  215. border-bottom: solid 1px #9ed2f1;
  216. }
  217. .table-style-td01 {
  218. /*text-align: left;*/
  219. text-overflow: ellipsis;
  220. }
  221. .table-style-td01 > a {
  222. color: #0000ee;
  223. }
  224. .table-style-td02 {
  225. color: #e00c25;
  226. }