Visual popup addendum (#9570)
This commit is contained in:
@@ -147,9 +147,11 @@ namespace Content.Client.Popups
|
||||
type switch
|
||||
{
|
||||
PopupType.Small => StyleNano.StyleClassPopupMessageSmall,
|
||||
PopupType.SmallCaution => StyleNano.StyleClassPopupMessageSmallCaution,
|
||||
PopupType.Medium => StyleNano.StyleClassPopupMessageMedium,
|
||||
PopupType.MediumCaution => StyleNano.StyleClassPopupMessageMediumCaution,
|
||||
PopupType.Large => StyleNano.StyleClassPopupMessageLarge,
|
||||
PopupType.Critical => StyleNano.StyleClassPopupMessageCritical,
|
||||
PopupType.LargeCaution => StyleNano.StyleClassPopupMessageLargeCaution,
|
||||
_ => StyleNano.StyleClassPopupMessageSmall
|
||||
};
|
||||
|
||||
|
||||
@@ -76,9 +76,11 @@ namespace Content.Client.Stylesheets
|
||||
public const string StyleClassButtonBig = "ButtonBig";
|
||||
|
||||
public const string StyleClassPopupMessageSmall = "PopupMessageSmall";
|
||||
public const string StyleClassPopupMessageSmallCaution = "PopupMessageSmallCaution";
|
||||
public const string StyleClassPopupMessageMedium = "PopupMessageMedium";
|
||||
public const string StyleClassPopupMessageMediumCaution = "PopupMessageMediumCaution";
|
||||
public const string StyleClassPopupMessageLarge = "PopupMessageLarge";
|
||||
public const string StyleClassPopupMessageCritical = "PopupMessageCritical";
|
||||
public const string StyleClassPopupMessageLargeCaution = "PopupMessageLargeCaution";
|
||||
|
||||
public static readonly Color NanoGold = Color.FromHex("#A88B5E");
|
||||
public static readonly Color GoodGreenFore = Color.FromHex("#31843E");
|
||||
@@ -1046,6 +1048,13 @@ namespace Content.Client.Stylesheets
|
||||
new StyleProperty("font-color", Color.White),
|
||||
}),
|
||||
|
||||
new StyleRule(new SelectorElement(typeof(Label), new[] {StyleClassPopupMessageSmallCaution}, null, null),
|
||||
new[]
|
||||
{
|
||||
new StyleProperty("font", notoSansItalic10),
|
||||
new StyleProperty("font-color", Color.Red),
|
||||
}),
|
||||
|
||||
new StyleRule(new SelectorElement(typeof(Label), new[] {StyleClassPopupMessageMedium}, null, null),
|
||||
new[]
|
||||
{
|
||||
@@ -1053,6 +1062,13 @@ namespace Content.Client.Stylesheets
|
||||
new StyleProperty("font-color", Color.LightGray),
|
||||
}),
|
||||
|
||||
new StyleRule(new SelectorElement(typeof(Label), new[] {StyleClassPopupMessageMediumCaution}, null, null),
|
||||
new[]
|
||||
{
|
||||
new StyleProperty("font", notoSansItalic12),
|
||||
new StyleProperty("font-color", Color.Red),
|
||||
}),
|
||||
|
||||
new StyleRule(new SelectorElement(typeof(Label), new[] {StyleClassPopupMessageLarge}, null, null),
|
||||
new[]
|
||||
{
|
||||
@@ -1060,10 +1076,10 @@ namespace Content.Client.Stylesheets
|
||||
new StyleProperty("font-color", Color.LightGray),
|
||||
}),
|
||||
|
||||
new StyleRule(new SelectorElement(typeof(Label), new[] {StyleClassPopupMessageCritical}, null, null),
|
||||
new StyleRule(new SelectorElement(typeof(Label), new[] {StyleClassPopupMessageLargeCaution}, null, null),
|
||||
new[]
|
||||
{
|
||||
new StyleProperty("font", notoSansBoldItalic16),
|
||||
new StyleProperty("font", notoSansBoldItalic14),
|
||||
new StyleProperty("font-color", Color.Red),
|
||||
}),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user