Improve animation of RPC settings

This commit is contained in:
the1812 2019-09-02 00:00:32 +08:00
parent 530f141a13
commit 7cfc350797
4 changed files with 8 additions and 6 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -297,17 +297,19 @@
cursor: initial;
box-shadow: rgba(0, 0, 0, 0.2) 0 4px 8px 0px;
transform-origin: bottom;
transform: translateX(-50%);
transform: translateX(-50%) scale(0.9);
opacity: 0;
pointer-events: none;
padding: 8px;
z-index: 3;
transition: .3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}
.rpc-settings > * {
margin: 8px;
}
.rpc-settings.show {
opacity: 1;
transform: translateX(-50%) scale(1);
pointer-events: initial;
}
.rpc-settings-item {