From e7f7fad577d6a37660a161964c70c0d93062ff2e Mon Sep 17 00:00:00 2001 From: Alexander_Kabui Date: Fri, 19 Jan 2024 14:40:52 +0300 Subject: Add list panel implementation --- gn2/wqflask/templates/gnqa_answer.html | 141 ++++++++++++++++++++++++++++----- 1 file changed, 123 insertions(+), 18 deletions(-) (limited to 'gn2/wqflask/templates/gnqa_answer.html') diff --git a/gn2/wqflask/templates/gnqa_answer.html b/gn2/wqflask/templates/gnqa_answer.html index 597ed78b..01c94d35 100644 --- a/gn2/wqflask/templates/gnqa_answer.html +++ b/gn2/wqflask/templates/gnqa_answer.html @@ -46,9 +46,44 @@ } +} +.panel-heading { + padding: 0; + border:0; +} +.panel-title>a, .panel-title>a:active{ + display:block; + padding:15px; + color:#555; + font-weight:bold; +text-decoration:none; +border: none; + +outline: none; +} + +.panel-heading a:before { + font-family: 'Glyphicons Halflings'; + content: "\e114"; + float: right; + transition: all 0.5s; +} +.panel-heading.active a:before { + -webkit-transform: rotate(180deg); + -moz-transform: rotate(180deg); + transform: rotate(180deg); +} + + + + -
{{answer}}
+
{{answer}}