2
0
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:
Burak Tuyan
2012-01-27 20:48:37 +02:00
6 changed files with 45 additions and 4 deletions
+7
View File
@@ -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;
+10
View File
@@ -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;
}
}
}
+1
View File
@@ -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,