Skip to content

Commit 298e1b5

Browse files
committed
fix broken checkbox in ie7
1 parent 2f4c84b commit 298e1b5

File tree

5 files changed

+15
-11
lines changed

5 files changed

+15
-11
lines changed

bootstrap-1.2.0.css

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* http://www.apache.org/licenses/LICENSE-2.0
77
*
88
* Designed and built with all the love in the world @twitter by @mdo and @fat.
9-
* Date: Fri Sep 2 12:35:18 PDT 2011
9+
* Date: Fri Sep 2 12:46:27 PDT 2011
1010
*/
1111
/* Reset.less
1212
* Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc).
@@ -677,6 +677,9 @@ input[type=checkbox], input[type=radio] {
677677
height: auto;
678678
padding: 0;
679679
margin: 3px 0;
680+
*margin-top: 0;
681+
/* IE6-7 */
682+
680683
line-height: normal;
681684
border: none;
682685
}
@@ -1532,12 +1535,12 @@ footer {
15321535
display: inline-block;
15331536
background-color: #e6e6e6;
15341537
background-repeat: no-repeat;
1535-
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), color-stop(0.25, #ffffff), to(#e6e6e6));
1536-
background-image: -webkit-linear-gradient(#ffffff, #ffffff 0.25, #e6e6e6);
1537-
background-image: -moz-linear-gradient(#ffffff, #ffffff 0.25, #e6e6e6);
1538-
background-image: -ms-linear-gradient(#ffffff, #ffffff 0.25, #e6e6e6);
1539-
background-image: -o-linear-gradient(#ffffff, #ffffff 0.25, #e6e6e6);
1540-
background-image: linear-gradient(#ffffff, #ffffff 0.25, #e6e6e6);
1538+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), color-stop(25%, #ffffff), to(#e6e6e6));
1539+
background-image: -webkit-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
1540+
background-image: -moz-linear-gradient(top, #ffffff, #ffffff 25%, #e6e6e6);
1541+
background-image: -ms-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
1542+
background-image: -o-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
1543+
background-image: linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
15411544
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);
15421545
padding: 5px 14px 6px;
15431546
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);

bootstrap-1.2.0.min.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/forms.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ input[type=radio] {
8383
height: auto;
8484
padding: 0;
8585
margin: 3px 0;
86+
*margin-top: 0; /* IE6-7 */
8687
line-height: normal;
8788
border: none;
8889
}

lib/patterns.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ footer {
429429
// Button Base
430430
cursor: pointer;
431431
display: inline-block;
432-
#gradient > .vertical-three-colors(#ffffff, #ffffff, 0.25, darken(#ffffff, 10%)); // Don't use .gradientbar() here since it does a three-color gradient
432+
#gradient > .vertical-three-colors(#ffffff, #ffffff, 25%, darken(#ffffff, 10%)); // Don't use .gradientbar() here since it does a three-color gradient
433433
padding: 5px 14px 6px;
434434
text-shadow: 0 1px 1px rgba(255,255,255,.75);
435435
color: #333;

lib/preboot.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@
257257
background-repeat: no-repeat;
258258
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(@startColor), color-stop(@colorStop, @midColor), to(@endColor));
259259
background-image: -webkit-linear-gradient(@startColor, @midColor @colorStop, @endColor);
260-
background-image: -moz-linear-gradient(@startColor, @midColor @colorStop, @endColor);
260+
background-image: -moz-linear-gradient(top, @startColor, @midColor @colorStop, @endColor);
261261
background-image: -ms-linear-gradient(@startColor, @midColor @colorStop, @endColor);
262262
background-image: -o-linear-gradient(@startColor, @midColor @colorStop, @endColor);
263263
background-image: linear-gradient(@startColor, @midColor @colorStop, @endColor);

0 commit comments

Comments
 (0)