]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
use shorthand on form field transitions for box-shadow mixin
authorMark Otto <markotto@twitter.com>
Sun, 29 Jul 2012 19:10:29 +0000 (12:10 -0700)
committerMark Otto <markotto@twitter.com>
Sun, 29 Jul 2012 19:10:29 +0000 (12:10 -0700)
less/forms.less

index 1a469072cb2447b983c957a07947af1fe8bd6c57..0c913b952b945d6c130ef14c13c4ad315e8c7403 100644 (file)
@@ -118,8 +118,7 @@ input[type="color"],
   background-color: @inputBackground;
   border: 1px solid @inputBorder;
   .box-shadow(inset 0 1px 1px rgba(0,0,0,.075));
-  @transition: border linear .2s, box-shadow linear .2s;
-  .transition(@transition);
+  .transition(~"border linear .2s, box-shadow linear .2s");
 
   // Focus state
   &:focus {