// org-property .org-property { .org-header { margin-bottom: 20px; background-color: #fff; border-radius: 20px; } .part-box-header { padding: 20px; } .org-body { &-title { font-size: 16px; margin-bottom: 10px; } } .label-title { .el-form-item__label { font-size: 16px; font-weight: 600; } } } // data-privilege .data-privilege { .privilege-part { margin-bottom: 20px; background-color: #fff; border-radius: 20px; } .privilege-header { padding-bottom: 0; &-top { padding: 30px 30px 0; border-bottom: 1px solid #eff0f5; .box-justify { padding-bottom: 15px; border-bottom: 1px solid #eff0f5; } .el-form-linemess { padding: 10px 0 0; } } } .privilege-body { .box-justify { padding: 20px 30px; border-bottom: 1px solid #eff0f5; } .privilege-table { padding: 20px; } } } .part-tabs { padding: 0 30px; &-item { display: inline-block; vertical-align: top; padding: 20px 0 30px; line-height: 20px; position: relative; cursor: pointer; &:hover { color: $--color-primary; } &.is-active { color: $--color-primary; font-weight: 600; &::before { content: ""; display: block; position: absolute; width: 30%; border-bottom: 2px solid $--color-primary; left: 50%; bottom: 0; transform: translateX(-50%); } } &:not(:last-child) { .part-tabs-name { border-right: 1px solid $--color-border; } } } &-name { padding: 0 20px; } } // .property-info .property-box { padding: 20px; } .property-tree { .el-tree-node__content { padding: 5px 10px !important; height: auto; min-height: 36px; word-wrap: break-word; white-space: normal; } .el-tree-node.is-current > .el-tree-node__content { border-radius: 5px; background-color: #e7ebf8; } .node-level-one { font-weight: 600; } // .el-tree-node__expand-icon { // padding: 0; // border-radius: 50%; // border: 2px solid #888a9a; // color: #888a9a; // margin-right: 8px; // &.is-leaf { // color: transparent; // border-color: transparent; // } // } } // paper-structure-info .topic-set { text-align: center; border: 1px solid #6e7590; color: #393c4c; border-radius: 10px; background-color: #b1b6ce; overflow: hidden; &-title { height: 34px; line-height: 34px; color: #fff; border-bottom: 1px solid #6e7590; } &-content { background-color: #fff; padding: 2px; .el-input__inner { border: none; text-align: center; border-top-right-radius: 0 !important; border-top-left-radius: 0 !important; border-bottom-left-radius: 10 !important; border-bottom-right-radius: 10 !important; } } } .topic-set-list { .topic-set { min-width: 100px; display: inline-block; vertical-align: top; margin: 0 5px; } } // edit paper .edit-paper { .edit-header { padding: 0 60px; position: fixed; top: 0; left: 0; right: 0; background-color: #fff; z-index: 999; box-shadow: 0px 20px 20px 0px rgba(212, 220, 243, 0.2); &-top { padding: 15px 0; border-bottom: 1px solid #eff0f5; } &-bottom { padding: 15px 0; } } .header-info { font-size: 0; &-item { display: inline-block; vertical-align: middle; font-size: 14px; padding: 0 10px; &:first-child { padding-left: 0; } &:not(:last-child) { border-right: 1px solid #eff0f5; } > span { margin-left: 3px; } } &-input { display: inline; .el-input__inner { border: 0; border-radius: 0; border-bottom: 1px solid #d0d6f1; padding: 0 5px; width: 120px; height: 20px; line-height: 20px; font-size: 14px; } } } .edit-body { margin: 0 60px; padding-top: 150px; } .edit-part-list { background: #ffffff; margin-bottom: 20px; border-radius: 20px; box-shadow: 0px 20px 20px 0px rgba(212, 220, 243, 0.2); overflow: hidden; } .edit-part { padding: 30px 0; display: flex; justify-content: space-between; align-items: stretch; position: relative; &.question-duplicate { &::after { content: ""; display: block; position: absolute; left: 0; top: 0; width: 20px; height: 100%; z-index: 99; background-color: #ffa280; } } } .edit-property { flex-grow: 0; flex-shrink: 0; width: 360px; border-left: 1px solid #f0f2f6; padding: 0 30px; font-size: 0; margin: 0 -3px; &-item { display: inline-block; vertical-align: top; width: 25%; padding: 3px; font-size: 12px; } &-body { text-align: center; border: 1px solid #6e7590; color: #393c4c; border-radius: 8px; background-color: #73c7ff; line-height: 24px; overflow: hidden; } &-title { color: #fff; border-bottom: 1px solid #6e7590; } &-content { background-color: #fff; } } .edit-property-danger { .edit-property-title { background-color: #ffa280; } } .edit-cont { position: relative; padding: 0 30px 35px; flex-grow: 2; overflow: hidden; &-title { min-height: 42px; line-height: 20px; font-weight: 600; color: #313444; overflow-x: auto; > h3 { font-size: 16px; font-weight: 600; } p { display: inline; } audio { display: inline-block; vertical-align: top; height: 20px; } } &-action { position: absolute; width: 100%; height: 35px; left: 0; bottom: 0; z-index: 8; padding: 0 30px; text-align: right; } &-body { line-height: 20px; color: #6e7080; overflow-x: auto; p { margin-bottom: 0; } audio { display: inline-block; vertical-align: top; height: 20px; } } } .paper-option { line-height: 20px; p { display: inline; } audio { display: inline-block; vertical-align: top; height: 20px; } } .paper-answer { line-height: 20px; > span { display: inline-block; vertical-align: top; } } .edit-paper-questions { > .edit-part { position: relative; &:first-child { box-shadow: 0px 20px 20px 0px rgba(212, 220, 243, 0.2) inset; border-top: 1px solid #e0e6f7; } &:not(:first-child) { &::before { content: ""; display: block; position: absolute; top: 0; left: 30px; right: 0; z-index: auto; border-bottom: 1px solid #e0e6f7; } } } } .edit-paper-question-subs { padding-left: 80px; > .edit-part { border-top: 1px solid #e0e6f7; } } } // view-paper .view-paper { padding: 76px 60px 50px; .view-header { padding: 20px 60px; position: fixed; height: 76px; top: 0; left: 0; right: 0; z-index: 999; background-color: $--color-background; } .header-info { font-size: 0; &-item { display: inline-block; vertical-align: middle; font-size: 14px; padding: 0 10px; &:first-child { padding-left: 0; } > span { margin-left: 3px; } } } .view-body { border-radius: 20px; background-color: #fff; overflow: hidden; padding: 30px; } .view-title { text-align: center; margin-bottom: 20px; .paper-title { height: 45px; font-size: 32px; font-weight: 500; line-height: 45px; margin-bottom: 10px; } .paper-title-sub { font-size: 16px; font-weight: 500; color: #9a9dab; line-height: 22px; margin-bottom: 10px; } } .view-summary { padding-bottom: 30px; } .view-seperator { border-bottom: 1px solid #f0f2f6; margin: 0 -30px; } .view-part { position: relative; padding: 30px 0; &:not(:last-child) { border-bottom: 1px solid #f0f2f6; } &-action { position: absolute; background-color: #fff; top: 30px; right: 10px; border-radius: 10px; z-index: 9; } .paper-question-title { margin-bottom: 10px; } .paper-question-body { color: #6e7080; } } .view-quesiton { padding: 20px 30px; border-radius: 15px; background: #f4f6fc; position: relative; &:not(:last-child) { margin-bottom: 10px; } .view-part-action { top: 10px; } } .view-question-subs { .view-part { padding: 20px; } } } // paper .paper { &-question-title { min-height: 22px; font-size: 16px; font-weight: 600; color: #313444; line-height: 22px; overflow-x: auto; p { display: inline; } audio { display: inline-block; vertical-align: top; height: 20px; } } &-question-body { min-height: 24px; line-height: 24px; overflow-x: auto; p { margin-bottom: 0; } audio { display: inline-block; vertical-align: top; height: 20px; } } &-question-option { line-height: 24px; overflow-x: auto; p { display: inline; } audio { display: inline-block; vertical-align: top; height: 20px; } } } .row-question-body { line-height: 24px; cursor: pointer; p { white-space: nowrap; text-overflow: ellipsis; overflow: hidden; margin-bottom: 0; } } // question-edit .question-edit-option { display: flex; align-items: center; justify-content: space-between; .option-check { width: 60px; flex-grow: 0; flex-shrink: 0; } .option-delete { padding-left: 20px; flex-grow: 0; flex-shrink: 0; text-align: center; } .option-body { flex-grow: 2; } .rich-text { vertical-align: middle; } } // question-preview .question-preview { .paper-question-body { padding-top: 6px; } .sub-question { margin: 15px 0 15px 40px; padding: 5px 0; border-top: 1px solid $--color-border; position: relative; &-no { position: absolute; width: 16px; height: 16px; background-color: $--color-primary; color: #fff; font-size: 12px; line-height: 16px; text-align: center; top: 15px; border-radius: 3px; left: 0; } } .el-form-item { margin-bottom: 5px; } } // question-info .question-info { border: 1px solid #f0f2f6; background-color: #fcfcfd; border-radius: 10px; padding: 30px; .line-seperator { border-color: #f0f2f6; } .el-form-item { margin: 0; } .el-form-item__label { color: $--color-text-secondary; } .sub-question { margin: 10px 0 10px 30px; padding: 5px 0 5px 24px; border-top: 1px solid $--color-border; position: relative; &-no { position: absolute; width: 16px; height: 16px; color: $--color-text-secondary; border: 1px solid $--color-text-secondary; font-size: 12px; line-height: 14px; text-align: center; top: 15px; border-radius: 3px; left: 0; } } } // gen-paper-detail .gen-paper-detail { .gen-step-box { padding: 20px 30px 30px; } .gen-step-title { padding-bottom: 20px; border-bottom: 1px solid #f0f2f6; position: relative; &::before { content: ""; display: block; position: absolute; width: 4px; height: 10px; border-radius: 2px; background-color: $--color-primary; top: 5px; left: 0; z-index: auto; } > h3 { font-size: 14px; line-height: 20px; font-weight: 600; margin: 0; padding-left: 15px; } } .gen-step-title-sub { border: 0; margin-top: 10px; padding-bottom: 10px; } .gen-step-body { padding-top: 10px; } } // edit-question .edit-question { .option-item { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; &-info { width: 40px; flex-grow: 0; flex-shrink: 0; } &-body { flex-grow: 2; } } } // .card-head-edit { .template-item { margin: 10px; display: inline-block; vertical-align: top; width: 300px; text-align: center; &.is-active { .template-item-body { box-shadow: 0 0 0 2px #705eff; } } &-title { line-height: 30px; } &-body { position: relative; background-color: #f0f0f0; height: 218px; border-radius: 6px; padding: 10px; img { display: block; width: 100%; height: 100%; border-radius: 6px; } } &-action { position: absolute; width: 100%; left: 0; bottom: 10px; z-index: 8; } } } // rich-text .rich-text { display: inline-block; vertical-align: top; line-height: 20px; img[data-is-answer-point] { max-width: 100%; max-height: 16px; display: inline-block; vertical-align: text-top; border-bottom: 1px solid #000; } audio { height: 20px; display: inline-block; vertical-align: top; margin-left: 5px; margin-right: 5px; } u { text-decoration: underline; } i { font-style: italic; } b { font-weight: 600; } } .question-answer { display: inline-block; vertical-align: top; line-height: 20px; } .el-form-item__content { .question-answer { vertical-align: middle; } } // progress-dialog .progress-dialog { text-align: center; .el-dialog__header, .el-dialog__footer { display: none; } } // preview-card-template .preview-card-template { .el-dialog { .el-dialog__body { padding: 5px; padding-top: 60px; } } } // property-popover .property-popover { min-height: 300px; max-height: 600px; overflow-x: hidden; overflow-y: auto; } // folder-tree .folder-tree { .node-icon { margin-right: 8px; width: 18px; height: 14px; } .node-cont { display: inline-block; vertical-align: middle; border-radius: 3px; height: 26px; line-height: 26px; padding-left: 5px; padding-right: 5px; &.is-active { background-color: mix(#fff, $--color-primary, 80%); } } .el-tree-node__content { color: $--color-text-primary; height: auto; min-height: 30px; background-color: transparent !important; } .node-form { display: inline-block; vertical-align: middle; } .el-form-item { margin-bottom: 0; } .el-input__inner { width: 240px; } .el-button { padding: 5px; font-size: 14px; } } .question-statistics-dialog { .el-dialog { .el-dialog__body { padding-top: 70px; } } } // question-edit-dialog .question-edit-dialog { .el-dialog__header { h2 { display: inline-block; margin-right: 20px; + span { margin-right: 20px; } } } .el-dialog__headerbtn { display: none; } } .nested-question { .subq-header { display: flex; justify-content: space-between; align-items: center; flex-grow: 2; padding-right: 10px; } .el-collapse { margin: 30px 0 10px; border: none; } .el-collapse-item { margin: 5px 0; } .el-collapse-item__header { height: 30px; padding: 5px 10px; line-height: 20px; background-color: $--color-background; } .el-collapse-item__wrap { padding: 10px 0; border: none; } } .nested-subq-popover { padding: 0; .nested-subq { &-item { padding: 10px; line-height: 20px; text-align: center; cursor: pointer; &:not(:first-child) { border-top: 1px solid $--color-background; } &:hover { color: $--color-primary; background-color: mix(#fff, $--color-primary, 80%); } } } } // build-paper .build-paper { .part-box-header { h1.part-box-title { display: inline-block; vertical-align: middle; } span { display: inline-block; vertical-align: middle; margin-left: 15px; } } .build-step-title { padding-bottom: 10px; border-bottom: 1px solid #f0f2f6; display: flex; justify-content: space-between; align-items: center; > h3 { font-size: 14px; line-height: 20px; font-weight: 600; margin: 0; &::before { content: ""; display: inline-block; vertical-align: middle; width: 4px; height: 10px; border-radius: 2px; background-color: $--color-primary; margin-right: 10px; } span { display: inline-block; vertical-align: middle; } } } .detail-header { flex-grow: 2; display: flex; justify-content: space-between; align-items: center; padding-right: 10px; h3 > span { margin: 0 3px; } .el-button { font-size: 16px; } } .detail-desc { margin-bottom: 10px; } .detail-questions { padding: 10px 0; } .el-collapse-item__header { height: 36px; line-height: 36px; font-size: 14px; } .el-collapse-item__content { padding-left: 10px; padding-right: 10px; font-size: 14px; } .el-input-number .el-input { font-size: 14px; } } // build-paper-simple .build-paper-simple { .build-step-title { margin-bottom: 10px; } .el-input-number { width: auto; .el-input__inner { border: none; width: 180px; } } } // build-paper-manual .question-group-struct { overflow: hidden; .struct-set { margin: 10px 0; } .struct-box { display: flex; justify-content: space-between; align-items: stretch; height: 400px; } .struct-folder { width: 300px; overflow-x: hidden; overflow-y: auto; flex-flow: 0; flex-shrink: 0; padding: 10px; border-radius: 5px; background-color: $--color-background; margin-right: 10px; .el-tree { background-color: $--color-background; } } .struct-prop { flex-grow: 2; overflow: hidden; .el-input-number { width: 60px; margin-right: 5px; .el-input__inner { border-radius: 3px; padding: 3px 5px; } } } } .detail-question { // &-part { // padding: 10px 0; // } &-header { display: flex; justify-content: space-between; align-items: center; padding-right: 22px; padding-left: 6px; background-color: $--color-background; border-radius: 4px; .el-input-number { vertical-align: middle; } .el-tag { vertical-align: middle; } .el-button { font-size: 16px; } } &-body { padding: 10px; } &-subqs { padding-left: 30px; } } .question-preview { .question-body { margin-bottom: 5px; } .question-answer { display: flex; justify-content: sp; &-title { flex-grow: 0; flex-shrink: 0; margin-right: 10px; } } }