index.less 11 KB

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