2020-08-28 21:00:09 +00:00
|
|
|
// Control here whether to inline all resources or instead load them
|
|
|
|
|
@function uiResource($pth) {
|
|
|
|
|
@if (str-index($string: $pth, $substring: ".noinline")) {
|
|
|
|
|
@return resolve($pth);
|
|
|
|
|
}
|
|
|
|
|
@return inline($pth);
|
|
|
|
|
}
|
|
|
|
|
|
2020-09-23 09:14:35 +00:00
|
|
|
@import "resources";
|
2020-08-28 21:00:09 +00:00
|
|
|
@import "trigonometry";
|
|
|
|
|
@import "material_colors";
|
|
|
|
|
@import "dynamic_ui";
|
|
|
|
|
@import "variables";
|
|
|
|
|
|
|
|
|
|
@import "mixins";
|
|
|
|
|
@import "common";
|
|
|
|
|
@import "animations";
|
|
|
|
|
@import "game_state";
|
|
|
|
|
@import "application_error";
|
|
|
|
|
@import "textual_game_state";
|
|
|
|
|
@import "adinplay";
|
2021-03-10 08:29:20 +00:00
|
|
|
@import "changelog_skins";
|
2020-08-28 21:00:09 +00:00
|
|
|
|
|
|
|
|
@import "states/preload";
|
|
|
|
|
@import "states/main_menu";
|
|
|
|
|
@import "states/ingame";
|
|
|
|
|
@import "states/keybindings";
|
|
|
|
|
@import "states/settings";
|
|
|
|
|
@import "states/about";
|
|
|
|
|
@import "states/mobile_warning";
|
|
|
|
|
@import "states/changelog";
|
|
|
|
|
|
|
|
|
|
@import "ingame_hud/buildings_toolbar";
|
|
|
|
|
@import "ingame_hud/building_placer";
|
|
|
|
|
@import "ingame_hud/beta_overlay";
|
|
|
|
|
@import "ingame_hud/keybindings_overlay";
|
|
|
|
|
@import "ingame_hud/unlock_notification";
|
|
|
|
|
@import "ingame_hud/shop";
|
|
|
|
|
@import "ingame_hud/game_menu";
|
|
|
|
|
@import "ingame_hud/dialogs";
|
|
|
|
|
@import "ingame_hud/vignette_overlay";
|
|
|
|
|
@import "ingame_hud/statistics";
|
|
|
|
|
@import "ingame_hud/pinned_shapes";
|
|
|
|
|
@import "ingame_hud/notifications";
|
|
|
|
|
@import "ingame_hud/settings_menu";
|
|
|
|
|
@import "ingame_hud/debug_info";
|
|
|
|
|
@import "ingame_hud/entity_debugger";
|
|
|
|
|
@import "ingame_hud/tutorial_hints";
|
|
|
|
|
@import "ingame_hud/watermark";
|
|
|
|
|
@import "ingame_hud/blueprint_placer";
|
|
|
|
|
@import "ingame_hud/waypoints";
|
|
|
|
|
@import "ingame_hud/interactive_tutorial";
|
|
|
|
|
@import "ingame_hud/color_blind_helper";
|
|
|
|
|
@import "ingame_hud/shape_viewer";
|
|
|
|
|
@import "ingame_hud/sandbox_controller";
|
2020-09-29 14:46:29 +00:00
|
|
|
@import "ingame_hud/standalone_advantages";
|
2020-09-29 16:03:53 +00:00
|
|
|
@import "ingame_hud/cat_memes";
|
Puzzle mode (#1135)
* Add mode button to main menu
* [WIP] Add mode menu. Add factory-based gameMode creation
* Add savefile migration, serialize, deserialize
* Add hidden HUD elements, zone, and zoom, boundary constraints
* Clean up lint issues
* Add building, HUD exclusion, building exclusion, and refactor
- [WIP] Add ConstantProducer building that combines ConstantSignal
and ItemProducer functionality. Currently using temp assets.
- Add pre-placement check to the zone
- Use Rectangles for zone and boundary
- Simplify zone drawing
- Account for exclusion in savegame data
- [WIP] Add puzzle play and edit buttons in puzzle mode menu
* [WIP] Add building, component, and systems for producing and
accepting user-specified items and checking goal criteria
* Add ingame puzzle mode UI elements
- Add minimal menus in puzzle mode for back, next navigation
- Add lower menu for changing zone dimenensions
Co-authored-by: Greg Considine <gconsidine@users.noreply.github.com>
2021-04-12 12:03:47 +00:00
|
|
|
@import "ingame_hud/mode_menu_back";
|
|
|
|
|
@import "ingame_hud/mode_menu_next";
|
|
|
|
|
@import "ingame_hud/mode_menu";
|
|
|
|
|
@import "ingame_hud/mode_settings";
|
2020-08-28 21:00:09 +00:00
|
|
|
|
|
|
|
|
// prettier-ignore
|
2021-03-10 08:29:20 +00:00
|
|
|
$elements:
|
|
|
|
|
// Base
|
2020-08-28 21:00:09 +00:00
|
|
|
ingame_Canvas,
|
|
|
|
|
ingame_VignetteOverlay,
|
|
|
|
|
|
|
|
|
|
// Ingame overlays
|
|
|
|
|
ingame_HUD_Waypoints,
|
|
|
|
|
ingame_HUD_PlacementHints,
|
|
|
|
|
ingame_HUD_PlacerVariants,
|
|
|
|
|
|
|
|
|
|
// Regular hud
|
|
|
|
|
ingame_HUD_PinnedShapes,
|
|
|
|
|
ingame_HUD_GameMenu,
|
|
|
|
|
ingame_HUD_KeybindingOverlay,
|
Puzzle mode (#1135)
* Add mode button to main menu
* [WIP] Add mode menu. Add factory-based gameMode creation
* Add savefile migration, serialize, deserialize
* Add hidden HUD elements, zone, and zoom, boundary constraints
* Clean up lint issues
* Add building, HUD exclusion, building exclusion, and refactor
- [WIP] Add ConstantProducer building that combines ConstantSignal
and ItemProducer functionality. Currently using temp assets.
- Add pre-placement check to the zone
- Use Rectangles for zone and boundary
- Simplify zone drawing
- Account for exclusion in savegame data
- [WIP] Add puzzle play and edit buttons in puzzle mode menu
* [WIP] Add building, component, and systems for producing and
accepting user-specified items and checking goal criteria
* Add ingame puzzle mode UI elements
- Add minimal menus in puzzle mode for back, next navigation
- Add lower menu for changing zone dimenensions
Co-authored-by: Greg Considine <gconsidine@users.noreply.github.com>
2021-04-12 12:03:47 +00:00
|
|
|
ingame_HUD_ModeMenuBack,
|
|
|
|
|
ingame_HUD_ModeMenuNext,
|
|
|
|
|
ingame_HUD_ModeMenu,
|
|
|
|
|
ingame_HUD_ModeSettings,
|
2020-08-28 21:00:09 +00:00
|
|
|
ingame_HUD_Notifications,
|
|
|
|
|
ingame_HUD_DebugInfo,
|
|
|
|
|
ingame_HUD_EntityDebugger,
|
|
|
|
|
ingame_HUD_TutorialHints,
|
2020-10-08 17:01:12 +00:00
|
|
|
ingame_HUD_InteractiveTutorial,
|
2020-09-29 16:03:53 +00:00
|
|
|
ingame_HUD_BuildingsToolbar,
|
2020-08-28 21:00:09 +00:00
|
|
|
ingame_HUD_wires_toolbar,
|
|
|
|
|
ingame_HUD_BlueprintPlacer,
|
|
|
|
|
ingame_HUD_Waypoints_Hint,
|
2020-09-29 14:46:29 +00:00
|
|
|
ingame_HUD_WatermarkClicker,
|
2020-08-28 21:00:09 +00:00
|
|
|
ingame_HUD_Watermark,
|
|
|
|
|
ingame_HUD_ColorBlindBelowTileHelper,
|
|
|
|
|
ingame_HUD_SandboxController,
|
|
|
|
|
|
|
|
|
|
// Overlays
|
|
|
|
|
ingame_HUD_BetaOverlay,
|
|
|
|
|
|
|
|
|
|
// Dialogs
|
|
|
|
|
ingame_HUD_Shop,
|
|
|
|
|
ingame_HUD_Statistics,
|
|
|
|
|
ingame_HUD_ShapeViewer,
|
2020-09-29 14:46:29 +00:00
|
|
|
ingame_HUD_StandaloneAdvantages,
|
2020-08-28 21:00:09 +00:00
|
|
|
ingame_HUD_UnlockNotification,
|
|
|
|
|
ingame_HUD_SettingsMenu,
|
2020-09-29 16:03:53 +00:00
|
|
|
ingame_HUD_ModalDialogs,
|
|
|
|
|
ingame_HUD_CatMemes;
|
2020-08-28 21:00:09 +00:00
|
|
|
|
|
|
|
|
$zindex: 100;
|
|
|
|
|
|
|
|
|
|
@each $elem in $elements {
|
|
|
|
|
##{$elem} {
|
|
|
|
|
z-index: $zindex;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$zindex: $zindex + 10;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body.uiHidden {
|
|
|
|
|
.ingame_buildingsToolbar,
|
|
|
|
|
#ingame_HUD_PlacementHints,
|
|
|
|
|
#ingame_HUD_GameMenu,
|
|
|
|
|
#ingame_HUD_PinnedShapes,
|
Puzzle mode (#1135)
* Add mode button to main menu
* [WIP] Add mode menu. Add factory-based gameMode creation
* Add savefile migration, serialize, deserialize
* Add hidden HUD elements, zone, and zoom, boundary constraints
* Clean up lint issues
* Add building, HUD exclusion, building exclusion, and refactor
- [WIP] Add ConstantProducer building that combines ConstantSignal
and ItemProducer functionality. Currently using temp assets.
- Add pre-placement check to the zone
- Use Rectangles for zone and boundary
- Simplify zone drawing
- Account for exclusion in savegame data
- [WIP] Add puzzle play and edit buttons in puzzle mode menu
* [WIP] Add building, component, and systems for producing and
accepting user-specified items and checking goal criteria
* Add ingame puzzle mode UI elements
- Add minimal menus in puzzle mode for back, next navigation
- Add lower menu for changing zone dimenensions
Co-authored-by: Greg Considine <gconsidine@users.noreply.github.com>
2021-04-12 12:03:47 +00:00
|
|
|
#ingame_HUD_ModeMenuBack,
|
|
|
|
|
#ingame_HUD_ModeMenuNext,
|
2020-08-28 21:00:09 +00:00
|
|
|
#ingame_HUD_Notifications,
|
|
|
|
|
#ingame_HUD_TutorialHints,
|
|
|
|
|
#ingame_HUD_Waypoints,
|
|
|
|
|
#ingame_HUD_Waypoints_Hint {
|
|
|
|
|
display: none !important;
|
|
|
|
|
}
|
|
|
|
|
}
|