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:
commit
21cf46d74a
1 changed files with 12 additions and 0 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue