Increase hint brightness; remove last play hint on select.
This commit is contained in:
parent
15030fc700
commit
d33aec7bc2
@ -1,9 +1,9 @@
|
|||||||
span.text-system{color:#909090;}
|
span.text-system{color:#909090;}
|
||||||
span.c_dawn{color:#ffe082;}
|
span.c_dawn{color:#ffe082;}
|
||||||
span.c_dusk{color:#f6a1bd;}
|
span.c_dusk{color:#f6a1bd;}
|
||||||
|
span.bold{font-weight:bold;}
|
||||||
|
|
||||||
button#button-resign.warn {
|
button#button-resign.warn {
|
||||||
background-color:#471414;
|
background-color:#471414;
|
||||||
color:#e0e0e0;
|
color:#e0e0e0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -30,14 +30,14 @@ const INTERFACE = {
|
|||||||
|
|
||||||
HintHover: "#71a1e8",
|
HintHover: "#71a1e8",
|
||||||
HintSelect: "#4a148c",
|
HintSelect: "#4a148c",
|
||||||
HintValid: "#1a237e",
|
HintValid: "#1d268c",
|
||||||
HintValidDark: "#121859",
|
HintValidDark: "#151c66",
|
||||||
HintThreat: "#054719",
|
HintThreat: "#054719",
|
||||||
HintThreatDark: "#023311",
|
HintThreatDark: "#023311",
|
||||||
HintOpponent: "#49136b",
|
HintOpponent: "#49136b",
|
||||||
HintOpponentDark: "#2a0b3f",
|
HintOpponentDark: "#2a0b3f",
|
||||||
HintInvalid: "#b71c1c",
|
HintInvalid: "#b21818",
|
||||||
HintInvalidDark: "#3f0808",
|
HintInvalidDark: "#7f1111",
|
||||||
HintPlay: "#307c7f",
|
HintPlay: "#307c7f",
|
||||||
HintCheck: "#C62828",
|
HintCheck: "#C62828",
|
||||||
},
|
},
|
||||||
@ -479,7 +479,7 @@ const INTERFACE = {
|
|||||||
if(is_hover) {
|
if(is_hover) {
|
||||||
border_color = INTERFACE.Color.HintHover;
|
border_color = INTERFACE.Color.HintHover;
|
||||||
} else if(background_color == null) {
|
} else if(background_color == null) {
|
||||||
if(is_play !== null) {
|
if(INTERFACE_DATA.select === null && is_play !== null) {
|
||||||
if((GAME_DATA.turn & 1) != GAME.Const.Player.Dawn) { border_color = INTERFACE.Color.DawnDark; }
|
if((GAME_DATA.turn & 1) != GAME.Const.Player.Dawn) { border_color = INTERFACE.Color.DawnDark; }
|
||||||
else { border_color = INTERFACE.Color.DuskDark; }
|
else { border_color = INTERFACE.Color.DuskDark; }
|
||||||
background_scale = 0.9;
|
background_scale = 0.9;
|
||||||
@ -488,7 +488,7 @@ const INTERFACE = {
|
|||||||
|
|
||||||
// Get default colors
|
// Get default colors
|
||||||
if(background_color === null) {
|
if(background_color === null) {
|
||||||
if(is_play !== null) {
|
if(INTERFACE_DATA.select === null && is_play !== null) {
|
||||||
if(is_play === GAME.Const.Player.Dawn) {
|
if(is_play === GAME.Const.Player.Dawn) {
|
||||||
background_color = INTERFACE.Color.DawnDarkest;
|
background_color = INTERFACE.Color.DawnDarkest;
|
||||||
} else {
|
} else {
|
||||||
|
@ -344,12 +344,12 @@ const UI = {
|
|||||||
|
|
||||||
buttons.push(UI.button(LANG("review"), view_callback));
|
buttons.push(UI.button(LANG("review"), view_callback));
|
||||||
|
|
||||||
let dawn = UI.text(records[r].dawn);
|
let dawn = UI.span([UI.text(records[r].dawn)], "c_dawn");
|
||||||
let dusk = UI.text(records[r].dusk);
|
let dusk = UI.span([UI.text(records[r].dusk)], "c_dusk");
|
||||||
|
|
||||||
switch(records[r].is_complete) {
|
switch(records[r].is_complete) {
|
||||||
case 1: dawn = UI.span([dawn], "c_dawn"); break;
|
case 1: dawn = UI.span([dawn], "bold"); break;
|
||||||
case 2: dusk = UI.span([dusk], "c_dusk"); break;
|
case 2: dusk = UI.span([dusk], "bold"); break;
|
||||||
}
|
}
|
||||||
|
|
||||||
rows.push([
|
rows.push([
|
||||||
|
Loading…
x
Reference in New Issue
Block a user