feat: remove jagged borders from faq container, add ser color
This commit is contained in:
+3
-6
@@ -27,18 +27,15 @@ export default class extends Controller {
|
|||||||
this.toggleByWindowWidth(width)
|
this.toggleByWindowWidth(width)
|
||||||
}
|
}
|
||||||
|
|
||||||
toggle(e) {
|
toggle() {
|
||||||
e.preventDefault()
|
|
||||||
this.collapsedValue = !this.collapsedValue
|
this.collapsedValue = !this.collapsedValue
|
||||||
}
|
}
|
||||||
|
|
||||||
open(e) {
|
open() {
|
||||||
e.preventDefault()
|
|
||||||
this.collapsedValue = false
|
this.collapsedValue = false
|
||||||
}
|
}
|
||||||
|
|
||||||
close(e) {
|
close() {
|
||||||
e.preventDefault()
|
|
||||||
this.collapsedValue = true
|
this.collapsedValue = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -4,9 +4,8 @@
|
|||||||
xmlns:ep="http://typo3.org/ns/EP/EpTheme/ViewHelpers">
|
xmlns:ep="http://typo3.org/ns/EP/EpTheme/ViewHelpers">
|
||||||
|
|
||||||
<f:if condition="{faqs}">
|
<f:if condition="{faqs}">
|
||||||
<div class="bg-winter my-2">
|
<div class="bg-winter my-4">
|
||||||
<div class="bg-ep-primary/80 sbw:bg-sbw-primary/80 uch:bg-uch-primary/80">
|
<div class="bg-ep-primary/80 sbw:bg-sbw-primary/80 uch:bg-uch-primary/80 ser:bg-ser-primary/80 py-8">
|
||||||
<f:render partial="Disrupter/Outlines" section="Top2" arguments="{classes: 'hidden md:block text-white'}"/>
|
|
||||||
<div class="container"
|
<div class="container"
|
||||||
data-controller="faq">
|
data-controller="faq">
|
||||||
<span class="headline--3 text-white uppercase mb-4">
|
<span class="headline--3 text-white uppercase mb-4">
|
||||||
@@ -31,7 +30,7 @@
|
|||||||
class="uppercase text-lg text-white flex items-center space-x-4"
|
class="uppercase text-lg text-white flex items-center space-x-4"
|
||||||
data-action="collapse#toggle">
|
data-action="collapse#toggle">
|
||||||
{ep:icon(icon: 'chevron-right', class: 'w-4 h-4 text-white transition-transform duration-200 ease-in-out', data: '{collapse-target: \'icon\'}')}
|
{ep:icon(icon: 'chevron-right', class: 'w-4 h-4 text-white transition-transform duration-200 ease-in-out', data: '{collapse-target: \'icon\'}')}
|
||||||
<span>
|
<span class="text-left">
|
||||||
{faq.question}
|
{faq.question}
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
@@ -51,7 +50,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</f:if>
|
</f:if>
|
||||||
</div>
|
</div>
|
||||||
<f:render partial="Disrupter/Outlines" section="Bottom2" arguments="{classes: 'hidden md:block translate-y-2 text-white'}"/>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</f:if>
|
</f:if>
|
||||||
|
|||||||
Reference in New Issue
Block a user