update zippy icons to use material arrow (up/down instead of right/down).

fixes bug 27695580, which was caused because I previously
submitted an update to the code doclava templates to do this but
did not update the current site templates in kind.

Change-Id: I33a4ef90359838c02def90beb486e5a2dc21cbf7
This commit is contained in:
smain@google.com 2016-03-16 11:48:23 -07:00
parent 2f52adb1c8
commit c040187f63
1 changed files with 4 additions and 4 deletions

View File

@ -1386,7 +1386,7 @@ function toggleContent(obj) {
$(".toggle-content-text:eq(0)", obj).toggle();
div.removeClass("closed").addClass("open");
$(".toggle-content-img:eq(0)", div).attr("title", "hide").attr("src", toRoot
+ "assets/images/triangle-opened.png");
+ "assets/images/styles/disclosure_up.png");
} else { // if it's open, close it
toggleMe.slideUp('fast', function() { // Wait until the animation is done before closing arrow
$(".toggle-content-text:eq(0)", obj).toggle();
@ -1394,7 +1394,7 @@ function toggleContent(obj) {
div.find(".toggle-content").removeClass("open").addClass("closed")
.find(".toggle-content-toggleme").hide();
$(".toggle-content-img", div).attr("title", "show").attr("src", toRoot
+ "assets/images/triangle-closed.png");
+ "assets/images/styles/disclosure_down.png");
});
}
return false;
@ -3371,13 +3371,13 @@ function toggleInherited(linkObj, expand) {
if ( (expand == null && a.hasClass("closed")) || expand ) {
list.style.display = "none";
summary.style.display = "block";
trigger.src = toRoot + "assets/images/triangle-opened.png";
trigger.src = toRoot + "assets/images/styles/disclosure_up.png";
a.removeClass("closed");
a.addClass("opened");
} else if ( (expand == null && a.hasClass("opened")) || (expand == false) ) {
list.style.display = "block";
summary.style.display = "none";
trigger.src = toRoot + "assets/images/triangle-closed.png";
trigger.src = toRoot + "assets/images/styles/disclosure_down.png";
a.removeClass("opened");
a.addClass("closed");
}