Vanessa 2023-02-15 15:25:25 +08:00
parent 2cac581630
commit f2de7bf6e6
7 changed files with 24 additions and 14 deletions

View file

@ -125,10 +125,6 @@
flex-direction: column;
border-bottom: 1px solid var(--b3-theme-surface-lighter);
.protyle-wysiwyg {
transition: none;
}
&:last-child {
border-bottom: 0;
}

View file

@ -261,6 +261,20 @@
.protyle-content {
overflow: auto;
flex: 1;
&--transition {
.protyle-wysiwyg {
transition: padding .3s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0ms;
}
.protyle-title {
transition: margin .3s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0ms;
}
.protyle-background__iconw {
transition: left .3s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0ms;
}
}
}
.protyle-background {
@ -401,7 +415,6 @@
display: flex;
position: absolute;
height: 80px;
transition: left .3s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0ms;
.protyle-icons {
position: initial;
@ -414,7 +427,6 @@
margin: 34px 16px 0 24px;
position: relative;
font-size: 16px;
transition: margin .3s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0ms;
&:hover .protyle-title__icon {
opacity: 1;

View file

@ -1,7 +1,7 @@
.protyle-wysiwyg {
padding: 34px 16px 16px 24px;
cursor: text;
transition: padding .3s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0ms;
box-sizing: border-box;
.protyle-breadcrumb__bar {