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

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Galante <agalante@gmail.com>2017-09-05 15:18:16 +0300
committerAndres Galante <agalante@gmail.com>2018-01-02 15:46:07 +0300
commitc0246e926f0e9e955f34b34286f97cc201582ba1 (patch)
treeb061742e405efd9fe1fb925be68a51296b545f81 /scss/_card.scss
parent987ae5b8c8275c6753fd5ac86b37cd4c661b255c (diff)
improves accordion styles
Diffstat (limited to 'scss/_card.scss')
-rw-r--r--scss/_card.scss29
1 files changed, 29 insertions, 0 deletions
diff --git a/scss/_card.scss b/scss/_card.scss
index 4c4845c0bb..c4b9a725da 100644
--- a/scss/_card.scss
+++ b/scss/_card.scss
@@ -268,3 +268,32 @@
}
}
}
+
+
+//
+// Accordion
+//
+
+.accordion {
+ .card:not(:first-of-type):not(:last-of-type) {
+ border-bottom: 0;
+ border-radius: 0;
+ }
+
+ .card:not(:first-of-type) {
+ .card-header:first-child {
+ border-radius: 0;
+ }
+ }
+
+ .card:first-of-type {
+ border-bottom: 0;
+ border-bottom-right-radius: 0;
+ border-bottom-left-radius: 0;
+ }
+
+ .card:last-of-type {
+ border-top-left-radius: 0;
+ border-top-right-radius: 0;
+ }
+}