aboutsummaryrefslogtreecommitdiff
path: root/lib/forms.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2011-09-12 22:19:28 -0700
committerMark Otto <[email protected]>2011-09-12 22:19:28 -0700
commit524948385013d0f4399a0e99539a5664c04cfce4 (patch)
tree787fc76ca0d1b75145f98778cbb562ac76bf0901 /lib/forms.less
parent206334ba70c22dc91ec9381f9693ed6356358994 (diff)
downloadbootstrap-524948385013d0f4399a0e99539a5664c04cfce4.tar.xz
bootstrap-524948385013d0f4399a0e99539a5664c04cfce4.zip
comment out box-shadow on masthead and footer in docs.css because Opera sucks at inset box-shadow :"
Diffstat (limited to 'lib/forms.less')
-rw-r--r--lib/forms.less8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/forms.less b/lib/forms.less
index d15dfded4..e8a26bb9f 100644
--- a/lib/forms.less
+++ b/lib/forms.less
@@ -89,7 +89,7 @@ input[type=radio] {
}
input[type=file] {
- background-color: #fff;
+ background-color: @white;
padding: initial;
border: initial;
line-height: initial;
@@ -116,7 +116,7 @@ textarea {
// For text that needs to appear as an input but should not be an input
.uneditable-input {
- background-color: #fff;
+ background-color: @white;
display: block;
border-color: #eee;
.box-shadow(inset 0 1px 2px rgba(0,0,0,.025));
@@ -228,6 +228,8 @@ textarea.xxlarge {
// Grid style input sizes
// This is a duplication of the main grid .columns() mixin, but subtracts 10px to account for input padding and border
.formColumns(@columnSpan: 1) {
+ display: inline-block;
+ float: none;
width: ((@gridColumnWidth - 10) * @columnSpan) + ((@gridColumnWidth - 10) * (@columnSpan - 1));
margin-left: 0;
}
@@ -340,7 +342,7 @@ textarea[readonly] {
line-height: 18px;
color: @grayLight;
text-align: center;
- text-shadow: 0 1px 0 #fff;
+ text-shadow: 0 1px 0 @white;
background-color: #f5f5f5;
border: 1px solid #ccc;
.border-radius(3px 0 0 3px);