Add show-dialog animation. Style dialogs in client.

This commit is contained in:
Michael Jumper committed 2013-11-11 11:31:05 -08:00
1 parent 27ae6e5024
commit e8d1b7de6f
3 files changed
+55 -23

No files matched your search

+34 -7
View File
@@ -256,15 +256,42 @@ div#viewportClone {
visibility: hidden;
}
.status {
text-shadow: 0 0 0.25em black, 0 0 0.25em black, 0 0 0.25em black, 0 0 0.25em black;
font-size: xx-large;
color: white;
@keyframes show-dialog {
0% {transform: scale(0.5); }
100% {transform: scale(1); }
}
.guac-error .status {
text-shadow: 0 0 0.25em black, 0 0 0.25em black, 0 0 0.25em black, 0 0 0.25em black;
color: #D44;
@-webkit-keyframes show-dialog {
0% {-webkit-transform: scale(0.5); }
100% {-webkit-transform: scale(1); }
}
.dialog {
animation-name: show-dialog;
animation-duration: 0.125s;
-webkit-animation-name: show-dialog;
-webkit-animation-duration: 0.125s;
max-height: none;
width: 4in;
font-size: 0.75em;
-moz-border-radius: 0.2em;
-webkit-border-radius: 0.2em;
-khtml-border-radius: 0.2em;
border-radius: 0.2em;
}
.guac-error .dialog {
background: #FDD;
border: 1px solid #964040;
}
.dialog .title {
font-size: 1.1em;
font-weight: bold;
border-bottom: 1px solid black;
margin-bottom: 0.5em;
}
p.hint {