Rev 14409 | Go to most recent revision | 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 */ |
||
| 4 | fieldset>.accordion{ |
||
| 5 | padding-left:0; |
||
| 6 | margin-top:1em; |
||
| 7 | } |
||
| 8 | |||
| 9 | |||
| 10 | /** |
||
| 11 | * Foundation for Sites by ZURB |
||
| 14734 | obado | 12 | * Version 6.6.1 |
| 14260 | obado | 13 | * foundation.zurb.com |
| 14 | * Licensed under MIT Open Source |
||
| 15 | */ |
||
| 16 | /* Accordion styles */ |
||
| 17 | .accordion { |
||
| 18 | margin-left: 0; |
||
| 19 | background: #fefefe; |
||
| 20 | list-style-type: none; } |
||
| 21 | .accordion[disabled] .accordion-title { |
||
| 22 | cursor: not-allowed; } |
||
| 23 | |||
| 24 | .accordion-item:first-child > :first-child { |
||
| 25 | border-radius: 0 0 0 0; } |
||
| 26 | |||
| 27 | .accordion-item:last-child > :last-child { |
||
| 28 | border-radius: 0 0 0 0; } |
||
| 29 | |||
| 30 | .accordion-title { |
||
| 31 | position: relative; |
||
| 32 | display: block; |
||
| 33 | padding: 1.25rem 1rem; |
||
| 34 | border: 1px solid #e6e6e6; |
||
| 35 | border-bottom: 0; |
||
| 36 | font-size: 0.75rem; |
||
| 37 | line-height: 1; |
||
| 38 | color: #1779ba; } |
||
| 39 | :last-child:not(.is-active) > .accordion-title { |
||
| 40 | border-bottom: 1px solid #e6e6e6; |
||
| 41 | border-radius: 0 0 0 0; } |
||
| 42 | .accordion-title:hover, .accordion-title:focus { |
||
| 43 | background-color: #e6e6e6; } |
||
| 44 | .accordion-title::before { |
||
| 45 | position: absolute; |
||
| 46 | top: 50%; |
||
| 47 | right: 1rem; |
||
| 48 | margin-top: -0.5rem; |
||
| 14734 | obado | 49 | content: "+"; } |
| 14260 | obado | 50 | .is-active > .accordion-title::before { |
| 14734 | obado | 51 | content: "–"; } |
| 14260 | obado | 52 | |
| 53 | .accordion-content { |
||
| 54 | display: none; |
||
| 55 | padding: 1rem; |
||
| 56 | border: 1px solid #e6e6e6; |
||
| 57 | border-bottom: 0; |
||
| 58 | background-color: #fefefe; |
||
| 59 | color: #0a0a0a; } |
||
| 60 | :last-child > .accordion-content:last-child { |
||
| 61 | border-bottom: 1px solid #e6e6e6; } |