diff options
| author | Mark Otto <[email protected]> | 2012-09-12 16:18:52 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-09-12 16:18:52 -0700 |
| commit | 537c5cc33dd91772d51c1b767eb31afbc1e9c6cf (patch) | |
| tree | 184c0820a51655aa4759415705e994717ca90b96 /less | |
| parent | 65d322958ca9b4217548807c54414606182666fb (diff) | |
| download | bootstrap-537c5cc33dd91772d51c1b767eb31afbc1e9c6cf.tar.xz bootstrap-537c5cc33dd91772d51c1b767eb31afbc1e9c6cf.zip | |
use local var for a few other .box-shadow mixins to fix CSS not compiling
Diffstat (limited to 'less')
| -rw-r--r-- | less/forms.less | 3 | ||||
| -rw-r--r-- | less/mixins.less | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/less/forms.less b/less/forms.less index 74fb6189e..7030ac3c1 100644 --- a/less/forms.less +++ b/less/forms.less @@ -364,7 +364,8 @@ select:focus:required:invalid { border-color: #ee5f5b; &:focus { border-color: darken(#ee5f5b, 10%); - .box-shadow(0 0 6px lighten(#ee5f5b, 20%)); + @shadow: 0 0 6px lighten(#ee5f5b, 20%); + .box-shadow(@shadow); } } diff --git a/less/mixins.less b/less/mixins.less index f6cde1966..c146e4005 100644 --- a/less/mixins.less +++ b/less/mixins.less @@ -183,7 +183,8 @@ .box-shadow(inset 0 1px 1px rgba(0,0,0,.075)); // Redeclare so transitions work &:focus { 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 |
