From dfe96023841d9f235f31c95295911d6812f443bb Mon Sep 17 00:00:00 2001 From: George Hartzell Date: Sat, 21 Jan 2017 18:21:32 -0800 Subject: [PATCH] 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"; } ``` --- css/customstyles.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/css/customstyles.css b/css/customstyles.css index 676c804..0c04a45 100644 --- a/css/customstyles.css +++ b/css/customstyles.css @@ -369,7 +369,7 @@ a.accordion-toggle, a.accordion-collapsed { .nav li > a > span:after { content: '\25be'; } -.nav li.open > a > span:after { +.nav li.active > a > span:after { content: '\25b4'; } @@ -1178,4 +1178,4 @@ div.box.box1 { h4.panel-title { padding-top: 0px; margin-top: 0px; -} \ No newline at end of file +}