Compare commits
3 Commits
f2bf843984
...
48309e703c
| Author | SHA1 | Date | |
|---|---|---|---|
| 48309e703c | |||
|
|
971967b791 | ||
|
|
5cafab7534 |
@@ -9,6 +9,7 @@
|
||||
<div class="brand-subtitle">Quality Workspace</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="aside-menu-scroll">
|
||||
<el-menu
|
||||
:default-active="$route.path"
|
||||
class="el-menu-vertical-demo"
|
||||
@@ -48,6 +49,7 @@
|
||||
</el-menu-item>
|
||||
</template>
|
||||
</el-menu>
|
||||
</div>
|
||||
</aside>
|
||||
<el-container class="workspace-shell">
|
||||
<el-header class="header">
|
||||
@@ -391,18 +393,43 @@ export default {
|
||||
}
|
||||
|
||||
.aside {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
background: linear-gradient(180deg, #07111f 0%, #081426 46%, #050914 100%);
|
||||
box-shadow: 12px 0 38px rgba(0, 0, 0, 0.42), inset -1px 0 0 rgba(56, 189, 248, 0.14);
|
||||
transition: width 0.25s ease;
|
||||
}
|
||||
|
||||
.aside-menu-scroll {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
|
||||
.aside-menu-scroll::-webkit-scrollbar {
|
||||
width: 6px;
|
||||
}
|
||||
|
||||
.aside-menu-scroll::-webkit-scrollbar-thumb {
|
||||
border-radius: 3px;
|
||||
background: rgba(148, 163, 184, 0.35);
|
||||
}
|
||||
|
||||
.aside-menu-scroll::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.aside--collapse .brand-panel {
|
||||
justify-content: center;
|
||||
padding: 18px 8px;
|
||||
}
|
||||
|
||||
.brand-panel {
|
||||
flex-shrink: 0;
|
||||
height: 72px;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
@@ -447,7 +474,6 @@ export default {
|
||||
}
|
||||
|
||||
.el-menu-vertical-demo {
|
||||
height: calc(100% - 72px);
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
|
||||
<el-tabs v-model="activeTab" style="margin-top: 8px;">
|
||||
<el-tabs v-model="activeTab" class="case-list-tabs" style="margin-top: 8px;">
|
||||
<el-tab-pane label="模块列表" name="modules">
|
||||
<div class="module-list-toolbar">
|
||||
<el-button
|
||||
@@ -641,6 +641,7 @@
|
||||
:visible.sync="autoGenDialogVisible"
|
||||
width="560px"
|
||||
append-to-body
|
||||
custom-class="case-auto-gen-dialog"
|
||||
@closed="resetAutoGenDialog">
|
||||
<el-form ref="autoGenFormRef" :model="autoGenForm" :rules="autoGenRules" label-width="120px" size="small">
|
||||
<el-form-item label="当前用例">
|
||||
@@ -2578,7 +2579,6 @@ export default {
|
||||
}
|
||||
|
||||
.auto-gen-case-title {
|
||||
color: #f8fafc;
|
||||
font-weight: 500;
|
||||
line-height: 1.5;
|
||||
word-break: break-word;
|
||||
@@ -2596,8 +2596,7 @@ body.theme-light .ai-gen-params-bar {
|
||||
|
||||
body.theme-light .ai-gen-params-label,
|
||||
body.theme-light .ai-doc-block-title,
|
||||
body.theme-light .ai-case-table-title,
|
||||
body.theme-light .auto-gen-case-title {
|
||||
body.theme-light .ai-case-table-title {
|
||||
color: #0f172a;
|
||||
}
|
||||
|
||||
@@ -2665,3 +2664,130 @@ body.theme-light .mindmap-empty {
|
||||
color: #64748b;
|
||||
}
|
||||
</style>
|
||||
|
||||
<!-- 非 scoped:Tab / append-to-body 弹窗 / 日期范围在深浅色下与整站一致 -->
|
||||
<style>
|
||||
.case-list-tabs .el-tabs__item {
|
||||
color: #94a3b8;
|
||||
}
|
||||
|
||||
.case-list-tabs .el-tabs__item:hover {
|
||||
color: #cbd5e1;
|
||||
}
|
||||
|
||||
.case-list-tabs .el-tabs__item.is-active {
|
||||
color: #38bdf8;
|
||||
}
|
||||
|
||||
.case-list-tabs .el-tabs__nav-wrap::after {
|
||||
background-color: rgba(148, 163, 184, 0.18);
|
||||
}
|
||||
|
||||
body.theme-light .case-list-tabs .el-tabs__item {
|
||||
color: #64748b;
|
||||
}
|
||||
|
||||
body.theme-light .case-list-tabs .el-tabs__item:hover {
|
||||
color: #334155;
|
||||
}
|
||||
|
||||
body.theme-light .case-list-tabs .el-tabs__item.is-active {
|
||||
color: #2563eb;
|
||||
}
|
||||
|
||||
body.theme-light .case-list-tabs .el-tabs__nav-wrap::after {
|
||||
background-color: #e2e8f0;
|
||||
}
|
||||
|
||||
.el-dialog.case-auto-gen-dialog {
|
||||
background: #111827;
|
||||
border: 1px solid rgba(148, 163, 184, 0.2);
|
||||
}
|
||||
|
||||
.el-dialog.case-auto-gen-dialog .el-dialog__header {
|
||||
border-bottom: 1px solid rgba(148, 163, 184, 0.16);
|
||||
}
|
||||
|
||||
.el-dialog.case-auto-gen-dialog .el-dialog__title,
|
||||
.el-dialog.case-auto-gen-dialog .el-dialog__body,
|
||||
.el-dialog.case-auto-gen-dialog .el-form-item__label {
|
||||
color: #e5e7eb;
|
||||
}
|
||||
|
||||
.el-dialog.case-auto-gen-dialog .auto-gen-case-title {
|
||||
color: #f1f5f9;
|
||||
}
|
||||
|
||||
.el-dialog.case-auto-gen-dialog .el-input__inner,
|
||||
.el-dialog.case-auto-gen-dialog .el-textarea__inner,
|
||||
.el-dialog.case-auto-gen-dialog .el-select .el-input__inner {
|
||||
background-color: #0f172a;
|
||||
border-color: rgba(148, 163, 184, 0.28);
|
||||
color: #f8fafc;
|
||||
}
|
||||
|
||||
.el-dialog.case-auto-gen-dialog .el-input__inner::placeholder,
|
||||
.el-dialog.case-auto-gen-dialog .el-textarea__inner::placeholder {
|
||||
color: #64748b;
|
||||
}
|
||||
|
||||
body.theme-light .el-dialog.case-auto-gen-dialog {
|
||||
background: #ffffff;
|
||||
border-color: #e5e7eb;
|
||||
}
|
||||
|
||||
body.theme-light .el-dialog.case-auto-gen-dialog .el-dialog__header {
|
||||
border-bottom-color: #ebeef5;
|
||||
}
|
||||
|
||||
body.theme-light .el-dialog.case-auto-gen-dialog .el-dialog__title,
|
||||
body.theme-light .el-dialog.case-auto-gen-dialog .el-dialog__body,
|
||||
body.theme-light .el-dialog.case-auto-gen-dialog .el-form-item__label {
|
||||
color: #303133;
|
||||
}
|
||||
|
||||
body.theme-light .el-dialog.case-auto-gen-dialog .auto-gen-case-title {
|
||||
color: #0f172a;
|
||||
}
|
||||
|
||||
body.theme-light .el-dialog.case-auto-gen-dialog .el-input__inner,
|
||||
body.theme-light .el-dialog.case-auto-gen-dialog .el-textarea__inner,
|
||||
body.theme-light .el-dialog.case-auto-gen-dialog .el-select .el-input__inner {
|
||||
background-color: #ffffff;
|
||||
border-color: #dcdfe6;
|
||||
color: #606266;
|
||||
}
|
||||
|
||||
.page-wrap .el-date-editor .el-input__inner {
|
||||
background-color: #0f172a;
|
||||
border-color: rgba(148, 163, 184, 0.28);
|
||||
color: #f8fafc;
|
||||
}
|
||||
|
||||
.page-wrap .el-date-editor .el-range-input {
|
||||
background-color: transparent;
|
||||
color: #f8fafc;
|
||||
}
|
||||
|
||||
.page-wrap .el-date-editor .el-range-separator {
|
||||
color: #94a3b8;
|
||||
}
|
||||
|
||||
.page-wrap .el-date-editor .el-range-input::placeholder {
|
||||
color: #64748b;
|
||||
}
|
||||
|
||||
body.theme-light .page-wrap .el-date-editor .el-input__inner {
|
||||
background-color: #ffffff;
|
||||
border-color: #dcdfe6;
|
||||
color: #606266;
|
||||
}
|
||||
|
||||
body.theme-light .page-wrap .el-date-editor .el-range-input {
|
||||
color: #606266;
|
||||
}
|
||||
|
||||
body.theme-light .page-wrap .el-date-editor .el-range-separator {
|
||||
color: #909399;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user