index.less 9.6 KB

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