exam_detail_img.less 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339
  1. @body-bg: #03C762;
  2. .header{
  3. max-width: 768px;
  4. margin-left: calc(~"50vw - 389px");
  5. @media screen and (max-width:768px) {
  6. margin: auto;
  7. }
  8. .container{
  9. max-width: 768px ;
  10. }
  11. }
  12. .body {
  13. margin: auto;
  14. margin-top: 90px;
  15. max-width: 768px;
  16. h4 {
  17. font-weight: 600;
  18. }
  19. .edi-a {
  20. display: block;
  21. background-color: #f5f5f5;
  22. padding: 10px;
  23. margin: 5px 0px;
  24. border-radius: 5px;
  25. color: #777;
  26. position: relative;
  27. span {
  28. display: block !important;
  29. overflow: hidden;
  30. white-space: nowrap;
  31. text-overflow: ellipsis;
  32. width: calc(~"100% - 16px");
  33. }
  34. i {
  35. color: #ccc;
  36. position: absolute;
  37. right: 10px;
  38. top: 12px
  39. }
  40. }
  41. .edi-p1 {
  42. font-size: 12px;
  43. color: #777;
  44. line-height: 50px;
  45. margin: 0;
  46. }
  47. .edi-p2 {
  48. color: #999;
  49. padding-bottom: 25px;
  50. border-bottom: 8px solid #f5f5f5;
  51. &>span:first-child {
  52. display: inline-block;
  53. padding: 5px 5px 0px 5px;
  54. border-radius: 15px 15px 5px 5px;
  55. background-color: #f5f5f5;
  56. }
  57. .edi-p-span {
  58. padding: 5px 0px 0px;
  59. span {
  60. margin-right: 20px;
  61. font-size: 12px;
  62. }
  63. img {
  64. width: 20px;
  65. height: 20px;
  66. }
  67. }
  68. }
  69. .edi-body {
  70. position: relative;
  71. padding-bottom: 50px;
  72. height: 800px;
  73. overflow: hidden;
  74. .fixed{
  75. position: fixed;
  76. top: 0;
  77. width: 100%;
  78. background-color: #fff;
  79. border-bottom: 0;
  80. padding-bottom: 10px;
  81. @media screen and (max-width:768px){
  82. &{
  83. top: 80px;
  84. }
  85. }
  86. }
  87. .edi-user {
  88. margin-top: 10px;
  89. padding: 10px;
  90. display: flex;
  91. justify-content: space-between;
  92. align-items: center;
  93. @media screen and (max-width:768px) {
  94. & {
  95. padding: 10px 0px;
  96. }
  97. }
  98. .left {
  99. display: flex;
  100. justify-content: flex-start;
  101. align-items: center;
  102. img {
  103. width: 50px;
  104. height: 50px;
  105. margin: 0 10px;
  106. @media screen and (max-width:768px) {
  107. & {
  108. width: 30px;
  109. height: 30px;
  110. margin-left: 0px;
  111. margin-right: 5px;
  112. }
  113. }
  114. }
  115. div {
  116. p {
  117. text-align: start;
  118. margin: 5px 0;
  119. @media screen and (max-width:768px) {
  120. & {
  121. margin: 0;
  122. }
  123. }
  124. }
  125. &>p:last-child {
  126. font-size: 12px;
  127. color: #999;
  128. }
  129. }
  130. }
  131. .right {
  132. i {
  133. background-color: @body-bg;
  134. font-size: 25px;
  135. width: 45px;height: 45px;
  136. border-radius: 50%;
  137. color: #fff;
  138. text-align: center;
  139. line-height: 45px;
  140. margin-left: 10px;
  141. @media screen and (max-width:768px) {
  142. & {
  143. font-size: 5px;
  144. margin-left: 0;
  145. }
  146. }
  147. }
  148. }
  149. }
  150. #title {
  151. font-weight: bold;
  152. }
  153. p {
  154. width: 100%;
  155. text-align: center;
  156. img {
  157. width: 100%;
  158. }
  159. }
  160. .edi-line{
  161. color: #f03;
  162. display: flex;
  163. font-size: 16px;
  164. justify-content: center;align-items: center;
  165. &::after{
  166. content: '';
  167. display: inline-block;
  168. border-bottom: 1px solid #e6e6e6;
  169. width: 30%;
  170. margin-left: 10px;
  171. }
  172. &::before{
  173. content: '';
  174. display: inline-block;
  175. border-bottom: 1px solid #e6e6e6;
  176. width: 30%;
  177. margin-right: 10px;
  178. }
  179. }
  180. .edi-open {
  181. width: 100%;
  182. text-align: center;
  183. background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0, #fff 100%);
  184. position: absolute;
  185. bottom: 0px;
  186. padding-top: 50px;
  187. span{
  188. display: inline-block;
  189. border-radius: 30px;
  190. background-color: #eef5ff;
  191. padding: 6px 20px;
  192. color:@body-bg;
  193. i{
  194. margin-left: 5px;
  195. }
  196. }
  197. }
  198. }
  199. .edi-body-height{
  200. height: auto;
  201. }
  202. .edi-footer{
  203. margin-top: 50px;
  204. text-align: center;
  205. color: #777;
  206. .choose{
  207. width: 300px;
  208. margin: auto;
  209. display: flex;justify-content: space-around;
  210. align-items: center;
  211. .img{
  212. width: 66px;
  213. img{
  214. width: 100%;
  215. }
  216. color: #000;
  217. span{
  218. color: #777;
  219. margin-left: 5px;
  220. }
  221. }
  222. }
  223. }
  224. .interactive{
  225. .pull-left{
  226. label{
  227. vertical-align: middle;
  228. font-size: 14px;
  229. color: #777;
  230. font-weight: normal;
  231. }
  232. }
  233. h5{
  234. border-bottom: 1px solid #e6e6e6;
  235. padding: 10px 0px;
  236. margin: 5px 0px;
  237. }
  238. .pull-right{
  239. .active{
  240. color: #000;
  241. }
  242. span{
  243. color: #777;
  244. }
  245. }
  246. .alert{
  247. clear: both;
  248. }
  249. }
  250. .prog{
  251. background-color: #eef5ff;
  252. border-radius: 5px;
  253. padding: 20px;
  254. @media screen and (max-width:768px) {
  255. padding: 20px 5px;
  256. }
  257. position: relative;
  258. .title{
  259. color: @body-bg;
  260. position: absolute;
  261. top: 10px;
  262. }
  263. .flex{
  264. height: 50px;
  265. box-sizing: border-box;
  266. display: flex;justify-content: space-between;align-items: center;
  267. .pro{
  268. width: 100%;
  269. max-width: 50%;
  270. min-width:200px;
  271. box-sizing: border-box;
  272. height: 5px;
  273. border-radius: 5px;
  274. background-color: #fff;
  275. margin-right: 20px;
  276. position: relative;
  277. .pro-title{
  278. position: absolute;
  279. right: 0px;
  280. top: -20px;
  281. color: #999;
  282. }
  283. .pro-content{
  284. width: 0%;
  285. height: 100%;
  286. background-color: @body-bg;
  287. }
  288. .icon{
  289. position: absolute;
  290. width: 30px;
  291. height:30px;
  292. box-sizing: border-box;
  293. background-color: #fff;
  294. text-align: center;
  295. line-height: 27px;
  296. border-radius: 50%;
  297. top: -12px;
  298. border: 2px solid #7aaef3;
  299. }
  300. .pro-show{
  301. width: 100px;
  302. position: absolute;
  303. top: 20px;
  304. color: @body-bg;
  305. }
  306. }
  307. .button{
  308. width: 80px;
  309. line-height: 40px;
  310. text-align: center;
  311. color: #fff;
  312. background-color: #7aaef3;
  313. border-radius: 10px;
  314. box-sizing: border-box;
  315. }
  316. }
  317. }
  318. }