lib/isodoc/itu/html/htmlstyle.css in metanorma-itu-2.5.0 vs lib/isodoc/itu/html/htmlstyle.css in metanorma-itu-2.5.1
- old
+ new
@@ -220,10 +220,50 @@
h5:hover > a.anchor,
h6:hover > a.anchor,
.inline-header:hover > a.anchor {
visibility: visible; }
+/* collapsible snippets: collapsible before hidable */
+.hidable {
+ max-height: 0;
+ overflow: hidden;
+ transition: max-height 0.2s ease-out; }
+
+.collapsible {
+ background-color: #777;
+ color: white;
+ cursor: pointer;
+ padding: 12px 0;
+ margin: 0;
+ width: 100%;
+ border: none;
+ text-align: left;
+ outline: none;
+ font-size: 15px; }
+
+.active, .collapsible:hover {
+ background-color: #555; }
+
+.collapsible:after {
+ content: '\25bc';
+ color: white;
+ font-weight: bold;
+ float: right;
+ margin-left: 12px;
+ margin-right: 12px; }
+
+.active:after {
+ content: "\25b2"; }
+
+/* collapsible: */
+.collapsible + .hidable {
+ margin-top: 0; }
+
+.collapsible:not(.active) + .hidable {
+ overflow: hidden;
+ padding: 0; }
+
#recommendation-band {
background-color: #a3d88f; }
#recommendation {
border-bottom: solid 3px #a3d88f; }
@@ -562,9 +602,49 @@
h4:hover > a.anchor,
h5:hover > a.anchor,
h6:hover > a.anchor,
.inline-header:hover > a.anchor {
visibility: visible; }
+
+/* collapsible snippets: collapsible before hidable */
+.hidable {
+ max-height: 0;
+ overflow: hidden;
+ transition: max-height 0.2s ease-out; }
+
+.collapsible {
+ background-color: #777;
+ color: white;
+ cursor: pointer;
+ padding: 12px 0;
+ margin: 0;
+ width: 100%;
+ border: none;
+ text-align: left;
+ outline: none;
+ font-size: 15px; }
+
+.active, .collapsible:hover {
+ background-color: #555; }
+
+.collapsible:after {
+ content: '\25bc';
+ color: white;
+ font-weight: bold;
+ float: right;
+ margin-left: 12px;
+ margin-right: 12px; }
+
+.active:after {
+ content: "\25b2"; }
+
+/* collapsible: */
+.collapsible + .hidable {
+ margin-top: 0; }
+
+.collapsible:not(.active) + .hidable {
+ overflow: hidden;
+ padding: 0; }
#recommendation-band {
background-color: #a3d88f; }
#recommendation {