From 6de70f58973e3f922115ac5c9a2ddbaaf1db5902 Mon Sep 17 00:00:00 2001 From: Azgaar Date: Sun, 7 Nov 2021 18:57:52 +0300 Subject: [PATCH] buttons to release all provinces and regenerate culture name --- index.css | 7 +- index.html | 15 +- modules/burgs-and-states.js | 4 +- modules/names-generator.js | 92 +++++++------ modules/ui/cultures-editor.js | 80 +++++++++-- modules/ui/provinces-editor.js | 243 +++++++++++++++++++++------------ modules/ui/states-editor.js | 5 +- utils/arrayUtils.js | 4 + 8 files changed, 301 insertions(+), 149 deletions(-) diff --git a/index.css b/index.css index c2e10c4a..9cdcbbe6 100644 --- a/index.css +++ b/index.css @@ -1411,11 +1411,16 @@ div.states > .statePopulation { width: 3em; } +div.states:hover > .hiddenIcon { + visibility: visible !important; +} + div.states .icon-pencil, div.states .icon-trash-empty, div.states .icon-eye, div.states .icon-pin, -div.states .icon-flag-empty { +div.states .icon-flag-empty, +div.states .icon-cw { cursor: pointer; } diff --git a/index.html b/index.html index 4bf6025b..cf279ba1 100644 --- a/index.html +++ b/index.html @@ -2708,6 +2708,7 @@ + @@ -2806,13 +2807,13 @@