minor fixes
This commit is contained in:
parent
81dc4a1b75
commit
85f9b4798e
@ -706,7 +706,6 @@ Template.main.events({
|
||||
}
|
||||
},
|
||||
'keydown .dropdown' (event) {
|
||||
event.preventDefault();
|
||||
var first = $("#"+modifyingInput).next().children("p:first-child");
|
||||
var last = $("#"+modifyingInput).next().children("p:last-child");
|
||||
var next = $(".selectedOption").next();
|
||||
@ -714,6 +713,7 @@ Template.main.events({
|
||||
var lastSel = $(".selectedOption");
|
||||
|
||||
if (event.keyCode === 38) {
|
||||
event.preventDefault();
|
||||
if (lastSel === undefined) {
|
||||
last.addClass("selectedOption");
|
||||
} else {
|
||||
@ -726,6 +726,7 @@ Template.main.events({
|
||||
}
|
||||
}
|
||||
} else if (event.keyCode === 40) {
|
||||
event.preventDefault();
|
||||
if (lastSel === undefined) {
|
||||
first.addClass("selectedOption");
|
||||
last.removeClass("selectedOption");
|
||||
|
||||
@ -478,6 +478,7 @@ Template.profile.events({
|
||||
var lastSel = $(".selectedOption");
|
||||
|
||||
if (event.keyCode === 38) {
|
||||
event.preventDefault();
|
||||
if (lastSel === undefined) {
|
||||
last.addClass("selectedOption");
|
||||
} else {
|
||||
@ -490,6 +491,7 @@ Template.profile.events({
|
||||
}
|
||||
}
|
||||
} else if (event.keyCode === 40) {
|
||||
event.preventDefault();
|
||||
if (lastSel === undefined) {
|
||||
first.addClass("selectedOption");
|
||||
last.removeClass("selectedOption");
|
||||
|
||||
@ -21,10 +21,10 @@ themeColors = {
|
||||
"classCardColor":"#46396E",
|
||||
"textColor": "#F6F6F6"
|
||||
},
|
||||
"requox": {
|
||||
"requom": {
|
||||
"background": "RedBlack.jpg",
|
||||
"mainColor": "#302c36",
|
||||
"secondaryColor": "#C51313",
|
||||
"mainColor": "#302C36",
|
||||
"secondaryColor": "#B93A3A",
|
||||
"sidebarColor": "#327C5A",
|
||||
"userDropdownColor": "#CC3333",
|
||||
"iconHighlight": "#327C5A",
|
||||
@ -34,36 +34,36 @@ themeColors = {
|
||||
},
|
||||
"aequor": {
|
||||
"background": "Sea.jpg",
|
||||
"mainColor": "#1e926c",
|
||||
"secondaryColor": "#1c564f",
|
||||
"sidebarColor": "#3cb08a",
|
||||
"userDropdownColor": "#2ea96a",
|
||||
"iconHighlight": "#61d9a3",
|
||||
"modeHighlight": "#c9fe62",
|
||||
"classCardColor":"#2567a1",
|
||||
"textColor": "#fcf0f0"
|
||||
"mainColor": "#1E926C",
|
||||
"secondaryColor": "#1C564F",
|
||||
"sidebarColor": "#3CB08A",
|
||||
"userDropdownColor": "#2EA96A",
|
||||
"iconHighlight": "#61D9A3",
|
||||
"modeHighlight": "#C9FE62",
|
||||
"classCardColor":"#2567A1",
|
||||
"textColor": "#FCF0F0"
|
||||
},
|
||||
"fresva": {
|
||||
"background": "Earth.jpg",
|
||||
"mainColor": "#dea743",
|
||||
"mainColor": "#DEA743",
|
||||
"secondaryColor": "#496234",
|
||||
"sidebarColor": "#6d9957",
|
||||
"userDropdownColor": "#89bb52",
|
||||
"iconHighlight": "#91ee61",
|
||||
"modeHighlight": "#b9f643",
|
||||
"classCardColor":"#c18311",
|
||||
"textColor": "#fcf0f0"
|
||||
"sidebarColor": "#6D9957",
|
||||
"userDropdownColor": "#89BB52",
|
||||
"iconHighlight": "#91EE61",
|
||||
"modeHighlight": "#B9f643",
|
||||
"classCardColor":"#C18311",
|
||||
"textColor": "#FCF0F0"
|
||||
},
|
||||
"atlaneon": {
|
||||
"background": "NeonBlue.jpg",
|
||||
"mainColor": "#1d1c23",
|
||||
"secondaryColor": "#1f212f",
|
||||
"sidebarColor": "#312e32",
|
||||
"mainColor": "#1D1C23",
|
||||
"secondaryColor": "#1F212f",
|
||||
"sidebarColor": "#312E32",
|
||||
"userDropdownColor": "#2e312b",
|
||||
"iconHighlight": "#70e6e6",
|
||||
"modeHighlight": "#70e6e6",
|
||||
"classCardColor":"#1faab1",
|
||||
"textColor": "#fcf0f0"
|
||||
"iconHighlight": "#70E6E6",
|
||||
"modeHighlight": "#70E6E6",
|
||||
"classCardColor":"#1FAAB1",
|
||||
"textColor": "#FCF0F0"
|
||||
}
|
||||
};
|
||||
|
||||
@ -71,7 +71,7 @@ options = {
|
||||
"theme": [
|
||||
{"val": "lux", "alias": "Lux"},
|
||||
{"val": "nox", "alias": "Nox"},
|
||||
{"val": "requox", "alias": "Recoum"},
|
||||
{"val": "requom", "alias": "Recoum"},
|
||||
{"val": "aequor", "alias": "Aequor"},
|
||||
{"val": "fresva", "alias": "Fresva"},
|
||||
{"val": "atlaneon", "alias": "Atlaneon"}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user