From f050c1f2023289e89ac006d76b944157747fcd1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20V=C3=B6lkl?= Date: Thu, 16 Sep 2021 17:49:52 +0200 Subject: [PATCH] added faq accordion --- content/lists/faq.blade.php | 73 +++++++++++++++---------------------- css/app.css | 6 +++ 2 files changed, 35 insertions(+), 44 deletions(-) diff --git a/content/lists/faq.blade.php b/content/lists/faq.blade.php index 3241ef1..e93588e 100644 --- a/content/lists/faq.blade.php +++ b/content/lists/faq.blade.php @@ -29,57 +29,43 @@
-
+
+
+ @foreach($nachrichten as $nach) - @foreach($nachrichten as $nach) - - -
-
- @if ($nach->image) - - @else - - - @endif -
-
- - - - -
- {{ $nach->created_at->diffForHumans() }} -
-
- - Lorem ipsum dolor sit amet, consectetur adipisicing elit. A asperiores consectetur consequuntur, eos exercitationem itaque iusto modi quibusdam quidem quisquam quos sunt voluptas voluptate! Architecto deleniti magni nulla possimus quaerat! -
- - +
+

+ +

+
+
+ This is the first item's accordion body. It is shown by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the .accordion-body, though the transition does limit overflow.
-
+ @endforeach + + + +
+ + +
+
+
+
+
+ + +
+ + - @endforeach @@ -89,7 +75,6 @@


-
diff --git a/css/app.css b/css/app.css index dcef37d..7a6625e 100644 --- a/css/app.css +++ b/css/app.css @@ -739,4 +739,10 @@ a:hover { .card-footer{ background-color: #f8f8f8; border-top: none; +} + +.accordion-button:not(.collapsed) +{ + color: #754545; + background-color: #f8f8f8; } \ No newline at end of file