Sidebar arrows should change content when open
The sidebar arrows should change content when they're open. There's a small bug in css/customstyles.css that prevents this; other parts of the style use 'active' instead of 'open' so it needs to here too. This PR fixes it. Since Font Awesome is already wired in, I think that their carets look nicer. Here's how: ``` .nav li > a > span:after { font-family: FontAwesome; content: "\f105"; } .nav li.active > a > span:after { font-family: FontAwesome; content: "\f107"; } ```
This commit is contained in:
@ -369,7 +369,7 @@ a.accordion-toggle, a.accordion-collapsed {
|
|||||||
.nav li > a > span:after {
|
.nav li > a > span:after {
|
||||||
content: '\25be';
|
content: '\25be';
|
||||||
}
|
}
|
||||||
.nav li.open > a > span:after {
|
.nav li.active > a > span:after {
|
||||||
content: '\25b4';
|
content: '\25b4';
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1178,4 +1178,4 @@ div.box.box1 {
|
|||||||
h4.panel-title {
|
h4.panel-title {
|
||||||
padding-top: 0px;
|
padding-top: 0px;
|
||||||
margin-top: 0px;
|
margin-top: 0px;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user