diff options
| author | Luis Aleman <[email protected]> | 2012-08-27 19:13:11 -0400 |
|---|---|---|
| committer | Luis Aleman <[email protected]> | 2012-08-27 19:13:11 -0400 |
| commit | 96a1797af123e73ba05cc1b6ce5aa8ef0ef17694 (patch) | |
| tree | 4796a0fd794dd28b5e912e27ba27afded64ee539 | |
| parent | 1b7a3ca416e51414e8dc3f395f2f58d8ceb4bb15 (diff) | |
| download | bootstrap-96a1797af123e73ba05cc1b6ce5aa8ef0ef17694.tar.xz bootstrap-96a1797af123e73ba05cc1b6ce5aa8ef0ef17694.zip | |
No longer need to write box-shadows in full when using lighten or other functions
| -rw-r--r-- | less/mixins.less | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/less/mixins.less b/less/mixins.less index 989ac0d70..7fcd14c8e 100644 --- a/less/mixins.less +++ b/less/mixins.less @@ -183,10 +183,7 @@ .box-shadow(inset 0 1px 1px rgba(0,0,0,.075)); // Redeclare so transitions work &:focus { border-color: darken(@borderColor, 10%); - // Write out in full since the lighten() function isn't easily escaped - -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@borderColor, 20%); - -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@borderColor, 20%); - box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@borderColor, 20%); + .box-shadow(inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@borderColor, 20%)); } } // Give a small background color for input-prepend/-append |
