index.less 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. .drug-info-wrapper {
  2. position: fixed;
  3. overflow: hidden;
  4. width: 950px;
  5. height: 80%;
  6. left: 50%;
  7. top: 10%;
  8. margin-left: -475px;
  9. background: #fff;
  10. z-index: 303;
  11. padding: 40px 0 60px;
  12. box-shadow: 0px 0px 5px -2px #7d7c7c;
  13. }
  14. .drug-desc-wrapper {
  15. height: 100%;
  16. overflow-y: auto;
  17. padding: 0 40px;
  18. }
  19. .drug-title {
  20. position: absolute;
  21. top: 0;
  22. width: 100%;
  23. height: 40px;
  24. line-height: 40px;
  25. padding: 0 40px;
  26. border-bottom: 1px solid #979797;
  27. cursor: move;
  28. moz-user-select: -moz-none;
  29. -moz-user-select: none;
  30. -o-user-select:none;
  31. -khtml-user-select:none;
  32. -webkit-user-select:none;
  33. -ms-user-select:none;
  34. user-select:none;
  35. }
  36. .close-drug-desc {
  37. position: absolute;
  38. right: 0;
  39. top: 0;
  40. z-index: 9999;
  41. width: 40px;
  42. }
  43. .drug-desc-item {
  44. zoom: 1;
  45. padding: 5px 0;
  46. &:after{
  47. content: "";
  48. display: block;
  49. height: 0;
  50. clear: both;
  51. visibility: hidden;
  52. }
  53. }
  54. .drug-desc-title {
  55. display: inline-block;
  56. font-weight: bold;
  57. font-size: 14px;
  58. height: 100%;
  59. float: left;
  60. width: 190px;
  61. text-align-last:justify; /*chrome*/
  62. text-justify: distribute; /*ff*/
  63. }
  64. .drug-desc-title::before {
  65. content: '【'
  66. }
  67. .drug-desc-title::after {
  68. content: '】'
  69. }
  70. .drug-title1 {
  71. height: 60px;
  72. line-height: 60px;
  73. font-size: 32px;
  74. color: #000000;
  75. text-align: center;
  76. }
  77. .drug-desc-content {
  78. /*width: 100%;*/
  79. margin-left: 210px;
  80. margin-right: 160px;
  81. }
  82. .content-menu-box {
  83. position: absolute;
  84. top: 50px;
  85. right: -20px;
  86. width: 200px;
  87. height: 80%;
  88. overflow-y: auto;
  89. }
  90. .content-menu {
  91. background: #eee;
  92. border: 1px solid #eee;
  93. width: 160px;
  94. padding: 15px 18px;
  95. }
  96. .details-content-menu-line {
  97. height: 15px;
  98. width: 0;
  99. border: 1px solid #ccc;
  100. background-color: #ccc;
  101. margin-left: 4px
  102. }
  103. .details-content-menu-name {
  104. color: #33475f;
  105. font-size: 13px;
  106. cursor: pointer;
  107. }
  108. .details-content-menu-circle {
  109. display: inline-block;
  110. width: 8px;
  111. height: 8px;
  112. border-radius: 5px;
  113. border: 1px solid #ccc;
  114. margin-top: 5px;
  115. background-color: #eee;
  116. margin-right: 10px;
  117. }