From 2d8c5355bb46e2cb377ca7d7e96192cefe7406ea Mon Sep 17 00:00:00 2001 From: Azgaar Date: Thu, 19 May 2022 00:19:24 +0300 Subject: [PATCH] load dynamically cultures editor --- index.css | 10 - index.html | 88 +- modules/dynamic/editors/cultures-editor.js | 1017 ++++++++++++++++++++ modules/dynamic/editors/states-editor.js | 26 +- modules/ui/biomes-editor.js | 6 +- modules/ui/coastline-editor.js | 6 +- modules/ui/cultures-editor.js | 979 ------------------- modules/ui/editors.js | 30 +- modules/ui/general.js | 15 +- modules/ui/lakes-editor.js | 7 +- modules/ui/measurers.js | 3 +- modules/ui/provinces-editor.js | 8 +- modules/ui/religions-editor.js | 6 +- modules/ui/zones-editor.js | 7 +- versioning.js | 2 +- 15 files changed, 1091 insertions(+), 1119 deletions(-) create mode 100644 modules/dynamic/editors/cultures-editor.js delete mode 100644 modules/ui/cultures-editor.js diff --git a/index.css b/index.css index 848d8420..f070c939 100644 --- a/index.css +++ b/index.css @@ -1452,15 +1452,6 @@ div.states > .small { font-size: 0.9em; } -div.states > .cultureName { - width: 7em; -} - -div.states > .culturePopulation { - width: 4em; - cursor: pointer; -} - div.states > select { width: 7em; cursor: pointer; @@ -1471,7 +1462,6 @@ div.states > select { appearance: none; } -div.states > .cultureBase, div.states > .burgName, div.states > .burgState, div.states > .burgCulture { diff --git a/index.html b/index.html index 6aac18d2..9a9c5582 100644 --- a/index.html +++ b/index.html @@ -107,7 +107,7 @@ } } - + @@ -3343,73 +3343,6 @@ - -