From c7bd18f3070ddd003161220717465ec95d4ddbf8 Mon Sep 17 00:00:00 2001 From: Hide_D Date: Sat, 26 Mar 2022 23:09:19 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EC=82=AC=EB=A0=B9=EB=B6=80=EC=97=90?= =?UTF-8?q?=EC=84=9C=20=EB=8B=A4=EB=A5=B8=20=EC=88=98=EB=87=8C=EC=9D=98=20?= =?UTF-8?q?=ED=84=B4=EC=9D=84=20'=EB=B3=B5=EC=82=AC=ED=95=98=EA=B8=B0'=20?= =?UTF-8?q?=EA=B8=B0=EB=8A=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/scss/chiefCenter.scss | 13 +- hwe/ts/ChiefCenter/TopItem.vue | 218 ++++++++++++++------- hwe/ts/PageChiefCenter.vue | 8 +- hwe/ts/components/ChiefReservedCommand.vue | 10 +- hwe/ts/components/DragSelect.vue | 2 +- hwe/ts/util/StoredActionsHelper.ts | 1 - 6 files changed, 167 insertions(+), 85 deletions(-) diff --git a/hwe/scss/chiefCenter.scss b/hwe/scss/chiefCenter.scss index 5f3cfde8..dab8b4da 100644 --- a/hwe/scss/chiefCenter.scss +++ b/hwe/scss/chiefCenter.scss @@ -31,11 +31,16 @@ $modcolor2: color.adjust($nbase2color, $lightness: -5%); line-height: 30px; } + .time_pad.inverted{ + background-color: gray; + color: white; + } + .turn_pad { line-height: 30px; } - .row:nth-child(odd) .turn_pad { + .row:nth-of-type(odd) .turn_pad { background-color: $modcolor2; } } @@ -83,7 +88,7 @@ $modcolor2: color.adjust($nbase2color, $lightness: -5%); } .commandBox .controlPad { - .turn_pad:nth-child(2n) { + .turn_pad:nth-of-type(even) { background-color: $modcolor2; } } @@ -130,7 +135,7 @@ $modcolor2: color.adjust($nbase2color, $lightness: -5%); .commandBox .controlPad { margin-top: 10px; - .turn_pad:nth-child(even) { + .turn_pad:nth-of-type(even) { background-color: $modcolor2; } } @@ -144,7 +149,7 @@ $modcolor2: color.adjust($nbase2color, $lightness: -5%); overflow: hidden; - .turn_pad:nth-child(even) { + .turn_pad:nth-of-type(even) { background-color: $modcolor2; } } diff --git a/hwe/ts/ChiefCenter/TopItem.vue b/hwe/ts/ChiefCenter/TopItem.vue index b6bf764e..8e3fe4bd 100644 --- a/hwe/ts/ChiefCenter/TopItem.vue +++ b/hwe/ts/ChiefCenter/TopItem.vue @@ -1,88 +1,170 @@ - diff --git a/hwe/ts/PageChiefCenter.vue b/hwe/ts/PageChiefCenter.vue index c6bccf3d..396796ac 100644 --- a/hwe/ts/PageChiefCenter.vue +++ b/hwe/ts/PageChiefCenter.vue @@ -38,9 +38,6 @@ /> { void reloadTable(); +const storedActionsHelper = new StoredActionsHelper(staticValues.serverNick, 'nation', staticValues.mapName, staticValues.unitSet); +provide('storedNationActionsHelper', storedActionsHelper);