pages.scss 20 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096
  1. // org-property
  2. .org-property {
  3. .org-header {
  4. margin-bottom: 20px;
  5. background-color: #fff;
  6. border-radius: 20px;
  7. }
  8. .part-box-header {
  9. padding: 20px;
  10. }
  11. .org-body {
  12. &-title {
  13. font-size: 16px;
  14. margin-bottom: 10px;
  15. }
  16. }
  17. .label-title {
  18. .el-form-item__label {
  19. font-size: 16px;
  20. font-weight: 600;
  21. }
  22. }
  23. }
  24. // data-privilege
  25. .data-privilege {
  26. .privilege-part {
  27. margin-bottom: 20px;
  28. background-color: #fff;
  29. border-radius: 20px;
  30. }
  31. .privilege-header {
  32. padding-bottom: 0;
  33. &-top {
  34. padding: 30px 30px 0;
  35. border-bottom: 1px solid #eff0f5;
  36. .box-justify {
  37. padding-bottom: 15px;
  38. border-bottom: 1px solid #eff0f5;
  39. }
  40. .el-form-linemess {
  41. padding: 10px 0 0;
  42. }
  43. }
  44. }
  45. .privilege-body {
  46. .box-justify {
  47. padding: 20px 30px;
  48. border-bottom: 1px solid #eff0f5;
  49. }
  50. .privilege-table {
  51. padding: 20px;
  52. }
  53. }
  54. }
  55. .part-tabs {
  56. padding: 0 30px;
  57. &-item {
  58. display: inline-block;
  59. vertical-align: top;
  60. padding: 20px 0 30px;
  61. line-height: 20px;
  62. position: relative;
  63. cursor: pointer;
  64. &:hover {
  65. color: $--color-primary;
  66. }
  67. &.is-active {
  68. color: $--color-primary;
  69. font-weight: 600;
  70. &::before {
  71. content: "";
  72. display: block;
  73. position: absolute;
  74. width: 30%;
  75. border-bottom: 2px solid $--color-primary;
  76. left: 50%;
  77. bottom: 0;
  78. transform: translateX(-50%);
  79. }
  80. }
  81. &:not(:last-child) {
  82. .part-tabs-name {
  83. border-right: 1px solid $--color-border;
  84. }
  85. }
  86. }
  87. &-name {
  88. padding: 0 20px;
  89. }
  90. }
  91. // .property-info
  92. .property-box {
  93. padding: 20px;
  94. }
  95. .property-tree {
  96. .el-tree-node__content {
  97. padding: 5px 10px !important;
  98. height: auto;
  99. min-height: 36px;
  100. word-wrap: break-word;
  101. white-space: normal;
  102. }
  103. .el-tree-node.is-current > .el-tree-node__content {
  104. border-radius: 5px;
  105. background-color: #e7ebf8;
  106. }
  107. .node-level-one {
  108. font-weight: 600;
  109. }
  110. // .el-tree-node__expand-icon {
  111. // padding: 0;
  112. // border-radius: 50%;
  113. // border: 2px solid #888a9a;
  114. // color: #888a9a;
  115. // margin-right: 8px;
  116. // &.is-leaf {
  117. // color: transparent;
  118. // border-color: transparent;
  119. // }
  120. // }
  121. }
  122. // paper-structure-info
  123. .topic-set {
  124. text-align: center;
  125. border: 1px solid #6e7590;
  126. color: #393c4c;
  127. border-radius: 10px;
  128. background-color: #b1b6ce;
  129. overflow: hidden;
  130. &-title {
  131. height: 34px;
  132. line-height: 34px;
  133. color: #fff;
  134. border-bottom: 1px solid #6e7590;
  135. }
  136. &-content {
  137. background-color: #fff;
  138. padding: 2px;
  139. .el-input__inner {
  140. border: none;
  141. text-align: center;
  142. border-top-right-radius: 0 !important;
  143. border-top-left-radius: 0 !important;
  144. border-bottom-left-radius: 10 !important;
  145. border-bottom-right-radius: 10 !important;
  146. }
  147. }
  148. }
  149. .topic-set-list {
  150. .topic-set {
  151. min-width: 100px;
  152. display: inline-block;
  153. vertical-align: top;
  154. margin: 0 5px;
  155. }
  156. }
  157. // edit paper
  158. .edit-paper {
  159. .edit-header {
  160. padding: 0 60px;
  161. position: fixed;
  162. top: 0;
  163. left: 0;
  164. right: 0;
  165. background-color: #fff;
  166. z-index: 999;
  167. box-shadow: 0px 20px 20px 0px rgba(212, 220, 243, 0.2);
  168. &-top {
  169. padding: 15px 0;
  170. border-bottom: 1px solid #eff0f5;
  171. }
  172. &-bottom {
  173. padding: 15px 0;
  174. }
  175. }
  176. .header-info {
  177. font-size: 0;
  178. &-item {
  179. display: inline-block;
  180. vertical-align: middle;
  181. font-size: 14px;
  182. padding: 0 10px;
  183. &:first-child {
  184. padding-left: 0;
  185. }
  186. &:not(:last-child) {
  187. border-right: 1px solid #eff0f5;
  188. }
  189. > span {
  190. margin-left: 3px;
  191. }
  192. }
  193. &-input {
  194. display: inline;
  195. .el-input__inner {
  196. border: 0;
  197. border-radius: 0;
  198. border-bottom: 1px solid #d0d6f1;
  199. padding: 0 5px;
  200. width: 120px;
  201. height: 20px;
  202. line-height: 20px;
  203. font-size: 14px;
  204. }
  205. }
  206. }
  207. .edit-body {
  208. margin: 0 60px;
  209. padding-top: 150px;
  210. }
  211. .edit-part-list {
  212. background: #ffffff;
  213. margin-bottom: 20px;
  214. border-radius: 20px;
  215. box-shadow: 0px 20px 20px 0px rgba(212, 220, 243, 0.2);
  216. overflow: hidden;
  217. }
  218. .edit-part {
  219. padding: 30px 0;
  220. display: flex;
  221. justify-content: space-between;
  222. align-items: stretch;
  223. position: relative;
  224. &.question-duplicate {
  225. &::after {
  226. content: "";
  227. display: block;
  228. position: absolute;
  229. left: 0;
  230. top: 0;
  231. width: 20px;
  232. height: 100%;
  233. z-index: 99;
  234. background-color: #ffa280;
  235. }
  236. }
  237. }
  238. .edit-property {
  239. flex-grow: 0;
  240. flex-shrink: 0;
  241. width: 360px;
  242. border-left: 1px solid #f0f2f6;
  243. padding: 0 30px;
  244. font-size: 0;
  245. margin: 0 -3px;
  246. &-item {
  247. display: inline-block;
  248. vertical-align: top;
  249. width: 25%;
  250. padding: 3px;
  251. font-size: 12px;
  252. }
  253. &-body {
  254. text-align: center;
  255. border: 1px solid #6e7590;
  256. color: #393c4c;
  257. border-radius: 8px;
  258. background-color: #73c7ff;
  259. line-height: 24px;
  260. overflow: hidden;
  261. }
  262. &-title {
  263. color: #fff;
  264. border-bottom: 1px solid #6e7590;
  265. }
  266. &-content {
  267. background-color: #fff;
  268. }
  269. }
  270. .edit-property-danger {
  271. .edit-property-title {
  272. background-color: #ffa280;
  273. }
  274. }
  275. .edit-cont {
  276. position: relative;
  277. padding: 0 30px 35px;
  278. flex-grow: 2;
  279. overflow: hidden;
  280. &-title {
  281. min-height: 42px;
  282. line-height: 20px;
  283. font-weight: 600;
  284. color: #313444;
  285. overflow-x: auto;
  286. > h3 {
  287. font-size: 16px;
  288. font-weight: 600;
  289. }
  290. p {
  291. display: inline;
  292. }
  293. audio {
  294. display: inline-block;
  295. vertical-align: top;
  296. height: 20px;
  297. }
  298. }
  299. &-action {
  300. position: absolute;
  301. width: 100%;
  302. height: 35px;
  303. left: 0;
  304. bottom: 0;
  305. z-index: 8;
  306. padding: 0 30px;
  307. text-align: right;
  308. }
  309. &-body {
  310. line-height: 20px;
  311. color: #6e7080;
  312. overflow-x: auto;
  313. p {
  314. margin-bottom: 0;
  315. }
  316. audio {
  317. display: inline-block;
  318. vertical-align: top;
  319. height: 20px;
  320. }
  321. }
  322. }
  323. .paper-option {
  324. line-height: 20px;
  325. p {
  326. display: inline;
  327. }
  328. audio {
  329. display: inline-block;
  330. vertical-align: top;
  331. height: 20px;
  332. }
  333. }
  334. .paper-answer {
  335. line-height: 20px;
  336. > span {
  337. display: inline-block;
  338. vertical-align: top;
  339. }
  340. }
  341. .edit-paper-questions {
  342. > .edit-part {
  343. position: relative;
  344. &:first-child {
  345. box-shadow: 0px 20px 20px 0px rgba(212, 220, 243, 0.2) inset;
  346. border-top: 1px solid #e0e6f7;
  347. }
  348. &:not(:first-child) {
  349. &::before {
  350. content: "";
  351. display: block;
  352. position: absolute;
  353. top: 0;
  354. left: 30px;
  355. right: 0;
  356. z-index: auto;
  357. border-bottom: 1px solid #e0e6f7;
  358. }
  359. }
  360. }
  361. }
  362. .edit-paper-question-subs {
  363. padding-left: 80px;
  364. > .edit-part {
  365. border-top: 1px solid #e0e6f7;
  366. }
  367. }
  368. }
  369. // view-paper
  370. .view-paper {
  371. padding: 76px 60px 50px;
  372. .view-header {
  373. padding: 20px 60px;
  374. position: fixed;
  375. height: 76px;
  376. top: 0;
  377. left: 0;
  378. right: 0;
  379. z-index: 999;
  380. background-color: $--color-background;
  381. }
  382. .header-info {
  383. font-size: 0;
  384. &-item {
  385. display: inline-block;
  386. vertical-align: middle;
  387. font-size: 14px;
  388. padding: 0 10px;
  389. &:first-child {
  390. padding-left: 0;
  391. }
  392. > span {
  393. margin-left: 3px;
  394. }
  395. }
  396. }
  397. .view-body {
  398. border-radius: 20px;
  399. background-color: #fff;
  400. overflow: hidden;
  401. padding: 30px;
  402. }
  403. .view-title {
  404. text-align: center;
  405. margin-bottom: 20px;
  406. .paper-title {
  407. height: 45px;
  408. font-size: 32px;
  409. font-weight: 500;
  410. line-height: 45px;
  411. margin-bottom: 10px;
  412. }
  413. .paper-title-sub {
  414. font-size: 16px;
  415. font-weight: 500;
  416. color: #9a9dab;
  417. line-height: 22px;
  418. margin-bottom: 10px;
  419. }
  420. }
  421. .view-summary {
  422. padding-bottom: 30px;
  423. }
  424. .view-seperator {
  425. border-bottom: 1px solid #f0f2f6;
  426. margin: 0 -30px;
  427. }
  428. .view-part {
  429. position: relative;
  430. padding: 30px 0;
  431. &:not(:last-child) {
  432. border-bottom: 1px solid #f0f2f6;
  433. }
  434. &-action {
  435. position: absolute;
  436. background-color: #fff;
  437. top: 30px;
  438. right: 10px;
  439. border-radius: 10px;
  440. z-index: 9;
  441. }
  442. .paper-question-title {
  443. margin-bottom: 10px;
  444. }
  445. .paper-question-body {
  446. color: #6e7080;
  447. }
  448. }
  449. .view-quesiton {
  450. padding: 20px 30px;
  451. border-radius: 15px;
  452. background: #f4f6fc;
  453. position: relative;
  454. &:not(:last-child) {
  455. margin-bottom: 10px;
  456. }
  457. .view-part-action {
  458. top: 10px;
  459. }
  460. }
  461. .view-question-subs {
  462. .view-part {
  463. padding: 20px;
  464. }
  465. }
  466. }
  467. // paper
  468. .paper {
  469. &-question-title {
  470. min-height: 22px;
  471. font-size: 16px;
  472. font-weight: 600;
  473. color: #313444;
  474. line-height: 22px;
  475. overflow-x: auto;
  476. p {
  477. display: inline;
  478. }
  479. audio {
  480. display: inline-block;
  481. vertical-align: top;
  482. height: 20px;
  483. }
  484. }
  485. &-question-body {
  486. min-height: 24px;
  487. line-height: 24px;
  488. overflow-x: auto;
  489. p {
  490. margin-bottom: 0;
  491. }
  492. audio {
  493. display: inline-block;
  494. vertical-align: top;
  495. height: 20px;
  496. }
  497. }
  498. &-question-option {
  499. line-height: 24px;
  500. overflow-x: auto;
  501. p {
  502. display: inline;
  503. }
  504. audio {
  505. display: inline-block;
  506. vertical-align: top;
  507. height: 20px;
  508. }
  509. }
  510. }
  511. .row-question-body {
  512. line-height: 24px;
  513. cursor: pointer;
  514. p {
  515. white-space: nowrap;
  516. text-overflow: ellipsis;
  517. overflow: hidden;
  518. margin-bottom: 0;
  519. }
  520. }
  521. // question-edit
  522. .question-edit-option {
  523. display: flex;
  524. align-items: center;
  525. justify-content: space-between;
  526. .option-check {
  527. width: 60px;
  528. flex-grow: 0;
  529. flex-shrink: 0;
  530. }
  531. .option-delete {
  532. padding-left: 20px;
  533. flex-grow: 0;
  534. flex-shrink: 0;
  535. text-align: center;
  536. }
  537. .option-body {
  538. flex-grow: 2;
  539. }
  540. .rich-text {
  541. vertical-align: middle;
  542. }
  543. }
  544. // question-preview
  545. .question-preview {
  546. .paper-question-body {
  547. padding-top: 6px;
  548. }
  549. .sub-question {
  550. margin: 15px 0 15px 40px;
  551. padding: 5px 0;
  552. border-top: 1px solid $--color-border;
  553. position: relative;
  554. &-no {
  555. position: absolute;
  556. width: 16px;
  557. height: 16px;
  558. background-color: $--color-primary;
  559. color: #fff;
  560. font-size: 12px;
  561. line-height: 16px;
  562. text-align: center;
  563. top: 15px;
  564. border-radius: 3px;
  565. left: 0;
  566. }
  567. }
  568. .el-form-item {
  569. margin-bottom: 5px;
  570. }
  571. }
  572. // question-info
  573. .question-info {
  574. border: 1px solid #f0f2f6;
  575. background-color: #fcfcfd;
  576. border-radius: 10px;
  577. padding: 30px;
  578. .line-seperator {
  579. border-color: #f0f2f6;
  580. }
  581. .el-form-item {
  582. margin: 0;
  583. }
  584. .el-form-item__label {
  585. color: $--color-text-secondary;
  586. }
  587. .sub-question {
  588. margin: 10px 0 10px 30px;
  589. padding: 5px 0 5px 24px;
  590. border-top: 1px solid $--color-border;
  591. position: relative;
  592. &-no {
  593. position: absolute;
  594. width: 16px;
  595. height: 16px;
  596. color: $--color-text-secondary;
  597. border: 1px solid $--color-text-secondary;
  598. font-size: 12px;
  599. line-height: 14px;
  600. text-align: center;
  601. top: 15px;
  602. border-radius: 3px;
  603. left: 0;
  604. }
  605. }
  606. }
  607. // gen-paper-detail
  608. .gen-paper-detail {
  609. .gen-step-box {
  610. padding: 20px 30px 30px;
  611. }
  612. .gen-step-title {
  613. padding-bottom: 20px;
  614. border-bottom: 1px solid #f0f2f6;
  615. position: relative;
  616. &::before {
  617. content: "";
  618. display: block;
  619. position: absolute;
  620. width: 4px;
  621. height: 10px;
  622. border-radius: 2px;
  623. background-color: $--color-primary;
  624. top: 5px;
  625. left: 0;
  626. z-index: auto;
  627. }
  628. > h3 {
  629. font-size: 14px;
  630. line-height: 20px;
  631. font-weight: 600;
  632. margin: 0;
  633. padding-left: 15px;
  634. }
  635. }
  636. .gen-step-title-sub {
  637. border: 0;
  638. margin-top: 10px;
  639. padding-bottom: 10px;
  640. }
  641. .gen-step-body {
  642. padding-top: 10px;
  643. }
  644. }
  645. // edit-question
  646. .edit-question {
  647. .option-item {
  648. display: flex;
  649. align-items: center;
  650. justify-content: space-between;
  651. margin-bottom: 10px;
  652. &-info {
  653. width: 40px;
  654. flex-grow: 0;
  655. flex-shrink: 0;
  656. }
  657. &-body {
  658. flex-grow: 2;
  659. }
  660. }
  661. }
  662. //
  663. .card-head-edit {
  664. .template-item {
  665. margin: 10px;
  666. display: inline-block;
  667. vertical-align: top;
  668. width: 300px;
  669. text-align: center;
  670. &.is-active {
  671. .template-item-body {
  672. box-shadow: 0 0 0 2px #705eff;
  673. }
  674. }
  675. &-title {
  676. line-height: 30px;
  677. }
  678. &-body {
  679. position: relative;
  680. background-color: #f0f0f0;
  681. height: 218px;
  682. border-radius: 6px;
  683. padding: 10px;
  684. img {
  685. display: block;
  686. width: 100%;
  687. height: 100%;
  688. border-radius: 6px;
  689. }
  690. }
  691. &-action {
  692. position: absolute;
  693. width: 100%;
  694. left: 0;
  695. bottom: 10px;
  696. z-index: 8;
  697. }
  698. }
  699. }
  700. // rich-text
  701. .rich-text {
  702. display: inline-block;
  703. vertical-align: top;
  704. line-height: 20px;
  705. img[data-is-answer-point] {
  706. max-width: 100%;
  707. max-height: 16px;
  708. display: inline-block;
  709. vertical-align: text-top;
  710. border-bottom: 1px solid #000;
  711. }
  712. audio {
  713. height: 20px;
  714. display: inline-block;
  715. vertical-align: top;
  716. margin-left: 5px;
  717. margin-right: 5px;
  718. }
  719. u {
  720. text-decoration: underline;
  721. }
  722. i {
  723. font-style: italic;
  724. }
  725. b {
  726. font-weight: 600;
  727. }
  728. }
  729. .question-answer {
  730. display: inline-block;
  731. vertical-align: top;
  732. line-height: 20px;
  733. }
  734. .el-form-item__content {
  735. .question-answer {
  736. vertical-align: middle;
  737. }
  738. }
  739. // progress-dialog
  740. .progress-dialog {
  741. text-align: center;
  742. .el-dialog__header,
  743. .el-dialog__footer {
  744. display: none;
  745. }
  746. }
  747. // preview-card-template
  748. .preview-card-template {
  749. .el-dialog {
  750. .el-dialog__body {
  751. padding: 5px;
  752. padding-top: 60px;
  753. }
  754. }
  755. }
  756. // property-popover
  757. .property-popover {
  758. min-height: 300px;
  759. max-height: 600px;
  760. overflow-x: hidden;
  761. overflow-y: auto;
  762. }
  763. // folder-tree
  764. .folder-tree {
  765. .node-icon {
  766. margin-right: 8px;
  767. width: 18px;
  768. height: 14px;
  769. }
  770. .node-cont {
  771. display: inline-block;
  772. vertical-align: middle;
  773. border-radius: 3px;
  774. height: 26px;
  775. line-height: 26px;
  776. padding-left: 5px;
  777. padding-right: 5px;
  778. &.is-active {
  779. background-color: mix(#fff, $--color-primary, 80%);
  780. }
  781. }
  782. .el-tree-node__content {
  783. color: $--color-text-primary;
  784. height: auto;
  785. min-height: 30px;
  786. background-color: transparent !important;
  787. }
  788. .node-form {
  789. display: inline-block;
  790. vertical-align: middle;
  791. }
  792. .el-form-item {
  793. margin-bottom: 0;
  794. }
  795. .el-input__inner {
  796. width: 240px;
  797. }
  798. .el-button {
  799. padding: 5px;
  800. font-size: 14px;
  801. }
  802. }
  803. .question-statistics-dialog {
  804. .el-dialog {
  805. .el-dialog__body {
  806. padding-top: 70px;
  807. }
  808. }
  809. }
  810. // question-edit-dialog
  811. .question-edit-dialog {
  812. .el-dialog__header {
  813. h2 {
  814. display: inline-block;
  815. margin-right: 20px;
  816. + span {
  817. margin-right: 20px;
  818. }
  819. }
  820. }
  821. .el-dialog__headerbtn {
  822. display: none;
  823. }
  824. }
  825. .nested-question {
  826. .subq-header {
  827. display: flex;
  828. justify-content: space-between;
  829. align-items: center;
  830. flex-grow: 2;
  831. padding-right: 10px;
  832. }
  833. .el-collapse {
  834. margin: 30px 0 10px;
  835. border: none;
  836. }
  837. .el-collapse-item {
  838. margin: 5px 0;
  839. }
  840. .el-collapse-item__header {
  841. height: 30px;
  842. padding: 5px 10px;
  843. line-height: 20px;
  844. background-color: $--color-background;
  845. }
  846. .el-collapse-item__wrap {
  847. padding: 10px 0;
  848. border: none;
  849. }
  850. }
  851. .nested-subq-popover {
  852. padding: 0;
  853. .nested-subq {
  854. &-item {
  855. padding: 10px;
  856. line-height: 20px;
  857. text-align: center;
  858. cursor: pointer;
  859. &:not(:first-child) {
  860. border-top: 1px solid $--color-background;
  861. }
  862. &:hover {
  863. color: $--color-primary;
  864. background-color: mix(#fff, $--color-primary, 80%);
  865. }
  866. }
  867. }
  868. }
  869. // build-paper
  870. .build-paper {
  871. .part-box-header {
  872. h1.part-box-title {
  873. display: inline-block;
  874. vertical-align: middle;
  875. }
  876. span {
  877. display: inline-block;
  878. vertical-align: middle;
  879. margin-left: 15px;
  880. }
  881. }
  882. .build-step-title {
  883. padding-bottom: 10px;
  884. border-bottom: 1px solid #f0f2f6;
  885. display: flex;
  886. justify-content: space-between;
  887. align-items: center;
  888. > h3 {
  889. font-size: 14px;
  890. line-height: 20px;
  891. font-weight: 600;
  892. margin: 0;
  893. &::before {
  894. content: "";
  895. display: inline-block;
  896. vertical-align: middle;
  897. width: 4px;
  898. height: 10px;
  899. border-radius: 2px;
  900. background-color: $--color-primary;
  901. margin-right: 10px;
  902. }
  903. span {
  904. display: inline-block;
  905. vertical-align: middle;
  906. }
  907. }
  908. }
  909. .detail-header {
  910. flex-grow: 2;
  911. display: flex;
  912. justify-content: space-between;
  913. align-items: center;
  914. padding-right: 10px;
  915. h3 > span {
  916. margin: 0 3px;
  917. }
  918. .el-button {
  919. font-size: 16px;
  920. }
  921. }
  922. .detail-desc {
  923. margin-bottom: 10px;
  924. }
  925. .detail-questions {
  926. padding: 10px 0;
  927. }
  928. .el-collapse-item__header {
  929. height: 36px;
  930. line-height: 36px;
  931. font-size: 14px;
  932. }
  933. .el-collapse-item__content {
  934. padding-left: 10px;
  935. padding-right: 10px;
  936. font-size: 14px;
  937. }
  938. .el-input-number .el-input {
  939. font-size: 14px;
  940. }
  941. }
  942. // build-paper-simple
  943. .build-paper-simple {
  944. .build-step-title {
  945. margin-bottom: 10px;
  946. }
  947. .el-input-number {
  948. width: auto;
  949. .el-input__inner {
  950. border: none;
  951. width: 180px;
  952. }
  953. }
  954. }
  955. // build-paper-manual
  956. .question-group-struct {
  957. overflow: hidden;
  958. .struct-set {
  959. margin: 10px 0;
  960. }
  961. .struct-box {
  962. display: flex;
  963. justify-content: space-between;
  964. align-items: stretch;
  965. height: 400px;
  966. }
  967. .struct-folder {
  968. width: 300px;
  969. overflow-x: hidden;
  970. overflow-y: auto;
  971. flex-flow: 0;
  972. flex-shrink: 0;
  973. padding: 10px;
  974. border-radius: 5px;
  975. background-color: $--color-background;
  976. margin-right: 10px;
  977. .el-tree {
  978. background-color: $--color-background;
  979. }
  980. }
  981. .struct-prop {
  982. flex-grow: 2;
  983. overflow: hidden;
  984. .el-input-number {
  985. width: 60px;
  986. margin-right: 5px;
  987. .el-input__inner {
  988. border-radius: 3px;
  989. padding: 3px 5px;
  990. }
  991. }
  992. }
  993. }
  994. .detail-question {
  995. // &-part {
  996. // padding: 10px 0;
  997. // }
  998. &-header {
  999. display: flex;
  1000. justify-content: space-between;
  1001. align-items: center;
  1002. padding-right: 22px;
  1003. padding-left: 6px;
  1004. background-color: $--color-background;
  1005. border-radius: 4px;
  1006. .el-input-number {
  1007. vertical-align: middle;
  1008. }
  1009. .el-tag {
  1010. vertical-align: middle;
  1011. }
  1012. .el-button {
  1013. font-size: 16px;
  1014. }
  1015. }
  1016. &-body {
  1017. padding: 10px;
  1018. }
  1019. &-subqs {
  1020. padding-left: 30px;
  1021. }
  1022. }
  1023. .question-preview {
  1024. .question-body {
  1025. margin-bottom: 5px;
  1026. }
  1027. .question-answer {
  1028. display: flex;
  1029. justify-content: sp;
  1030. &-title {
  1031. flex-grow: 0;
  1032. flex-shrink: 0;
  1033. margin-right: 10px;
  1034. }
  1035. }
  1036. }