Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap-rubygem.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Mazovetskiy <glex.spb@gmail.com>2015-12-15 03:22:53 +0300
committerGleb Mazovetskiy <glex.spb@gmail.com>2015-12-15 03:22:53 +0300
commit0bbd14de56ef118c27a42aa89623cca5edeec94c (patch)
treec6e46da05a1b1793627f623b65c42a0e2848816b /assets/stylesheets/bootstrap/_list-group.scss
parent303a643224ff1190ba5062fee6834ca2012684eb (diff)
Update to upstream alpha 2
Diffstat (limited to 'assets/stylesheets/bootstrap/_list-group.scss')
-rw-r--r--assets/stylesheets/bootstrap/_list-group.scss18
1 files changed, 15 insertions, 3 deletions
diff --git a/assets/stylesheets/bootstrap/_list-group.scss b/assets/stylesheets/bootstrap/_list-group.scss
index cff9d17..5115e56 100644
--- a/assets/stylesheets/bootstrap/_list-group.scss
+++ b/assets/stylesheets/bootstrap/_list-group.scss
@@ -18,9 +18,9 @@
display: block;
padding: .75rem 1.25rem;
// Place the border on the list items and negative margin up for better styling
- margin-bottom: -$border-width;
+ margin-bottom: -$list-group-border-width;
background-color: $list-group-bg;
- border: $border-width solid $list-group-border;
+ border: $list-group-border-width solid $list-group-border-color;
// Round the first and last items
&:first-child {
@@ -34,9 +34,21 @@
.list-group-flush {
.list-group-item {
- border-width: $border-width 0;
+ border-width: $list-group-border-width 0;
border-radius: 0;
}
+
+ &:first-child {
+ .list-group-item:first-child {
+ border-top: 0;
+ }
+ }
+
+ &:last-child {
+ .list-group-item:last-child {
+ border-bottom: 0;
+ }
+ }
}