Merge pull request #11044 from dataease/pr@dev-v2_st

fix: 样式优化
This commit is contained in:
dataeaseShu 2024-07-19 15:46:31 +08:00 committed by GitHub
commit 1536bc6f3d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 32 additions and 23 deletions

View File

@ -214,25 +214,7 @@ onMounted(() => {
background-color: rgba(0, 0, 0, 0.5); /* 半透明黑色 */
z-index: 10000;
}
.header-light {
background-color: #ffffff !important;
box-shadow: 0px 0.5px 0px 0px #1f232926 !important;
.ed-menu {
background-color: #ffffff !important;
}
.ed-menu--horizontal {
.ed-menu-item {
color: var(--ed-color-black) !important;
}
:deep(.ed-sub-menu__title) {
color: var(--ed-color-black) !important;
}
}
.logo {
color: #3371ff !important;
}
}
.header-flex {
margin-bottom: 0.5px;
display: flex;
@ -278,12 +260,37 @@ onMounted(() => {
.ed-menu-item:not(.is-disabled):hover,
:deep(.ed-sub-menu__title):not(.is-disabled):hover {
color: #ffffff;
background-color: var(--ed-color-primary);
color: #ffffffcc;
background: #ffffff1a;
}
}
}
.header-light {
background-color: #ffffff !important;
box-shadow: 0px 0.5px 0px 0px #1f232926 !important;
.ed-menu {
background-color: #ffffff !important;
}
.ed-menu--horizontal {
.ed-menu-item {
color: var(--ed-color-black) !important;
}
:deep(.ed-sub-menu__title) {
color: var(--ed-color-black) !important;
}
.ed-menu-item:not(.is-disabled):hover,
:deep(.ed-sub-menu__title):not(.is-disabled):hover {
color: #1f2329;
background: #1f23291a;
}
}
.logo {
color: #3371ff !important;
}
}
.logo {
width: 134px;
height: 34px;

View File

@ -48,7 +48,7 @@ const redirectUser = () => {
}
.is-light-setting {
&:hover {
background-color: var(--ed-menu-hover-bg-color) !important;
background-color: #1f23291a !important;
}
}
</style>

View File

@ -101,7 +101,7 @@ onMounted(() => {
}
.is-light-setting {
&:hover {
background-color: var(--ed-menu-hover-bg-color) !important;
background-color: #1f23291a !important;
}
}
</style>

View File

@ -63,7 +63,7 @@ const cardInfoList = [
}
.is-light-setting {
&:hover {
background-color: var(--ed-menu-hover-bg-color) !important;
background-color: #1f23291a !important;
}
}
</style>

View File

@ -222,7 +222,9 @@ const getDsName = (id: string) => {
}
const pushDataset = () => {
console.log('appStore.isDataEaseBi', appStore.isDataEaseBi)
if (appStore.isDataEaseBi) {
debugger
embeddedStore.clearState()
useEmitt().emitter.emit('changeCurrentComponent', 'DatasetEditor')
return