diff options
Diffstat (limited to 'less/mixins.less')
| -rw-r--r-- | less/mixins.less | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/less/mixins.less b/less/mixins.less index 96ce23eca..1b2f0bcfb 100644 --- a/less/mixins.less +++ b/less/mixins.less @@ -175,9 +175,13 @@ textarea { color: @textColor; border-color: @borderColor; + .box-shadow(inset 0 1px 1px rgba(0,0,0,.075)); // Redeclare so transitions work &:focus { border-color: darken(@borderColor, 10%); - .box-shadow(0 0 6px lighten(@borderColor, 20%)); + // 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%); } } // Give a small background color for input-prepend/-append |
