|
@@ -1,665 +1,683 @@
|
|
|
-// 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: 36px;
|
|
|
- }
|
|
|
- .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;
|
|
|
- flex-grow: 2;
|
|
|
- overflow: hidden;
|
|
|
-
|
|
|
- &-title {
|
|
|
- min-height: 42px;
|
|
|
- line-height: 24px;
|
|
|
- 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;
|
|
|
- background-color: #fff;
|
|
|
- padding: 0 0 10px 20px;
|
|
|
- top: 0;
|
|
|
- right: 30px;
|
|
|
- border-radius: 10px;
|
|
|
- z-index: 9;
|
|
|
- }
|
|
|
-
|
|
|
- &-body {
|
|
|
- line-height: 24px;
|
|
|
- color: #6e7080;
|
|
|
- overflow-x: auto;
|
|
|
-
|
|
|
- p {
|
|
|
- margin-bottom: 0;
|
|
|
- }
|
|
|
- audio {
|
|
|
- display: inline-block;
|
|
|
- vertical-align: top;
|
|
|
- height: 20px;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- .paper-option {
|
|
|
- p {
|
|
|
- display: inline;
|
|
|
- }
|
|
|
- audio {
|
|
|
- display: inline-block;
|
|
|
- vertical-align: top;
|
|
|
- height: 20px;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- .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 {
|
|
|
- width: 60px;
|
|
|
- flex-grow: 0;
|
|
|
- flex-shrink: 0;
|
|
|
- text-align: center;
|
|
|
- }
|
|
|
- .option-body {
|
|
|
- flex-grow: 2;
|
|
|
- }
|
|
|
-}
|
|
|
-// 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;
|
|
|
- }
|
|
|
-}
|
|
|
+// 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: 36px;
|
|
|
+ }
|
|
|
+ .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;
|
|
|
+ flex-grow: 2;
|
|
|
+ overflow: hidden;
|
|
|
+
|
|
|
+ &-title {
|
|
|
+ min-height: 42px;
|
|
|
+ line-height: 24px;
|
|
|
+ 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;
|
|
|
+ background-color: #fff;
|
|
|
+ padding: 0 0 10px 20px;
|
|
|
+ top: 0;
|
|
|
+ right: 30px;
|
|
|
+ border-radius: 10px;
|
|
|
+ z-index: 9;
|
|
|
+ }
|
|
|
+
|
|
|
+ &-body {
|
|
|
+ line-height: 24px;
|
|
|
+ color: #6e7080;
|
|
|
+ overflow-x: auto;
|
|
|
+
|
|
|
+ p {
|
|
|
+ margin-bottom: 0;
|
|
|
+ }
|
|
|
+ audio {
|
|
|
+ display: inline-block;
|
|
|
+ vertical-align: top;
|
|
|
+ height: 20px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .paper-option {
|
|
|
+ p {
|
|
|
+ display: inline;
|
|
|
+ }
|
|
|
+ audio {
|
|
|
+ display: inline-block;
|
|
|
+ vertical-align: top;
|
|
|
+ height: 20px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .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 {
|
|
|
+ width: 60px;
|
|
|
+ flex-grow: 0;
|
|
|
+ flex-shrink: 0;
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
+ .option-body {
|
|
|
+ flex-grow: 2;
|
|
|
+ }
|
|
|
+}
|
|
|
+// 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;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|