Update to Bootstrap 2.0.4

This commit is contained in:
Ben Word
2012-06-03 12:26:22 -06:00
parent 88fd827d04
commit 9e1ecfa4e1
16 changed files with 145 additions and 127 deletions

View File

@@ -81,10 +81,13 @@
// Placeholder text
// -------------------------
.placeholder(@color: @placeholderText) {
:-moz-placeholder {
&:-moz-placeholder {
color: @color;
}
::-webkit-input-placeholder {
&:-ms-input-placeholder {
color: @color;
}
&::-webkit-input-placeholder {
color: @color;
}
}
@@ -166,6 +169,8 @@
color: @textColor;
}
// Style inputs accordingly
.checkbox,
.radio,
input,
select,
textarea {
@@ -312,6 +317,16 @@
column-gap: @columnGap;
}
// Optional hyphenation
.hyphens(@mode: auto) {
word-wrap: break-word;
-webkit-hyphens: @mode;
-moz-hyphens: @mode;
-ms-hyphens: @mode;
-o-hyphens: @mode;
hyphens: @mode;
}
// Opacity
.opacity(@opacity) {
opacity: @opacity / 100;
@@ -417,7 +432,7 @@
// Horizontal dividers
// -------------------------
// Dividers (basically an hr) within dropdowns and nav lists
.nav-divider() {
.nav-divider(@top: #e5e5e5, @bottom: @white) {
// IE7 needs a set width since we gave a height. Restricting just
// to IE7 to keep the 1px left/right space in other browsers.
// It is unclear where IE is getting the extra space that we need
@@ -427,8 +442,8 @@
margin: ((@baseLineHeight / 2) - 1) 1px; // 8px 1px
*margin: -5px 0 5px;
overflow: hidden;
background-color: #e5e5e5;
border-bottom: 1px solid @white;
background-color: @top;
border-bottom: 1px solid @bottom;
}
// Button backgrounds