mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-14 01:24:19 +02:00
restore margins on thumbnails, add comments about it's changes and how responsive affects it
This commit is contained in:
3
docs/assets/css/bootstrap-responsive.css
vendored
3
docs/assets/css/bootstrap-responsive.css
vendored
@@ -671,6 +671,9 @@
|
|||||||
.thumbnails {
|
.thumbnails {
|
||||||
margin-left: -30px;
|
margin-left: -30px;
|
||||||
}
|
}
|
||||||
|
.thumbnails > li {
|
||||||
|
margin-left: 30px;
|
||||||
|
}
|
||||||
.row-fluid .thumbnails {
|
.row-fluid .thumbnails {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
3
docs/assets/css/bootstrap.css
vendored
3
docs/assets/css/bootstrap.css
vendored
@@ -2549,7 +2549,7 @@ table .span24 {
|
|||||||
button.close {
|
button.close {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
background-color: transparent;
|
background: transparent;
|
||||||
border: 0;
|
border: 0;
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
}
|
}
|
||||||
@@ -4449,6 +4449,7 @@ input[type="submit"].btn.btn-mini {
|
|||||||
.thumbnails > li {
|
.thumbnails > li {
|
||||||
float: left;
|
float: left;
|
||||||
margin-bottom: 18px;
|
margin-bottom: 18px;
|
||||||
|
margin-left: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.thumbnail {
|
.thumbnail {
|
||||||
|
@@ -23,7 +23,7 @@
|
|||||||
button.close {
|
button.close {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
background-color: transparent;
|
background: transparent;
|
||||||
border: 0;
|
border: 0;
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
}
|
}
|
@@ -16,6 +16,9 @@
|
|||||||
.thumbnails {
|
.thumbnails {
|
||||||
margin-left: -30px;
|
margin-left: -30px;
|
||||||
}
|
}
|
||||||
|
.thumbnails > li {
|
||||||
|
margin-left: 30px;
|
||||||
|
}
|
||||||
.row-fluid .thumbnails {
|
.row-fluid .thumbnails {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
@@ -12,4 +12,6 @@
|
|||||||
// Input grid
|
// Input grid
|
||||||
#grid > .input(42px, 20px);
|
#grid > .input(42px, 20px);
|
||||||
|
|
||||||
|
// No need to reset .thumbnails here since it's the same @gridGutterWidth
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
// THUMBNAILS
|
// THUMBNAILS
|
||||||
// ----------
|
// ----------
|
||||||
|
// Note: `.thumbnails` and `.thumbnails > li` are overriden in responsive files
|
||||||
|
|
||||||
// Make wrapper ul behave like the grid
|
// Make wrapper ul behave like the grid
|
||||||
.thumbnails {
|
.thumbnails {
|
||||||
@@ -16,6 +17,7 @@
|
|||||||
.thumbnails > li {
|
.thumbnails > li {
|
||||||
float: left; // Explicity set the float since we don't require .span* classes
|
float: left; // Explicity set the float since we don't require .span* classes
|
||||||
margin-bottom: @baseLineHeight;
|
margin-bottom: @baseLineHeight;
|
||||||
|
margin-left: @gridGutterWidth;
|
||||||
}
|
}
|
||||||
|
|
||||||
// The actual thumbnail (can be `a` or `div`)
|
// The actual thumbnail (can be `a` or `div`)
|
||||||
|
Reference in New Issue
Block a user