Overhaul UI and overall QoL
This commit is contained in:
@@ -6,10 +6,12 @@
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement class="screen-frame-content">
|
||||
<ui:VisualElement class="collection-actions">
|
||||
<ui:Button name="CollectionUnitsButton" text="units" focusable="false" class="collection-tab" />
|
||||
<ui:Button name="CollectionLanguagesButton" text="languages" focusable="false" class="collection-tab" />
|
||||
<ui:Button name="CollectionPackagesButton" text="packages" focusable="false" class="collection-tab" />
|
||||
<ui:Button name="CollectionUnitsButton" text="units" class="collection-tab" />
|
||||
<ui:Button name="CollectionLanguagesButton" text="languages" class="collection-tab" />
|
||||
<ui:Button name="CollectionPackagesButton" text="packages" class="collection-tab" />
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement name="CollectionContextHeader" class="collection-context hidden" />
|
||||
<ui:VisualElement name="CollectionFilters" class="context-filters hidden" />
|
||||
<ui:VisualElement name="CollectionContent" class="collection-shell">
|
||||
<ui:ScrollView name="CollectionList" class="collection-list" />
|
||||
<ui:ScrollView name="CollectionDetail" class="collection-detail" />
|
||||
|
||||
+1
-16
@@ -1,17 +1,4 @@
|
||||
:root {
|
||||
--kp-bg: #050807;
|
||||
--kp-bg-solid: #050807;
|
||||
--kp-panel: #09100d;
|
||||
--kp-primary: #5cff91;
|
||||
--kp-primary-dim: #2f7a4d;
|
||||
--kp-muted: #7f9b8a;
|
||||
--kp-border: #1d3b2a;
|
||||
--kp-hover: #102018;
|
||||
--kp-amber: #ffbf5c;
|
||||
--kp-scroll-track: var(--kp-panel);
|
||||
--kp-scroll-thumb: var(--kp-muted);
|
||||
--kp-scroll-thumb-hover: var(--kp-primary-dim);
|
||||
}
|
||||
/* Shared semantic tokens are defined in Resources/KernelTheme.uss. */
|
||||
|
||||
.terminal-root {
|
||||
flex-grow: 1;
|
||||
@@ -39,7 +26,6 @@ Button {
|
||||
height: 18px;
|
||||
color: var(--kp-primary);
|
||||
font-size: 14px;
|
||||
line-height: 18px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
@@ -303,7 +289,6 @@ Button {
|
||||
height: 150px;
|
||||
color: var(--kp-primary);
|
||||
font-size: 14px;
|
||||
line-height: 105%;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
-unity-paragraph-spacing: 0;
|
||||
|
||||
+15
-11
@@ -18,18 +18,19 @@
|
||||
<ui:Label name="EntropyLabel" class="currency-text" />
|
||||
<ui:Button name="RootCreditsToEntropyButton" text="+" class="currency-plus-button" focusable="false" />
|
||||
<ui:Label name="PullTokensLabel" class="currency-text" />
|
||||
<ui:Label text="uid=1000(player)" class="status-text" />
|
||||
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
|
||||
<ui:VisualElement name="MainMenuPanel" class="main-panel">
|
||||
<ui:ScrollView class="home-scroll">
|
||||
<ui:VisualElement class="content-row">
|
||||
<ui:VisualElement class="command-column">
|
||||
<ui:VisualElement class="title-row">
|
||||
<ui:Label text="KERNEL PANIC" class="terminal-title" />
|
||||
<ui:Label name="TitleCursorLabel" text="█" class="blink-cursor" />
|
||||
</ui:VisualElement>
|
||||
<ui:Label text="boot media detected / choose a distro" class="tagline" />
|
||||
<ui:Label text="Select a command or enter it at the prompt." class="tagline" />
|
||||
|
||||
<ui:VisualElement class="command-list">
|
||||
<ui:VisualElement name="CommandStartRun" class="command-row">
|
||||
@@ -58,6 +59,7 @@
|
||||
<ui:Label text="quit" class="command-description" />
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
<ui:Label name="CommandOutput" class="command-output" enable-rich-text="false" />
|
||||
</ui:VisualElement>
|
||||
|
||||
<ui:VisualElement name="FeaturedUnitPanel" class="featured-panel">
|
||||
@@ -123,6 +125,7 @@
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:ScrollView>
|
||||
</ui:VisualElement>
|
||||
|
||||
<ui:Instance template="CollectionScreen" />
|
||||
@@ -158,16 +161,17 @@
|
||||
<ui:VisualElement class="footer-bar">
|
||||
<ui:VisualElement class="prompt-row">
|
||||
<ui:Label text="player@mainframe:~$ " class="prompt-text" />
|
||||
<ui:Label name="PromptCursorLabel" text="█" class="blink-cursor" />
|
||||
<ui:TextField name="CommandInput" class="command-input" max-length="120" tooltip="Type a menu command. Tab completes; Up/Down recalls history; help shows controls." />
|
||||
<ui:Label name="PromptCursorLabel" text="" class="hidden" />
|
||||
</ui:VisualElement>
|
||||
<ui:Label text="daily seed: --------" class="footer-muted" />
|
||||
<ui:Label text="[Tab] complete [Up/Down] history" class="footer-muted" />
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
|
||||
<ui:VisualElement name="StarterModal" class="modal-overlay hidden">
|
||||
<ui:VisualElement class="starter-dialog">
|
||||
<ui:ScrollView class="starter-dialog dialog-scroll">
|
||||
<ui:Label text="select starter distro" class="starter-title" />
|
||||
<ui:Label text="choose one base system to install into persistent userspace" class="starter-instruction" />
|
||||
<ui:Label text="Choose your starting distro." class="starter-instruction" />
|
||||
<ui:Label name="StarterErrorLabel" class="starter-error hidden" />
|
||||
<ui:VisualElement name="StarterOptions" class="starter-options">
|
||||
<ui:VisualElement name="StarterOption0" class="starter-card">
|
||||
@@ -187,10 +191,10 @@
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
<ui:Label name="StarterConfirmLabel" class="starter-confirm hidden" />
|
||||
</ui:VisualElement>
|
||||
</ui:ScrollView>
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement name="RootCreditExchangeModal" class="modal-overlay hidden">
|
||||
<ui:VisualElement class="root-credit-dialog">
|
||||
<ui:ScrollView class="root-credit-dialog dialog-scroll">
|
||||
<ui:Button name="RootCreditExchangeCloseButton" text="X" class="modal-close-button" focusable="false" />
|
||||
<ui:Label text="exchange Root Credits" class="starter-title" />
|
||||
<ui:Label text="convert Root Credits into Entropy at 1:1. Entropy cannot be converted back." class="starter-instruction" />
|
||||
@@ -215,10 +219,10 @@
|
||||
</ui:VisualElement>
|
||||
<ui:Label name="RootCreditExchangeMessageLabel" class="starter-confirm hidden" />
|
||||
<ui:VisualElement class="exchange-confirm-row">
|
||||
<ui:Button name="RootCreditExchangeCancelButton" text="git merge --abort" class="terminal-button exchange-confirm-button" />
|
||||
<ui:Button name="RootCreditExchangeConfirmButton" text="git merge Root-Credits --into Entropy" class="terminal-button exchange-confirm-button" />
|
||||
<ui:Button name="RootCreditExchangeCancelButton" text="[Esc] cancel" class="terminal-button exchange-confirm-button" />
|
||||
<ui:Button name="RootCreditExchangeConfirmButton" text="convert to Entropy" class="terminal-button exchange-confirm-button" />
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:ScrollView>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:UXML>
|
||||
|
||||
@@ -4,12 +4,23 @@
|
||||
<ui:VisualElement class="screen-frame-header">
|
||||
<ui:Label class="screen-frame-title" />
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement class="screen-frame-content">
|
||||
<ui:VisualElement class="settings-row disabled-row">
|
||||
<ui:Label text="Audio" class="settings-label" />
|
||||
<ui:Toggle name="AudioToggle" text="TODO" enabled="false" class="settings-toggle" />
|
||||
<ui:ScrollView class="screen-frame-content settings-scroll">
|
||||
<ui:Label text="[display]" class="settings-heading" />
|
||||
<ui:VisualElement class="settings-row">
|
||||
<ui:VisualElement class="settings-copy">
|
||||
<ui:Label text="reduced_motion" class="settings-label" />
|
||||
<ui:Label text="Skip boot/reveal sequences; simplify combat motion. Applies for this session." class="settings-description" />
|
||||
</ui:VisualElement>
|
||||
<ui:Toggle name="ReducedMotionToggle" text="[ false ]" class="settings-toggle" tooltip="Reduced motion. Space toggles this setting." />
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
<ui:Label text="[input]" class="settings-heading" />
|
||||
<ui:Label text="Tab / Shift+Tab focus controls Enter / Space activate focused control Esc back / cancel Menu: / focuses prompt; Tab completes; Up/Down recalls history. Collection: Left/Right switches tabs; Up/Down selects entries. Combat: E ends your turn; Tab + Enter selects cards and targets." class="settings-help" />
|
||||
<ui:Label text="[audio]" class="settings-heading" />
|
||||
<ui:VisualElement class="settings-row disabled-row">
|
||||
<ui:Label text="status" class="settings-label" />
|
||||
<ui:Label text="unavailable" class="settings-description" />
|
||||
</ui:VisualElement>
|
||||
</ui:ScrollView>
|
||||
<ui:VisualElement class="screen-frame-footer">
|
||||
<ui:Label class="screen-frame-hint" />
|
||||
</ui:VisualElement>
|
||||
|
||||
Reference in New Issue
Block a user