GUAC-685: Display text briefly, as it's typed.
This commit is contained in:
1 parent
d1190ba88a
commit
5c29d04149
3 files changed
+84
-15
No files matched your search
@@ -679,6 +679,22 @@ p.hint {
|
||||
font-size: 2em;
|
||||
}
|
||||
|
||||
/**
|
||||
* off-to-the-ether: Move away and disappear
|
||||
*/
|
||||
@keyframes off-to-the-ether {
|
||||
from { left: 0; opacity: 1; }
|
||||
to { left: -200px; opacity: 0; }
|
||||
}
|
||||
@-moz-keyframes off-to-the-ether {
|
||||
from { left: 0; opacity: 1; }
|
||||
to { left: -200px; opacity: 0; }
|
||||
}
|
||||
@-webkit-keyframes off-to-the-ether {
|
||||
from { left: 0; opacity: 1; }
|
||||
to { left: -200px; opacity: 0; }
|
||||
}
|
||||
|
||||
#text-input {
|
||||
display: none;
|
||||
position: fixed;
|
||||
@@ -696,11 +712,13 @@ p.hint {
|
||||
display: inline-block;
|
||||
vertical-align: bottom;
|
||||
text-align: center;
|
||||
font-size: 12pt;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
resize: none;
|
||||
|
||||
margin: 0;
|
||||
padding: 0.25em;
|
||||
opacity: 0.75;
|
||||
background: #CDA;
|
||||
|
||||
@@ -710,6 +728,20 @@ p.hint {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#text-input .sent-text {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: -200px;
|
||||
width: 100%;
|
||||
white-space: pre;
|
||||
animation: off-to-the-ether 1s linear;
|
||||
-webkit-animation: off-to-the-ether 1s linear;
|
||||
opacity: 0;
|
||||
text-align: center;
|
||||
font-size: 12pt;
|
||||
padding: 0.25em;
|
||||
}
|
||||
|
||||
.notification.message {
|
||||
background: #DFD;
|
||||
animation: fadein 0.125s linear, fadeout 2s 3s linear;
|
||||
|
||||
Reference in new issue
Block a user