Re-organize style sheets and add StyleSpace.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using Content.Client.Chat;
|
||||
using Content.Client.Interfaces;
|
||||
using Content.Client.UserInterface.Stylesheets;
|
||||
using Content.Client.Utility;
|
||||
using Robust.Client.Graphics.Drawing;
|
||||
using Robust.Client.Interfaces.ResourceManagement;
|
||||
@@ -69,7 +70,7 @@ namespace Content.Client.UserInterface
|
||||
new Label
|
||||
{
|
||||
Text = Loc.GetString("Lobby"),
|
||||
StyleClasses = {NanoStyle.StyleClassLabelHeadingBigger},
|
||||
StyleClasses = {StyleNano.StyleClassLabelHeadingBigger},
|
||||
/*MarginBottom = 40,
|
||||
MarginLeft = 8,*/
|
||||
VAlign = Label.VAlignMode.Center
|
||||
@@ -78,7 +79,7 @@ namespace Content.Client.UserInterface
|
||||
},
|
||||
(ServerName = new Label
|
||||
{
|
||||
StyleClasses = {NanoStyle.StyleClassLabelHeadingBigger},
|
||||
StyleClasses = {StyleNano.StyleClassLabelHeadingBigger},
|
||||
/*MarginBottom = 40,
|
||||
GrowHorizontal = GrowDirection.Both,*/
|
||||
VAlign = Label.VAlignMode.Center,
|
||||
@@ -88,7 +89,7 @@ namespace Content.Client.UserInterface
|
||||
{
|
||||
SizeFlagsHorizontal = SizeFlags.ShrinkEnd,
|
||||
Text = Loc.GetString("Leave"),
|
||||
StyleClasses = {NanoStyle.StyleClassButtonBig},
|
||||
StyleClasses = {StyleNano.StyleClassButtonBig},
|
||||
//GrowHorizontal = GrowDirection.Begin
|
||||
})
|
||||
}
|
||||
@@ -100,7 +101,7 @@ namespace Content.Client.UserInterface
|
||||
{
|
||||
PanelOverride = new StyleBoxFlat
|
||||
{
|
||||
BackgroundColor = NanoStyle.NanoGold,
|
||||
BackgroundColor = StyleNano.NanoGold,
|
||||
ContentMarginTopOverride = 2
|
||||
},
|
||||
});
|
||||
@@ -146,20 +147,20 @@ namespace Content.Client.UserInterface
|
||||
(ObserveButton = new Button
|
||||
{
|
||||
Text = Loc.GetString("Observe"),
|
||||
StyleClasses = {NanoStyle.StyleClassButtonBig}
|
||||
StyleClasses = {StyleNano.StyleClassButtonBig}
|
||||
}),
|
||||
(StartTime = new Label
|
||||
{
|
||||
SizeFlagsHorizontal = SizeFlags.FillExpand,
|
||||
Align = Label.AlignMode.Right,
|
||||
FontColorOverride = Color.DarkGray,
|
||||
StyleClasses = {NanoStyle.StyleClassLabelBig}
|
||||
StyleClasses = {StyleNano.StyleClassLabelBig}
|
||||
}),
|
||||
(ReadyButton = new Button
|
||||
{
|
||||
ToggleMode = true,
|
||||
Text = Loc.GetString("Ready Up"),
|
||||
StyleClasses = {NanoStyle.StyleClassButtonBig}
|
||||
StyleClasses = {StyleNano.StyleClassButtonBig}
|
||||
}),
|
||||
}
|
||||
}
|
||||
@@ -188,7 +189,7 @@ namespace Content.Client.UserInterface
|
||||
|
||||
hBox.AddChild(new PanelContainer
|
||||
{
|
||||
PanelOverride = new StyleBoxFlat {BackgroundColor = NanoStyle.NanoGold}, CustomMinimumSize = (2, 0)
|
||||
PanelOverride = new StyleBoxFlat {BackgroundColor = StyleNano.NanoGold}, CustomMinimumSize = (2, 0)
|
||||
});
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user