1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096 |
- // 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;
- }
- }
- }
|