]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
add animation to docs download btn for firefox
authorMark Otto <markotto@twitter.com>
Tue, 14 Aug 2012 22:12:22 +0000 (15:12 -0700)
committerMark Otto <markotto@twitter.com>
Tue, 14 Aug 2012 22:12:22 +0000 (15:12 -0700)
docs/assets/css/docs.css

index 684e9529ba39d8151a5515525a511b6d75590c1e..e58093e1a8e8e17b48f4f1180565053e858636b8 100644 (file)
@@ -133,9 +133,14 @@ hr.soften {
 
 /* Download button */
 @-webkit-keyframes downloadButton {
-  from { -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 10px rgba(0,68,204,.5); }
-  50% {  -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 25px rgba(0,68,204,.9); }
-  to {   -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 10px rgba(0,68,204,.5); }
+  from { box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 10px rgba(0,68,204,.5); }
+  50% {  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 25px rgba(0,68,204,.9); }
+  to {   box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 10px rgba(0,68,204,.5); }
+}
+@-moz-keyframes downloadButton {
+  from { box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 10px rgba(0,68,204,.5); }
+  50% {  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 25px rgba(0,68,204,.9); }
+  to {   box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 10px rgba(0,68,204,.5); }
 }
 .masthead .btn {
   padding: 14px 24px;
@@ -150,8 +155,11 @@ hr.soften {
      -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 10px rgba(0,68,204,.01);
           box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 10px rgba(0,68,204,.01);
   -webkit-animation-name: downloadButton;
+     -moz-animation-name: downloadButton;
   -webkit-animation-duration: 1.5s;
+     -moz-animation-duration: 1.5s;
   -webkit-animation-iteration-count: infinite;
+     -moz-animation-iteration-count: infinite;
   -webkit-transition: none;
      -moz-transition: none;
           transition: none;