样式修改

This commit is contained in:
jingna 2025-04-23 09:03:12 +08:00
parent 377b7d9938
commit b792ca61e7
13 changed files with 202 additions and 37 deletions

View File

@ -52,7 +52,7 @@ const getAssetsFile = {
:deep(.ed-empty__description) { :deep(.ed-empty__description) {
margin-top: 8px; margin-top: 8px;
color: var(--N600, #646a73); color: var(--N600, #d2d2d2);
text-align: center; text-align: center;
/* 正文-字号 14行高 22字重适中Regular用于列表Feed会话 */ /* 正文-字号 14行高 22字重适中Regular用于列表Feed会话 */
font-family: var(--de-custom_font, 'PingFang'); font-family: var(--de-custom_font, 'PingFang');

View File

@ -1108,7 +1108,7 @@ defineExpose({
.preview { .preview {
margin-top: 5px; margin-top: 5px;
border: 1px solid #e6e6e6; border: 1px solid #434343;
border-radius: 4px; border-radius: 4px;
height: 470px !important; height: 470px !important;
overflow: hidden; overflow: hidden;
@ -1116,7 +1116,7 @@ defineExpose({
} }
.preview-show { .preview-show {
border-left: 1px solid #e6e6e6; border-left: 1px solid #434343;
height: 470px; height: 470px;
background-size: 100% 100% !important; background-size: 100% 100% !important;
} }
@ -1209,7 +1209,7 @@ defineExpose({
margin-right: 16px; margin-right: 16px;
font-weight: 400; font-weight: 400;
font-size: 12px; font-size: 12px;
color: #646a73; color: #D2D2D2;
.ed-switch { .ed-switch {
margin-left: 8px; margin-left: 8px;
} }
@ -1324,7 +1324,7 @@ span {
.top-area-text { .top-area-text {
font-weight: 400; font-weight: 400;
font-size: 14px; font-size: 14px;
color: #646a73; color: #D2D2D2;
&.margin-left { &.margin-left {
margin-left: 24px; margin-left: 24px;
@ -1335,25 +1335,29 @@ span {
.settings-header { .settings-header {
height: auto; height: auto;
border-bottom: 1px solid #e6e6e6; border-bottom: 1px solid #434343;
.radio-group-box { .radio-group-box {
margin-top: 8px; margin-top: 8px;
margin-bottom: 8px; margin-bottom: 8px;
.title { .title {
color: #646a73; color: #d2d2d2;
font-size: 14px; font-size: 14px;
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
} }
:deep(.ed-radio__label) { :deep(.ed-radio__label) {
color: #1f2329; color: #ffffff;
font-size: 14px; font-size: 14px;
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
} }
:deep(.ed-radio__inner){
background-color:transparent;
border-color:#5f5f5f;
}
} }
} }
@ -1591,4 +1595,28 @@ span {
color: var(--ed-color-primary); color: var(--ed-color-primary);
cursor: pointer; cursor: pointer;
} }
.root-class .ed-button{
color: #F2F4F5;
background-color: #212121;
border: 1px solid #434343;
}
.root-class .ed-button--primary{
background-color:#0089FF;
border: 1px solid #0089FF;
}
:deep(.ed-checkbox__inner){
border:1px solid #5f5f5f;
background-color:transparent;
}
:deep(.ed-tree){
background: transparent;
color: #fff;
}
:deep(.ed-tree--highlight-current .ed-tree-node.is-current>.ed-tree-node__content){
background-color:rgb(61,61,61);
}
:deep(.ed-input__wrapper){
background-color: #252424;
box-shadow: 0 0 0 1px #5f5f5f inset;
}
</style> </style>

View File

@ -701,7 +701,7 @@ defineExpose({
flex-direction: column; flex-direction: column;
span { span {
line-height: 22px; line-height: 22px;
color: #646a73; color: #909399;
} }
} }
@ -742,7 +742,7 @@ defineExpose({
margin-right: 16px; margin-right: 16px;
font-weight: 400; font-weight: 400;
font-size: 12px; font-size: 12px;
color: #969696; color: #d2d2d2;
.ed-switch { .ed-switch {
margin-left: 8px; margin-left: 8px;
} }
@ -847,7 +847,7 @@ span {
.top-area-text { .top-area-text {
font-weight: 400; font-weight: 400;
font-size: 14px; font-size: 14px;
color: #fff; color: #d2d2d2;
margin-left: 24px; margin-left: 24px;
} }
@ -870,7 +870,7 @@ span {
margin-left: 16px; margin-left: 16px;
font-weight: 500; font-weight: 500;
font-size: 14px; font-size: 14px;
color: #1f2329; color: #d2d2d2;
line-height: 32px; line-height: 32px;
margin-right: 16px; margin-right: 16px;
} }
@ -1014,4 +1014,5 @@ span {
background-color:#0089FF; background-color:#0089FF;
border: 1px solid #0089FF; border: 1px solid #0089FF;
} }
</style> </style>

View File

@ -516,4 +516,27 @@ watch(
color: var(--N600-Dark, #a6a6a6); color: var(--N600-Dark, #a6a6a6);
} }
} }
.dialog-footer .ed-button{
color: #F2F4F5;
background-color: #212121;
border: 1px solid #434343;
}
.dialog-footer .ed-button--primary{
background-color:#0089FF;
border: 1px solid #0089FF;
}
:deep(.ed-textarea__inner){
background-color: #252424 ;
box-shadow: 0 0 0 1px #434343 inset;
color: #fff;
}
:deep(.ed-textarea__inner:hover){
box-shadow: 0 0 0 1px #5f5f5f inset;
}
:deep(.ed-textarea__inner:focus){
box-shadow: 0 0 0 1px #0089ff inset;
}
:deep(.ed-form-item__label){
color: #D2D2D2 !important;
}
</style> </style>

View File

@ -5280,3 +5280,11 @@ span {
} }
} }
</style> </style>
<style>
.ed-loading-mask {
background-color:rgba(37,37,37,0.5);
}
.ed-tree{
background:transparent
}
</style>

View File

@ -765,11 +765,11 @@ defineExpose({
</template> </template>
<style lang="less" scoped> <style lang="less" scoped>
.filter-icon-span { .filter-icon-span {
border: 1px solid #bbbfc4; border: 1px solid #5f5f5f;
width: 32px; width: 32px;
height: 32px; height: 32px;
border-radius: 4px; border-radius: 4px;
color: #1f2329; color: #f2f4f5;
padding: 8px; padding: 8px;
margin-left: 8px; margin-left: 8px;
font-size: 16px; font-size: 16px;
@ -779,11 +779,11 @@ defineExpose({
outline: none !important; outline: none !important;
} }
&:hover { &:hover {
background: #f5f6f7; background: rgb(61,61,61);
} }
&:active { &:active {
background: #eff0f1; background: rgb(61,61,61);
} }
} }
.resource-tree { .resource-tree {
@ -856,6 +856,11 @@ defineExpose({
:deep(.ed-input__wrapper) { :deep(.ed-input__wrapper) {
width: 80px; width: 80px;
background: transparent;
box-shadow: 0 0 0 1px #5f5f5f;
}
:deep(.ed-input__inner){
color: #ffffff;
} }
.custom-tree { .custom-tree {
@ -922,4 +927,25 @@ defineExpose({
display: block; display: block;
} }
} }
.ed-tree{
color: #fff;
}
.ed-dropdown-menu{
background-color: rgb(41, 41, 41);
}
.ed-dropdown-menu__item--divided{
border-top: 1px solid #5f5f5f;
}
.ed-dropdown-menu__item:not(.is-disabled):hover{
background-color: rgb(61, 61, 61);
}
.ed-tree--highlight-current .ed-tree-node.is-current>.ed-tree-node__content{
background-color: rgb(61, 61, 61);
}
.ed-tree-node__content.is-menu:hover{
background-color: rgb(61, 61, 61);
}
.ed-tree-node.is-current.is-menu>:nth-child(1){
color: #0089ff;
}
</style> </style>

View File

@ -119,13 +119,37 @@ defineExpose({
} }
.multiplexing-footer { .multiplexing-footer {
position: relative; position: relative;
.ed-button{
color: #F2F4F5;
background-color: #212121;
border: 1px solid #434343;
}
.ed-button--primary{
background-color:#0089FF;
border: 1px solid #0089FF;
}
.ed-button.is-disabled{
background-color:#99b8ff;
border: 1px solid #99b8ff;
}
:deep(.ed-input__wrapper){
background-color:#212121 !important;
box-shadow: 0 0 0 1px #434343;
color: #ffffff;
}
:deep(.ed-input__inner){
color: #ffffff;
}
:deep(.ed-select-dropdown__item){
color: #ffffff !important;
}
} }
.adapt-count { .adapt-count {
position: absolute; position: absolute;
top: 18px; top: 18px;
left: 20px; left: 20px;
color: #646a73; color: #ffffff;
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 400;
line-height: 22px; line-height: 22px;
@ -139,7 +163,7 @@ defineExpose({
.adapt-text { .adapt-text {
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 400;
color: #1f2329; color: #ffffff;
line-height: 22px; line-height: 22px;
} }
</style> </style>
@ -149,11 +173,23 @@ defineExpose({
.ed-drawer__footer { .ed-drawer__footer {
height: 64px !important; height: 64px !important;
padding: 0px !important; padding: 0px !important;
box-shadow: 0 -1px 0px #d7d7d7 !important; box-shadow: 0 -1px 0px #5f5f5f;
} }
.ed-drawer__body { .ed-drawer__body {
padding: 0 0 64px 0 !important; padding: 0 0 64px 0 !important;
} }
} }
.ed-select-dropdown__item{
color: #ffffff ;
}
.ed-select-dropdown__item.hover, .ed-select-dropdown__item:hover{
background: rgb(61,61,61);
}
.ed-drawer__header{
color: #fff;
}
.ed-drawer__close-btn:hover{
background:rgb(61,61,61)
}
</style> </style>

View File

@ -320,13 +320,13 @@ onBeforeMount(() => {
height: 40px; height: 40px;
line-height: 40px; line-height: 40px;
font-size: 12px; font-size: 12px;
color: #3d4d66; color: #5f5f5f;
background-color: white; background-color: rgb(33,33,33);
.head-text { .head-text {
margin-left: 16px; margin-left: 16px;
font-weight: 500; font-weight: 500;
font-size: 14px; font-size: 14px;
color: #1f2329; color: #ffffff;
} }
.head-filter { .head-filter {
flex: 1; flex: 1;
@ -336,7 +336,7 @@ onBeforeMount(() => {
margin-right: 16px; margin-right: 16px;
font-weight: 400; font-weight: 400;
font-size: 12px; font-size: 12px;
color: #646a73; color: #ababab;
.ed-switch { .ed-switch {
margin-left: 8px; margin-left: 8px;
} }
@ -571,7 +571,7 @@ span {
width: 100%; width: 100%;
height: 100%; height: 100%;
padding: 12px; padding: 12px;
background: #ffffff; background: rgb(33,33,33);
} }
.view-show-content { .view-show-content {
position: relative; position: relative;
@ -583,4 +583,11 @@ span {
background-size: 100% 100% !important; background-size: 100% 100% !important;
} }
} }
:deep(.ed-tree){
background-color: rgb(33,33,33);
}
:deep(.ed-checkbox__inner){
background-color: rgb(33,33,33);
border-color: #818181;
}
</style> </style>

View File

@ -330,7 +330,7 @@ onBeforeMount(() => {
height: 100%; height: 100%;
overflow: hidden; overflow: hidden;
display: flex; display: flex;
background: #ffffff; background: rgb(33,33,33);
position: relative; position: relative;
.resource-area { .resource-area {
position: relative; position: relative;
@ -338,7 +338,7 @@ onBeforeMount(() => {
width: 279px; width: 279px;
padding: 0; padding: 0;
overflow: visible; overflow: visible;
border-right: 1px solid #d7d7d7; border-right: 1px solid #5f5f5f;
&.retract { &.retract {
display: none; display: none;
@ -392,6 +392,6 @@ onBeforeMount(() => {
.multiplexing-content { .multiplexing-content {
padding: 12px; padding: 12px;
background-color: rgb(245, 246, 247); background-color: #2d2d2d;
} }
</style> </style>

View File

@ -2352,4 +2352,5 @@ const getMenuList = (val: boolean) => {
color: var(--deTextPrimary, #1f2329); color: var(--deTextPrimary, #1f2329);
} }
} }
</style> </style>

View File

@ -304,8 +304,8 @@ function delTreeClic(){ // 删除
</el-form> </el-form>
<template #footer > <template #footer >
<el-button @click="paramsCloseForm">{{ t('dataset.cancel') }} </el-button> <el-button class="root-class" @click="paramsCloseForm">{{ t('dataset.cancel') }} </el-button>
<el-button type="primary" @click="saveData">{{ t('dataset.confirm') }} </el-button> <el-button class="root-class" type="primary" @click="saveData">{{ t('dataset.confirm') }} </el-button>
</template> </template>
</el-dialog> </el-dialog>
<div id="drag_main_area" v-show="isTreeDrag" <div id="drag_main_area" v-show="isTreeDrag"
@ -369,7 +369,9 @@ function delTreeClic(){ // 删除
padding:0 10px; padding:0 10px;
padding-right: 0; padding-right: 0;
} }
:deep(.ed-input__wrapper:hover){
border: none;
}
} }
:deep(.ed-tree){ :deep(.ed-tree){
background: transparent; background: transparent;
@ -450,9 +452,10 @@ function delTreeClic(){ // 删除
:deep(.ed-input.is-disabled .ed-input__inner){ :deep(.ed-input.is-disabled .ed-input__inner){
background-color: rgba(37, 38, 38, 0); background-color: rgba(37, 38, 38, 0);
} }
:deep(.ed-select__popper.ed-popper){
background: rgb(41,41,41) !important;
}
</style> </style>
<style> <style>
.create-project-dialog{ .create-project-dialog{
@ -500,4 +503,36 @@ function delTreeClic(){ // 删除
.drag-main-text:hover{ .drag-main-text:hover{
background-color: rgba(100, 100, 100, 1); background-color: rgba(100, 100, 100, 1);
} }
.root-class.ed-button{
color: #F2F4F5;
background-color: #212121;
border: 1px solid #434343;
}
.root-class.ed-button--primary{
background-color:#0089FF;
border: 1px solid #0089FF;
}
.ed-input__wrapper:hover{
box-shadow: 0 0 0 1px #434343;
}
.ed-select__popper.ed-popper{
background: rgb(41,41,41) !important;
color: #fff;
border:1px solid #434343;
}
.ed-select-dropdown__item{
color: #F2F4F5;
}
.ed-select-dropdown__item.hover, .ed-select-dropdown__item:hover{
background-color: rgba(255, 255, 255, .1)
}
.ed-select .ed-input__wrapper:hover {
box-shadow: 0 0 0 1px #5f5f5f !important;
}
.ed-select .ed-input.is-focus .ed-input__wrapper{
box-shadow: 0 0 0 1px #5f5f5f !important;
}
.ed-select .ed-input__wrapper.is-focus{
box-shadow: 0 0 0 1px #5f5f5f !important;
}
</style> </style>

View File

@ -392,6 +392,6 @@ onBeforeMount(() => {
.multiplexing-content { .multiplexing-content {
padding: 12px; padding: 12px;
background-color: rgb(245, 246, 247); background-color: rgb(33,33,33);
} }
</style> </style>