NewsArticleCard.xaml 1.6 KB

1234567891011121314151617181920212223242526272829
  1. <Control xmlns="https://spacestation14.io"
  2. xmlns:gfx="clr-namespace:Robust.Client.Graphics;assembly=Robust.Client"
  3. xmlns:system="clr-namespace:System;assembly=System.Runtime"
  4. xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls"
  5. Margin="0 0 0 8">
  6. <PanelContainer StyleClasses="AngleRect" ModulateSelfOverride="#2b2b31"/>
  7. <BoxContainer Orientation="Vertical" SetHeight="60">
  8. <Control HorizontalExpand="True" SetHeight="27">
  9. <PanelContainer>
  10. <PanelContainer.PanelOverride>
  11. <gfx:StyleBoxFlat BorderColor="#3B3E56" BorderThickness="0 0 0 1"/>
  12. </PanelContainer.PanelOverride>
  13. </PanelContainer>
  14. <Label Name="TitleLabel" Margin="12 0 6 0" HorizontalAlignment="Left"/>
  15. </Control>
  16. <BoxContainer Orientation="Horizontal" HorizontalExpand="True">
  17. <Label FontColorOverride="#b1b1b2" StyleClasses="LabelSmall" Name="AuthorLabel" Margin="14 6 6 6"/>
  18. <Control HorizontalExpand="True"/>
  19. <Label FontColorOverride="#b1b1b2" StyleClasses="LabelSmall" Name="PublishTimeLabel" Margin="6 6 6 6"/>
  20. <controls:ConfirmButton Name="DeleteButton" Text="{Loc news-write-ui-delete-text}"
  21. HorizontalAlignment="Right" Margin="8 6 6 6" SetHeight="19" SetWidth="52" Access="Public">
  22. <Button.StyleClasses>
  23. <system:String>ButtonSmall</system:String>
  24. <system:String>ButtonColorRed</system:String>
  25. </Button.StyleClasses>
  26. </controls:ConfirmButton>
  27. </BoxContainer>
  28. </BoxContainer>
  29. </Control>