Merge pull request #397 from glowing-bear/accordion-indicators

Add indicators to the accordion so people will notice it's actually there
This commit is contained in:
Tor Hveem 2014-08-09 15:13:06 +02:00
commit 21cf46d74a

View file

@ -481,6 +481,18 @@ h2 span, h2 small {
.panel[data-state=collapsed] { .panel[data-state=collapsed] {
border: 0px solid transparent; 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 */ /* fix for firefox being stupid */
@-moz-document url-prefix() { @-moz-document url-prefix() {