style: animate revealer (#20555)

This commit is contained in:
Frédéric Péters 2017-12-10 18:38:12 +01:00
parent 6d87ceb95e
commit 79e601cb22
1 changed files with 5 additions and 4 deletions

View File

@ -232,15 +232,16 @@ fieldset.gadjo-foldable legend.gadjo-foldable-widget {
font-weight: bold;
padding: 1ex 0 0;
width: 100%;
position: relative;
}
fieldset.gadjo-foldable legend.gadjo-foldable-widget:after {
font-family: FontAwesome;
content: "\f106"; /* angle-up */
content: "";
transition: transform ease 0.1s;
position: absolute;
right: 1em;
right: 0;
}
fieldset.gadjo-foldable.gadjo-folded legend.gadjo-foldable-widget:after {
content: "\f107"; /* angle-down */
transform: rotate(-90deg);
}
fieldset.gadjo-foldable {
padding: 1ex 0 0 0;