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);