diff --git a/BuildChecker/git_helper.py b/BuildChecker/git_helper.py index 66d2463669..bd6603bd34 100644 --- a/BuildChecker/git_helper.py +++ b/BuildChecker/git_helper.py @@ -13,7 +13,7 @@ from typing import List SOLUTION_PATH = Path("..") / "SpaceStation14.sln" # If this doesn't match the saved version we overwrite them all. -CURRENT_HOOKS_VERSION = "3" +CURRENT_HOOKS_VERSION = "4" QUIET = len(sys.argv) == 2 and sys.argv[1] == "--quiet" diff --git a/BuildChecker/hooks/post-checkout b/BuildChecker/hooks/post-checkout index ee4309de1d..1b91112ff0 100755 --- a/BuildChecker/hooks/post-checkout +++ b/BuildChecker/hooks/post-checkout @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash gitroot=$(git rev-parse --show-toplevel) diff --git a/BuildChecker/hooks/post-merge b/BuildChecker/hooks/post-merge index 5cf3d91120..864a9cff50 100755 --- a/BuildChecker/hooks/post-merge +++ b/BuildChecker/hooks/post-merge @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Just call post-checkout since it does the same thing. gitroot=$(git rev-parse --git-path hooks) diff --git a/Content.Client/Access/UI/AgentIDCardWindow.xaml.cs b/Content.Client/Access/UI/AgentIDCardWindow.xaml.cs index 209c58c950..ea96b13376 100644 --- a/Content.Client/Access/UI/AgentIDCardWindow.xaml.cs +++ b/Content.Client/Access/UI/AgentIDCardWindow.xaml.cs @@ -9,6 +9,7 @@ using Robust.Client.UserInterface.XAML; using Robust.Shared.Prototypes; using System.Numerics; using System.Linq; +using Content.Client.Stylesheets; namespace Content.Client.Access.UI { @@ -49,12 +50,12 @@ namespace Content.Client.Access.UI icons.Sort((x, y) => string.Compare(x.LocalizedJobName, y.LocalizedJobName, StringComparison.CurrentCulture)); foreach (var jobIcon in icons) { - String styleBase = StyleBase.ButtonOpenBoth; + String styleBase = StyleClass.ButtonOpenBoth; var modulo = i % JobIconColumnCount; if (modulo == 0) - styleBase = StyleBase.ButtonOpenRight; + styleBase = StyleClass.ButtonOpenRight; else if (modulo == JobIconColumnCount - 1) - styleBase = StyleBase.ButtonOpenLeft; + styleBase = StyleClass.ButtonOpenLeft; // Generate buttons var jobIconButton = new Button diff --git a/Content.Client/Access/UI/GroupedAccessLevelChecklist.xaml.cs b/Content.Client/Access/UI/GroupedAccessLevelChecklist.xaml.cs index 7af78d9e5f..2a85530c48 100644 --- a/Content.Client/Access/UI/GroupedAccessLevelChecklist.xaml.cs +++ b/Content.Client/Access/UI/GroupedAccessLevelChecklist.xaml.cs @@ -119,11 +119,11 @@ public sealed partial class GroupedAccessLevelChecklist : BoxContainer if (_groupedAccessLevels.Count > 1) { if (AccessGroupList.ChildCount == 0) - accessGroupButton.AddStyleClass(StyleBase.ButtonOpenLeft); + accessGroupButton.AddStyleClass(StyleClass.ButtonOpenLeft); else if (_groupedAccessLevels.Count > 1 && AccessGroupList.ChildCount == (_groupedAccessLevels.Count - 1)) - accessGroupButton.AddStyleClass(StyleBase.ButtonOpenRight); + accessGroupButton.AddStyleClass(StyleClass.ButtonOpenRight); else - accessGroupButton.AddStyleClass(StyleBase.ButtonOpenBoth); + accessGroupButton.AddStyleClass(StyleClass.ButtonOpenBoth); } accessGroupButton.Pressed = _accessGroupTabIndex == orderedAccessGroups.IndexOf(accessGroup); diff --git a/Content.Client/Access/UI/IdCardConsoleWindow.xaml b/Content.Client/Access/UI/IdCardConsoleWindow.xaml index a2f5f3382b..0a695a3dce 100644 --- a/Content.Client/Access/UI/IdCardConsoleWindow.xaml +++ b/Content.Client/Access/UI/IdCardConsoleWindow.xaml @@ -1,6 +1,7 @@ + +