[feat] New Interface (#10)
@@ -1,6 +1,6 @@
|
|||||||
<DefaultWindow xmlns="https://spacestation14.io"
|
<DefaultWindow xmlns="https://spacestation14.io"
|
||||||
xmlns:cc="clr-namespace:Content.Client.Administration.UI.Bwoink"
|
xmlns:cc="clr-namespace:Content.Client.Administration.UI.Bwoink"
|
||||||
SetSize="900 500"
|
SetSize="1000 500"
|
||||||
HeaderClass="windowHeaderAlert"
|
HeaderClass="windowHeaderAlert"
|
||||||
TitleClass="windowTitleAlert"
|
TitleClass="windowTitleAlert"
|
||||||
Title="{Loc 'bwoink-user-title'}" >
|
Title="{Loc 'bwoink-user-title'}" >
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ namespace Content.Client.Administration.UI.CustomControls
|
|||||||
PopulateList(_adminSystem.PlayerList);
|
PopulateList(_adminSystem.PlayerList);
|
||||||
FilterLineEdit.OnTextChanged += _ => FilterList();
|
FilterLineEdit.OnTextChanged += _ => FilterList();
|
||||||
_adminSystem.PlayerListChanged += PopulateList;
|
_adminSystem.PlayerListChanged += PopulateList;
|
||||||
BackgroundPanel.PanelOverride = new StyleBoxFlat {BackgroundColor = new Color(32, 32, 40)};
|
BackgroundPanel.PanelOverride = new StyleBoxFlat {BackgroundColor = new Color(32, 48, 32)};
|
||||||
}
|
}
|
||||||
|
|
||||||
private void PlayerListItemPressed(BaseButton.ButtonEventArgs? args, ListData? data)
|
private void PlayerListItemPressed(BaseButton.ButtonEventArgs? args, ListData? data)
|
||||||
|
|||||||
@@ -43,7 +43,7 @@
|
|||||||
<!-- Vent devices -->
|
<!-- Vent devices -->
|
||||||
<PanelContainer VerticalExpand="True">
|
<PanelContainer VerticalExpand="True">
|
||||||
<PanelContainer.PanelOverride>
|
<PanelContainer.PanelOverride>
|
||||||
<gfx:StyleBoxFlat BackgroundColor="#1B1B1E" />
|
<gfx:StyleBoxFlat BackgroundColor="#212723" />
|
||||||
</PanelContainer.PanelOverride>
|
</PanelContainer.PanelOverride>
|
||||||
|
|
||||||
<ScrollContainer>
|
<ScrollContainer>
|
||||||
@@ -53,7 +53,7 @@
|
|||||||
<!-- Scrubber devices -->
|
<!-- Scrubber devices -->
|
||||||
<PanelContainer VerticalExpand="True">
|
<PanelContainer VerticalExpand="True">
|
||||||
<PanelContainer.PanelOverride>
|
<PanelContainer.PanelOverride>
|
||||||
<gfx:StyleBoxFlat BackgroundColor="#1B1B1E" />
|
<gfx:StyleBoxFlat BackgroundColor="#212723" />
|
||||||
</PanelContainer.PanelOverride>
|
</PanelContainer.PanelOverride>
|
||||||
|
|
||||||
<ScrollContainer>
|
<ScrollContainer>
|
||||||
@@ -63,7 +63,7 @@
|
|||||||
<!-- Sensors -->
|
<!-- Sensors -->
|
||||||
<PanelContainer VerticalExpand="True">
|
<PanelContainer VerticalExpand="True">
|
||||||
<PanelContainer.PanelOverride>
|
<PanelContainer.PanelOverride>
|
||||||
<gfx:StyleBoxFlat BackgroundColor="#1B1B1E" />
|
<gfx:StyleBoxFlat BackgroundColor="#212723" />
|
||||||
</PanelContainer.PanelOverride>
|
</PanelContainer.PanelOverride>
|
||||||
|
|
||||||
<ScrollContainer>
|
<ScrollContainer>
|
||||||
|
|||||||
@@ -15,9 +15,8 @@
|
|||||||
|
|
||||||
<PanelContainer VerticalExpand="True" MinSize="0 200">
|
<PanelContainer VerticalExpand="True" MinSize="0 200">
|
||||||
<PanelContainer.PanelOverride>
|
<PanelContainer.PanelOverride>
|
||||||
<gfx:StyleBoxFlat BackgroundColor="#1B1B1E" />
|
<gfx:StyleBoxFlat BackgroundColor="#212723" />
|
||||||
</PanelContainer.PanelOverride>
|
</PanelContainer.PanelOverride>
|
||||||
|
|
||||||
<ScrollContainer HorizontalExpand="True" MinSize="0 200">
|
<ScrollContainer HorizontalExpand="True" MinSize="0 200">
|
||||||
<!-- Initially empty, when server sends state data this will have container contents and fill volume.-->
|
<!-- Initially empty, when server sends state data this will have container contents and fill volume.-->
|
||||||
<BoxContainer Name="InputContainerInfo" Orientation="Vertical" Margin="4" HorizontalExpand="True">
|
<BoxContainer Name="InputContainerInfo" Orientation="Vertical" Margin="4" HorizontalExpand="True">
|
||||||
@@ -40,7 +39,7 @@
|
|||||||
<!-- Buffer info -->
|
<!-- Buffer info -->
|
||||||
<PanelContainer VerticalExpand="True" MinSize="0 200">
|
<PanelContainer VerticalExpand="True" MinSize="0 200">
|
||||||
<PanelContainer.PanelOverride>
|
<PanelContainer.PanelOverride>
|
||||||
<gfx:StyleBoxFlat BackgroundColor="#1B1B1E" />
|
<gfx:StyleBoxFlat BackgroundColor="#212723" />
|
||||||
</PanelContainer.PanelOverride>
|
</PanelContainer.PanelOverride>
|
||||||
|
|
||||||
<ScrollContainer HorizontalExpand="True" MinSize="0 200">
|
<ScrollContainer HorizontalExpand="True" MinSize="0 200">
|
||||||
@@ -62,7 +61,7 @@
|
|||||||
|
|
||||||
<PanelContainer VerticalExpand="True" MinSize="0 200">
|
<PanelContainer VerticalExpand="True" MinSize="0 200">
|
||||||
<PanelContainer.PanelOverride>
|
<PanelContainer.PanelOverride>
|
||||||
<gfx:StyleBoxFlat BackgroundColor="#1B1B1E" />
|
<gfx:StyleBoxFlat BackgroundColor="#212723" />
|
||||||
</PanelContainer.PanelOverride>
|
</PanelContainer.PanelOverride>
|
||||||
|
|
||||||
<ScrollContainer HorizontalExpand="True" MinSize="0 200">
|
<ScrollContainer HorizontalExpand="True" MinSize="0 200">
|
||||||
@@ -87,7 +86,7 @@
|
|||||||
<!-- Wrap the packaging info-->
|
<!-- Wrap the packaging info-->
|
||||||
<PanelContainer>
|
<PanelContainer>
|
||||||
<PanelContainer.PanelOverride>
|
<PanelContainer.PanelOverride>
|
||||||
<gfx:StyleBoxFlat BackgroundColor="#1B1B1E" />
|
<gfx:StyleBoxFlat BackgroundColor="#212723" />
|
||||||
</PanelContainer.PanelOverride>
|
</PanelContainer.PanelOverride>
|
||||||
|
|
||||||
<!-- Packaging Info -->
|
<!-- Packaging Info -->
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
SizeFlagsStretchRatio="6"
|
SizeFlagsStretchRatio="6"
|
||||||
MinSize="0 150">
|
MinSize="0 150">
|
||||||
<PanelContainer.PanelOverride>
|
<PanelContainer.PanelOverride>
|
||||||
<gfx:StyleBoxFlat BackgroundColor="#1b1b1e" />
|
<gfx:StyleBoxFlat BackgroundColor="#212723" />
|
||||||
</PanelContainer.PanelOverride>
|
</PanelContainer.PanelOverride>
|
||||||
<BoxContainer Name="ContainerInfo"
|
<BoxContainer Name="ContainerInfo"
|
||||||
Orientation="Vertical"
|
Orientation="Vertical"
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ namespace Content.Client.Configurable.UI
|
|||||||
{
|
{
|
||||||
VerticalExpand = true,
|
VerticalExpand = true,
|
||||||
HorizontalExpand = true,
|
HorizontalExpand = true,
|
||||||
ModulateSelfOverride = Color.FromHex("#202025")
|
ModulateSelfOverride = Color.FromHex("#3C4841")
|
||||||
};
|
};
|
||||||
|
|
||||||
outerColumn.AddChild(_column);
|
outerColumn.AddChild(_column);
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls"
|
xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls"
|
||||||
Title="{Loc 'gravity-generator-window-title'}"
|
Title="{Loc 'gravity-generator-window-title'}"
|
||||||
MinSize="270 130"
|
MinSize="270 130"
|
||||||
SetSize="360 180">
|
SetSize="440 180">
|
||||||
<BoxContainer Margin="4 0" Orientation="Horizontal">
|
<BoxContainer Margin="4 0" Orientation="Horizontal">
|
||||||
<BoxContainer Orientation="Vertical" HorizontalExpand="True">
|
<BoxContainer Orientation="Vertical" HorizontalExpand="True">
|
||||||
<GridContainer Margin="2 0 0 0" Columns="2">
|
<GridContainer Margin="2 0 0 0" Columns="2">
|
||||||
|
|||||||
@@ -49,7 +49,7 @@
|
|||||||
<BoxContainer VerticalExpand="True" Margin="10 0 10 10" Orientation="Vertical">
|
<BoxContainer VerticalExpand="True" Margin="10 0 10 10" Orientation="Vertical">
|
||||||
<PanelContainer VerticalExpand="True" MinSize="0 200">
|
<PanelContainer VerticalExpand="True" MinSize="0 200">
|
||||||
<PanelContainer.PanelOverride>
|
<PanelContainer.PanelOverride>
|
||||||
<gfx:StyleBoxFlat BackgroundColor="#1B1B1E" />
|
<gfx:StyleBoxFlat BackgroundColor="#212723" />
|
||||||
</PanelContainer.PanelOverride>
|
</PanelContainer.PanelOverride>
|
||||||
<ScrollContainer
|
<ScrollContainer
|
||||||
HScrollEnabled="False"
|
HScrollEnabled="False"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<DefaultWindow xmlns="https://spacestation14.io"
|
<DefaultWindow xmlns="https://spacestation14.io"
|
||||||
xmlns:tabs="clr-namespace:Content.Client.Options.UI.Tabs"
|
xmlns:tabs="clr-namespace:Content.Client.Options.UI.Tabs"
|
||||||
Title="{Loc 'ui-options-title'}"
|
Title="{Loc 'ui-options-title'}"
|
||||||
MinSize="800 450">
|
MinSize="980 450">
|
||||||
<TabContainer Name="Tabs" Access="Public">
|
<TabContainer Name="Tabs" Access="Public">
|
||||||
<tabs:MiscTab Name="MiscTab" />
|
<tabs:MiscTab Name="MiscTab" />
|
||||||
<tabs:GraphicsTab Name="GraphicsTab" />
|
<tabs:GraphicsTab Name="GraphicsTab" />
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
<pda:PdaNavigationButton Name="SettingsButton" MinWidth="100" LabelText="{Loc 'comp-pda-io-settings-button'}"/>
|
<pda:PdaNavigationButton Name="SettingsButton" MinWidth="100" LabelText="{Loc 'comp-pda-io-settings-button'}"/>
|
||||||
|
|
||||||
<pda:PdaNavigationButton Name="ProgramTitle" Access="Public" BorderThickness="0 0 0 2" CurrentTabBorderThickness="2 0 0 2"
|
<pda:PdaNavigationButton Name="ProgramTitle" Access="Public" BorderThickness="0 0 0 2" CurrentTabBorderThickness="2 0 0 2"
|
||||||
ActiveBgColor="#202023" Visible="False"/>
|
ActiveBgColor="#203023" Visible="False"/>
|
||||||
|
|
||||||
<pda:PdaNavigationButton HorizontalExpand="True"/>
|
<pda:PdaNavigationButton HorizontalExpand="True"/>
|
||||||
|
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ namespace Content.Client.Preferences.UI
|
|||||||
var back = new StyleBoxTexture
|
var back = new StyleBoxTexture
|
||||||
{
|
{
|
||||||
Texture = panelTex,
|
Texture = panelTex,
|
||||||
Modulate = new Color(37, 37, 42)
|
Modulate = new Color(37, 42, 37)
|
||||||
};
|
};
|
||||||
back.SetPatchMargin(StyleBox.Margin.All, 10);
|
back.SetPatchMargin(StyleBox.Margin.All, 10);
|
||||||
|
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ namespace Content.Client.Preferences.UI
|
|||||||
{
|
{
|
||||||
PanelOverride = new StyleBoxFlat()
|
PanelOverride = new StyleBoxFlat()
|
||||||
{
|
{
|
||||||
BackgroundColor = new Color(47, 47, 53),
|
BackgroundColor = new Color(35, 48, 35),
|
||||||
ContentMarginTopOverride = 10,
|
ContentMarginTopOverride = 10,
|
||||||
ContentMarginBottomOverride = 10,
|
ContentMarginBottomOverride = 10,
|
||||||
ContentMarginLeftOverride = 10,
|
ContentMarginLeftOverride = 10,
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ namespace Content.Client.Stylesheets
|
|||||||
(
|
(
|
||||||
new []
|
new []
|
||||||
{
|
{
|
||||||
"/Fonts/NotoSans/NotoSans-Regular.ttf",
|
"/Fonts/IBMPlexSans/IBMPlexSans-Regular.ttf",
|
||||||
"/Fonts/NotoSans/NotoSansSymbols-Regular.ttf",
|
"/Fonts/NotoSans/NotoSansSymbols-Regular.ttf",
|
||||||
"/Fonts/NotoSans/NotoSansSymbols2-Regular.ttf"
|
"/Fonts/NotoSans/NotoSansSymbols2-Regular.ttf"
|
||||||
},
|
},
|
||||||
@@ -57,7 +57,7 @@ namespace Content.Client.Stylesheets
|
|||||||
(
|
(
|
||||||
new []
|
new []
|
||||||
{
|
{
|
||||||
"/Fonts/NotoSans/NotoSans-Italic.ttf",
|
"/Fonts/IBMPlexSans/IBMPlexSans-Italic.ttf",
|
||||||
"/Fonts/NotoSans/NotoSansSymbols-Regular.ttf",
|
"/Fonts/NotoSans/NotoSansSymbols-Regular.ttf",
|
||||||
"/Fonts/NotoSans/NotoSansSymbols2-Regular.ttf"
|
"/Fonts/NotoSans/NotoSansSymbols2-Regular.ttf"
|
||||||
},
|
},
|
||||||
@@ -124,7 +124,7 @@ namespace Content.Client.Stylesheets
|
|||||||
|
|
||||||
var vScrollBarGrabberNormal = new StyleBoxFlat
|
var vScrollBarGrabberNormal = new StyleBoxFlat
|
||||||
{
|
{
|
||||||
BackgroundColor = Color.Gray.WithAlpha(0.35f), ContentMarginLeftOverride = DefaultGrabberSize,
|
BackgroundColor = Color.DarkKhaki.WithAlpha(0.35f), ContentMarginLeftOverride = DefaultGrabberSize,
|
||||||
ContentMarginTopOverride = DefaultGrabberSize
|
ContentMarginTopOverride = DefaultGrabberSize
|
||||||
};
|
};
|
||||||
var vScrollBarGrabberHover = new StyleBoxFlat
|
var vScrollBarGrabberHover = new StyleBoxFlat
|
||||||
@@ -140,7 +140,7 @@ namespace Content.Client.Stylesheets
|
|||||||
|
|
||||||
var hScrollBarGrabberNormal = new StyleBoxFlat
|
var hScrollBarGrabberNormal = new StyleBoxFlat
|
||||||
{
|
{
|
||||||
BackgroundColor = Color.Gray.WithAlpha(0.35f), ContentMarginTopOverride = DefaultGrabberSize
|
BackgroundColor = Color.DarkKhaki.WithAlpha(0.35f), ContentMarginTopOverride = DefaultGrabberSize
|
||||||
};
|
};
|
||||||
var hScrollBarGrabberHover = new StyleBoxFlat
|
var hScrollBarGrabberHover = new StyleBoxFlat
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ namespace Content.Client.Stylesheets
|
|||||||
// Ew, but ok
|
// Ew, but ok
|
||||||
new[]
|
new[]
|
||||||
{
|
{
|
||||||
$"/Fonts/NotoSans{ds}/NotoSans{ds}-{variation}.ttf",
|
$"/Fonts/IBMPlexSans/IBMPlexSans-{variation}.ttf",
|
||||||
$"/Fonts/NotoSans/NotoSansSymbols-{sv}.ttf",
|
$"/Fonts/NotoSans/NotoSansSymbols-{sv}.ttf",
|
||||||
"/Fonts/NotoSans/NotoSansSymbols2-Regular.ttf",
|
"/Fonts/NotoSans/NotoSansSymbols2-Regular.ttf",
|
||||||
},
|
},
|
||||||
@@ -64,6 +64,8 @@ namespace Content.Client.Stylesheets
|
|||||||
public const string StyleClassChatChannelSelectorButton = "chatSelectorOptionButton";
|
public const string StyleClassChatChannelSelectorButton = "chatSelectorOptionButton";
|
||||||
public const string StyleClassChatFilterOptionButton = "chatFilterOptionButton";
|
public const string StyleClassChatFilterOptionButton = "chatFilterOptionButton";
|
||||||
public const string StyleClassStorageButton = "storageButton";
|
public const string StyleClassStorageButton = "storageButton";
|
||||||
|
public const string StyleClassFuckyWuckyBackground = "FuckyWuckyBackground";
|
||||||
|
public const string StyleClassGayShitBackground = "GayShitBackground";
|
||||||
|
|
||||||
public const string StyleClassSliderRed = "Red";
|
public const string StyleClassSliderRed = "Red";
|
||||||
public const string StyleClassSliderGreen = "Green";
|
public const string StyleClassSliderGreen = "Green";
|
||||||
@@ -85,18 +87,18 @@ namespace Content.Client.Stylesheets
|
|||||||
|
|
||||||
public static readonly Color PanelDark = Color.FromHex("#1E1E22");
|
public static readonly Color PanelDark = Color.FromHex("#1E1E22");
|
||||||
|
|
||||||
public static readonly Color NanoGold = Color.FromHex("#A88B5E");
|
public static readonly Color NanoGold = Color.FromHex("#A2B1A8");
|
||||||
public static readonly Color GoodGreenFore = Color.FromHex("#31843E");
|
public static readonly Color GoodGreenFore = Color.FromHex("#4D5B5C");
|
||||||
public static readonly Color ConcerningOrangeFore = Color.FromHex("#A5762F");
|
public static readonly Color ConcerningOrangeFore = Color.FromHex("#5C5A4D");
|
||||||
public static readonly Color DangerousRedFore = Color.FromHex("#BB3232");
|
public static readonly Color DangerousRedFore = Color.FromHex("#5C4D5B");
|
||||||
public static readonly Color DisabledFore = Color.FromHex("#5A5A5A");
|
public static readonly Color DisabledFore = Color.FromHex("#262E29");
|
||||||
|
|
||||||
public static readonly Color ButtonColorDefault = Color.FromHex("#464966");
|
public static readonly Color ButtonColorDefault = Color.FromHex("#4D5D53");
|
||||||
public static readonly Color ButtonColorDefaultRed = Color.FromHex("#D43B3B");
|
public static readonly Color ButtonColorDefaultRed = Color.FromHex("#992723");
|
||||||
public static readonly Color ButtonColorHovered = Color.FromHex("#575b7f");
|
public static readonly Color ButtonColorHovered = Color.FromHex("#58695E");
|
||||||
public static readonly Color ButtonColorHoveredRed = Color.FromHex("#DF6B6B");
|
public static readonly Color ButtonColorHoveredRed = Color.FromHex("#4D5D53");
|
||||||
public static readonly Color ButtonColorPressed = Color.FromHex("#3e6c45");
|
public static readonly Color ButtonColorPressed = Color.FromHex("#000000");
|
||||||
public static readonly Color ButtonColorDisabled = Color.FromHex("#30313c");
|
public static readonly Color ButtonColorDisabled = Color.FromHex("#000000");
|
||||||
|
|
||||||
public static readonly Color ButtonColorCautionDefault = Color.FromHex("#ab3232");
|
public static readonly Color ButtonColorCautionDefault = Color.FromHex("#ab3232");
|
||||||
public static readonly Color ButtonColorCautionHovered = Color.FromHex("#cf2f2f");
|
public static readonly Color ButtonColorCautionHovered = Color.FromHex("#cf2f2f");
|
||||||
@@ -113,20 +115,23 @@ namespace Content.Client.Stylesheets
|
|||||||
|
|
||||||
// Context menu button colors
|
// Context menu button colors
|
||||||
public static readonly Color ButtonColorContext = Color.FromHex("#1119");
|
public static readonly Color ButtonColorContext = Color.FromHex("#1119");
|
||||||
public static readonly Color ButtonColorContextHover = Color.DarkSlateGray;
|
public static readonly Color ButtonColorContextHover = Color.FromHex("#6E8476");
|
||||||
public static readonly Color ButtonColorContextPressed = Color.LightSlateGray;
|
public static readonly Color ButtonColorContextPressed = Color.FromHex("#879B8F");
|
||||||
public static readonly Color ButtonColorContextDisabled = Color.Black;
|
public static readonly Color ButtonColorContextDisabled = Color.FromHex("#262E29");
|
||||||
|
|
||||||
// Examine button colors
|
// Examine button colors
|
||||||
public static readonly Color ExamineButtonColorContext = Color.Transparent;
|
public static readonly Color ExamineButtonColorContext = Color.Transparent;
|
||||||
public static readonly Color ExamineButtonColorContextHover = Color.DarkSlateGray;
|
public static readonly Color ExamineButtonColorContextHover = Color.FromHex("#6E8476");
|
||||||
public static readonly Color ExamineButtonColorContextPressed = Color.LightSlateGray;
|
public static readonly Color ExamineButtonColorContextPressed = Color.FromHex("#879B8F");
|
||||||
public static readonly Color ExamineButtonColorContextDisabled = Color.FromHex("#5A5A5A");
|
public static readonly Color ExamineButtonColorContextDisabled = Color.FromHex("#262E29");
|
||||||
|
|
||||||
|
// UI Panel colors
|
||||||
|
public static readonly Color PanelColorDark = Color.FromHex("#1B211D");
|
||||||
|
|
||||||
// Fancy Tree elements
|
// Fancy Tree elements
|
||||||
public static readonly Color FancyTreeEvenRowColor = Color.FromHex("#25252A");
|
public static readonly Color FancyTreeEvenRowColor = Color.FromHex("#313B35");
|
||||||
public static readonly Color FancyTreeOddRowColor = FancyTreeEvenRowColor * new Color(0.8f, 0.8f, 0.8f);
|
public static readonly Color FancyTreeOddRowColor = FancyTreeEvenRowColor * new Color(0.8f, 0.9f, 0.8f);
|
||||||
public static readonly Color FancyTreeSelectedRowColor = new Color(55, 55, 68);
|
public static readonly Color FancyTreeSelectedRowColor = new Color(55, 80, 68);
|
||||||
|
|
||||||
//Used by the APC and SMES menus
|
//Used by the APC and SMES menus
|
||||||
public const string StyleClassPowerStateNone = "PowerStateNone";
|
public const string StyleClassPowerStateNone = "PowerStateNone";
|
||||||
@@ -180,10 +185,11 @@ namespace Content.Client.Stylesheets
|
|||||||
ExpandMarginBottom = 3,
|
ExpandMarginBottom = 3,
|
||||||
ContentMarginBottomOverride = 0
|
ContentMarginBottomOverride = 0
|
||||||
};
|
};
|
||||||
var windowBackgroundTex = resCache.GetTexture("/Textures/Interface/Nano/window_background.png");
|
var windowBackgroundTex = resCache.GetTexture("/Textures/Interface/Nano/gay_shit.png");
|
||||||
var windowBackground = new StyleBoxTexture
|
var windowBackground = new StyleBoxTexture
|
||||||
{
|
{
|
||||||
Texture = windowBackgroundTex,
|
Texture = windowBackgroundTex,
|
||||||
|
Mode = StyleBoxTexture.StretchMode.Tile
|
||||||
};
|
};
|
||||||
windowBackground.SetPatchMargin(StyleBox.Margin.Horizontal | StyleBox.Margin.Bottom, 2);
|
windowBackground.SetPatchMargin(StyleBox.Margin.Horizontal | StyleBox.Margin.Bottom, 2);
|
||||||
windowBackground.SetExpandMargin(StyleBox.Margin.Horizontal | StyleBox.Margin.Bottom, 2);
|
windowBackground.SetExpandMargin(StyleBox.Margin.Horizontal | StyleBox.Margin.Bottom, 2);
|
||||||
@@ -195,6 +201,27 @@ namespace Content.Client.Stylesheets
|
|||||||
};
|
};
|
||||||
borderedWindowBackground.SetPatchMargin(StyleBox.Margin.All, 2);
|
borderedWindowBackground.SetPatchMargin(StyleBox.Margin.All, 2);
|
||||||
|
|
||||||
|
var fuckyWuckyBackgroundTex = resCache.GetTexture("/Textures/Interface/Nano/fucky_wucky.png");
|
||||||
|
var fuckyWuckyBackground = new StyleBoxTexture
|
||||||
|
{
|
||||||
|
Texture = fuckyWuckyBackgroundTex,
|
||||||
|
Mode = StyleBoxTexture.StretchMode.Tile
|
||||||
|
};
|
||||||
|
|
||||||
|
fuckyWuckyBackground.SetPatchMargin(StyleBox.Margin.All, 24);
|
||||||
|
fuckyWuckyBackground.SetExpandMargin(StyleBox.Margin.All, -4);
|
||||||
|
fuckyWuckyBackground.SetContentMarginOverride(StyleBox.Margin.All, 8);
|
||||||
|
|
||||||
|
var gayShitBackgroundTex = resCache.GetTexture("/Textures/Interface/Nano/gay_shit.png");
|
||||||
|
var gayShitBackground = new StyleBoxTexture
|
||||||
|
{
|
||||||
|
Texture = gayShitBackgroundTex,
|
||||||
|
Mode = StyleBoxTexture.StretchMode.Tile
|
||||||
|
};
|
||||||
|
|
||||||
|
gayShitBackground.SetPatchMargin(StyleBox.Margin.All, 2);
|
||||||
|
gayShitBackground.SetExpandMargin(StyleBox.Margin.All, -2);
|
||||||
|
|
||||||
var contextMenuBackground = new StyleBoxTexture
|
var contextMenuBackground = new StyleBoxTexture
|
||||||
{
|
{
|
||||||
Texture = borderedWindowBackgroundTex,
|
Texture = borderedWindowBackgroundTex,
|
||||||
@@ -361,14 +388,14 @@ namespace Content.Client.Stylesheets
|
|||||||
};
|
};
|
||||||
tabContainerPanel.SetPatchMargin(StyleBox.Margin.All, 2);
|
tabContainerPanel.SetPatchMargin(StyleBox.Margin.All, 2);
|
||||||
|
|
||||||
var tabContainerBoxActive = new StyleBoxFlat {BackgroundColor = new Color(64, 64, 64)};
|
var tabContainerBoxActive = new StyleBoxFlat {BackgroundColor = new Color(64, 80, 64)};
|
||||||
tabContainerBoxActive.SetContentMarginOverride(StyleBox.Margin.Horizontal, 5);
|
tabContainerBoxActive.SetContentMarginOverride(StyleBox.Margin.Horizontal, 5);
|
||||||
var tabContainerBoxInactive = new StyleBoxFlat {BackgroundColor = new Color(32, 32, 32)};
|
var tabContainerBoxInactive = new StyleBoxFlat {BackgroundColor = new Color(32, 40, 32)};
|
||||||
tabContainerBoxInactive.SetContentMarginOverride(StyleBox.Margin.Horizontal, 5);
|
tabContainerBoxInactive.SetContentMarginOverride(StyleBox.Margin.Horizontal, 5);
|
||||||
|
|
||||||
var progressBarBackground = new StyleBoxFlat
|
var progressBarBackground = new StyleBoxFlat
|
||||||
{
|
{
|
||||||
BackgroundColor = new Color(0.25f, 0.25f, 0.25f)
|
BackgroundColor = new Color(0.25f, 0.35f, 0.25f)
|
||||||
};
|
};
|
||||||
progressBarBackground.SetContentMarginOverride(StyleBox.Margin.Vertical, 14.5f);
|
progressBarBackground.SetContentMarginOverride(StyleBox.Margin.Vertical, 14.5f);
|
||||||
|
|
||||||
@@ -407,13 +434,13 @@ namespace Content.Client.Stylesheets
|
|||||||
placeholder.SetExpandMargin(StyleBox.Margin.All, -5);
|
placeholder.SetExpandMargin(StyleBox.Margin.All, -5);
|
||||||
placeholder.Mode = StyleBoxTexture.StretchMode.Tile;
|
placeholder.Mode = StyleBoxTexture.StretchMode.Tile;
|
||||||
|
|
||||||
var itemListBackgroundSelected = new StyleBoxFlat {BackgroundColor = new Color(75, 75, 86)};
|
var itemListBackgroundSelected = new StyleBoxFlat {BackgroundColor = new Color(75, 90, 75)};
|
||||||
itemListBackgroundSelected.SetContentMarginOverride(StyleBox.Margin.Vertical, 2);
|
itemListBackgroundSelected.SetContentMarginOverride(StyleBox.Margin.Vertical, 2);
|
||||||
itemListBackgroundSelected.SetContentMarginOverride(StyleBox.Margin.Horizontal, 4);
|
itemListBackgroundSelected.SetContentMarginOverride(StyleBox.Margin.Horizontal, 4);
|
||||||
var itemListItemBackgroundDisabled = new StyleBoxFlat {BackgroundColor = new Color(10, 10, 12)};
|
var itemListItemBackgroundDisabled = new StyleBoxFlat {BackgroundColor = new Color(10, 20, 10)};
|
||||||
itemListItemBackgroundDisabled.SetContentMarginOverride(StyleBox.Margin.Vertical, 2);
|
itemListItemBackgroundDisabled.SetContentMarginOverride(StyleBox.Margin.Vertical, 2);
|
||||||
itemListItemBackgroundDisabled.SetContentMarginOverride(StyleBox.Margin.Horizontal, 4);
|
itemListItemBackgroundDisabled.SetContentMarginOverride(StyleBox.Margin.Horizontal, 4);
|
||||||
var itemListItemBackground = new StyleBoxFlat {BackgroundColor = new Color(55, 55, 68)};
|
var itemListItemBackground = new StyleBoxFlat {BackgroundColor = new Color(55, 70, 55)};
|
||||||
itemListItemBackground.SetContentMarginOverride(StyleBox.Margin.Vertical, 2);
|
itemListItemBackground.SetContentMarginOverride(StyleBox.Margin.Vertical, 2);
|
||||||
itemListItemBackground.SetContentMarginOverride(StyleBox.Margin.Horizontal, 4);
|
itemListItemBackground.SetContentMarginOverride(StyleBox.Margin.Horizontal, 4);
|
||||||
var itemListItemBackgroundTransparent = new StyleBoxFlat {BackgroundColor = Color.Transparent};
|
var itemListItemBackgroundTransparent = new StyleBoxFlat {BackgroundColor = Color.Transparent};
|
||||||
@@ -457,19 +484,19 @@ namespace Content.Client.Stylesheets
|
|||||||
var sliderFillBox = new StyleBoxTexture
|
var sliderFillBox = new StyleBoxTexture
|
||||||
{
|
{
|
||||||
Texture = sliderFillTex,
|
Texture = sliderFillTex,
|
||||||
Modulate = Color.FromHex("#3E6C45")
|
Modulate = Color.FromHex("#313B35")
|
||||||
};
|
};
|
||||||
|
|
||||||
var sliderBackBox = new StyleBoxTexture
|
var sliderBackBox = new StyleBoxTexture
|
||||||
{
|
{
|
||||||
Texture = sliderFillTex,
|
Texture = sliderFillTex,
|
||||||
Modulate = PanelDark,
|
Modulate = Color.FromHex("#1B211D")
|
||||||
};
|
};
|
||||||
|
|
||||||
var sliderForeBox = new StyleBoxTexture
|
var sliderForeBox = new StyleBoxTexture
|
||||||
{
|
{
|
||||||
Texture = sliderOutlineTex,
|
Texture = sliderOutlineTex,
|
||||||
Modulate = Color.FromHex("#494949")
|
Modulate = Color.FromHex("#47554C")
|
||||||
};
|
};
|
||||||
|
|
||||||
var sliderGrabBox = new StyleBoxTexture
|
var sliderGrabBox = new StyleBoxTexture
|
||||||
@@ -492,7 +519,7 @@ namespace Content.Client.Stylesheets
|
|||||||
var insetBack = new StyleBoxTexture
|
var insetBack = new StyleBoxTexture
|
||||||
{
|
{
|
||||||
Texture = buttonTex,
|
Texture = buttonTex,
|
||||||
Modulate = Color.FromHex("#202023"),
|
Modulate = Color.FromHex("#212723"),
|
||||||
};
|
};
|
||||||
insetBack.SetPatchMargin(StyleBox.Margin.All, 10);
|
insetBack.SetPatchMargin(StyleBox.Margin.All, 10);
|
||||||
|
|
||||||
@@ -539,6 +566,20 @@ namespace Content.Client.Stylesheets
|
|||||||
{
|
{
|
||||||
new StyleProperty(PanelContainer.StylePropertyPanel, windowBackground),
|
new StyleProperty(PanelContainer.StylePropertyPanel, windowBackground),
|
||||||
}),
|
}),
|
||||||
|
// Chat background.
|
||||||
|
new StyleRule(
|
||||||
|
new SelectorElement(null, new[] {StyleClassFuckyWuckyBackground}, null, null),
|
||||||
|
new[]
|
||||||
|
{
|
||||||
|
new StyleProperty(PanelContainer.StylePropertyPanel, fuckyWuckyBackground),
|
||||||
|
}),
|
||||||
|
// Panel background.
|
||||||
|
new StyleRule(
|
||||||
|
new SelectorElement(null, new[] {StyleClassGayShitBackground}, null, null),
|
||||||
|
new[]
|
||||||
|
{
|
||||||
|
new StyleProperty(PanelContainer.StylePropertyPanel, gayShitBackground),
|
||||||
|
}),
|
||||||
// bordered window background
|
// bordered window background
|
||||||
new StyleRule(
|
new StyleRule(
|
||||||
new SelectorElement(null, new[] {StyleClassBorderedWindowPanel}, null, null),
|
new SelectorElement(null, new[] {StyleClassBorderedWindowPanel}, null, null),
|
||||||
@@ -651,7 +692,7 @@ namespace Content.Client.Stylesheets
|
|||||||
new SelectorElement(typeof(Label), null, null, null)),
|
new SelectorElement(typeof(Label), null, null, null)),
|
||||||
new[]
|
new[]
|
||||||
{
|
{
|
||||||
new StyleProperty("font-color", Color.FromHex("#E5E5E581")),
|
new StyleProperty("font-color", Color.FromHex("#3C484181")),
|
||||||
}),
|
}),
|
||||||
|
|
||||||
// Context Menu window
|
// Context Menu window
|
||||||
@@ -772,19 +813,19 @@ namespace Content.Client.Stylesheets
|
|||||||
|
|
||||||
Element<ContainerButton>().Class(ListContainer.StyleClassListContainerButton)
|
Element<ContainerButton>().Class(ListContainer.StyleClassListContainerButton)
|
||||||
.Pseudo(ContainerButton.StylePseudoClassNormal)
|
.Pseudo(ContainerButton.StylePseudoClassNormal)
|
||||||
.Prop(Control.StylePropertyModulateSelf, new Color(55, 55, 68)),
|
.Prop(Control.StylePropertyModulateSelf, new Color(55, 80, 68)),
|
||||||
|
|
||||||
Element<ContainerButton>().Class(ListContainer.StyleClassListContainerButton)
|
Element<ContainerButton>().Class(ListContainer.StyleClassListContainerButton)
|
||||||
.Pseudo(ContainerButton.StylePseudoClassHover)
|
.Pseudo(ContainerButton.StylePseudoClassHover)
|
||||||
.Prop(Control.StylePropertyModulateSelf, new Color(75, 75, 86)),
|
.Prop(Control.StylePropertyModulateSelf, new Color(75, 90, 86)),
|
||||||
|
|
||||||
Element<ContainerButton>().Class(ListContainer.StyleClassListContainerButton)
|
Element<ContainerButton>().Class(ListContainer.StyleClassListContainerButton)
|
||||||
.Pseudo(ContainerButton.StylePseudoClassPressed)
|
.Pseudo(ContainerButton.StylePseudoClassPressed)
|
||||||
.Prop(Control.StylePropertyModulateSelf, new Color(75, 75, 86)),
|
.Prop(Control.StylePropertyModulateSelf, new Color(75, 90, 86)),
|
||||||
|
|
||||||
Element<ContainerButton>().Class(ListContainer.StyleClassListContainerButton)
|
Element<ContainerButton>().Class(ListContainer.StyleClassListContainerButton)
|
||||||
.Pseudo(ContainerButton.StylePseudoClassDisabled)
|
.Pseudo(ContainerButton.StylePseudoClassDisabled)
|
||||||
.Prop(Control.StylePropertyModulateSelf, new Color(10, 10, 12)),
|
.Prop(Control.StylePropertyModulateSelf, new Color(10, 20, 12)),
|
||||||
|
|
||||||
// Main menu: Make those buttons bigger.
|
// Main menu: Make those buttons bigger.
|
||||||
new StyleRule(new SelectorChild(
|
new StyleRule(new SelectorChild(
|
||||||
@@ -813,14 +854,14 @@ namespace Content.Client.Stylesheets
|
|||||||
new SelectorElement(typeof(LineEdit), new[] {LineEdit.StyleClassLineEditNotEditable}, null, null),
|
new SelectorElement(typeof(LineEdit), new[] {LineEdit.StyleClassLineEditNotEditable}, null, null),
|
||||||
new[]
|
new[]
|
||||||
{
|
{
|
||||||
new StyleProperty("font-color", new Color(192, 192, 192)),
|
new StyleProperty("font-color", new Color(192, 255, 192)),
|
||||||
}),
|
}),
|
||||||
|
|
||||||
new StyleRule(
|
new StyleRule(
|
||||||
new SelectorElement(typeof(LineEdit), null, null, new[] {LineEdit.StylePseudoClassPlaceholder}),
|
new SelectorElement(typeof(LineEdit), null, null, new[] {LineEdit.StylePseudoClassPlaceholder}),
|
||||||
new[]
|
new[]
|
||||||
{
|
{
|
||||||
new StyleProperty("font-color", Color.Gray),
|
new StyleProperty("font-color", Color.FromHex("#95A69B")),
|
||||||
}),
|
}),
|
||||||
|
|
||||||
Element<TextEdit>().Pseudo(TextEdit.StylePseudoClassPlaceholder)
|
Element<TextEdit>().Pseudo(TextEdit.StylePseudoClassPlaceholder)
|
||||||
@@ -977,7 +1018,7 @@ namespace Content.Client.Stylesheets
|
|||||||
new StyleRule(new SelectorElement(typeof(ItemList), null, null, null), new[]
|
new StyleRule(new SelectorElement(typeof(ItemList), null, null, null), new[]
|
||||||
{
|
{
|
||||||
new StyleProperty(ItemList.StylePropertyBackground,
|
new StyleProperty(ItemList.StylePropertyBackground,
|
||||||
new StyleBoxFlat {BackgroundColor = new Color(32, 32, 40)}),
|
new StyleBoxFlat {BackgroundColor = new Color(32, 40, 32)}),
|
||||||
new StyleProperty(ItemList.StylePropertyItemBackground,
|
new StyleProperty(ItemList.StylePropertyItemBackground,
|
||||||
itemListItemBackground),
|
itemListItemBackground),
|
||||||
new StyleProperty(ItemList.StylePropertyDisabledItemBackground,
|
new StyleProperty(ItemList.StylePropertyDisabledItemBackground,
|
||||||
@@ -1002,10 +1043,10 @@ namespace Content.Client.Stylesheets
|
|||||||
new StyleRule(new SelectorElement(typeof(Tree), null, null, null), new[]
|
new StyleRule(new SelectorElement(typeof(Tree), null, null, null), new[]
|
||||||
{
|
{
|
||||||
new StyleProperty(Tree.StylePropertyBackground,
|
new StyleProperty(Tree.StylePropertyBackground,
|
||||||
new StyleBoxFlat {BackgroundColor = new Color(32, 32, 40)}),
|
new StyleBoxFlat {BackgroundColor = new Color(32, 40, 32)}),
|
||||||
new StyleProperty(Tree.StylePropertyItemBoxSelected, new StyleBoxFlat
|
new StyleProperty(Tree.StylePropertyItemBoxSelected, new StyleBoxFlat
|
||||||
{
|
{
|
||||||
BackgroundColor = new Color(55, 55, 68),
|
BackgroundColor = new Color(55, 75, 68),
|
||||||
ContentMarginLeftOverride = 4
|
ContentMarginLeftOverride = 4
|
||||||
})
|
})
|
||||||
}),
|
}),
|
||||||
@@ -1020,7 +1061,7 @@ namespace Content.Client.Stylesheets
|
|||||||
new SelectorElement(typeof(Label), new[] {Placeholder.StyleClassPlaceholderText}, null, null), new[]
|
new SelectorElement(typeof(Label), new[] {Placeholder.StyleClassPlaceholderText}, null, null), new[]
|
||||||
{
|
{
|
||||||
new StyleProperty(Label.StylePropertyFont, notoSans16),
|
new StyleProperty(Label.StylePropertyFont, notoSans16),
|
||||||
new StyleProperty(Label.StylePropertyFontColor, new Color(103, 103, 103, 128)),
|
new StyleProperty(Label.StylePropertyFontColor, new Color(103, 133, 103, 128)),
|
||||||
}),
|
}),
|
||||||
|
|
||||||
// Big Label
|
// Big Label
|
||||||
@@ -1293,12 +1334,12 @@ namespace Content.Client.Stylesheets
|
|||||||
|
|
||||||
Element<PanelContainer>().Class(ClassAngleRect)
|
Element<PanelContainer>().Class(ClassAngleRect)
|
||||||
.Prop(PanelContainer.StylePropertyPanel, BaseAngleRect)
|
.Prop(PanelContainer.StylePropertyPanel, BaseAngleRect)
|
||||||
.Prop(Control.StylePropertyModulateSelf, Color.FromHex("#25252A")),
|
.Prop(Control.StylePropertyModulateSelf, Color.FromHex("#253025")),
|
||||||
|
|
||||||
Element<PanelContainer>().Class(ClassLowDivider)
|
Element<PanelContainer>().Class(ClassLowDivider)
|
||||||
.Prop(PanelContainer.StylePropertyPanel, new StyleBoxFlat
|
.Prop(PanelContainer.StylePropertyPanel, new StyleBoxFlat
|
||||||
{
|
{
|
||||||
BackgroundColor = Color.FromHex("#444"),
|
BackgroundColor = Color.FromHex("#303530"),
|
||||||
ContentMarginLeftOverride = 2,
|
ContentMarginLeftOverride = 2,
|
||||||
ContentMarginBottomOverride = 2
|
ContentMarginBottomOverride = 2
|
||||||
}),
|
}),
|
||||||
@@ -1310,7 +1351,7 @@ namespace Content.Client.Stylesheets
|
|||||||
|
|
||||||
Element<PanelContainer>().Class("WindowHeadingBackground")
|
Element<PanelContainer>().Class("WindowHeadingBackground")
|
||||||
.Prop("panel", new StyleBoxTexture(BaseButtonOpenLeft) { Padding = default })
|
.Prop("panel", new StyleBoxTexture(BaseButtonOpenLeft) { Padding = default })
|
||||||
.Prop(Control.StylePropertyModulateSelf, Color.FromHex("#1F1F23")),
|
.Prop(Control.StylePropertyModulateSelf, PanelColorDark),
|
||||||
|
|
||||||
Element<PanelContainer>().Class("WindowHeadingBackgroundLight")
|
Element<PanelContainer>().Class("WindowHeadingBackgroundLight")
|
||||||
.Prop("panel", new StyleBoxTexture(BaseButtonOpenLeft) { Padding = default }),
|
.Prop("panel", new StyleBoxTexture(BaseButtonOpenLeft) { Padding = default }),
|
||||||
@@ -1318,7 +1359,7 @@ namespace Content.Client.Stylesheets
|
|||||||
//The lengths you have to go through to change a background color smh
|
//The lengths you have to go through to change a background color smh
|
||||||
Element<PanelContainer>().Class("PanelBackgroundBaseDark")
|
Element<PanelContainer>().Class("PanelBackgroundBaseDark")
|
||||||
.Prop("panel", new StyleBoxTexture(BaseButtonOpenBoth) { Padding = default })
|
.Prop("panel", new StyleBoxTexture(BaseButtonOpenBoth) { Padding = default })
|
||||||
.Prop(Control.StylePropertyModulateSelf, Color.FromHex("#1F1F23")),
|
.Prop(Control.StylePropertyModulateSelf, PanelColorDark),
|
||||||
|
|
||||||
Element<PanelContainer>().Class("PanelBackgroundLight")
|
Element<PanelContainer>().Class("PanelBackgroundLight")
|
||||||
.Prop("panel", new StyleBoxTexture(BaseButtonOpenBoth) { Padding = default })
|
.Prop("panel", new StyleBoxTexture(BaseButtonOpenBoth) { Padding = default })
|
||||||
@@ -1327,11 +1368,15 @@ namespace Content.Client.Stylesheets
|
|||||||
// Window Footer
|
// Window Footer
|
||||||
Element<TextureRect>().Class("NTLogoDark")
|
Element<TextureRect>().Class("NTLogoDark")
|
||||||
.Prop(TextureRect.StylePropertyTexture, resCache.GetTexture("/Textures/Interface/Nano/ntlogo.svg.png"))
|
.Prop(TextureRect.StylePropertyTexture, resCache.GetTexture("/Textures/Interface/Nano/ntlogo.svg.png"))
|
||||||
.Prop(Control.StylePropertyModulateSelf, Color.FromHex("#757575")),
|
.Prop(Control.StylePropertyModulateSelf, Color.FromHex("#7A9082")),
|
||||||
|
|
||||||
Element<Label>().Class("WindowFooterText")
|
Element<Label>().Class("WindowFooterText")
|
||||||
.Prop(Label.StylePropertyFont, notoSans8)
|
.Prop(Label.StylePropertyFont, notoSans8)
|
||||||
.Prop(Label.StylePropertyFontColor, Color.FromHex("#757575")),
|
.Prop(Label.StylePropertyFontColor, Color.FromHex("#7A9082")),
|
||||||
|
|
||||||
|
Element<PanelContainer>().Class("PanelBackgroundAngledDark")
|
||||||
|
.Prop(PanelContainer.StylePropertyPanel, BaseAngleRect)
|
||||||
|
.Prop(Control.StylePropertyModulateSelf, PanelColorDark),
|
||||||
|
|
||||||
// X Texture button ---
|
// X Texture button ---
|
||||||
Element<TextureButton>().Class("CrossButtonRed")
|
Element<TextureButton>().Class("CrossButtonRed")
|
||||||
@@ -1339,10 +1384,10 @@ namespace Content.Client.Stylesheets
|
|||||||
.Prop(Control.StylePropertyModulateSelf, DangerousRedFore),
|
.Prop(Control.StylePropertyModulateSelf, DangerousRedFore),
|
||||||
|
|
||||||
Element<TextureButton>().Class("CrossButtonRed").Pseudo(TextureButton.StylePseudoClassHover)
|
Element<TextureButton>().Class("CrossButtonRed").Pseudo(TextureButton.StylePseudoClassHover)
|
||||||
.Prop(Control.StylePropertyModulateSelf, Color.FromHex("#7F3636")),
|
.Prop(Control.StylePropertyModulateSelf, Color.FromHex("#5C4D51")),
|
||||||
|
|
||||||
Element<TextureButton>().Class("CrossButtonRed").Pseudo(TextureButton.StylePseudoClassHover)
|
Element<TextureButton>().Class("CrossButtonRed").Pseudo(TextureButton.StylePseudoClassHover)
|
||||||
.Prop(Control.StylePropertyModulateSelf, Color.FromHex("#753131")),
|
.Prop(Control.StylePropertyModulateSelf, Color.FromHex("#5C4D51")),
|
||||||
// ---
|
// ---
|
||||||
|
|
||||||
// The default look of paper in UIs. Pages can have components which override this
|
// The default look of paper in UIs. Pages can have components which override this
|
||||||
@@ -1399,7 +1444,7 @@ namespace Content.Client.Stylesheets
|
|||||||
//PDA - Backgrounds
|
//PDA - Backgrounds
|
||||||
Element<PanelContainer>().Class("PdaContentBackground")
|
Element<PanelContainer>().Class("PdaContentBackground")
|
||||||
.Prop(PanelContainer.StylePropertyPanel, BaseButtonOpenBoth)
|
.Prop(PanelContainer.StylePropertyPanel, BaseButtonOpenBoth)
|
||||||
.Prop(Control.StylePropertyModulateSelf, Color.FromHex("#25252a")),
|
.Prop(Control.StylePropertyModulateSelf, Color.FromHex("#262E29")),
|
||||||
|
|
||||||
Element<PanelContainer>().Class("PdaBackground")
|
Element<PanelContainer>().Class("PdaBackground")
|
||||||
.Prop(PanelContainer.StylePropertyPanel, BaseButtonOpenBoth)
|
.Prop(PanelContainer.StylePropertyPanel, BaseButtonOpenBoth)
|
||||||
@@ -1407,13 +1452,13 @@ namespace Content.Client.Stylesheets
|
|||||||
|
|
||||||
Element<PanelContainer>().Class("PdaBackgroundRect")
|
Element<PanelContainer>().Class("PdaBackgroundRect")
|
||||||
.Prop(PanelContainer.StylePropertyPanel, BaseAngleRect)
|
.Prop(PanelContainer.StylePropertyPanel, BaseAngleRect)
|
||||||
.Prop(Control.StylePropertyModulateSelf, Color.FromHex("#717059")),
|
.Prop(Control.StylePropertyModulateSelf, Color.FromHex("#7A9082")),
|
||||||
|
|
||||||
Element<PanelContainer>().Class("PdaBorderRect")
|
Element<PanelContainer>().Class("PdaBorderRect")
|
||||||
.Prop(PanelContainer.StylePropertyPanel, AngleBorderRect),
|
.Prop(PanelContainer.StylePropertyPanel, AngleBorderRect),
|
||||||
|
|
||||||
Element<PanelContainer>().Class("BackgroundDark")
|
Element<PanelContainer>().Class("BackgroundDark")
|
||||||
.Prop(PanelContainer.StylePropertyPanel, new StyleBoxFlat(Color.FromHex("#25252A"))),
|
.Prop(PanelContainer.StylePropertyPanel, new StyleBoxFlat(Color.FromHex("#262E29"))),
|
||||||
|
|
||||||
//PDA - Buttons
|
//PDA - Buttons
|
||||||
Element<PdaSettingsButton>().Pseudo(ContainerButton.StylePseudoClassNormal)
|
Element<PdaSettingsButton>().Pseudo(ContainerButton.StylePseudoClassNormal)
|
||||||
@@ -1444,11 +1489,11 @@ namespace Content.Client.Stylesheets
|
|||||||
//PDA - Text
|
//PDA - Text
|
||||||
Element<Label>().Class("PdaContentFooterText")
|
Element<Label>().Class("PdaContentFooterText")
|
||||||
.Prop(Label.StylePropertyFont, notoSans10)
|
.Prop(Label.StylePropertyFont, notoSans10)
|
||||||
.Prop(Label.StylePropertyFontColor, Color.FromHex("#757575")),
|
.Prop(Label.StylePropertyFontColor, Color.FromHex("#7A9082")),
|
||||||
|
|
||||||
Element<Label>().Class("PdaWindowFooterText")
|
Element<Label>().Class("PdaWindowFooterText")
|
||||||
.Prop(Label.StylePropertyFont, notoSans10)
|
.Prop(Label.StylePropertyFont, notoSans10)
|
||||||
.Prop(Label.StylePropertyFontColor, Color.FromHex("#333d3b")),
|
.Prop(Label.StylePropertyFontColor, Color.FromHex("#4D5D53")),
|
||||||
|
|
||||||
// Fancy Tree
|
// Fancy Tree
|
||||||
Element<ContainerButton>().Identifier(TreeItem.StyleIdentifierTreeButton)
|
Element<ContainerButton>().Identifier(TreeItem.StyleIdentifierTreeButton)
|
||||||
|
|||||||
@@ -15,9 +15,9 @@ public sealed class MenuButton : ContainerButton
|
|||||||
public const string StyleClassLabelTopButton = "topButtonLabel";
|
public const string StyleClassLabelTopButton = "topButtonLabel";
|
||||||
public const string StyleClassRedTopButton = "topButtonLabel";
|
public const string StyleClassRedTopButton = "topButtonLabel";
|
||||||
|
|
||||||
private static readonly Color ColorNormal = Color.FromHex("#7b7e9e");
|
private static readonly Color ColorNormal = Color.FromHex("#879B8F");
|
||||||
private static readonly Color ColorRedNormal = Color.FromHex("#FEFEFE");
|
private static readonly Color ColorRedNormal = Color.FromHex("#aC4D5B");
|
||||||
private static readonly Color ColorHovered = Color.FromHex("#9699bb");
|
private static readonly Color ColorHovered = Color.FromHex("#ffffff");
|
||||||
private static readonly Color ColorRedHovered = Color.FromHex("#FFFFFF");
|
private static readonly Color ColorRedHovered = Color.FromHex("#FFFFFF");
|
||||||
private static readonly Color ColorPressed = Color.FromHex("#789B8C");
|
private static readonly Color ColorPressed = Color.FromHex("#789B8C");
|
||||||
|
|
||||||
|
|||||||
@@ -26,10 +26,8 @@
|
|||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
<alerts:AlertsUI Name="Alerts" Access="Protected" />
|
<alerts:AlertsUI Name="Alerts" Access="Protected" />
|
||||||
</LayoutContainer>
|
</LayoutContainer>
|
||||||
<PanelContainer HorizontalExpand="True" MinWidth="300">
|
<PanelContainer HorizontalExpand="True" MinWidth="300" StyleClasses="GayShitBackground">
|
||||||
<PanelContainer.PanelOverride>
|
|
||||||
<graphics:StyleBoxFlat BackgroundColor="#2B2C3B" />
|
|
||||||
</PanelContainer.PanelOverride>
|
|
||||||
|
|
||||||
<BoxContainer Orientation="Vertical" HorizontalExpand="True" SeparationOverride="10" Margin="10">
|
<BoxContainer Orientation="Vertical" HorizontalExpand="True" SeparationOverride="10" Margin="10">
|
||||||
<menuBar:GameTopMenuBar Name="TopBar" HorizontalExpand="True" Access="Protected" />
|
<menuBar:GameTopMenuBar Name="TopBar" HorizontalExpand="True" Access="Protected" />
|
||||||
|
|||||||
@@ -112,7 +112,7 @@ namespace Content.Client.UserInterface.Systems.Atmos.GasTank
|
|||||||
|
|
||||||
var middle = new PanelContainer
|
var middle = new PanelContainer
|
||||||
{
|
{
|
||||||
PanelOverride = new StyleBoxFlat {BackgroundColor = Color.FromHex("#202025")},
|
PanelOverride = new StyleBoxFlat {BackgroundColor = Color.FromHex("#3C4841")},
|
||||||
Children =
|
Children =
|
||||||
{
|
{
|
||||||
(_contentContainer = new BoxContainer
|
(_contentContainer = new BoxContainer
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
using System.Globalization;
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Numerics;
|
using System.Numerics;
|
||||||
using Content.Client.Administration.Managers;
|
using Content.Client.Administration.Managers;
|
||||||
@@ -19,6 +18,8 @@ using Content.Shared.Damage.ForceSay;
|
|||||||
using Content.Shared.Examine;
|
using Content.Shared.Examine;
|
||||||
using Content.Shared.Input;
|
using Content.Shared.Input;
|
||||||
using Content.Shared.Radio;
|
using Content.Shared.Radio;
|
||||||
|
using Content.Shared.White;
|
||||||
|
using Content.Shared.White.Utils;
|
||||||
using Robust.Client.Graphics;
|
using Robust.Client.Graphics;
|
||||||
using Robust.Client.Input;
|
using Robust.Client.Input;
|
||||||
using Robust.Client.Player;
|
using Robust.Client.Player;
|
||||||
@@ -235,19 +236,28 @@ public sealed class ChatUIController : UIController
|
|||||||
}
|
}
|
||||||
|
|
||||||
ChatBox chatBox;
|
ChatBox chatBox;
|
||||||
string? chatSizeRaw;
|
//White modification start
|
||||||
|
string chatSizeRaw;
|
||||||
|
Vector2 chatSize;
|
||||||
|
//End
|
||||||
|
|
||||||
switch (UIManager.ActiveScreen)
|
switch (UIManager.ActiveScreen)
|
||||||
{
|
{
|
||||||
case DefaultGameScreen defaultScreen:
|
case DefaultGameScreen defaultScreen:
|
||||||
chatBox = defaultScreen.ChatBox;
|
chatBox = defaultScreen.ChatBox;
|
||||||
chatSizeRaw = _config.GetCVar(CCVars.DefaultScreenChatSize);
|
//White modification start
|
||||||
SetChatSizing(chatSizeRaw, defaultScreen, setting);
|
chatSizeRaw = _config.GetCVar(WhiteCVars.DefaultChatSize);
|
||||||
|
chatSize = Vector2Utils.ParseVector2FromString(chatSizeRaw, ';');
|
||||||
|
//End
|
||||||
|
SetChatSizing(chatSize, defaultScreen, setting);
|
||||||
break;
|
break;
|
||||||
case SeparatedChatGameScreen separatedScreen:
|
case SeparatedChatGameScreen separatedScreen:
|
||||||
chatBox = separatedScreen.ChatBox;
|
chatBox = separatedScreen.ChatBox;
|
||||||
chatSizeRaw = _config.GetCVar(CCVars.SeparatedScreenChatSize);
|
//White modification start
|
||||||
SetChatSizing(chatSizeRaw, separatedScreen, setting);
|
chatSizeRaw = _config.GetCVar(WhiteCVars.SeparatedChatSize);
|
||||||
|
chatSize = Vector2Utils.ParseVector2FromString(chatSizeRaw, ';');
|
||||||
|
//End
|
||||||
|
SetChatSizing(chatSize, separatedScreen, setting);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
// this could be better?
|
// this could be better?
|
||||||
@@ -261,7 +271,7 @@ public sealed class ChatUIController : UIController
|
|||||||
chatBox.Main = setting;
|
chatBox.Main = setting;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void SetChatSizing(string sizing, InGameScreen screen, bool setting)
|
private void SetChatSizing(Vector2 sizing, InGameScreen screen, bool setting)
|
||||||
{
|
{
|
||||||
if (!setting)
|
if (!setting)
|
||||||
{
|
{
|
||||||
@@ -271,19 +281,9 @@ public sealed class ChatUIController : UIController
|
|||||||
|
|
||||||
screen.OnChatResized += StoreChatSize;
|
screen.OnChatResized += StoreChatSize;
|
||||||
|
|
||||||
if (string.IsNullOrEmpty(sizing))
|
//White modification start
|
||||||
{
|
screen.SetChatSize(sizing);
|
||||||
return;
|
//End
|
||||||
}
|
|
||||||
|
|
||||||
var split = sizing.Split(",");
|
|
||||||
|
|
||||||
var chatSize = new Vector2(
|
|
||||||
float.Parse(split[0], CultureInfo.InvariantCulture),
|
|
||||||
float.Parse(split[1], CultureInfo.InvariantCulture));
|
|
||||||
|
|
||||||
|
|
||||||
screen.SetChatSize(chatSize);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void StoreChatSize(Vector2 size)
|
private void StoreChatSize(Vector2 size)
|
||||||
@@ -293,15 +293,17 @@ public sealed class ChatUIController : UIController
|
|||||||
throw new Exception("Cannot get active screen!");
|
throw new Exception("Cannot get active screen!");
|
||||||
}
|
}
|
||||||
|
|
||||||
var stringSize =
|
|
||||||
$"{size.X.ToString(CultureInfo.InvariantCulture)},{size.Y.ToString(CultureInfo.InvariantCulture)}";
|
|
||||||
switch (UIManager.ActiveScreen)
|
switch (UIManager.ActiveScreen)
|
||||||
{
|
{
|
||||||
case DefaultGameScreen _:
|
case DefaultGameScreen _:
|
||||||
_config.SetCVar(CCVars.DefaultScreenChatSize, stringSize);
|
//White modification start
|
||||||
|
_config.SetCVar(WhiteCVars.DefaultChatSize, size.ConvertToString(';'));
|
||||||
|
//End
|
||||||
break;
|
break;
|
||||||
case SeparatedChatGameScreen _:
|
case SeparatedChatGameScreen _:
|
||||||
_config.SetCVar(CCVars.SeparatedScreenChatSize, stringSize);
|
//White modification start
|
||||||
|
_config.SetCVar(WhiteCVars.SeparatedChatSize, size.ConvertToString(';'));
|
||||||
|
//End
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
// do nothing
|
// do nothing
|
||||||
|
|||||||
@@ -7,13 +7,13 @@
|
|||||||
HorizontalExpand="True"
|
HorizontalExpand="True"
|
||||||
VerticalExpand="True"
|
VerticalExpand="True"
|
||||||
MinSize="465 225">
|
MinSize="465 225">
|
||||||
<PanelContainer HorizontalExpand="True" VerticalExpand="True">
|
<PanelContainer HorizontalExpand="True" VerticalExpand="True" StyleClasses="FuckyWuckyBackground" >
|
||||||
<PanelContainer.PanelOverride>
|
|
||||||
<graphics:StyleBoxFlat BackgroundColor="#25252AAA" />
|
|
||||||
</PanelContainer.PanelOverride>
|
|
||||||
|
|
||||||
<BoxContainer Orientation="Vertical" SeparationOverride="4" HorizontalExpand="True" VerticalExpand="True">
|
<BoxContainer Orientation="Vertical" SeparationOverride="4" HorizontalExpand="True" VerticalExpand="True">
|
||||||
<OutputPanel Name="Contents" HorizontalExpand="True" VerticalExpand="True" Margin="8 8 8 4" />
|
<OutputPanel Name="Contents" HorizontalExpand="True" VerticalExpand="True" Margin="2 2 2 2" >
|
||||||
|
<OutputPanel.StyleBoxOverride>
|
||||||
|
<graphics:StyleBoxFlat PaddingRight="16" />
|
||||||
|
</OutputPanel.StyleBoxOverride>
|
||||||
|
</OutputPanel>
|
||||||
<controls:ChatInputBox HorizontalExpand="True" Name="ChatInput" Access="Public" Margin="2"/>
|
<controls:ChatInputBox HorizontalExpand="True" Name="ChatInput" Access="Public" Margin="2"/>
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</PanelContainer>
|
</PanelContainer>
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
Orientation="Horizontal"
|
Orientation="Horizontal"
|
||||||
HorizontalAlignment="Stretch"
|
HorizontalAlignment="Stretch"
|
||||||
VerticalAlignment="Top"
|
VerticalAlignment="Top"
|
||||||
SeparationOverride="5"
|
SeparationOverride="0"
|
||||||
>
|
>
|
||||||
<ui:MenuButton
|
<ui:MenuButton
|
||||||
Name="EscapeButton"
|
Name="EscapeButton"
|
||||||
|
|||||||
@@ -201,7 +201,7 @@ namespace Content.Client.Wires.UI
|
|||||||
|
|
||||||
var middle = new PanelContainer
|
var middle = new PanelContainer
|
||||||
{
|
{
|
||||||
PanelOverride = new StyleBoxFlat {BackgroundColor = Color.FromHex("#202025")},
|
PanelOverride = new StyleBoxFlat {BackgroundColor = Color.FromHex("#3C4841")},
|
||||||
Children =
|
Children =
|
||||||
{
|
{
|
||||||
new BoxContainer
|
new BoxContainer
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ using Content.Server.Bible.Components;
|
|||||||
using Content.Server.Ghost.Roles.Components;
|
using Content.Server.Ghost.Roles.Components;
|
||||||
using Content.Server.Ghost.Roles.Events;
|
using Content.Server.Ghost.Roles.Events;
|
||||||
using Content.Server.Popups;
|
using Content.Server.Popups;
|
||||||
|
using Content.Server.White.Other.Lazy;
|
||||||
using Content.Shared.ActionBlocker;
|
using Content.Shared.ActionBlocker;
|
||||||
using Content.Shared.Actions;
|
using Content.Shared.Actions;
|
||||||
using Content.Shared.Bible;
|
using Content.Shared.Bible;
|
||||||
@@ -160,6 +161,9 @@ namespace Content.Server.Bible
|
|||||||
if (!args.CanInteract || !args.CanAccess || component.AlreadySummoned || component.SpecialItemPrototype == null)
|
if (!args.CanInteract || !args.CanAccess || component.AlreadySummoned || component.SpecialItemPrototype == null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (HasComp<EarsSpawnComponent>(component.Owner))
|
||||||
|
return;
|
||||||
|
|
||||||
if (component.RequiresBibleUser && !HasComp<BibleUserComponent>(args.User))
|
if (component.RequiresBibleUser && !HasComp<BibleUserComponent>(args.User))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
@@ -183,6 +187,9 @@ namespace Content.Server.Bible
|
|||||||
if (component.AlreadySummoned)
|
if (component.AlreadySummoned)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (HasComp<EarsSpawnComponent>(component.Owner))
|
||||||
|
return;
|
||||||
|
|
||||||
args.AddAction(ref component.SummonActionEntity, component.SummonAction);
|
args.AddAction(ref component.SummonActionEntity, component.SummonAction);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
33
Content.Shared/White/Utils/Vector2Utils.cs
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
using System.Numerics;
|
||||||
|
|
||||||
|
namespace Content.Shared.White.Utils;
|
||||||
|
|
||||||
|
public static class Vector2Utils
|
||||||
|
{
|
||||||
|
public static Vector2 ParseVector2FromString(string data, char separator)
|
||||||
|
{
|
||||||
|
var dataSplit = data.Split(separator);
|
||||||
|
|
||||||
|
if (dataSplit.Length != 2)
|
||||||
|
{
|
||||||
|
Logger.Warning("Error at parsing string for vector, returning 0;0");
|
||||||
|
return new Vector2(0, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
var hasX = float.TryParse(dataSplit[0], out var x);
|
||||||
|
var hasY = float.TryParse(dataSplit[1], out var y);
|
||||||
|
|
||||||
|
if (!hasX || !hasY)
|
||||||
|
{
|
||||||
|
Logger.Warning("Error at parsing string for vector, returning 0;0");
|
||||||
|
return new Vector2(0, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
return new Vector2(x, y);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static string ConvertToString(this Vector2 vector, char separator)
|
||||||
|
{
|
||||||
|
return $"{vector.X}{separator}{vector.Y}";
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -157,4 +157,15 @@ public sealed class WhiteCVars
|
|||||||
|
|
||||||
public static readonly CVarDef<float> BwoinkVolume =
|
public static readonly CVarDef<float> BwoinkVolume =
|
||||||
CVarDef.Create("white.admin.bwoinkVolume", 0f, CVar.CLIENTONLY | CVar.ARCHIVE);
|
CVarDef.Create("white.admin.bwoinkVolume", 0f, CVar.CLIENTONLY | CVar.ARCHIVE);
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Chat
|
||||||
|
*/
|
||||||
|
|
||||||
|
public static readonly CVarDef<string> SeparatedChatSize =
|
||||||
|
CVarDef.Create("white.chat_size_separated", "0.6f;0", CVar.CLIENTONLY | CVar.ARCHIVE);
|
||||||
|
|
||||||
|
public static readonly CVarDef<string> DefaultChatSize =
|
||||||
|
CVarDef.Create("white.chat_size_default", "300;500", CVar.CLIENTONLY | CVar.ARCHIVE);
|
||||||
}
|
}
|
||||||
|
|||||||
1529
Resources/Changelog/ChangelogWhite.yml
Normal file
BIN
Resources/Fonts/IBMPlexSans/IBMPlexSans-Bold.ttf
Normal file
BIN
Resources/Fonts/IBMPlexSans/IBMPlexSans-BoldItalic.ttf
Normal file
BIN
Resources/Fonts/IBMPlexSans/IBMPlexSans-ExtraLight.ttf
Normal file
BIN
Resources/Fonts/IBMPlexSans/IBMPlexSans-ExtraLightItalic.ttf
Normal file
BIN
Resources/Fonts/IBMPlexSans/IBMPlexSans-Italic.ttf
Normal file
BIN
Resources/Fonts/IBMPlexSans/IBMPlexSans-Light.ttf
Normal file
BIN
Resources/Fonts/IBMPlexSans/IBMPlexSans-LightItalic.ttf
Normal file
BIN
Resources/Fonts/IBMPlexSans/IBMPlexSans-Medium.ttf
Normal file
BIN
Resources/Fonts/IBMPlexSans/IBMPlexSans-MediumItalic.ttf
Normal file
BIN
Resources/Fonts/IBMPlexSans/IBMPlexSans-Regular.ttf
Normal file
BIN
Resources/Fonts/IBMPlexSans/IBMPlexSans-SemiBold.ttf
Normal file
BIN
Resources/Fonts/IBMPlexSans/IBMPlexSans-SemiBoldItalic.ttf
Normal file
BIN
Resources/Fonts/IBMPlexSans/IBMPlexSans-Thin.ttf
Normal file
BIN
Resources/Fonts/IBMPlexSans/IBMPlexSans-ThinItalic.ttf
Normal file
93
Resources/Fonts/IBMPlexSans/OFL.txt
Normal file
@@ -0,0 +1,93 @@
|
|||||||
|
Copyright © 2017 IBM Corp. with Reserved Font Name "Plex"
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
http://scripts.sil.org/OFL
|
||||||
|
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||||
|
Before Width: | Height: | Size: 736 B After Width: | Height: | Size: 777 B |
|
Before Width: | Height: | Size: 850 B After Width: | Height: | Size: 842 B |
|
Before Width: | Height: | Size: 137 B After Width: | Height: | Size: 142 B |
|
Before Width: | Height: | Size: 138 B After Width: | Height: | Size: 142 B |
@@ -2,20 +2,20 @@
|
|||||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||||
|
|
||||||
<svg
|
<svg
|
||||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
||||||
xmlns:cc="http://creativecommons.org/ns#"
|
|
||||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
||||||
xmlns:svg="http://www.w3.org/2000/svg"
|
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
|
||||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
||||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
||||||
width="24"
|
width="24"
|
||||||
height="24"
|
height="24"
|
||||||
viewBox="0 0 6.3499998 6.35"
|
viewBox="0 0 6.3499998 6.35"
|
||||||
version="1.1"
|
version="1.1"
|
||||||
id="svg1055"
|
id="svg1055"
|
||||||
inkscape:version="0.92.4 5da689c313, 2019-01-14"
|
inkscape:version="1.2.2 (732a01da63, 2022-12-09)"
|
||||||
sodipodi:docname="button.svg">
|
sodipodi:docname="button.svg"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||||
<defs
|
<defs
|
||||||
id="defs1049" />
|
id="defs1049" />
|
||||||
<sodipodi:namedview
|
<sodipodi:namedview
|
||||||
@@ -26,19 +26,21 @@
|
|||||||
inkscape:pageopacity="0.0"
|
inkscape:pageopacity="0.0"
|
||||||
inkscape:pageshadow="2"
|
inkscape:pageshadow="2"
|
||||||
inkscape:zoom="22.627417"
|
inkscape:zoom="22.627417"
|
||||||
inkscape:cx="12.337282"
|
inkscape:cx="12.396466"
|
||||||
inkscape:cy="12.571025"
|
inkscape:cy="12.551145"
|
||||||
inkscape:document-units="mm"
|
inkscape:document-units="mm"
|
||||||
inkscape:current-layer="layer1"
|
inkscape:current-layer="layer1"
|
||||||
showgrid="false"
|
showgrid="false"
|
||||||
inkscape:pagecheckerboard="true"
|
inkscape:pagecheckerboard="true"
|
||||||
inkscape:window-width="1920"
|
inkscape:window-width="1440"
|
||||||
inkscape:window-height="1043"
|
inkscape:window-height="852"
|
||||||
inkscape:window-x="0"
|
inkscape:window-x="-4"
|
||||||
inkscape:window-y="0"
|
inkscape:window-y="-4"
|
||||||
inkscape:window-maximized="1"
|
inkscape:window-maximized="1"
|
||||||
units="px"
|
units="px"
|
||||||
inkscape:snap-page="true" />
|
inkscape:snap-page="true"
|
||||||
|
inkscape:showpageshadow="2"
|
||||||
|
inkscape:deskcolor="#d1d1d1" />
|
||||||
<metadata
|
<metadata
|
||||||
id="metadata1052">
|
id="metadata1052">
|
||||||
<rdf:RDF>
|
<rdf:RDF>
|
||||||
@@ -47,7 +49,7 @@
|
|||||||
<dc:format>image/svg+xml</dc:format>
|
<dc:format>image/svg+xml</dc:format>
|
||||||
<dc:type
|
<dc:type
|
||||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
<dc:title></dc:title>
|
<dc:title />
|
||||||
</cc:Work>
|
</cc:Work>
|
||||||
</rdf:RDF>
|
</rdf:RDF>
|
||||||
</metadata>
|
</metadata>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 237 B After Width: | Height: | Size: 615 B |
|
Before Width: | Height: | Size: 147 B After Width: | Height: | Size: 140 B |
|
Before Width: | Height: | Size: 484 B After Width: | Height: | Size: 247 B |
|
Before Width: | Height: | Size: 352 B After Width: | Height: | Size: 204 B |
|
Before Width: | Height: | Size: 288 B After Width: | Height: | Size: 237 B |
BIN
Resources/Textures/Interface/Nano/fucky_wucky.png
Normal file
|
After Width: | Height: | Size: 32 KiB |
BIN
Resources/Textures/Interface/Nano/gay_shit.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 453 B After Width: | Height: | Size: 459 B |
|
Before Width: | Height: | Size: 458 B After Width: | Height: | Size: 438 B |
|
Before Width: | Height: | Size: 431 B After Width: | Height: | Size: 409 B |
|
Before Width: | Height: | Size: 147 B After Width: | Height: | Size: 140 B |
|
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 163 B |
|
Before Width: | Height: | Size: 869 B After Width: | Height: | Size: 962 B |
|
Before Width: | Height: | Size: 915 B After Width: | Height: | Size: 953 B |
|
Before Width: | Height: | Size: 372 B After Width: | Height: | Size: 482 B |
|
Before Width: | Height: | Size: 285 B After Width: | Height: | Size: 371 B |
|
Before Width: | Height: | Size: 322 B After Width: | Height: | Size: 202 B |
|
Before Width: | Height: | Size: 144 B After Width: | Height: | Size: 155 B |
|
Before Width: | Height: | Size: 213 B After Width: | Height: | Size: 155 B |
|
Before Width: | Height: | Size: 131 B After Width: | Height: | Size: 147 B |
|
Before Width: | Height: | Size: 112 B After Width: | Height: | Size: 141 B |
|
Before Width: | Height: | Size: 147 B After Width: | Height: | Size: 140 B |
|
Before Width: | Height: | Size: 101 B After Width: | Height: | Size: 131 B |
|
Before Width: | Height: | Size: 154 B After Width: | Height: | Size: 131 B |
@@ -19,7 +19,7 @@ GITHUB_TOKEN = os.environ["GITHUB_TOKEN"]
|
|||||||
|
|
||||||
DISCORD_WEBHOOK_URL = os.environ.get("DISCORD_WEBHOOK_URL")
|
DISCORD_WEBHOOK_URL = os.environ.get("DISCORD_WEBHOOK_URL")
|
||||||
|
|
||||||
CHANGELOG_FILE = "Resources/Changelog/Changelog.yml"
|
CHANGELOG_FILE = "Resources/Changelog/ChangelogWhite.yml"
|
||||||
|
|
||||||
TYPES_TO_EMOJI = {
|
TYPES_TO_EMOJI = {
|
||||||
"Fix": "🐛",
|
"Fix": "🐛",
|
||||||
|
|||||||