index.less 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502
  1. @charset "utf-8";
  2. #paper-question,
  3. #question-detail {
  4. height: 100%;
  5. .base {
  6. height: 100%;
  7. .layout {
  8. background: #fff;
  9. height: 100%;
  10. display: flex;
  11. flex-direction: row;
  12. // &.exercise {
  13. // border-top: 20px solid #7775CA;
  14. // background: #fff;
  15. // }
  16. // &.sentence {
  17. // border-top: 20px solid #435C96;
  18. // background: #fff;
  19. // }
  20. &.examination {
  21. border-top: 20px solid #8D909C;
  22. background: #fff;
  23. .layout-header {
  24. height: 60px;
  25. top: 20px;
  26. }
  27. }
  28. .layout-header {
  29. height: 60px;
  30. line-height: 60px;
  31. position: fixed;
  32. top: 0;
  33. left: 0;
  34. right: 0;
  35. box-shadow: 0px 4px 14px 0px rgba(189, 199, 215, 0.16);
  36. text-align: center;
  37. z-index: 80;
  38. .left {
  39. position: absolute;
  40. left: 50px;
  41. .btn {
  42. display: inline-block;
  43. padding-right: 10px;
  44. line-height: 60px;
  45. }
  46. .no {
  47. font-size: 20px;
  48. display: inline-block;
  49. color: #303036;
  50. font-size: 20px;
  51. margin-right: 25px;
  52. }
  53. .title {
  54. color: #A7A7B7;
  55. display: inline-block;
  56. font-size: 20px;
  57. img {
  58. margin-top: -3px;
  59. margin-right: 5px;
  60. }
  61. }
  62. }
  63. .menu-wrap {
  64. position: absolute;
  65. right: 0;
  66. text-align: left;
  67. padding: 0 10px;
  68. white-space: nowrap;
  69. .menu-content {
  70. position: absolute;
  71. background: #fff;
  72. text-align: left;
  73. top: 50px;
  74. right: 10px;
  75. border: 1px solid #EAEDF2;
  76. padding: 10px 20px;
  77. min-width: 150px;
  78. p {
  79. line-height: 30px;
  80. height: 30px;
  81. text-align: left;
  82. margin: 0;
  83. }
  84. }
  85. }
  86. .center {
  87. position: absolute;
  88. right: 50%;
  89. transform: translateX(100%);
  90. .icon {
  91. margin-left: 20px;
  92. }
  93. }
  94. .right {
  95. position: absolute;
  96. right: 50px;
  97. .b {
  98. margin-left: 30px;
  99. .s {
  100. color: #4299FF;
  101. }
  102. }
  103. .icon {
  104. margin-left: 10px;
  105. }
  106. }
  107. }
  108. }
  109. .layout-footer {
  110. position: fixed;
  111. bottom: 0;
  112. left: 0;
  113. right: 0;
  114. height: 60px;
  115. line-height: 60px;
  116. box-shadow: 0px -4px 14px 0px rgba(189, 199, 215, 0.16);
  117. .left {
  118. width: 30%;
  119. display: inline-block;
  120. padding-left: 50px;
  121. }
  122. .right {
  123. width: 30%;
  124. display: inline-block;
  125. text-align: right;
  126. padding-right: 50px;
  127. .icon {
  128. margin-left: 10px;
  129. }
  130. }
  131. .center {
  132. width: 40%;
  133. display: inline-block;
  134. text-align: center;
  135. .item {
  136. margin: 0 10px;
  137. }
  138. }
  139. }
  140. .layout-body {
  141. background: #fff;
  142. flex: 1;
  143. overflow: hidden;
  144. margin: 60px 0;
  145. .layout-content {
  146. height: 100%;
  147. position: relative;
  148. .one {
  149. flex: 1;
  150. display: flex;
  151. flex-direction: column;
  152. }
  153. .two {
  154. flex: 1;
  155. display: flex;
  156. flex-direction: row;
  157. overflow: hidden;
  158. height: 100%;
  159. }
  160. .block {
  161. flex: 1;
  162. }
  163. .block-content,
  164. .block-answer,
  165. .block-awa {
  166. padding: 30px 60px;
  167. color: #303036;
  168. height: 100%;
  169. overflow: hidden;
  170. overflow-y: auto;
  171. }
  172. .block-content {
  173. h2 {
  174. padding: 65px 0 20px 0px;
  175. font-size: 20px;
  176. color: #303036;
  177. }
  178. }
  179. .block-awa {
  180. background: #EFF3F7;
  181. h2 {
  182. font-size: 20px;
  183. color: #303036;
  184. margin-top: 37px;
  185. margin-bottom: 23px;
  186. }
  187. .detail {
  188. .info {
  189. font-weight: bold;
  190. font-size: 18px;
  191. color: #303036;
  192. span.b {
  193. margin-right: 80px;
  194. .s {
  195. color: #4299FF;
  196. }
  197. }
  198. }
  199. }
  200. .content-awa {
  201. padding-top: 50px;
  202. color: #686872;
  203. font-size: 16px;
  204. }
  205. .show-awa {
  206. font-size: 12px;
  207. width: 100%;
  208. height: 100%;
  209. margin: 50% 0;
  210. text-align: center;
  211. line-height: 20px;
  212. color: #A7A7B7;
  213. }
  214. }
  215. .block-analysis {
  216. background: #EFF3F7;
  217. padding: 25px 25px 0 20px;
  218. display: flex;
  219. flex-direction: column;
  220. .block-answer {
  221. padding: 38px 50px;
  222. }
  223. .block {
  224. background: #fff;
  225. }
  226. .detail {
  227. flex: 1;
  228. display: flex;
  229. flex-direction: column;
  230. .detail-block {
  231. margin-top: 5px;
  232. flex: 1;
  233. padding: 30px 50px;
  234. overflow: hidden;
  235. overflow-y: auto;
  236. font-size: 16px;
  237. color: #686872;
  238. background: #fff;
  239. }
  240. // .answer-block {
  241. // margin-bottom: 5px;
  242. // }
  243. }
  244. .other {
  245. flex: 1;
  246. background: #fff;
  247. padding: 30px 50px;
  248. overflow: hidden;
  249. overflow-y: auto;
  250. font-size: 16px;
  251. color: #686872;
  252. .other-answer {
  253. margin-bottom: 30px;
  254. }
  255. }
  256. }
  257. .two-analysis {
  258. position: absolute;
  259. height: 100%;
  260. top: 0;
  261. left: 0;
  262. width: 50%;
  263. transition: all 0.3s;
  264. transform: translateX(200%);
  265. }
  266. .two-analysis.show {
  267. transform: translateX(100%);
  268. }
  269. .fixed-analysis {
  270. height: 110px;
  271. line-height: 20px;
  272. position: absolute;
  273. width: 35px;
  274. padding: 5px;
  275. right: 0;
  276. top: 50%;
  277. transform: translateY(-50%);
  278. border: 1px solid #E7E7E7;
  279. background: #fff;
  280. z-index: 9;
  281. color: #787883;
  282. cursor: pointer;
  283. text-align: center;
  284. }
  285. }
  286. }
  287. .modal {
  288. position: fixed;
  289. top: 0;
  290. left: 0;
  291. right: 0;
  292. bottom: 0;
  293. >.mask {
  294. background: #000;
  295. opacity: .2;
  296. width: 100%;
  297. height: 100%;
  298. }
  299. .body {
  300. position: absolute;
  301. left: 50%;
  302. top: 50%;
  303. transform: translate(-50%, -50%);
  304. background: #fff;
  305. width: 630px;
  306. color: #686872;
  307. padding: 20px 30px;
  308. .title {
  309. color: #303036;
  310. font-size: 20px;
  311. font-weight: 600;
  312. }
  313. .desc {
  314. color: #686872;
  315. font-size: 16px;
  316. padding: 20px 0;
  317. .select-inline {
  318. margin-bottom: 15px;
  319. .select {
  320. display: inline-block;
  321. }
  322. }
  323. .label {
  324. margin-bottom: 5px;
  325. }
  326. }
  327. .textarea {
  328. width: 570px;
  329. height: 80px;
  330. background: rgba(247, 247, 247, 1);
  331. margin-bottom: 15px;
  332. border: none;
  333. padding: 5px 10px;
  334. }
  335. .textarea::placeholder {
  336. color: #A7A7B7;
  337. }
  338. .bottom {
  339. border-top: 1px solid #E1E1E1;
  340. padding-top: 10px;
  341. text-align: right;
  342. }
  343. }
  344. }
  345. .modal.ask-ok,
  346. .modal.error-ok {
  347. .body {
  348. .content {
  349. width: 100%;
  350. padding-top: 20px;
  351. padding-bottom: 40px;
  352. color: #686872;
  353. overflow: hidden;
  354. .left {
  355. float: left;
  356. width: 360px;
  357. font-size: 18px;
  358. a {
  359. padding-top: 30px;
  360. display: inline-block;
  361. font-size: 14px;
  362. }
  363. }
  364. .right {
  365. float: right;
  366. text-align: right;
  367. font-size: 12px;
  368. }
  369. }
  370. .confirm {
  371. text-align: center;
  372. padding-bottom: 10px;
  373. .answer-button.lager {
  374. font-size: 16px;
  375. }
  376. }
  377. }
  378. }
  379. .modal.note {
  380. .body {
  381. width: 720px;
  382. .content {
  383. padding-top: 20px;
  384. width: 100%;
  385. .tabs {
  386. display: inline-block;
  387. width: 170px;
  388. vertical-align: top;
  389. margin-left: -30px;
  390. margin-right: 30px;
  391. height: 100%;
  392. .tab {
  393. padding: 5px 0px 5px 40px;
  394. line-height: 20px;
  395. color: #686872;
  396. margin-bottom: 30px;
  397. cursor: pointer;
  398. transition: all 0.3s;
  399. border-top-right-radius: 25px;
  400. border-bottom-right-radius: 25px;
  401. .date {
  402. font-size: 12px;
  403. }
  404. }
  405. .tab.active,
  406. .tab:hover {
  407. color: #fff;
  408. background: #4299FF;
  409. }
  410. }
  411. .input {
  412. display: inline-block;
  413. .textarea {
  414. width: 490px;
  415. height: 350px;
  416. margin-bottom: 20px;
  417. }
  418. }
  419. }
  420. }
  421. }
  422. }
  423. }