mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
26 lines
820 B
C#
26 lines
820 B
C#
using Content.Client.Stylesheets;
|
|
using Robust.Client.UserInterface;
|
|
using Robust.Client.UserInterface.Controls;
|
|
using static Content.Client.Stylesheets.StylesheetHelpers;
|
|
|
|
namespace Content.Client.Construction.UI;
|
|
[CommonSheetlet]
|
|
public sealed class ConstructionMenuSheetlet : Sheetlet<PalettedStylesheet>
|
|
{
|
|
public override StyleRule[] GetRules(PalettedStylesheet sheet, object config)
|
|
{
|
|
return
|
|
[
|
|
E<Label>()
|
|
.Identifier("RecipeHistoryNavButtonLabel")
|
|
.Font(sheet.BaseFont.GetFont(8))
|
|
.FontColor(Color.White),
|
|
|
|
E<Label>()
|
|
.Identifier("RecipeHistoryNavButtonLabel")
|
|
.PseudoDisabled()
|
|
.Font(sheet.BaseFont.GetFont(8))
|
|
.FontColor(Color.Gray),
|
|
];
|
|
}
|
|
}
|