reset.less 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412
  1. html,
  2. body,
  3. div,
  4. span,
  5. iframe,
  6. h1,
  7. h2,
  8. h3,
  9. h4,
  10. h5,
  11. h6,
  12. p,
  13. a,
  14. img,
  15. i,
  16. dl,
  17. dt,
  18. dd,
  19. ol,
  20. ul,
  21. li,
  22. label,
  23. tr,
  24. th,
  25. td,
  26. input {
  27. margin: 0;
  28. padding: 0;
  29. border: 0;
  30. font-size: 14px;
  31. font-style: normal;
  32. color: #333333;
  33. text-decoration: none;
  34. }
  35. html,
  36. body {
  37. font-family: 'Microsoft YaHei', arial, tahoma, sans-serif;
  38. color: #333333;
  39. height: 100%;
  40. overflow: hidden;
  41. }
  42. ol,
  43. ul {
  44. list-style: none;
  45. }
  46. li {
  47. list-style: none;
  48. }
  49. a {
  50. color: #000;
  51. }
  52. button {
  53. cursor: pointer;
  54. outline: none;
  55. background-color: #fff;
  56. border: 0 none;
  57. }
  58. table {
  59. border-collapse: collapse;
  60. border-spacing: 0;
  61. }
  62. input,
  63. textarea {
  64. border: none;
  65. margin: 0;
  66. padding: 0;
  67. outline: none;
  68. }
  69. .clearfix:after{
  70. content: "";
  71. display: block;
  72. height: 0;
  73. clear: both;
  74. visibility: hidden;
  75. }
  76. .clearfix {
  77. zoom: 1;
  78. }
  79. .fl{
  80. float: left;
  81. }
  82. .fr{
  83. float: right;
  84. }
  85. @headerHt:50px; /*logo栏高度*/
  86. @menuLiHt:40px; /*菜单项高度*/
  87. @menuWt:205px; /*菜单宽度*/
  88. @themeColor:#203463; //主题背景色
  89. @themeFontClr:#fff; //主题字体色
  90. @themeBorderClr:#4A5D8E; //主题边框色
  91. @activeColor:#00A1FF; /*菜单项选中颜色*/
  92. @activeBg:#142753; /*菜单项选中背景*/
  93. @borderColor:#E2E5EF; /**边框颜色**/
  94. @frameBdColor:#F0F0F0;/***框架边框颜色**/
  95. @warnColor:#FF4D4F; /**重点红色**/
  96. @thBgColor:#EFF0F9; /**标题背景色**/
  97. @tableBorderColor:#E2E5EF; /**表格边框**/
  98. .h2{
  99. width: 100%;
  100. /*box-sizing: border-box;*/
  101. z-index: 20;
  102. color: #51649C;
  103. height: 44px;
  104. line-height: 44px;
  105. /*padding: 0 0 0 15px;*/
  106. border-bottom: 10px solid #F5F6FA;
  107. font-size: 16px;
  108. text-indent: 20px;
  109. font-weight: bold;
  110. letter-spacing: 1px;
  111. }
  112. /****弹窗样式*****/
  113. .modal{
  114. position: fixed;
  115. top:0;
  116. left: 0;
  117. display: none;
  118. width: 100%;
  119. height: 100%;
  120. .cover{
  121. width: 100%;
  122. height: 100%;
  123. background: #000;
  124. opacity: .5;
  125. }
  126. .modal-box{
  127. position: absolute;
  128. top:50%;
  129. left: 50%;
  130. /*width: 400px;
  131. height: 255px;*/
  132. padding-bottom: 30px;
  133. margin-top:-180px;
  134. margin-left: -200px;
  135. background: #fff;
  136. border-radius:4px;
  137. }
  138. .modal-header{
  139. height: 40px;
  140. line-height: 40px;
  141. padding: 0 15px;
  142. border-bottom: 1px #E2E5EF solid;
  143. a{
  144. float: right;
  145. font-size: 18px;
  146. color: #8C8C8C;
  147. }
  148. }
  149. .modal-body{
  150. padding: 30px 65px 40px;
  151. }
  152. .modal-footer{
  153. /*position: absolute;
  154. bottom: 20px;
  155. width: 100%;*/
  156. height: 50px;
  157. line-height: 50px;
  158. text-align: center;
  159. a{
  160. width:80px;
  161. height:36px;
  162. color: #fff;
  163. background:@activeColor;
  164. border-radius:4px;
  165. padding:7px 26px;
  166. &.cancel{
  167. background: #fff;
  168. border:1px @activeColor solid;
  169. color:@activeColor;
  170. margin-left: 20px;
  171. }
  172. }
  173. }
  174. }
  175. .red{
  176. color: @warnColor;
  177. }
  178. .blue{
  179. color:@activeColor;
  180. }
  181. .alertModal {
  182. .modalBg {
  183. position: fixed;
  184. top: 0px;
  185. left: 0px;
  186. right: 0px;
  187. bottom: 0px;
  188. background: rgba(0, 0, 0, .3);
  189. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#88000000,endColorstr=#88000000);
  190. }
  191. .modalMain {
  192. width: 300px;
  193. // height: 200px;
  194. background-color: #fff;
  195. position: fixed;
  196. left: 50%;
  197. top: 30%;
  198. margin-left: -200px;
  199. padding-bottom: 20px;
  200. border-radius: 4px;
  201. overflow: hidden;
  202. }
  203. .title {
  204. border-bottom: 1px solid #eee;
  205. line-height: 40px;
  206. height: 40px;
  207. position: relative;
  208. padding-left: 15px;
  209. font-size: 14px;
  210. img {
  211. position: absolute;
  212. right: 0px;
  213. top: 0px;
  214. cursor: pointer;
  215. }
  216. }
  217. .content {
  218. padding: 25px 15px 0 15px;
  219. font-size: 14px;
  220. text-align: center;
  221. }
  222. .btns {
  223. height: 36px;
  224. text-align: center;
  225. span {
  226. border-radius: 5px;
  227. display: inline-block;
  228. // float: right;
  229. cursor: pointer;
  230. border: 1px solid #dedede;
  231. width: 80px;
  232. height: 36px;
  233. line-height: 36px;
  234. margin: 5px 5px 0;
  235. color: #333;
  236. border-radius: 3px;
  237. font-weight: 400;
  238. text-decoration: none;
  239. }
  240. .sure {
  241. background-color: #5A8EEE;
  242. border-color: #1E9FFF;
  243. color: #fff;
  244. }
  245. .quite {
  246. margin-left: 30px;
  247. margin-right: 30px;
  248. }
  249. }
  250. }
  251. .divModal {
  252. position: fixed;
  253. z-index: 9999;
  254. }
  255. .modaltip {
  256. position: fixed;
  257. top: 40%;
  258. left: 50%;
  259. padding: 10px;
  260. border-radius: 3px;
  261. color: #fff;
  262. background: rgba(0, 0, 0, .6);
  263. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#88000000,endColorstr=#88000000);
  264. }
  265. .loading {
  266. position: fixed;
  267. width: 100%;
  268. height: 100%;
  269. padding: 10px;
  270. border-radius: 3px;
  271. color: #fff;
  272. background: rgba(0, 0, 0, 0);
  273. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#88000000,endColorstr=#88000000);
  274. img {
  275. position: fixed;
  276. top: 50%;
  277. left: 50%;
  278. width: 40px;
  279. height: 40px;
  280. margin-left: -20px;
  281. margin-top: -20px;
  282. }
  283. }
  284. input::-webkit-input-placeholder{
  285. color:#ccc;
  286. }
  287. input::-moz-placeholder{ /* Mozilla Firefox 19+ */
  288. color:#ccc;
  289. }
  290. input:-moz-placeholder{ /* Mozilla Firefox 4 to 18 */
  291. color:#ccc;
  292. }
  293. input:-ms-input-placeholder{ /* Internet Explorer 10-11 */
  294. color:#ccc;
  295. }
  296. .grayLine {
  297. height: 10px;
  298. background-color: #f5f5f5;
  299. }
  300. .partTitleT {
  301. height: 44px;
  302. }
  303. .partTitle {
  304. position: absolute;
  305. top: 0;
  306. right: 0;
  307. width: 100%;
  308. box-sizing: border-box;
  309. background-color: #fff;
  310. z-index: 20;
  311. height: 44px;
  312. line-height: 44px;
  313. padding-left: 15px;
  314. font-size: 14px;
  315. font-weight: bold;
  316. letter-spacing: 1px;
  317. min-width: 100px;
  318. p {
  319. display: inline-block;
  320. font-size: 16px;
  321. a {
  322. font-size: 16px;
  323. }
  324. span {
  325. font-size: 16px;
  326. }
  327. }
  328. .dateDetail {
  329. font-size: 12px;
  330. color: #777777;
  331. margin-right: 30px;
  332. font-weight: normal;
  333. }
  334. .monthYear {
  335. float: right;
  336. margin-right: 20px;
  337. border: 1px solid #5A8EEE;
  338. height: 28px;
  339. line-height: 28px;
  340. border-radius: 4px;
  341. overflow: hidden;
  342. cursor: pointer;
  343. margin-top: 7px;
  344. span {
  345. width: 48px;
  346. height: 28px;
  347. line-height: 28px;
  348. display: inline-block;
  349. text-align: center;
  350. font-weight: normal;
  351. }
  352. .year {
  353. background-color: #5A8EEE;
  354. color: #fff;
  355. }
  356. .mon {
  357. color: #5A8EEE;
  358. }
  359. }
  360. }
  361. .filterBox {
  362. .filter {
  363. display: inline-block;
  364. width:60px;
  365. height:36px;
  366. background:#5A8EEE;
  367. border-radius:4px;
  368. color: #fff;
  369. text-align: center;
  370. line-height: 36px;
  371. position: relative;
  372. top: -1px;
  373. cursor: pointer;
  374. }
  375. .filterclear{
  376. display: inline-block;
  377. width:60px;
  378. height:34px;
  379. background:#fff;
  380. border-radius:4px;
  381. color: #777;
  382. border: 1px solid #777;
  383. text-align: center;
  384. line-height: 34px;
  385. position: relative;
  386. top: -1px;
  387. cursor: pointer;
  388. margin-left: 5px;
  389. }
  390. }
  391. .goHomeDetail {
  392. color: #00A1F0;
  393. cursor: pointer;
  394. }