Commit 537c5cc3 authored by Mark Otto's avatar Mark Otto

use local var for a few other .box-shadow mixins to fix CSS not compiling

parent 65d32295
This diff is collapsed.
...@@ -364,7 +364,8 @@ select:focus:required:invalid { ...@@ -364,7 +364,8 @@ select:focus:required:invalid {
border-color: #ee5f5b; border-color: #ee5f5b;
&:focus { &:focus {
border-color: darken(#ee5f5b, 10%); border-color: darken(#ee5f5b, 10%);
.box-shadow(0 0 6px lighten(#ee5f5b, 20%)); @shadow: 0 0 6px lighten(#ee5f5b, 20%);
.box-shadow(@shadow);
} }
} }
......
...@@ -183,7 +183,8 @@ ...@@ -183,7 +183,8 @@
.box-shadow(inset 0 1px 1px rgba(0,0,0,.075)); // Redeclare so transitions work .box-shadow(inset 0 1px 1px rgba(0,0,0,.075)); // Redeclare so transitions work
&:focus { &:focus {
border-color: darken(@borderColor, 10%); border-color: darken(@borderColor, 10%);
.box-shadow(~"inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@borderColor, 20%)"); @shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@borderColor, 20%);
.box-shadow(@shadow);
} }
} }
// Give a small background color for input-prepend/-append // Give a small background color for input-prepend/-append
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment