mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-14 18:42:30 +03:00
Merge branch '2.0-wip' of git://github.com/twitter/bootstrap into 2.0-wip
This commit is contained in:
@@ -67,6 +67,13 @@
|
||||
// Button Base
|
||||
display: inline-block;
|
||||
padding: 4px 10px 4px;
|
||||
*padding: 2px 10px;
|
||||
// IE7 likes to collapse the whitespace before the button, so bring it back...
|
||||
*margin-left: 4px;
|
||||
&:first-child {
|
||||
// ...but not before the first button
|
||||
*margin-left: 0;
|
||||
}
|
||||
font-size: @baseFontSize;
|
||||
line-height: @baseLineHeight;
|
||||
color: @grayDark;
|
||||
|
||||
@@ -192,6 +192,7 @@ textarea:focus {
|
||||
@shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);
|
||||
.box-shadow(@shadow);
|
||||
outline: 0;
|
||||
outline: 1px dotted #666 \9; /* IE6-8 */
|
||||
}
|
||||
input[type=file]:focus,
|
||||
input[type=checkbox]:focus,
|
||||
@@ -439,6 +440,15 @@ select:focus:required:invalid {
|
||||
margin-left: -1px;
|
||||
.border-radius(0 3px 3px 0);
|
||||
}
|
||||
input:first-child {
|
||||
// In IE7, having a hasLayout container (from clearfix's zoom:1) can make the first input
|
||||
// inherit the sum of its ancestors' margins.
|
||||
*margin-left: -160px;
|
||||
|
||||
&+.add-on {
|
||||
*margin-left: -21px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -64,6 +64,7 @@ table {
|
||||
.table-bordered {
|
||||
border: 1px solid #ddd;
|
||||
border-collapse: separate; // Done so we can round those corners!
|
||||
*border-collapse: collapsed; // IE7 can't round corners anyway
|
||||
.border-radius(4px);
|
||||
th + th,
|
||||
td + td,
|
||||
|
||||
Reference in New Issue
Block a user