Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
09edfcf8
Commit
09edfcf8
authored
11 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
fixes
#8670
: move list group bg color to individual items for mo betta rendering
parent
87c98478
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
dist/css/bootstrap.css
+1
-1
dist/css/bootstrap.css
dist/css/bootstrap.min.css
+1
-1
dist/css/bootstrap.min.css
less/list-group.less
+1
-1
less/list-group.less
with
3 additions
and
3 deletions
+3
-3
dist/css/bootstrap.css
+
1
-
1
View file @
09edfcf8
...
@@ -2196,7 +2196,6 @@ input[type="button"].btn-block {
...
@@ -2196,7 +2196,6 @@ input[type="button"].btn-block {
.list-group
{
.list-group
{
padding-left
:
0
;
padding-left
:
0
;
margin-bottom
:
20px
;
margin-bottom
:
20px
;
background-color
:
#ffffff
;
}
}
.list-group-item
{
.list-group-item
{
...
@@ -2204,6 +2203,7 @@ input[type="button"].btn-block {
...
@@ -2204,6 +2203,7 @@ input[type="button"].btn-block {
display
:
block
;
display
:
block
;
padding
:
10px
30px
10px
15px
;
padding
:
10px
30px
10px
15px
;
margin-bottom
:
-1px
;
margin-bottom
:
-1px
;
background-color
:
#ffffff
;
border
:
1px
solid
#dddddd
;
border
:
1px
solid
#dddddd
;
}
}
...
...
This diff is collapsed.
Click to expand it.
dist/css/bootstrap.min.css
+
1
-
1
View file @
09edfcf8
This diff is collapsed.
Click to expand it.
less/list-group.less
+
1
-
1
View file @
09edfcf8
...
@@ -9,7 +9,6 @@
...
@@ -9,7 +9,6 @@
// No need to set list-style: none; since .list-group-item is block level
// No need to set list-style: none; since .list-group-item is block level
margin-bottom: 20px;
margin-bottom: 20px;
padding-left: 0; // reset padding because ul and ol
padding-left: 0; // reset padding because ul and ol
background-color: @list-group-bg;
}
}
// Individual list items
// Individual list items
...
@@ -21,6 +20,7 @@
...
@@ -21,6 +20,7 @@
padding: 10px 30px 10px 15px;
padding: 10px 30px 10px 15px;
// Place the border on the list items and negative margin up for better styling
// Place the border on the list items and negative margin up for better styling
margin-bottom: -1px;
margin-bottom: -1px;
background-color: @list-group-bg;
border: 1px solid @list-group-border;
border: 1px solid @list-group-border;
// Round the first and last items
// Round the first and last items
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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
Menu
Explore
Projects
Groups
Snippets