diff options
| author | Teddy Wing | 2013-11-10 07:14:29 -0500 | 
|---|---|---|
| committer | Teddy Wing | 2013-11-10 07:14:29 -0500 | 
| commit | ce7a42f3fe9d1b67ec01bd23b727d79b2924d73a (patch) | |
| tree | d1d5f783958bea00c2e8b9c738331c10fbc22dae | |
| parent | 71c66c5120c9357890f967bd0aa5e266740ad78e (diff) | |
| parent | 8e3e493991cc73c42750ab4a506b535b9ac1709b (diff) | |
| download | clip-play-ce7a42f3fe9d1b67ec01bd23b727d79b2924d73a.tar.bz2 | |
Merge branch 'key-input-hover-animation-fanciness'
| -rw-r--r-- | assets/css/application.css | 41 | 
1 files changed, 41 insertions, 0 deletions
| diff --git a/assets/css/application.css b/assets/css/application.css index 0de3a55..23b863b 100644 --- a/assets/css/application.css +++ b/assets/css/application.css @@ -31,6 +31,7 @@ header {  } +/* Keyboard keys */  .key { /* http://cssdeck.com/labs/apple-keyboard-via-css3 */  	display: block;  	color: #aaa; @@ -66,8 +67,48 @@ header {  	border: none;  } +@-webkit-keyframes keyboard-key-pulse-color { +	0% { +		background: #eff0f2; +	} +	100% { +		background: #d6d7d9; +	} +} + +@-moz-keyframes keyboard-key-pulse-color { +	0% { +		background: #eff0f2; +	} +	100% { +		background: #d6d7d9; +	} +} + +@-o-keyframes keyboard-key-pulse-color { +	0% { +		background: #eff0f2; +	} +	100% { +		background: #d6d7d9; +	} +} + +@keyframes keyboard-key-pulse-color { +	0% { +		background: #eff0f2; +	} +	100% { +		background: #d6d7d9; +	} +} +  .key-input:hover {  	background: #dddee0; +	-webkit-animation: keyboard-key-pulse-color 0.8s linear alternate infinite; +	-moz-animation: keyboard-key-pulse-color 0.8s linear alternate infinite; +	-o-animation: keyboard-key-pulse-color 0.8s linear alternate infinite; +	animation: keyboard-key-pulse-color 0.8s linear alternate infinite;  } | 
