reset.less 9.0 KB

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