From e3e2de9e9b67e1f1310ad4a9f65dbe8b8f8ffe05 Mon Sep 17 00:00:00 2001 From: Azgaar Date: Sun, 15 Dec 2019 13:50:09 +0300 Subject: [PATCH] v1.22.27 --- index.css | 22 ++++--- index.html | 29 ++++++++- main.js | 78 ++++++++++++++++++++++ modules/ui/biomes-editor.js | 6 +- modules/ui/cultures-editor.js | 4 +- modules/ui/diplomacy-editor.js | 2 +- modules/ui/general.js | 1 + modules/ui/military-overview.js | 111 ++++++++++++++++++++++++++++++++ modules/ui/options.js | 10 +-- modules/ui/provinces-editor.js | 4 +- modules/ui/religions-editor.js | 4 +- modules/ui/states-editor.js | 6 +- modules/ui/tools.js | 1 + modules/ui/zones-editor.js | 6 +- modules/utils.js | 3 +- 15 files changed, 255 insertions(+), 32 deletions(-) create mode 100644 modules/ui/military-overview.js diff --git a/index.css b/index.css index 54d7a99f..bb6a8878 100644 --- a/index.css +++ b/index.css @@ -1178,13 +1178,6 @@ div.states>input { border: 0; } -div.states>input.stateColor { - width: .9em; - height: .9em; - padding: 0px; - margin-right: -1px; -} - div.states div { width: 3.2em; } @@ -1425,10 +1418,21 @@ div.states > div.biomeArea { width: 5em; } -.zoneFill { +rect.fillRect { stroke: #666666; stroke-width: 2; - cursor: pointer; +} + +#militaryBody div.states > div { + width: 4em; +} + +#militaryBody div.states > input.militaryArmy { + width: 5em; +} + +#militaryBody div.states > input.militaryFleet { + width: 3.3em; } #picker text { diff --git a/index.html b/index.html index 0ec7ba77..40416e11 100644 --- a/index.html +++ b/index.html @@ -1544,7 +1544,7 @@ - + @@ -1807,6 +1807,7 @@

Click to overview:

+ @@ -3211,6 +3212,31 @@ + +