reset.less 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495
  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. .table{
  63. width: 100%;
  64. border:1px solid #E2E5EF;
  65. border-collapse: collapse;
  66. thead{
  67. background: #EFF0F9;
  68. }
  69. th,td{
  70. height: @trHeight;
  71. box-sizing: border-box;
  72. padding:0 10px;
  73. border:1px solid #E2E5EF;
  74. border-collapse: collapse;
  75. }
  76. th{
  77. font-size: 14px;
  78. font-weight: 500;
  79. }
  80. td{
  81. font-size: 14px;
  82. font-weight: 400
  83. }
  84. }
  85. input,
  86. textarea {
  87. border: none;
  88. margin: 0;
  89. padding: 0;
  90. outline: none;
  91. }
  92. .clearfix:after{
  93. content: "";
  94. display: block;
  95. height: 0;
  96. clear: both;
  97. visibility: hidden;
  98. }
  99. .clearfix {
  100. zoom: 1;
  101. }
  102. .fl{
  103. float: left;
  104. }
  105. .fr{
  106. float: right;
  107. }
  108. @headerHt:50px; /*logo栏高度*/
  109. @menuLiHt:40px; /*菜单项高度*/
  110. @menuWt:205px; /*菜单宽度*/
  111. @themeColor:#203463; //主题背景色
  112. @themeFontClr:#fff; //主题字体色
  113. @greyColor:#A5ADBF; //灰色二级
  114. @fstColor:#E9EBEF; //重要一级,菜单
  115. @secColor:#A5ADBF; //重要二级,菜单
  116. @trdColor:#6D7A97; //版权重要三级
  117. @darkLightBorderColor:#344876; //深色背景的分割线,border,浅色
  118. @darkDeepBorderColor:#4A5D8E; //深色背景的分割线,border,深点
  119. @themeBorderClr:#344876; //主题边框色
  120. @activeColor:#00A1FF; /*菜单项选中颜色*/
  121. @activeBg:#142753; /*菜单项选中背景*/
  122. @borderColor:#E2E5EF; /**边框颜色**/
  123. @frameBdColor:#F0F0F0;/***框架边框颜色**/
  124. @warnColor:#FF4D4F; /**重点红色**/
  125. @thBgColor:#EFF0F9; /**标题背景色**/
  126. @tableBorderColor:#E2E5EF; /**表格边框**/
  127. @trHeight:30px; /**表格行高**/
  128. .h2{
  129. width: 100%;
  130. /*box-sizing: border-box;*/
  131. z-index: 20;
  132. color: #51649C;
  133. height: 44px;
  134. line-height: 44px;
  135. /*padding: 0 0 0 15px;*/
  136. border-bottom: 10px solid #F5F6FA;
  137. font-size: 16px;
  138. text-indent: 20px;
  139. font-weight: normal;
  140. letter-spacing: 1px;
  141. }
  142. /****弹窗样式*****/
  143. .modal{
  144. position: fixed;
  145. top:0;
  146. left: 0;
  147. display: none;
  148. width: 100%;
  149. height: 100%;
  150. .cover{
  151. width: 100%;
  152. height: 100%;
  153. background: #000;
  154. opacity: .5;
  155. }
  156. .modal-box{
  157. position: absolute;
  158. top:50%;
  159. left: 50%;
  160. /*width: 400px;
  161. height: 255px;*/
  162. padding-bottom: 30px;
  163. margin-top:-180px;
  164. margin-left: -200px;
  165. background: #fff;
  166. border-radius:4px;
  167. }
  168. .modal-header{
  169. height: 40px;
  170. line-height: 40px;
  171. padding: 0 15px;
  172. border-bottom: 1px #E2E5EF solid;
  173. a{
  174. float: right;
  175. font-size: 18px;
  176. color: #8C8C8C;
  177. }
  178. }
  179. .modal-body{
  180. padding: 30px 65px 40px;
  181. }
  182. .modal-footer{
  183. /*position: absolute;
  184. bottom: 20px;
  185. width: 100%;*/
  186. height: 50px;
  187. line-height: 50px;
  188. text-align: center;
  189. a{
  190. width:80px;
  191. height:36px;
  192. color: #fff;
  193. background:@activeColor;
  194. border-radius:4px;
  195. padding:7px 26px;
  196. &.cancel{
  197. background: #fff;
  198. border:1px @activeColor solid;
  199. color:@activeColor;
  200. margin-left: 20px;
  201. }
  202. }
  203. }
  204. }
  205. .red{
  206. color: @warnColor;
  207. }
  208. .blue{
  209. color:@activeColor;
  210. }
  211. .alertModal {
  212. .modalBg {
  213. position: fixed;
  214. top: 0px;
  215. left: 0px;
  216. right: 0px;
  217. bottom: 0px;
  218. background: rgba(0, 0, 0, .3);
  219. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#88000000,endColorstr=#88000000);
  220. }
  221. .modalMain {
  222. width: 300px;
  223. // height: 200px;
  224. background-color: #fff;
  225. position: fixed;
  226. left: 50%;
  227. top: 30%;
  228. margin-left: -200px;
  229. padding-bottom: 34px;
  230. border-radius: 4px;
  231. overflow: hidden;
  232. }
  233. .title {
  234. border-bottom: 1px solid #eee;
  235. line-height: 40px;
  236. height: 40px;
  237. position: relative;
  238. padding-left: 15px;
  239. font-size: 14px;
  240. img {
  241. position: absolute;
  242. right: 0px;
  243. top: 0px;
  244. cursor: pointer;
  245. }
  246. }
  247. .content {
  248. padding: 25px 15px 0 15px;
  249. font-size: 14px;
  250. text-align: center;
  251. }
  252. .btns {
  253. height: 36px;
  254. text-align: center;
  255. span {
  256. border-radius: 5px;
  257. display: inline-block;
  258. // float: right;
  259. cursor: pointer;
  260. border: 1px solid #dedede;
  261. width: 80px;
  262. height: 36px;
  263. line-height: 36px;
  264. margin: 5px 5px 0;
  265. color: #333;
  266. border-radius: 3px;
  267. font-weight: 400;
  268. text-decoration: none;
  269. }
  270. .sure {
  271. background-color: @activeColor;
  272. border-color: #1E9FFF;
  273. color: #fff;
  274. }
  275. .quite {
  276. margin-left: 30px;
  277. margin-right: 30px;
  278. }
  279. }
  280. }
  281. .divModal {
  282. position: fixed;
  283. z-index: 9999;
  284. }
  285. .modaltip {
  286. position: fixed;
  287. top: 40%;
  288. left: 50%;
  289. padding: 10px;
  290. border-radius: 3px;
  291. color: #fff;
  292. background: rgba(0, 0, 0, .6);
  293. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#88000000,endColorstr=#88000000);
  294. }
  295. .loading {
  296. position: fixed;
  297. width: 100%;
  298. height: 100%;
  299. padding: 10px;
  300. border-radius: 3px;
  301. color: #fff;
  302. background: rgba(0, 0, 0, 0);
  303. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#88000000,endColorstr=#88000000);
  304. img {
  305. position: fixed;
  306. top: 50%;
  307. left: 50%;
  308. width: 40px;
  309. height: 40px;
  310. margin-left: -20px;
  311. margin-top: -20px;
  312. }
  313. }
  314. input::-webkit-input-placeholder{
  315. color:#ccc;
  316. }
  317. input::-moz-placeholder{ /* Mozilla Firefox 19+ */
  318. color:#ccc;
  319. }
  320. input:-moz-placeholder{ /* Mozilla Firefox 4 to 18 */
  321. color:#ccc;
  322. }
  323. input:-ms-input-placeholder{ /* Internet Explorer 10-11 */
  324. color:#ccc;
  325. }
  326. .grayLine {
  327. height: 10px;
  328. background-color: #f5f5f5;
  329. }
  330. .partTitleT {
  331. height: 44px;
  332. }
  333. .partTitle {
  334. position: absolute;
  335. top: 0;
  336. right: 0;
  337. width: 100%;
  338. box-sizing: border-box;
  339. background-color: #fff;
  340. z-index: 20;
  341. height: 44px;
  342. line-height: 44px;
  343. padding-left: 15px;
  344. font-size: 14px;
  345. font-weight: normal;
  346. letter-spacing: 1px;
  347. min-width: 100px;
  348. p {
  349. display: inline-block;
  350. font-size: 16px;
  351. color: @themeColor;
  352. a {
  353. font-size: 16px;
  354. color: @themeColor;
  355. opacity: 70%;
  356. }
  357. span {
  358. color: @themeColor;
  359. font-size: 16px;
  360. }
  361. i {
  362. color: @themeColor;
  363. }
  364. }
  365. .dateDetail {
  366. font-size: 12px;
  367. color: #777777;
  368. margin-right: 30px;
  369. font-weight: normal;
  370. }
  371. .monthYear {
  372. float: right;
  373. margin-right: 20px;
  374. border: 1px solid @activeColor;
  375. height: 28px;
  376. line-height: 28px;
  377. border-radius: 4px;
  378. overflow: hidden;
  379. cursor: pointer;
  380. margin-top: 7px;
  381. span {
  382. width: 48px;
  383. height: 28px;
  384. line-height: 28px;
  385. display: inline-block;
  386. text-align: center;
  387. font-weight: normal;
  388. }
  389. .year {
  390. background-color: @activeColor;
  391. color: #fff;
  392. }
  393. .mon {
  394. color: @activeColor;
  395. }
  396. }
  397. }
  398. .partTitlePub span {
  399. color: @fstColor !important;
  400. }
  401. .filterBox {
  402. /*.filter {
  403. display: inline-block;
  404. width:60px;
  405. height:36px;
  406. background:@activeColor;
  407. border-radius:4px;
  408. color: #fff;
  409. text-align: center;
  410. line-height: 36px;
  411. position: relative;
  412. top: -1px;
  413. cursor: pointer;
  414. }*/
  415. .filterclear{
  416. display: inline-block;
  417. width:60px;
  418. height:30px;
  419. background:#fff;
  420. border-radius:4px;
  421. color: #777;
  422. border: 1px solid #777;
  423. text-align: center;
  424. line-height: 30px;
  425. position: relative;
  426. top: 2px;
  427. cursor: pointer;
  428. margin-left: 5px;
  429. }
  430. }
  431. .filterclearT {
  432. height: 32px !important;
  433. line-height: 32px !important;
  434. float: left;
  435. position: relative;
  436. top: 2px !important;
  437. }
  438. .goHomeDetail {
  439. color: #00A1F0;
  440. cursor: pointer;
  441. }
  442. .filterclear.abnormalClear {
  443. display: inline-block;
  444. width: 60px;
  445. height: 32px;
  446. line-height: 32px;
  447. background: #fff;
  448. border-radius: 4px;
  449. color: #777;
  450. border: 1px solid #777;
  451. box-sizing: border-box;
  452. text-align: center;
  453. position: relative;
  454. top: 0px !important;
  455. cursor: pointer;
  456. margin-left: 10px;
  457. float: left;
  458. }
  459. .filterItem,.patientNumInp,.filter,.moduleItemInp,.selectDept, .filterItem span {
  460. height: 32px !important;
  461. line-height: 32px !important;
  462. float: left;
  463. }
  464. .filterItem ,.filter {
  465. top: 0px !important;
  466. float: left !important;
  467. }
  468. .arrow{
  469. top: 13px !important;
  470. }
  471. .filterDropList {
  472. top: 31px !important;
  473. }
  474. .toggleSlide p {
  475. border: 1px solid #506597 !important;
  476. }