indexHorizontal.less 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398
  1. @import './common.less';
  2. .push .recommendInfoWrapper {
  3. height: 20px;
  4. line-height: 20px;
  5. overflow: hidden;
  6. margin-top: 10px;
  7. h4 {
  8. float: left;
  9. }
  10. }
  11. .push .labAndPacsRecommend {
  12. height: 50px;
  13. }
  14. .recommendInfoBox {
  15. margin-left: 100px;
  16. position: relative;
  17. }
  18. .recommendWrap {
  19. height: 250px;
  20. }
  21. .labAndPacsWrapper{
  22. height: 20px;
  23. line-height: 20px;
  24. overflow: hidden;
  25. }
  26. .push {
  27. margin-top: 10px;
  28. width: 52%;
  29. float: left;
  30. position: relative;
  31. padding-right: 2%;
  32. border-right: 1px solid #f0efef;
  33. box-sizing: border-box;
  34. }
  35. .infomationBox {
  36. margin-top: 10px;
  37. width: 38%;
  38. float: left;
  39. position: relative;
  40. margin-left: 2%;
  41. }
  42. .disclaimer {
  43. width: 5%;
  44. min-width: 40px;
  45. float: left;
  46. color: #9C9C9C;
  47. text-align: center;
  48. border-right: 1px solid #f4f3f3;
  49. box-sizing: border-box;
  50. display: table;
  51. p{
  52. width:14px;
  53. display: table-cell;
  54. word-break: break-all;
  55. vertical-align: middle;
  56. }
  57. .version{
  58. font-size: 12px;
  59. line-height: 15px;
  60. span{
  61. color: #267FD7;
  62. line-height: 14px;
  63. }
  64. &.new-icon i{
  65. display: inline-block;
  66. width: 100%;
  67. height: 26px;
  68. background: url("../images/newv.png") -3px -4px no-repeat;
  69. }
  70. }
  71. }
  72. .warning, .diagRecommend {
  73. h4 {
  74. color: #FF545B;
  75. }
  76. }
  77. .symptomRecommend, .physiExamRecommend, .labAndPacsRecommend {
  78. h4 {
  79. color: #157FD5;
  80. }
  81. }
  82. .conditTips {
  83. h4 {
  84. color: #E66225;
  85. }
  86. }
  87. .treatRecommend {
  88. h4 {
  89. color: #1AB3A9;
  90. }
  91. }
  92. .treatRecommend {
  93. position: relative;
  94. }
  95. .icon{
  96. display: block;
  97. width: 20px;
  98. float: left;
  99. }
  100. .labAndPacsBox, .treatItemBox {
  101. position: relative;
  102. }
  103. .itemAllBox {
  104. background: #fff;
  105. border: 1px solid #3A73E1;
  106. border-radius: 4px;
  107. box-sizing: border-box;
  108. }
  109. .slideDown {
  110. background-color: #fff;
  111. position: absolute;
  112. top: 0px;
  113. right: 0px;
  114. height: 20px;
  115. line-height: 20px;
  116. box-shadow: -2px 0px 15px 0px #fff;
  117. cursor: pointer;
  118. img {
  119. display: inline-block;
  120. position: relative;
  121. top: 2px;
  122. }
  123. }
  124. .slideup {
  125. background-color: #fff;
  126. position: absolute;
  127. float: right;
  128. top: 0px;
  129. right: 0px;
  130. cursor: pointer;
  131. line-height: 20px;
  132. box-shadow: -2px 0px 15px 0px #fff;
  133. img {
  134. display: inline-block;
  135. position: relative;
  136. top: 2px;
  137. }
  138. }
  139. .itemAllBox{
  140. position: absolute;
  141. width: 96%;
  142. height: auto;
  143. max-height: 230px;
  144. display: none;
  145. background: #fff;
  146. z-index: 2;
  147. left: 0;
  148. top: 0;
  149. margin: 10px 0;
  150. }
  151. .ellipse{
  152. overflow: hidden;
  153. white-space: nowrap;
  154. text-overflow: ellipsis;
  155. }
  156. .conditTipsbox .conditionMain {
  157. height: 20px;
  158. .mayIllness{
  159. float: left;
  160. }
  161. }
  162. .recommendInfoItem,.diagNameBox {
  163. .infoMsg,
  164. .infoMsgOn {
  165. top: 4px;
  166. }
  167. }
  168. .infoMsg,
  169. .infoMsgOn {
  170. top: 8px;
  171. }
  172. .infoMsg,
  173. .infoMsgOn {
  174. position: absolute;
  175. right: 0px;
  176. display: none;
  177. cursor: pointer;
  178. }
  179. .durgNameBox {
  180. position: relative;
  181. padding-right: 15px;
  182. display: inline-block;
  183. }
  184. .recommendInfoItemHasInfo:hover,
  185. .diagNameBox:hover,
  186. .durgNameBox:hover {
  187. color: #267FD7;
  188. .infoMsg {
  189. display: inline-block;
  190. width: 14px;
  191. height: 14px;
  192. background: url(/images/msg1.png) center center no-repeat;
  193. }
  194. .infoMsg:hover {
  195. background: url(/images/msg2.png) center center no-repeat;
  196. }
  197. }
  198. .diagNameBox {
  199. position: relative;
  200. padding-right: 15px;
  201. }
  202. .more {
  203. display: inline-block;
  204. background-color: #fff;
  205. position: absolute;
  206. right: 0px;
  207. color: #267FD7;
  208. height: 20px;
  209. line-height: 20px;
  210. box-shadow: -2px 0px 15px 0px #fff;
  211. cursor: pointer;
  212. }
  213. .conditTipsbox .more {
  214. top: 0px;
  215. }
  216. .push .conditTips {
  217. height: 100%;
  218. max-height: 40px;
  219. }
  220. .diagName {
  221. color: #040428;
  222. }
  223. .treatItemTitle, .tipsTitle {
  224. // font-weight: bold;
  225. font-size: 14px;
  226. color: #000000;
  227. float: left;
  228. width: 60px;
  229. height: 30px;
  230. line-height: 30px;
  231. float: left;
  232. }
  233. .tipsTitle {
  234. margin-top: 10px;
  235. }
  236. .infomationBox .recommendInfoBox {
  237. margin-left: 0px;
  238. }
  239. .infomationBox .treatTextBox {
  240. margin-left: 80px;
  241. line-height: 30px;
  242. height: 90px;
  243. overflow:hidden;
  244. // text-overflow:ellipsis;
  245. // display: -webkit-box;
  246. // -webkit-box-orient: vertical;
  247. // -webkit-line-clamp: 3;
  248. }
  249. .infomationBox .treatDrugBox {
  250. margin-left: 80px;
  251. line-height: 30px;
  252. height: 90px;
  253. overflow: hidden;
  254. }
  255. .tipsInfoBox {
  256. margin: 10px 0 0 0px;
  257. line-height: 20px;
  258. height: 180px;
  259. overflow-y: auto;
  260. img {
  261. display: none;
  262. }
  263. }
  264. .diagName {
  265. height: 30px;
  266. line-height: 30px;
  267. }
  268. .drugTreatmentInfoItemBox {
  269. .ellipse;
  270. height: 30px;
  271. }
  272. .infomationBox .treatRecommend {
  273. margin-top: 10px;
  274. }
  275. .labAndPacsRecommend .labAndPacsTitle {
  276. padding: 0 5px;
  277. margin-right: 5px;
  278. background: #e2eaf2;
  279. border-radius: 4px;
  280. }
  281. .pacsRecommendwrapper {
  282. margin-top: 10px;
  283. }
  284. .labAndPacsItem {
  285. display: inline-block;
  286. padding-right: 15px;
  287. }
  288. .treatRecommendbox {
  289. margin-top: 10px;
  290. }
  291. .treatItemBox .more{
  292. bottom: 0;
  293. height: 30px;
  294. line-height: 30px;
  295. }
  296. .itemAllBox h4{
  297. float: left;
  298. margin-right: 10px;
  299. }
  300. .recommendInfoItem {
  301. position: relative;
  302. display: inline-block;
  303. }
  304. .itemAll{
  305. max-height: 230px;
  306. overflow-y: auto;
  307. margin-right: 20px;
  308. }
  309. .recommendInfoItem {
  310. position: relative;
  311. padding-right: 15px;
  312. }
  313. .recommendNull {
  314. color: #ADADAD;
  315. }
  316. .disclaimer, .illnessTable {
  317. cursor: pointer;
  318. }
  319. .tipsInfoWrapper {
  320. position: relative;
  321. margin: 10px 0 0 0;
  322. }
  323. .infoTab {
  324. margin-right: 15px;
  325. cursor: pointer;
  326. }
  327. .activeTab {
  328. color: #267FD7;
  329. border-bottom: 2px solid #267FD7;
  330. }
  331. .moreInfo {
  332. display: inline-block;
  333. width:42px;
  334. height:20px;
  335. border-radius:4px;
  336. border:1px solid #267FD7;
  337. line-height:20px;
  338. color: #267FD7;
  339. text-align: center;
  340. margin-left: 20px;
  341. cursor: pointer;
  342. }
  343. .durgNameBox {
  344. .medicineWaring {
  345. background-color: #f4c051;
  346. color: #000;
  347. font-size: 12px;
  348. border-radius: 4px;
  349. border: 1px solid #fff;
  350. line-height: 18px;
  351. }
  352. .medicineWaringDisMsg {
  353. background-color: #fff;
  354. color: @grayColor;
  355. font-size: 12px;
  356. border-radius: 4px;
  357. line-height: 18px;
  358. border: 1px solid @grayColor;
  359. }
  360. .medicineWaringDisMsg {
  361. color: @grayColor;
  362. }
  363. }
  364. .medicineWaringDis {
  365. color: @grayColor;
  366. }
  367. .medicineWaringDis:hover {
  368. color: @grayColor;
  369. }
  370. .staticWin {
  371. text-decoration: underline;
  372. cursor: pointer;
  373. position: relative;
  374. margin: 10px 0 0 0;
  375. }
  376. .tipsInfoItem{
  377. position: relative;
  378. // max-height: 60px;
  379. overflow: hidden;
  380. }
  381. .hasMore:after{
  382. content: "...";
  383. position: absolute;
  384. bottom: 0;
  385. right: 0;
  386. padding-left: 20px;
  387. background: -webkit-linear-gradient(left, transparent, #fff 55%);
  388. background: -moz-linear-gradient(left, transparent, #fff 55%);
  389. background: -o-linear-gradient(left, transparent, #fff 55%);
  390. background: linear-gradient(to right, transparent, #fff 55%);
  391. }