Change from clickable to fake-button

holy UI design
This commit is contained in:
hppeng 2022-07-20 10:31:38 -07:00
parent a63b4df3aa
commit d5d0f87bcc
2 changed files with 1 additions and 5 deletions

View file

@ -132,10 +132,6 @@ input.equipment-input {
font-weight: bold; font-weight: bold;
} }
.clickable {
cursor: pointer;
}
:root { :root {
--scaled-fontsize: 2.5rem; --scaled-fontsize: 2.5rem;
} }

View file

@ -864,7 +864,7 @@ class AbilityTreeEnsureNodesNode extends ComputeNode {
let display_elem = document.createElement('div'); let display_elem = document.createElement('div');
display_elem.classList.add("col", "pe-0"); display_elem.classList.add("col", "pe-0");
// TODO: just pass these elements into the display node instead of juggling the raw IDs... // TODO: just pass these elements into the display node instead of juggling the raw IDs...
let spell_summary = make_elem('div', ["col", "spell-display", "clickable", "dark-5", "rounded", "dark-shadow", "pt-2", "border", "border-dark"], let spell_summary = make_elem('div', ["col", "spell-display", "fake-button", "dark-5", "rounded", "dark-shadow", "pt-2", "border", "border-dark"],
{ id: "spell"+spell.base_spell+"-infoAvg" }); { id: "spell"+spell.base_spell+"-infoAvg" });
let spell_detail = make_elem('div', ["col", "spell-display", "dark-5", "rounded", "dark-shadow", "py-2"], let spell_detail = make_elem('div', ["col", "spell-display", "dark-5", "rounded", "dark-shadow", "py-2"],
{ id: "spell"+spell.base_spell+"-info" }); { id: "spell"+spell.base_spell+"-info" });