feat: 思维导图支持无极缩放

This commit is contained in:
kuaifan 2022-01-06 08:08:40 +08:00
parent 7c64b27ef4
commit 919dc3cdea
2 changed files with 90 additions and 61 deletions

File diff suppressed because one or more lines are too long

View File

@ -39,10 +39,34 @@ $--dropdown-menuItem-hover-color: #606266;
height: 5px;
}
.el-tooltip__popper.is-light[x-placement^="bottom"] {
border-width: 0;
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
.popper__arrow {
border-bottom-color: hsla(0, 0%, 85%, .5);
.el-tooltip__popper {
&.is-light {
border-width: 0;
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
&[x-placement^="top"] {
.popper__arrow {
border-top-color: hsla(0, 0%, 85%, .5);
}
}
&[x-placement^="bottom"] {
.popper__arrow {
border-bottom-color: hsla(0, 0%, 85%, .5);
}
}
&[x-placement^="left"] {
.popper__arrow {
border-left-color: hsla(0, 0%, 85%, .5);
}
}
&[x-placement^="right"] {
.popper__arrow {
border-right-color: hsla(0, 0%, 85%, .5);
}
}
}
}
.el-popover {
border-width: 0;
box-shadow: 0 1px 6px rgba(0,0,0,.2);
}