exam_detail_img.less 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. @title-top: #3181ff;
  2. @title-bg: #e0ecff;
  3. @body-bg: #2382ff;
  4. .body {
  5. margin-top: 90px;
  6. h4 {
  7. font-weight: 600;
  8. }
  9. .edi-a {
  10. display: block;
  11. background-color: #f5f5f5;
  12. padding: 10px;
  13. margin: 5px 0px;
  14. border-radius: 5px;
  15. color: #777;
  16. position: relative;
  17. span {
  18. display: block !important;
  19. overflow: hidden;
  20. white-space: nowrap;
  21. text-overflow: ellipsis;
  22. width: calc(~"100% - 16px");
  23. }
  24. i {
  25. color: #ccc;
  26. position: absolute;
  27. right: 10px;
  28. top: 12px
  29. }
  30. }
  31. .edi-p1 {
  32. font-size: 12px;
  33. color: #777;
  34. line-height: 50px;
  35. margin: 0;
  36. }
  37. .edi-p2 {
  38. color: #999;
  39. padding-bottom: 25px;
  40. border-bottom: 8px solid #f5f5f5;
  41. &>span:first-child {
  42. display: inline-block;
  43. padding: 5px 5px 0px 5px;
  44. border-radius: 15px 15px 5px 5px;
  45. background-color: #f5f5f5;
  46. }
  47. .edi-p-span {
  48. padding: 5px 0px 0px;
  49. span {
  50. margin-right: 20px;
  51. font-size: 12px;
  52. }
  53. img {
  54. width: 20px;
  55. height: 20px;
  56. }
  57. }
  58. }
  59. .edi-body {
  60. position: relative;
  61. padding-bottom: 50px;
  62. height: 800px;
  63. overflow: hidden;
  64. .edi-user {
  65. margin-top: 10px;
  66. padding: 10px;
  67. display: flex;
  68. justify-content: space-between;
  69. align-items: center;
  70. @media screen and (max-width:768px) {
  71. & {
  72. padding: 10px 0px;
  73. }
  74. }
  75. .left {
  76. display: flex;
  77. justify-content: flex-start;
  78. align-items: center;
  79. img {
  80. width: 50px;
  81. height: 50px;
  82. margin: 0 10px;
  83. @media screen and (max-width:768px) {
  84. & {
  85. width: 30px;
  86. height: 30px;
  87. margin-left: 0px;
  88. margin-right: 5px;
  89. }
  90. }
  91. }
  92. div {
  93. p {
  94. text-align: start;
  95. margin: 5px 0;
  96. @media screen and (max-width:768px) {
  97. & {
  98. margin: 0;
  99. }
  100. }
  101. }
  102. &>p:last-child {
  103. font-size: 12px;
  104. color: #999;
  105. }
  106. }
  107. }
  108. .right {
  109. i {
  110. background-color: @body-bg;
  111. font-size: 25px;
  112. padding: 10px;
  113. border-radius: 50%;
  114. color: #fff;
  115. text-align: center;
  116. margin-left: 10px;
  117. @media screen and (max-width:768px) {
  118. & {
  119. font-size: 5px;
  120. margin-left: 0;
  121. }
  122. }
  123. }
  124. }
  125. }
  126. #title {
  127. font-weight: bold;
  128. }
  129. p {
  130. width: 100%;
  131. text-align: center;
  132. img {
  133. width: 100%;
  134. }
  135. }
  136. #edi-answer {
  137. color: #f03;
  138. }
  139. .edi-open {
  140. width: 100%;
  141. text-align: center;
  142. background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0, #fff 100%);
  143. position: absolute;
  144. bottom: 0px;
  145. padding-top: 50px;
  146. span{
  147. display: inline-block;
  148. border-radius: 30px;
  149. background-color: #eef5ff;
  150. padding: 6px 10px;
  151. color:@body-bg;
  152. i{
  153. margin-left: 5px;
  154. }
  155. }
  156. }
  157. }
  158. .edi-body-height{
  159. height: auto;
  160. }
  161. }