Skip to content
GitLab
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
a05f0752
Commit
a05f0752
authored
10 years ago
by
Heinrich Fenkart
Browse files
Options
Download
Email Patches
Plain Diff
Badges: fix active styles when in non-anchor `.list-group-item`
parent
df28b7e2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
less/badges.less
+7
-1
less/badges.less
less/list-group.less
+0
-8
less/list-group.less
with
7 additions
and
9 deletions
+7
-9
less/badges.less
+
7
-
1
View file @
a05f0752
...
@@ -44,11 +44,17 @@
...
@@ -44,11 +44,17 @@
}
}
// Account for badges in navs
// Account for badges in navs
a
.list-group-item.active > &,
.list-group-item.active > &,
.nav-pills > .active > a > & {
.nav-pills > .active > a > & {
color: @badge-active-color;
color: @badge-active-color;
background-color: @badge-active-bg;
background-color: @badge-active-bg;
}
}
.list-group-item > & {
float: right;
}
.list-group-item > & + & {
margin-right: 5px;
}
.nav-pills > li > a > & {
.nav-pills > li > a > & {
margin-left: 3px;
margin-left: 3px;
}
}
...
...
This diff is collapsed.
Click to expand it.
less/list-group.less
+
0
-
8
View file @
a05f0752
...
@@ -35,14 +35,6 @@
...
@@ -35,14 +35,6 @@
margin-bottom: 0;
margin-bottom: 0;
.border-bottom-radius(@list-group-border-radius);
.border-bottom-radius(@list-group-border-radius);
}
}
// Align badges within list items
> .badge {
float: right;
}
> .badge + .badge {
margin-right: 5px;
}
}
}
...
...
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