Animate tooltips when hiding as well as showing
This uses the same animation style as on show, but twice as fast.
This commit is contained in:
parent
0b42ded007
commit
26f732723e
3 changed files with 40 additions and 6 deletions
|
@ -50,7 +50,6 @@ limitations under the License.
|
|||
|
||||
.mx_Tooltip {
|
||||
display: none;
|
||||
animation: mx_fadein 0.2s;
|
||||
position: fixed;
|
||||
border: 1px solid $menu-border-color;
|
||||
border-radius: 4px;
|
||||
|
@ -66,4 +65,12 @@ limitations under the License.
|
|||
max-width: 200px;
|
||||
word-break: break-word;
|
||||
margin-right: 50px;
|
||||
|
||||
&.mx_Tooltip_visible {
|
||||
animation: mx_fadein 0.2s forwards;
|
||||
}
|
||||
|
||||
&.mx_Tooltip_invisible {
|
||||
animation: mx_fadeout 0.1s forwards;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue