aboutsummaryrefslogtreecommitdiff
path: root/less/mixins.less
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2012-08-02 16:58:51 -0700
committerJacob Thornton <[email protected]>2012-08-02 16:58:51 -0700
commit88deb08ff27db0e016e0c030dce072f07b6bc7f4 (patch)
tree710d29ba11c0f8c6ebe47cc69853d87f859ecff5 /less/mixins.less
parent2b2b3303e1e93d627bf57d145173a523d991803c (diff)
parentd27dcf3b070015aca81d86de00e1b2ea6e0f30ff (diff)
downloadbootstrap-88deb08ff27db0e016e0c030dce072f07b6bc7f4.tar.xz
bootstrap-88deb08ff27db0e016e0c030dce072f07b6bc7f4.zip
Merge branch '2.1.0-wip' of http://github.com/twitter/bootstrap into 2.1.0-wip
Diffstat (limited to 'less/mixins.less')
-rw-r--r--less/mixins.less6
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