Add tutorial and QoL improvements
This commit is contained in:
@@ -763,6 +763,146 @@
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.pile-stat-button {
|
||||
min-height: 22px;
|
||||
margin: 0 0 3px 0;
|
||||
padding: 2px 4px;
|
||||
color: var(--kp-text);
|
||||
background-color: var(--kp-bg-deep);
|
||||
border-width: 1px;
|
||||
border-color: var(--kp-border);
|
||||
font-size: 11px;
|
||||
-unity-text-align: middle-left;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.kernel-ui .overlay.pile-overlay {
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background-color: var(--kp-overlay);
|
||||
}
|
||||
|
||||
.kernel-ui .pile-inspector {
|
||||
width: 96%;
|
||||
max-width: 1280px;
|
||||
height: 94%;
|
||||
max-height: 960px;
|
||||
min-width: 0;
|
||||
padding: 18px;
|
||||
background-color: var(--kp-bg-deep);
|
||||
border-width: 1px;
|
||||
border-color: var(--kp-accent);
|
||||
}
|
||||
|
||||
.kernel-ui .pile-header {
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
flex-shrink: 0;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.kernel-ui .pile-title {
|
||||
color: var(--kp-amber);
|
||||
font-size: var(--type-title);
|
||||
-unity-font-style: bold;
|
||||
white-space: normal;
|
||||
flex-shrink: 1;
|
||||
}
|
||||
|
||||
.kernel-ui .pile-count {
|
||||
color: var(--kp-cyan);
|
||||
font-size: var(--type-meta);
|
||||
margin-left: 12px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.kernel-ui .pile-description {
|
||||
color: var(--kp-muted);
|
||||
font-size: var(--type-meta);
|
||||
white-space: normal;
|
||||
flex-shrink: 0;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.kernel-ui .pile-search-row {
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
flex-shrink: 0;
|
||||
min-width: 0;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
.kernel-ui .pile-search {
|
||||
flex-grow: 1;
|
||||
flex-shrink: 1;
|
||||
min-width: 0;
|
||||
margin: 0;
|
||||
font-size: var(--type-body);
|
||||
}
|
||||
|
||||
.kernel-ui .pile-search > .unity-base-field__label { color: var(--kp-text); min-width: 58px; }
|
||||
.kernel-ui .pile-search .unity-base-text-field__input {
|
||||
min-width: 0;
|
||||
min-height: 38px;
|
||||
background-color: var(--kp-panel);
|
||||
border-width: 1px;
|
||||
border-color: var(--kp-border);
|
||||
padding: 8px 10px;
|
||||
}
|
||||
.kernel-ui .pile-search:focus .unity-base-text-field__input { border-color: var(--kp-amber); }
|
||||
.kernel-ui .pile-search .unity-base-text-field__input--placeholder { color: var(--kp-muted); }
|
||||
.kernel-ui .pile-clear {
|
||||
flex-shrink: 0;
|
||||
min-height: 38px;
|
||||
margin: 0 0 0 8px;
|
||||
padding: 8px 10px;
|
||||
border-width: 1px;
|
||||
border-color: var(--kp-border);
|
||||
color: var(--kp-text);
|
||||
background-color: var(--kp-panel);
|
||||
font-size: var(--type-meta);
|
||||
}
|
||||
.kernel-ui .pile-clear:disabled { opacity: 0.45; }
|
||||
.kernel-ui .pile-scroll { flex-grow: 1; flex-shrink: 1; min-height: 0; margin-bottom: 10px; }
|
||||
.kernel-ui .pile-grid { flex-direction: row; flex-wrap: wrap; align-items: stretch; min-width: 0; }
|
||||
.kernel-ui .pile-inspector .pile-card { width: 100%; min-width: 0; min-height: 0; flex-shrink: 0; margin: 0 0 12px 0; padding: 0; }
|
||||
.kernel-ui .pile-card .software-body { flex-grow: 1; }
|
||||
.kernel-ui .pile-card .software-effect, .kernel-ui .pile-card .software-conditions, .kernel-ui .pile-upgrades {
|
||||
white-space: normal;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.kernel-ui .pile-card .software-conditions { font-size: var(--type-body); }
|
||||
.kernel-ui .pile-card .software-footer { flex-wrap: wrap; }
|
||||
.kernel-ui .pile-card .pile-status-detail { color: var(--kp-danger); font-size: var(--type-meta); padding: 0 12px 10px; white-space: normal; flex-shrink: 0; }
|
||||
.kernel-ui .pile-upgrades { color: var(--kp-muted); font-size: var(--type-meta); padding: 8px 12px; border-top-width: 1px; border-top-color: var(--kp-border-subtle); }
|
||||
.kernel-ui .pile-empty { width: 100%; padding: 22px 12px; font-size: var(--type-body); color: var(--kp-muted); white-space: normal; }
|
||||
.kernel-ui .pile-footer { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; flex-shrink: 0; padding-top: 8px; border-top-width: 1px; border-top-color: var(--kp-border); }
|
||||
.kernel-ui .pile-footer-hint { color: var(--kp-muted); font-size: var(--type-meta); white-space: normal; margin-right: 12px; }
|
||||
.kernel-ui .pile-footer .primary-action { min-width: 128px; margin: 0; flex-shrink: 0; -unity-text-align: middle-center; }
|
||||
.kernel-ui.narrow .pile-inspector { width: 100%; padding: 12px; }
|
||||
.kernel-ui.narrow .pile-search > .unity-base-field__label { min-width: 0; width: 0; display: none; }
|
||||
|
||||
.kernel-ui .pile-tabs { flex-direction: row; flex-shrink: 0; margin-bottom: 8px; }
|
||||
.kernel-ui .pile-tab { flex-grow: 1; min-width: 0; margin: 0 4px 0 0; padding: 7px 4px; font-size: var(--type-meta); color: var(--kp-text); background-color: var(--kp-panel); border-width: 1px; border-color: var(--kp-border); }
|
||||
.kernel-ui .pile-tab.selected { color: var(--kp-amber); border-color: var(--kp-amber); background-color: var(--kp-hover); }
|
||||
.kernel-ui .pile-tab:focus, .kernel-ui .pile-clear:focus { border-color: var(--kp-cyan); }
|
||||
.kernel-ui .pile-filters { flex-direction: row; flex-wrap: wrap; align-items: center; flex-shrink: 0; margin-bottom: 8px; }
|
||||
.kernel-ui .pile-filter { flex-grow: 1; min-width: 142px; margin: 0 8px 4px 0; font-size: var(--type-meta); }
|
||||
.kernel-ui .pile-filter .unity-base-field__input { min-height: 34px; background-color: var(--kp-panel); border-width: 1px; border-color: var(--kp-border); color: var(--kp-text); padding: 4px 8px; }
|
||||
.kernel-ui .pile-filter:focus .unity-base-field__input { border-color: var(--kp-cyan); }
|
||||
.kernel-ui .pile-group-toggle { margin: 0 8px 4px 0; color: var(--kp-text); font-size: var(--type-meta); }
|
||||
.kernel-ui .pile-group-toggle .unity-base-field__label { min-width: 0; }
|
||||
.kernel-ui .pile-filters .pile-clear { margin: 0 0 4px 0; min-height: 34px; padding: 4px 8px; }
|
||||
.kernel-ui .pile-card .software-cost { font-size: var(--type-meta); }
|
||||
.kernel-ui .pile-copy-count { color: var(--kp-cyan); font-size: var(--type-meta); padding: 5px 12px; background-color: var(--kp-panel); white-space: normal; }
|
||||
.kernel-ui .pile-cost-summary { color: var(--kp-amber); font-size: var(--type-meta); padding: 6px 12px; white-space: normal; flex-shrink: 0; }
|
||||
.kernel-ui .pile-card Foldout { color: var(--kp-text); font-size: var(--type-meta); margin: 0 10px 6px; flex-shrink: 0; }
|
||||
.kernel-ui .pile-cost-explanation { color: var(--kp-muted); font-size: var(--type-meta); white-space: normal; flex-shrink: 0; }
|
||||
.kernel-ui.short-screen .pile-description { display: none; }
|
||||
.kernel-ui.short-screen .pile-inspector { padding-top: 8px; padding-bottom: 8px; }
|
||||
.kernel-ui.short-screen .pile-search-row { margin-bottom: 6px; }
|
||||
|
||||
.turn-stat-label {
|
||||
color: var(--kp-text-dim);
|
||||
width: 72px;
|
||||
@@ -1963,3 +2103,87 @@
|
||||
translate: 0 0;
|
||||
scale: 1 1;
|
||||
}
|
||||
.first-battle-guide {
|
||||
flex-shrink: 0;
|
||||
padding: 10px;
|
||||
margin-bottom: 8px;
|
||||
border-left-width: 3px;
|
||||
border-left-color: var(--kp-beneficial);
|
||||
background-color: rgba(87, 216, 255, 0.08);
|
||||
}
|
||||
.guide-header { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
|
||||
.guide-title { color: var(--kp-beneficial); -unity-font-style: bold; font-size: var(--type-meta); white-space: normal; max-width: 100%; }
|
||||
.guide-copy { white-space: normal; margin-top: 4px; font-size: var(--type-meta); }
|
||||
.guide-actions { flex-direction: row; flex-wrap: wrap; }
|
||||
.first-battle-guide Button, .battle-guide-toggle {
|
||||
background-color: rgb(19, 35, 31);
|
||||
color: var(--kp-beneficial);
|
||||
border-color: rgb(80, 118, 108);
|
||||
border-width: 1px;
|
||||
padding: 4px 8px;
|
||||
margin: 2px 4px;
|
||||
font-size: var(--type-meta);
|
||||
min-height: 24px;
|
||||
}
|
||||
.battle-guide-toggle { min-height: 0; margin: 0; padding: 0 5px; }
|
||||
.turn-panel .panel-header { flex-wrap: wrap; }
|
||||
.turn-resource-grid { flex-shrink: 0; }
|
||||
.run-route-section { margin-bottom: 14px; padding: 12px; border-top-width: 1px; border-top-color: rgb(91, 142, 118); }
|
||||
.route-choices { flex-direction: row; flex-wrap: wrap; }
|
||||
.route-choice { flex-grow: 1; flex-basis: 240px; min-width: 0; padding: 8px; margin: 4px; border-left-width: 2px; border-left-color: rgb(60, 70, 66); }
|
||||
.route-selected { border-left-color: rgb(112, 211, 150); background-color: rgba(112, 211, 150, 0.07); }
|
||||
.run-route-section .primary-action { white-space: normal; height: auto; min-height: 34px; margin-bottom: 6px; }
|
||||
.execution-preview { margin: 6px 10px; flex-shrink: 0; }
|
||||
.execution-preview .terminal-body { margin-bottom: 8px; white-space: normal; }
|
||||
#EncounterBrief { margin: 6px 10px; white-space: normal; }
|
||||
.kernel-ui .run-victory .death-content .overlay-title { color: var(--kp-beneficial); }
|
||||
.kernel-ui .run-victory .death-content { border-top-color: var(--kp-beneficial); }
|
||||
.execution-preview-shade { position: absolute; left: 0; right: 0; top: 0; bottom: 0; align-items: center; justify-content: center; background-color: rgba(0, 0, 0, 0.88); }
|
||||
.execution-preview-dialog { width: 90%; max-width: 820px; height: 80%; min-height: 0; padding: 16px; border-width: 1px; border-color: var(--kp-beneficial); background-color: var(--kp-panel); }
|
||||
.execution-preview-dialog .terminal-body { white-space: normal; margin-bottom: 10px; }
|
||||
.execution-preview-dialog .primary-action { flex-shrink: 0; white-space: normal; height: auto; min-height: 38px; margin-top: 12px; }
|
||||
.kernel-ui .overlay.tutorial-overlay {
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background-color: rgba(3, 8, 6, 0.94);
|
||||
}
|
||||
|
||||
.kernel-ui .overlay .tutorial-dialog {
|
||||
width: 90%;
|
||||
max-width: 680px;
|
||||
max-height: 88%;
|
||||
padding: 16px;
|
||||
background-color: rgb(17, 28, 23);
|
||||
border-width: 1px;
|
||||
border-color: rgb(126, 204, 216);
|
||||
flex-shrink: 1;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.kernel-ui .tutorial-dialog .terminal-body {
|
||||
white-space: normal;
|
||||
margin-bottom: 12px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.kernel-ui .tutorial-dialog Button {
|
||||
white-space: normal;
|
||||
min-height: 34px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.kernel-ui .overlay.guided-overlay { padding: 0; background-color: rgba(0, 0, 0, 0); }
|
||||
.tutorial-shade { position: absolute; background-color: rgba(2, 7, 5, 0.78); }
|
||||
.tutorial-highlight { position: absolute; border-width: 2px; border-color: rgb(153, 239, 206); border-radius: 5px; }
|
||||
.kernel-ui .tutorial-callout {
|
||||
position: absolute; padding: 12px; min-width: 0; min-height: 0;
|
||||
background-color: rgb(17, 28, 23); border-width: 1px; border-color: rgb(153, 239, 206);
|
||||
}
|
||||
.kernel-ui .tutorial-callout .terminal-body { white-space: normal; font-size: var(--type-meta); margin-bottom: 8px; flex-shrink: 0; }
|
||||
.kernel-ui #TutorialStepTitle { white-space: normal; font-size: var(--type-body); margin-bottom: 8px; flex-shrink: 0; }
|
||||
.kernel-ui #TutorialStepCount { color: rgb(153, 239, 206); }
|
||||
.kernel-ui .tutorial-callout Button { white-space: normal; min-height: 32px; flex-shrink: 0; margin-top: 8px; }
|
||||
.tutorial-guided .runtime-hint { display: none; }
|
||||
.kernel-ui.narrow.tutorial-card-focus .turn-panel { display: none; }
|
||||
.kernel-ui.narrow.tutorial-card-focus .hand-panel { width: 100%; }
|
||||
.tutorial-shop-highlight { padding: 8px; margin-bottom: 12px; border-width: 2px; border-color: rgb(153, 239, 206); }
|
||||
|
||||
Reference in New Issue
Block a user