index.less 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. @import "~@less/mixin.less";
  2. .treat-wrapper{
  3. position: fixed;
  4. width: 100%;
  5. height: 100%;
  6. left: 0;
  7. top: 0;
  8. // background: #fff;
  9. // left: 50%;
  10. // top: 25%;
  11. // width: 680px;
  12. // margin-left: -340px;
  13. // margin-top: -340px;
  14. // z-index: 301;
  15. z-index: 300;
  16. }
  17. .close {
  18. position: absolute;
  19. z-index:9999;
  20. top: 0;
  21. right: 0;
  22. }
  23. .treat-mask {
  24. position: fixed;
  25. width: 100%;
  26. height: 100%;
  27. top: 0;
  28. left: 0;
  29. z-index: 300;
  30. background: #000;
  31. opacity: 0.6;
  32. filter:alpha(opacity=60);
  33. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=60);";
  34. }
  35. .treat-box {
  36. position: fixed;
  37. background: #fff;
  38. width: 680px;
  39. left: 50%;
  40. top: 10%;
  41. height: 80%;
  42. margin-left: -340px;
  43. z-index: 301;
  44. padding-top: 40px;
  45. padding-bottom: 80px;
  46. box-shadow: 0px 0px 5px -2px #7d7c7c;
  47. }
  48. .treat-title {
  49. width: 100%;
  50. position: absolute;
  51. top: 0px;
  52. background: #fff;
  53. height: 40px;
  54. line-height: 40px;
  55. border-bottom: 1px solid #e0e2e4;
  56. padding-left: 20px;
  57. cursor: move;
  58. moz-user-select: -moz-none;
  59. -moz-user-select: none;
  60. -o-user-select:none;
  61. -khtml-user-select:none;
  62. -webkit-user-select:none;
  63. -ms-user-select:none;
  64. user-select:none;
  65. img{
  66. float: right;
  67. cursor: pointer;
  68. font-size: 18px;
  69. line-height: 30px;
  70. color: @text-color;
  71. }
  72. }
  73. .treat-inner-box {
  74. width: 100%;
  75. height: 100%;
  76. padding: 10px 20px 0 20px;
  77. overflow-y: auto;
  78. }
  79. .bottom {
  80. position: absolute;
  81. width: 100%;
  82. height: 80px;
  83. line-height: 40px;
  84. background: #fff;
  85. }
  86. .prescription-btn,.determine-btn {
  87. position: absolute;
  88. display: block;
  89. width: 80px;
  90. height: 34px;
  91. line-height: 34px;
  92. border-radius: 4px;
  93. text-align: center;
  94. cursor: pointer;
  95. top: 20px;
  96. }
  97. .prescription-btn {
  98. left: 340px;
  99. border: 1px solid #333333;
  100. }
  101. .determine-btn {
  102. left: 440px;
  103. background: #3B9ED0;
  104. border-radius: 4px;
  105. color: #fff;
  106. }