reset.less 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517
  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: #333;
  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. @disColor:#EFF1F6; /**背景颜色**/
  133. @trHeight:30px; /**表格行高**/
  134. @highlighBg:#F4C9C3;/**单选否决高亮**/
  135. @anchorBg:#FEE6C4;//定位高亮背景颜色
  136. .h2{
  137. width: 100%;
  138. /*box-sizing: border-box;*/
  139. z-index: 20;
  140. color: @titleColor;
  141. height: 44px;
  142. line-height: 44px;
  143. /*padding: 0 0 0 15px;
  144. border-bottom: 10px solid #EFF1F6;*/
  145. font-size: 14px;
  146. text-indent: 20px;
  147. font-weight: normal;
  148. letter-spacing: 1px;
  149. background: #fff;
  150. }
  151. /****弹窗样式*****/
  152. .modal{
  153. position: fixed;
  154. top:0;
  155. left: 0;
  156. display: none;
  157. width: 100%;
  158. height: 100%;
  159. z-index: 99;
  160. .cover{
  161. width: 100%;
  162. height: 100%;
  163. background: #000;
  164. opacity: .5;
  165. }
  166. .modal-box{
  167. position: absolute;
  168. top:50%;
  169. left: 50%;
  170. /*width: 400px;
  171. height: 255px;*/
  172. padding-bottom: 30px;
  173. margin-top:-180px;
  174. margin-left: -200px;
  175. background: #fff;
  176. border-radius:4px;
  177. }
  178. .modal-header{
  179. height: 40px;
  180. line-height: 40px;
  181. padding: 0 15px;
  182. border-bottom: 1px #E2E5EF solid;
  183. a{
  184. float: right;
  185. font-size: 18px;
  186. color: #8C8C8C;
  187. }
  188. }
  189. .modal-body{
  190. padding: 30px 65px 40px;
  191. }
  192. .modal-footer{
  193. /*position: absolute;
  194. bottom: 20px;
  195. width: 100%;*/
  196. height: 50px;
  197. line-height: 50px;
  198. text-align: center;
  199. a{
  200. width:80px;
  201. height:36px;
  202. color: #fff;
  203. background:@activeColor;
  204. border-radius:4px;
  205. padding:7px 26px;
  206. &.cancel{
  207. background: #fff;
  208. border:1px @activeColor solid;
  209. color:@activeColor;
  210. margin-left: 20px;
  211. }
  212. }
  213. }
  214. }
  215. .red{
  216. color: @warnColor;
  217. }
  218. .blue{
  219. color:@activeColor;
  220. }
  221. .alertModal {
  222. .modalBg {
  223. position: fixed;
  224. top: 0px;
  225. left: 0px;
  226. right: 0px;
  227. bottom: 0px;
  228. background: rgba(0, 0, 0, .3);
  229. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#88000000,endColorstr=#88000000);
  230. }
  231. .modalMain {
  232. width: 300px;
  233. // height: 200px;
  234. background-color: #fff;
  235. position: fixed;
  236. left: 50%;
  237. top: 30%;
  238. margin-left: -200px;
  239. padding-bottom: 34px;
  240. border-radius: 4px;
  241. overflow: hidden;
  242. }
  243. .title {
  244. border-bottom: 1px solid #eee;
  245. line-height: 40px;
  246. height: 40px;
  247. position: relative;
  248. padding-left: 15px;
  249. font-size: 14px;
  250. img {
  251. position: absolute;
  252. right: 0px;
  253. top: 0px;
  254. cursor: pointer;
  255. }
  256. }
  257. .content {
  258. padding: 25px 15px 0 15px;
  259. font-size: 14px;
  260. text-align: center;
  261. }
  262. .btns {
  263. height: 36px;
  264. text-align: center;
  265. span {
  266. border-radius: 5px;
  267. display: inline-block;
  268. // float: right;
  269. cursor: pointer;
  270. border: 1px solid #dedede;
  271. width: 80px;
  272. height: 36px;
  273. line-height: 36px;
  274. margin: 5px 5px 0;
  275. color: #333;
  276. border-radius: 3px;
  277. font-weight: 400;
  278. text-decoration: none;
  279. }
  280. .sure {
  281. background-color: @activeColor;
  282. border-color: #1E9FFF;
  283. color: #fff;
  284. }
  285. .quite {
  286. margin-left: 30px;
  287. margin-right: 30px;
  288. }
  289. }
  290. }
  291. .divModal {
  292. position: fixed;
  293. z-index: 9999;
  294. }
  295. .modaltip {
  296. position: fixed;
  297. top: 40%;
  298. left: 50%;
  299. padding: 10px;
  300. border-radius: 3px;
  301. color: #fff;
  302. background: rgba(0, 0, 0, .6);
  303. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#88000000,endColorstr=#88000000);
  304. }
  305. .loading {
  306. position: fixed;
  307. width: 100%;
  308. height: 100%;
  309. padding: 10px;
  310. border-radius: 3px;
  311. color: #fff;
  312. background: rgba(0, 0, 0, 0);
  313. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#88000000,endColorstr=#88000000);
  314. img {
  315. position: fixed;
  316. top: 50%;
  317. left: 50%;
  318. width: 40px;
  319. height: 40px;
  320. margin-left: -20px;
  321. margin-top: -20px;
  322. }
  323. }
  324. input::-webkit-input-placeholder{
  325. color:#ccc;
  326. }
  327. input::-moz-placeholder{ /* Mozilla Firefox 19+ */
  328. color:#ccc;
  329. }
  330. input:-moz-placeholder{ /* Mozilla Firefox 4 to 18 */
  331. color:#ccc;
  332. }
  333. input:-ms-input-placeholder{ /* Internet Explorer 10-11 */
  334. color:#ccc;
  335. }
  336. .grayLine {
  337. height: 10px;
  338. background-color: #EFF1F6;
  339. }
  340. .partTitleT {
  341. height: 44px;
  342. }
  343. .partTitle {
  344. position: absolute;
  345. top: 0;
  346. right: 0;
  347. width: 100%;
  348. box-sizing: border-box;
  349. background-color: #fff;
  350. z-index: 20;
  351. height: 44px;
  352. line-height: 44px;
  353. padding-left: 20px;
  354. font-size: 14px;
  355. font-weight: normal;
  356. letter-spacing: 1px;
  357. min-width: 100px;
  358. p {
  359. display: inline-block;
  360. color: @titleColor;
  361. a {
  362. color: @titleColor;
  363. opacity: 70%;
  364. }
  365. span {
  366. color: @titleColor;
  367. }
  368. i {
  369. color: @titleColor;
  370. }
  371. }
  372. .dateDetail {
  373. font-size: 12px;
  374. color: #777777;
  375. margin-right: 30px;
  376. font-weight: normal;
  377. }
  378. .monthYear {
  379. float: right;
  380. margin-right: 20px;
  381. border: 1px solid @activeColor;
  382. height: 28px;
  383. line-height: 28px;
  384. border-radius: 4px;
  385. overflow: hidden;
  386. cursor: pointer;
  387. margin-top: 7px;
  388. span {
  389. width: 48px;
  390. height: 28px;
  391. line-height: 28px;
  392. display: inline-block;
  393. text-align: center;
  394. font-weight: normal;
  395. }
  396. .year {
  397. background-color: @activeColor;
  398. color: #fff;
  399. }
  400. .mon {
  401. color: @activeColor;
  402. }
  403. }
  404. }
  405. .partTitlePub span {
  406. color: @fstColor !important;
  407. }
  408. .filterBox {
  409. /*.filter {
  410. display: inline-block;
  411. width:60px;
  412. height:36px;
  413. background:@activeColor;
  414. border-radius:4px;
  415. color: #fff;
  416. text-align: center;
  417. line-height: 36px;
  418. position: relative;
  419. top: -1px;
  420. cursor: pointer;
  421. }*/
  422. .filterclear{
  423. display: inline-block;
  424. width:60px;
  425. height:30px;
  426. background:#fff;
  427. border-radius:4px;
  428. color: #777;
  429. border: 1px solid #777;
  430. text-align: center;
  431. line-height: 30px;
  432. position: relative;
  433. top: 2px;
  434. cursor: pointer;
  435. margin-left: 5px;
  436. }
  437. }
  438. .filterclearT {
  439. height: 324x !important;
  440. line-height: 32px !important;
  441. float: left;
  442. position: relative;
  443. top: 2px !important;
  444. }
  445. .goHomeDetail {
  446. color: #00A1F0;
  447. cursor: pointer;
  448. }
  449. .filterclear.abnormalClear {
  450. display: inline-block;
  451. width: 60px;
  452. height: 34px;
  453. line-height: 32px;
  454. background: #fff;
  455. border-radius: 4px;
  456. color: #777;
  457. border: 1px solid #777;
  458. box-sizing: border-box;
  459. text-align: center;
  460. position: relative;
  461. top: 0px !important;
  462. cursor: pointer;
  463. margin-left: 10px;
  464. float: left;
  465. }
  466. .filterItem,.patientNumInp,.filter,.moduleItemInp,.selectDept, .filterItem span {
  467. height: 34px !important;
  468. line-height: 34px !important;
  469. float: left;
  470. }
  471. .filterItem ,.filter {
  472. top: 0px !important;
  473. float: left !important;
  474. }
  475. .arrow{
  476. top: 13px !important;
  477. }
  478. .filterDropList {
  479. top: 31px !important;
  480. }
  481. .toggleSlide p {
  482. border: 1px solid #506597 !important;
  483. }
  484. .emptyBoxHome {
  485. text-align: center;
  486. position: absolute;
  487. width: 100%;
  488. top: 50%;
  489. margin-top: -48px;
  490. img {
  491. width: 50px;
  492. }
  493. p {
  494. color: #637192;
  495. margin-top: 5px;
  496. }
  497. }
  498. @import './common.less';