mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
* icon group prototype * prototype v2 * agent id uses groups * working UI using groups * UI work, new header * formatting and misc work * fix some texture scaling * aesthetics * tabs, scrollbar, MinSize * commit * commit * commit * commit * Revert "commit" This reverts commit 8f29ae30c69670c6dc8d5fba3dd6bd98f574830d. * we're back * well enough * Final visuals for the Id (for now) * code cleaning * minor cleanup * self review * id card system changes * try index -> resolve * DisposeAllChildren -> RemoveAllChildren * fix the id cards * all pretty * unneeded * merge * Review by Fildrance * Review by Pok * fix * cleanup * refactor: revert icon setsize changes back to good old '32', made container button be resizable for localization reasons * jobIconGroup --------- Co-authored-by: iaada <iaada@users.noreply.github.com> Co-authored-by: Pok245 <113675512+Pok27@users.noreply.github.com> Co-authored-by: Fildrance <fildrance@gmail.com>
75 lines
3.6 KiB
C#
75 lines
3.6 KiB
C#
namespace Content.Client.Stylesheets;
|
|
|
|
///
|
|
/// <summary>
|
|
/// A collection of public reusable style classes. These should be general purpose (Not specific to only one element
|
|
/// or Ui).
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// It is named `StyleClass` as opposed to `StyleClasses` because `StyleClasses` is a field on `Control` so it made
|
|
/// it a pain to reference this class from a `Control`. (Weird name is worth typing `StyleClass.OpenBoth` vs.
|
|
/// `Stylesheets.Styleclasses.OpenBoth`)
|
|
/// </remarks>
|
|
public static class StyleClass
|
|
{
|
|
// These style classes affect more than one type of element
|
|
public const string Positive = "positive";
|
|
public const string Negative = "negative";
|
|
public const string Highlight = "highlight";
|
|
|
|
public const string StatusGood = "status-good"; // Status.GetStatusColor(1.0f)
|
|
public const string StatusOkay = "status-okay"; // Status.GetStatusColor(0.75f)
|
|
public const string StatusWarning = "status-warning"; // Status.GetStatusColor(0.5f)
|
|
public const string StatusBad = "status-bad"; // Status.GetStatusColor(0.25f)
|
|
public const string StatusCritical = "status-critical"; // Status.GetStatusColor(0.0f)
|
|
|
|
public const string FontLarge = "font-large";
|
|
public const string FontSmall = "font-small";
|
|
public const string Italic = "italic";
|
|
public const string Monospace = "monospace";
|
|
|
|
public const string BorderedWindowPanel = "BorderedWindowPanel";
|
|
public const string AlertWindowHeader = "windowHeaderAlert";
|
|
public const string WindowContentsContainer = "WindowContentsContainer";
|
|
|
|
public const string HighDivider = "HighDivider";
|
|
public const string LowDivider = "LowDivider";
|
|
|
|
public const string LabelHeading = "LabelHeading";
|
|
public const string LabelHeadingBigger = "LabelHeadingBigger";
|
|
public const string LabelSubHeading = "LabelSubHeading";
|
|
public const string LabelSubText = "LabelSubText";
|
|
public const string LabelKeyText = "LabelKeyText";
|
|
public const string LabelWeak = "LabelWeak"; // replaces `LabelSecondaryColor`
|
|
public const string LabelMonospaceText = "ConsoleText";
|
|
public const string LabelMonospaceHeading = "ConsoleHeading";
|
|
public const string LabelMonospaceSubHeading = "ConsoleSubHeading";
|
|
|
|
public const string BackgroundPanel = "BackgroundPanel"; // replaces `AngleRect`
|
|
public const string BackgroundPanelDark = "BackgroundPanelDark"; // replaces `Inset`
|
|
public const string BackgroundPanelOpenLeft = "BackgroundPanelOpenLeft"; // replaces `BackgroundOpenLeft`
|
|
public const string BackgroundPanelOpenRight = "BackgroundPanelOpenRight"; // replaces `BackgroundOpenRight`
|
|
|
|
public const string PanelDark = "PanelDark";
|
|
public const string PanelLight = "PanelLight";
|
|
public const string PanelDropTarget = "PanelDropTarget";
|
|
public const string PanelInsetDark = "PanelInsetDark";
|
|
|
|
public const string ButtonOpenRight = "OpenRight";
|
|
public const string ButtonOpenLeft = "OpenLeft";
|
|
public const string ButtonOpenBoth = "OpenBoth";
|
|
public const string ButtonSquare = "ButtonSquare";
|
|
public const string ButtonSmall = "ButtonSmall";
|
|
public const string ButtonBig = "ButtonBig";
|
|
|
|
public const string CrossButtonRed = "CrossButtonRed";
|
|
public const string RefreshButton = "RefreshButton";
|
|
public const string HelpButton = "HelpButton";
|
|
|
|
public const string ItemStatus = "ItemStatus";
|
|
public const string ItemStatusNotHeld = "ItemStatusNotHeld";
|
|
|
|
public const string TooltipPanel = "TooltipPanel";
|
|
public const string TooltipTitle = "TooltipTitle";
|
|
public const string TooltipDesc = "TooltipDesc";
|
|
}
|