exam_detail_img.less 6.4 KB

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