Paint towers with some the colors of the wind
This commit is contained in:
parent
fec4433691
commit
04ead32846
15 changed files with 584 additions and 32 deletions
|
|
@ -356,6 +356,39 @@
|
|||
border-radius: 4px;
|
||||
}
|
||||
|
||||
/* Build / Paint tab row. Shown only when the builder is selected; hidden
|
||||
(display:none, set from HUDController) for tower/build-site selections. */
|
||||
.command-tabs {
|
||||
flex-direction: row;
|
||||
flex-shrink: 0;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.cmd-tab {
|
||||
flex: 1;
|
||||
height: 22px;
|
||||
font-size: 11px;
|
||||
-unity-font-style: bold;
|
||||
color: rgb(200, 190, 160);
|
||||
background-color: rgb(26, 26, 10);
|
||||
border-width: 1px;
|
||||
border-color: rgb(58, 58, 26);
|
||||
border-radius: 3px;
|
||||
margin-right: 4px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.cmd-tab:hover {
|
||||
background-color: rgb(42, 42, 21);
|
||||
border-color: rgb(106, 106, 48);
|
||||
}
|
||||
|
||||
.cmd-tab.active {
|
||||
color: rgb(255, 224, 102);
|
||||
background-color: rgb(42, 38, 16);
|
||||
border-color: rgb(255, 224, 102);
|
||||
}
|
||||
|
||||
/* Command grid: 3 row-containers injected at runtime, each holding 5 buttons. */
|
||||
.command-grid {
|
||||
flex: 1;
|
||||
|
|
|
|||
|
|
@ -63,8 +63,13 @@
|
|||
<ui:Label name="tt-cost" text="" class="tt-cost"/>
|
||||
</ui:VisualElement>
|
||||
|
||||
<!-- Section 5: Action Menu (tall frame). Hides entirely when nothing actionable is selected. -->
|
||||
<!-- Section 5: Action Menu (tall frame). Hides entirely when nothing actionable is selected.
|
||||
The Build/Paint tabs are shown only when the builder is selected. -->
|
||||
<ui:VisualElement name="action-frame" class="action-frame">
|
||||
<ui:VisualElement name="command-tabs" class="command-tabs">
|
||||
<ui:Button name="tab-build" text="Build" class="cmd-tab"/>
|
||||
<ui:Button name="tab-paint" text="Paint" class="cmd-tab"/>
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement name="command-grid" class="command-grid"/>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue