Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
5be84ad0
Commit
5be84ad0
authored
Apr 24, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
restore margins on thumbnails, add comments about it's changes and how responsive affects it
parent
f9744ff5
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
2 deletions
+13
-2
docs/assets/css/bootstrap-responsive.css
docs/assets/css/bootstrap-responsive.css
+3
-0
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+2
-1
less/close.less
less/close.less
+1
-1
less/responsive-1200px-min.less
less/responsive-1200px-min.less
+3
-0
less/responsive-768px-979px.less
less/responsive-768px-979px.less
+2
-0
less/thumbnails.less
less/thumbnails.less
+2
-0
No files found.
docs/assets/css/bootstrap-responsive.css
View file @
5be84ad0
...
@@ -671,6 +671,9 @@
...
@@ -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
;
}
}
...
...
docs/assets/css/bootstrap.css
View file @
5be84ad0
...
@@ -2549,7 +2549,7 @@ table .span24 {
...
@@ -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 {
...
@@ -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
{
...
...
less/close.less
View file @
5be84ad0
...
@@ -23,7 +23,7 @@
...
@@ -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;
}
}
\ No newline at end of file
less/responsive-1200px-min.less
View file @
5be84ad0
...
@@ -16,6 +16,9 @@
...
@@ -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;
}
}
...
...
less/responsive-768px-979px.less
View file @
5be84ad0
...
@@ -12,4 +12,6 @@
...
@@ -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
}
}
less/thumbnails.less
View file @
5be84ad0
// 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 @@
...
@@ -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`)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment