From 9fdcc58493c016db17c26ad49695cf8d8e16d6fa Mon Sep 17 00:00:00 2001 From: Josue Kouka Date: Wed, 18 Oct 2017 11:33:22 +0200 Subject: [PATCH] cells: add class for folded and foldable cells (#19496) --- static/includes/_cells.scss | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/static/includes/_cells.scss b/static/includes/_cells.scss index adc98db..036ac02 100644 --- a/static/includes/_cells.scss +++ b/static/includes/_cells.scss @@ -543,3 +543,33 @@ div.familyinfoscell { } } } + +/* foldable and folded cell style */ +#content div.cell { + &.folded { + h2:first-child { + &::after { + font-family: FontAwesome; + content: "\f107" !important; /* angle-down */ + position: absolute; + right: 1em; + } + } + > div > div { + display: none !important; + } + } + &.foldable { + h2:first-child { + &::after { + font-family: FontAwesome; + content: "\f106"; /* angle-up */ + position: absolute; + right: 1em; + } + } + > div > div { + display: block; + } + } +} -- 2.11.0