diff options
-rw-r--r-- | play.css | 8 | ||||
-rw-r--r-- | play.js | 5 |
2 files changed, 9 insertions, 4 deletions
@@ -173,6 +173,11 @@ X#log .dem_nc { background-image: url(images/icon_dem.png) } box-shadow: 0 0 0 1px black, inset 0 0 0 1px black; } +.space.systematization { + background-color: #faebd7cc; + border-color: antiquewhite; +} + /* MARKERS */ /* node tools/gencolors.js */ @@ -316,9 +321,6 @@ X#log .dem_nc { background-image: url(images/icon_dem.png) } /* The Wall */ #event_9 { top: 175px; left: 216px; } -/* Systematisation */ -#event_69 {height: 65px; width: 65px; background-size: cover;} - /* CARD PANELS */ .panel { @@ -835,6 +835,7 @@ function on_update() { layout_country(i) /*layout_score_box(i)*/ } + // UPDATE CARD DISPLAYS ui.samizdat_card.replaceChildren() @@ -903,8 +904,10 @@ function on_update() { for (let e of action_register) e.classList.toggle("action", is_action(e.my_action, e.my_id)) - for (let s = 0; s <= last_space; ++s) + for (let s = 0; s <= last_space; ++s) { ui.spaces[s].classList.toggle("selected", view.selected_space === s) + ui.spaces[s].classList.toggle("systematization", view.systematization === s) + } action_button("east_germany", "East Germany") action_button("poland", "Poland") |