1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-26 14:54:27 +02:00

fixes #5123: scope table grid classes to td and th elements only, plus drop columns 13-24

This commit is contained in:
Mark Otto
2012-10-01 13:08:21 -07:00
parent bc4f5d565e
commit f8ac403d8b
2 changed files with 38 additions and 109 deletions

View File

@@ -2023,150 +2023,90 @@ table [class*=span],
margin-left: 0;
}
.table .span1 {
.table td.span1,
.table th.span1 {
float: none;
width: 44px;
margin-left: 0;
}
.table .span2 {
.table td.span2,
.table th.span2 {
float: none;
width: 124px;
margin-left: 0;
}
.table .span3 {
.table td.span3,
.table th.span3 {
float: none;
width: 204px;
margin-left: 0;
}
.table .span4 {
.table td.span4,
.table th.span4 {
float: none;
width: 284px;
margin-left: 0;
}
.table .span5 {
.table td.span5,
.table th.span5 {
float: none;
width: 364px;
margin-left: 0;
}
.table .span6 {
.table td.span6,
.table th.span6 {
float: none;
width: 444px;
margin-left: 0;
}
.table .span7 {
.table td.span7,
.table th.span7 {
float: none;
width: 524px;
margin-left: 0;
}
.table .span8 {
.table td.span8,
.table th.span8 {
float: none;
width: 604px;
margin-left: 0;
}
.table .span9 {
.table td.span9,
.table th.span9 {
float: none;
width: 684px;
margin-left: 0;
}
.table .span10 {
.table td.span10,
.table th.span10 {
float: none;
width: 764px;
margin-left: 0;
}
.table .span11 {
.table td.span11,
.table th.span11 {
float: none;
width: 844px;
margin-left: 0;
}
.table .span12 {
.table td.span12,
.table th.span12 {
float: none;
width: 924px;
margin-left: 0;
}
.table .span13 {
float: none;
width: 1004px;
margin-left: 0;
}
.table .span14 {
float: none;
width: 1084px;
margin-left: 0;
}
.table .span15 {
float: none;
width: 1164px;
margin-left: 0;
}
.table .span16 {
float: none;
width: 1244px;
margin-left: 0;
}
.table .span17 {
float: none;
width: 1324px;
margin-left: 0;
}
.table .span18 {
float: none;
width: 1404px;
margin-left: 0;
}
.table .span19 {
float: none;
width: 1484px;
margin-left: 0;
}
.table .span20 {
float: none;
width: 1564px;
margin-left: 0;
}
.table .span21 {
float: none;
width: 1644px;
margin-left: 0;
}
.table .span22 {
float: none;
width: 1724px;
margin-left: 0;
}
.table .span23 {
float: none;
width: 1804px;
margin-left: 0;
}
.table .span24 {
float: none;
width: 1884px;
margin-left: 0;
}
.table tbody tr.success td {
background-color: #dff0d8;
}