-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
81b00a3
commit 8a81781
Showing
5 changed files
with
91 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
.accordion-content { | ||
max-height: 0; | ||
overflow: hidden; | ||
transition: max-height 0.3s ease; | ||
} | ||
|
||
.accordion-button[aria-expanded="true"] + .accordion-content { | ||
max-height: 1000px; | ||
transition: max-height 0.3s ease; | ||
} | ||
|
||
.accordion-button { | ||
display: block; | ||
width: 100%; | ||
text-align: left; | ||
padding: 10px; | ||
font-size: 1.2em; | ||
cursor: pointer; | ||
border: none; | ||
background: #f0f0f0; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
www/includes/easyparliament/templates/html/alert/alert-mockup.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<div class="accordion"> | ||
<button class="accordion-trigger" href="#accordion-content-1" aria-expanded="false"> | ||
Accordion Title 1 | ||
</button> | ||
<div id="accordion-content-1" class="accordion-content" aria-hidden="true"> | ||
<p>ero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque n</p> | ||
</div> | ||
</div> | ||
|
||
<div class="accordion"> | ||
<button class="accordion-trigger" href="#accordion-content-2" aria-expanded="false"> | ||
Accordion Title 2 | ||
</button> | ||
<div id="accordion-content-2" class="accordion-content" aria-hidden="true"> | ||
<p>ero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque n</p> | ||
</div> | ||
</div> | ||
|
||
<div class="accordion"> | ||
<button class="accordion-trigger" href="#accordion-content-3" aria-expanded="false"> | ||
Accordion Title 3 | ||
</button> | ||
<div id="accordion-content-3" class="accordion-content" aria-hidden="true"> | ||
<p>ero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque n</p> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters