thumbnails cleanup: no more UL or LI elements needed, instead just use standard grid markup

This commit is contained in:
Mark Otto
2012-09-25 22:40:48 -07:00
parent 08eea302ef
commit f12946be5a
15 changed files with 138 additions and 314 deletions

View File

@@ -355,12 +355,6 @@
uneditable-input.offset1 {
margin-left: 9.615384615384613%;
}
.thumbnails {
margin-left: -30px;
}
.thumbnails > li {
margin-left: 30px;
}
}
@media (min-width: 768px) and (max-width: 979px) {
@@ -486,12 +480,7 @@
.container {
width: auto;
}
.row,
.thumbnails {
margin-left: 0;
}
.thumbnails > li {
float: none;
.row {
margin-left: 0;
}
[class*="span"],
@@ -500,19 +489,7 @@
float: none;
width: 100%;
margin-left: 0;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.span12 {
width: 100%;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.input-large,
.input-xlarge,
.input-xxlarge,
input[class*="span"],
select[class*="span"],
textarea[class*="span"],

View File

@@ -5173,32 +5173,6 @@ input[type="submit"].btn::-moz-focus-inner {
border-width: 11px 0 11px 11px;
}
.thumbnails {
margin-left: -20px;
list-style: none;
}
.thumbnails:before,
.thumbnails:after {
display: table;
line-height: 0;
content: "";
}
.thumbnails:after {
clear: both;
}
.row-fluid .thumbnails {
margin-left: 0;
}
.thumbnails > li {
float: left;
margin-bottom: 20px;
margin-left: 20px;
}
.thumbnail {
display: block;
padding: 4px;