WIP #1088: change submenu indicators to a more common Unicode point

This commit is contained in:
Peter Krautzberger 2015-03-17 11:32:38 +01:00
parent f739e64131
commit df17921e8b

View File

@ -121,8 +121,8 @@
}, },
".MathJax_MenuArrow": { ".MathJax_MenuArrow": {
position:"absolute", right:".5em", color:"#666666", position:"absolute", right:".5em", "padding-top":".25em", color:"#666666",
"font-family": (isMSIE ? "'Arial unicode MS'" : null) "font-family": (isMSIE ? "'Arial unicode MS'" : null), "font-size": ".75em"
}, },
".MathJax_MenuActive .MathJax_MenuArrow": {color:"white"}, ".MathJax_MenuActive .MathJax_MenuArrow": {color:"white"},
".MathJax_MenuArrow.RTL": {left:".5em", right:"auto"}, ".MathJax_MenuArrow.RTL": {left:".5em", right:"auto"},
@ -374,7 +374,7 @@
}, },
saveCookie: function () {HTML.Cookie.Set("menu",this.cookie)}, saveCookie: function () {HTML.Cookie.Set("menu",this.cookie)},
getCookie: function () {this.cookie = HTML.Cookie.Get("menu")}, getCookie: function () {this.cookie = HTML.Cookie.Get("menu")}
// //
// Preload images so they show up with the menu // Preload images so they show up with the menu
@ -488,8 +488,8 @@
*/ */
MENU.ITEM.SUBMENU = MENU.ITEM.Subclass({ MENU.ITEM.SUBMENU = MENU.ITEM.Subclass({
menu: null, // the submenu menu: null, // the submenu
marker: (isPC && !HUB.Browser.isSafari ? "\u25B6" : "\u25B8"), // the menu arrow marker: "\u25BA", // the submenu arrow
markerRTL: (isPC && !HUB.Browser.isSafari ? "\u25B0" : "\u25C2"), markerRTL: "\u25C4", // the submenu arrow for RTL
Init: function (name,def) { Init: function (name,def) {
if (!(name instanceof Array)) {name = [name,name]} // make [id,label] pair if (!(name instanceof Array)) {name = [name,name]} // make [id,label] pair