reset.less 8.8 KB

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