Compare commits
No commits in common. "9c54c89fcfd33cb70845bbba3aa71fdaa4b1d445" and "9ffdb85b12db5b0da48fd819455eaf3a02fb4678" have entirely different histories.
9c54c89fcf
...
9ffdb85b12
|
@ -1,7 +1,7 @@
|
|||
:root {
|
||||
--black: #232D37;
|
||||
--white: #FAE2D3;
|
||||
--success: #3CB57F;
|
||||
--succes: #3CB57F;
|
||||
}
|
||||
|
||||
body {
|
||||
|
|
|
@ -29,7 +29,7 @@ div.y2t-output button {
|
|||
display:block;
|
||||
}
|
||||
|
||||
div.y2t-output div.promptext {
|
||||
div.y2t-output div {
|
||||
max-height: 120px;
|
||||
overflow-y: scroll;
|
||||
display:block;
|
||||
|
|
|
@ -135,38 +135,4 @@ section#output {
|
|||
section#output div.y2t-output {
|
||||
margin-top: 40px;
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
|
||||
div.y2t-output {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
div.copied {
|
||||
position: absolute;
|
||||
background-color: var(--success);
|
||||
color: white;
|
||||
font-size: 1.2rem;
|
||||
padding: 10px;
|
||||
right: -15px;
|
||||
top: -10px;
|
||||
transform: rotate(10deg);
|
||||
}
|
||||
|
||||
.success {
|
||||
animation: fade-in 3s forwards;
|
||||
}
|
||||
|
||||
@keyframes fade-in {
|
||||
0% {
|
||||
opacity: 0;
|
||||
}
|
||||
30% {
|
||||
opacity: 1;
|
||||
}
|
||||
80% {
|
||||
opacity: 1;
|
||||
}
|
||||
100% {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
|
@ -31,7 +31,7 @@ Vue.component('copbox',{
|
|||
successOk(){
|
||||
this.isSuccess = true;
|
||||
this.$refs.element.addEventListener('animationend', () => {
|
||||
this.isSuccess = false;
|
||||
this.isFaded = false;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue