Rev 14734 | Details | Compare with Previous | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 14260 | obado | 1 | @charset "UTF-8"; |
| 2 | |||
| 3 | /* WIMS custom Accordion styles */ |
||
| 15341 | obado | 4 | fieldset > .accordion { |
| 5 | padding-left: 0; |
||
| 6 | margin-top: 1em; } |
||
| 14260 | obado | 7 | |
| 8 | /** |
||
| 15341 | obado | 9 | * Foundation for Sites |
| 10 | * Version 6.6.3 |
||
| 11 | * https://get.foundation |
||
| 14260 | obado | 12 | * Licensed under MIT Open Source |
| 13 | */ |
||
| 14 | /* Accordion styles */ |
||
| 15 | .accordion { |
||
| 16 | margin-left: 0; |
||
| 17 | background: #fefefe; |
||
| 18 | list-style-type: none; } |
||
| 19 | .accordion[disabled] .accordion-title { |
||
| 20 | cursor: not-allowed; } |
||
| 21 | |||
| 22 | .accordion-item:first-child > :first-child { |
||
| 23 | border-radius: 0 0 0 0; } |
||
| 24 | |||
| 25 | .accordion-item:last-child > :last-child { |
||
| 26 | border-radius: 0 0 0 0; } |
||
| 27 | |||
| 28 | .accordion-title { |
||
| 29 | position: relative; |
||
| 30 | display: block; |
||
| 31 | padding: 1.25rem 1rem; |
||
| 32 | border: 1px solid #e6e6e6; |
||
| 33 | border-bottom: 0; |
||
| 34 | font-size: 0.75rem; |
||
| 35 | line-height: 1; |
||
| 36 | color: #1779ba; } |
||
| 37 | :last-child:not(.is-active) > .accordion-title { |
||
| 38 | border-bottom: 1px solid #e6e6e6; |
||
| 39 | border-radius: 0 0 0 0; } |
||
| 40 | .accordion-title:hover, .accordion-title:focus { |
||
| 41 | background-color: #e6e6e6; } |
||
| 42 | .accordion-title::before { |
||
| 43 | position: absolute; |
||
| 44 | top: 50%; |
||
| 45 | right: 1rem; |
||
| 46 | margin-top: -0.5rem; |
||
| 14734 | obado | 47 | content: "+"; } |
| 14260 | obado | 48 | .is-active > .accordion-title::before { |
| 14734 | obado | 49 | content: "–"; } |
| 14260 | obado | 50 | |
| 51 | .accordion-content { |
||
| 52 | display: none; |
||
| 53 | padding: 1rem; |
||
| 54 | border: 1px solid #e6e6e6; |
||
| 55 | border-bottom: 0; |
||
| 56 | background-color: #fefefe; |
||
| 57 | color: #0a0a0a; } |
||
| 58 | :last-child > .accordion-content:last-child { |
||
| 59 | border-bottom: 1px solid #e6e6e6; } |