aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-01-26 10:00:09 -0800
committerMark Otto <[email protected]>2012-01-26 10:00:09 -0800
commit0ef4b6419fd83170dd62049a2850c5e8466635c9 (patch)
tree23e649cbd61892a8755a4e9af2c7f790d9fd7fa3 /lib
parent106625a2ece84fd5e1e68144411c8d00db05c23f (diff)
downloadbootstrap-0ef4b6419fd83170dd62049a2850c5e8466635c9.tar.xz
bootstrap-0ef4b6419fd83170dd62049a2850c5e8466635c9.zip
overhaul frontpage jumbotron, add js for twitter buttons back in, fix up some form ids and classes, straighten out the use of primary button variable
Diffstat (limited to 'lib')
-rw-r--r--lib/buttons.less2
-rw-r--r--lib/forms.less6
-rw-r--r--lib/mixins.less3
-rw-r--r--lib/variables.less2
4 files changed, 11 insertions, 2 deletions
diff --git a/lib/buttons.less b/lib/buttons.less
index f13a9acbf..d97f044cf 100644
--- a/lib/buttons.less
+++ b/lib/buttons.less
@@ -59,7 +59,7 @@
&.primary {
color: @white;
text-shadow: 0 -1px 0 rgba(0,0,0,.25);
- .gradientBar(@blue, @blueDark)
+ .gradientBar(@primaryButtonBackground, spin(@primaryButtonBackground, 15));
}
// Transitions
diff --git a/lib/forms.less b/lib/forms.less
index 3acb8c5dc..744649f90 100644
--- a/lib/forms.less
+++ b/lib/forms.less
@@ -133,10 +133,16 @@ input[type=image] {
.box-shadow(none);
}
+// Make textarea height behave
textarea {
height: auto;
}
+// Hidden inputs
+input[type=hidden] {
+ display: none;
+}
+
// CHECKBOXES & RADIOS
diff --git a/lib/mixins.less b/lib/mixins.less
index 2eab8f36e..b58571e6a 100644
--- a/lib/mixins.less
+++ b/lib/mixins.less
@@ -134,12 +134,14 @@
// Border Radius
.border-radius(@radius: 5px) {
-webkit-border-radius: @radius;
+ -moz-border-radius: @radius;
border-radius: @radius;
}
// Drop shadows
.box-shadow(@shadow: 0 1px 3px rgba(0,0,0,.25)) {
-webkit-box-shadow: @shadow;
+ -moz-box-shadow: @shadow;
box-shadow: @shadow;
}
@@ -179,6 +181,7 @@
// Heads up: FF 3.6 and under need "padding" instead of "padding-box"
.background-clip(@clip) {
-webkit-background-clip: @clip;
+ -moz-background-clip: @clip;
background-clip: @clip;
}
diff --git a/lib/variables.less b/lib/variables.less
index 3c4f562ca..5ed896cc0 100644
--- a/lib/variables.less
+++ b/lib/variables.less
@@ -45,7 +45,7 @@
@baseLineHeight: 18px;
// Buttons
-@primaryButtonColor: @blue;
+@primaryButtonBackground: @linkColor;