]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
remove background from accordion, and use border instead
authorMark Otto <markdotto@gmail.com>
Sun, 29 Jan 2012 00:48:03 +0000 (16:48 -0800)
committerMark Otto <markdotto@gmail.com>
Sun, 29 Jan 2012 00:48:03 +0000 (16:48 -0800)
docs/assets/css/bootstrap.css
less/accordion.less

index 1b572090c94bde8e44bb0ffc49a80eb5a1ddd2c2..bf1116f5380a6e100918059fd8f07583e7ef0fd9 100644 (file)
@@ -3165,7 +3165,8 @@ a.thumbnail:hover {
   margin-bottom: 18px;
 }
 .accordion-group {
-  background-color: #f5f5f5;
+  margin-bottom: 2px;
+  border: 1px solid #e5e5e5;
   -webkit-border-radius: 4px;
   -moz-border-radius: 4px;
   border-radius: 4px;
@@ -3177,9 +3178,6 @@ a.thumbnail:hover {
   display: block;
   padding: 8px 15px;
 }
-.accordion-body {
-  margin-bottom: 2px;
-}
 .accordion-inner {
   padding: 9px 15px;
   border-top: 1px solid #e5e5e5;
index 1ebd5b1a1a7c0b9fa37d8d48b1f93f4d14697107..11a36b544e811cce7fb7c526d0162128a330c232 100644 (file)
@@ -9,7 +9,8 @@
 
 // Group == heading + body
 .accordion-group {
-  background-color: #f5f5f5;
+  margin-bottom: 2px;
+  border: 1px solid #e5e5e5;
   .border-radius(4px);
 }
 .accordion-heading {
@@ -19,9 +20,6 @@
   display: block;
   padding: 8px 15px;
 }
-.accordion-body {
-  margin-bottom: 2px;
-}
 
 // Inner needs the styles because you can't animate properly with any styles on the element
 .accordion-inner {