From 6f5047fb688552a0551389a83711e7d09ffa360f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenz=20H=C3=BCbschle-Schneider?= Date: Thu, 7 Aug 2014 18:41:18 +0100 Subject: [PATCH] Add indicators to the accordion so people will notice it's actually there --- css/glowingbear.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/css/glowingbear.css b/css/glowingbear.css index f1ef251..7f803ee 100644 --- a/css/glowingbear.css +++ b/css/glowingbear.css @@ -481,6 +481,18 @@ h2 span, h2 small { .panel[data-state=collapsed] { border: 0px solid transparent; } +.panel .panel-title:before { + display: inline-block; + font-size: 22px; + line-height: 20px; + margin: -3px 5px -3px 0; +} +.panel[data-state=active] .panel-title:before { + content: "–"; +} +.panel[data-state=collapsed] .panel-title:before { + content: "+"; +} /* fix for firefox being stupid */ @-moz-document url-prefix() {