index.less 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. .treat-desc-box{
  2. float: left;
  3. width: 0;
  4. overflow: hidden;
  5. }
  6. .drug-desc-wrapper {
  7. height: 100%;
  8. overflow-y: auto
  9. }
  10. .drug-desc-title {
  11. height: 40px;
  12. line-height: 40px;
  13. border-bottom: 1px solid #e0e2e4;
  14. padding-left: 20px;
  15. width: 260px;
  16. position: absolute;
  17. background: #fff;
  18. top: 0px;
  19. margin-left: -20px;
  20. }
  21. .recommend-title, .drug-title {
  22. padding: 30px 0 15px 20px;
  23. width: 240px;
  24. }
  25. .drug-desc-item {
  26. padding: 0 0 0 20px;
  27. line-height: 26px;
  28. width: 240px;
  29. }
  30. .close-drug-desc {
  31. position: absolute;
  32. right: 0px;
  33. }
  34. .similar-drug-box {
  35. display: none;
  36. }
  37. .similar-drug {
  38. position: absolute;
  39. padding-top: 40px;
  40. overflow-y: auto;
  41. width: 260px;
  42. left: 680px;
  43. height: 100%;
  44. top: 0;
  45. background: #fff;
  46. padding: 60px 20px 80px;
  47. box-shadow: 2px 0px 5px -2px #7d7c7c;
  48. }
  49. .drug-name-box {
  50. display: inline-block;
  51. height: 30px;
  52. position: relative;
  53. }
  54. .drug-name {
  55. border-bottom: 1px solid #666;
  56. display: inline-block;
  57. cursor: pointer;
  58. }
  59. .info-img {
  60. width: 15px;
  61. margin: 0 3px -1px;
  62. cursor: pointer;
  63. position: absolute;
  64. top: -10px;
  65. }
  66. .info-flag {
  67. display: inline-block;
  68. width: 34px;
  69. height: 16px;
  70. line-height: 16px;
  71. border-radius: 4px;
  72. text-align: center;
  73. }
  74. .drug-desc-class-title {
  75. display: inline-block;
  76. width: 210px;
  77. overflow: hidden;
  78. text-overflow: ellipsis;
  79. white-space: nowrap;
  80. }