| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190 |
- <!--即将弃用-->
- <Style TargetType="Ellipse">
- <Setter Property="Fill" Value="{DynamicResource ColorBrush3}" />
- <Setter Property="HorizontalAlignment" Value="Left" />
- <Setter Property="Height" Value="8" />
- <Setter Property="Width" Value="8" />
- <Setter Property="Margin" Value="0,0,10,0" />
- </Style>
- <Style TargetType="TextBlock">
- <Setter Property="TextWrapping" Value="Wrap" />
- <Setter Property="HorizontalAlignment" Value="Left" />
- <Setter Property="FontSize" Value="14" />
- <Setter Property="Foreground" Value="Black" />
- </Style>
- <Style x:Key="PGTextBlock" TargetType="TextBlock">
- <Setter Property="TextWrapping" Value="Wrap" />
- <Setter Property="Margin" Value="25,5,0,5" />
- <Setter Property="FontSize" Value="16" />
- </Style>
- <Style x:Key="ListItem" TargetType="TextBlock">
- <Setter Property="Margin" Value="10,-13.5,5,15" />
- <Setter Property="TextWrapping" Value="Wrap" />
- <Setter Property="HorizontalAlignment" Value="Left" />
- <Setter Property="FontSize" Value="14" />
- <Setter Property="Foreground" Value="Black" />
- </Style>
- <Style x:Key="ListItemLink" TargetType="local:MyTextButton">
- <Setter Property="Margin" Value="15,-15,5,15" />
- <Setter Property="TextElement.FontSize" Value="20" />
- </Style>
- <Style x:Key="ListStyle" TargetType="StackPanel">
- <Setter Property="Margin" Value="22,0,14,5" />
- </Style>
- <Style x:Key="Read" TargetType="local:MyButton">
- <Setter Property="Margin" Value="0,0,5,5" />
- <Setter Property="Height" Value="35" />
- <Setter Property="Padding" Value="13,0,13,0" />
- <Setter Property="EventType" Value="打开网页" />
- </Style>
- <Style x:Key="Read0" TargetType="local:MyButton" BasedOn="{StaticResource Read}">
- <Setter Property="Grid.Column" Value="0" />
- <Setter Property="Text" Value="Minecraft Wiki" />
- <!--<Setter Property="ColorType" Value="Highlight"/>-->
- </Style>
- <Style x:Key="Read0+" TargetType="local:MyButton" BasedOn="{StaticResource Read0}">
- <Setter Property="Grid.Row" Value="0" />
- <Setter Property="Grid.ColumnSpan" Value="3" />
- </Style>
- <Style x:Key="Read1" TargetType="local:MyButton" BasedOn="{StaticResource Read}">
- <Setter Property="Grid.Column" Value="1" />
- <Setter Property="Text" Value="MCBBS" />
- </Style>
- <Style x:Key="Read1+" TargetType="local:MyButton" BasedOn="{StaticResource Read1}">
- <Setter Property="Grid.Column" Value="0" />
- <Setter Property="Grid.Row" Value="1" />
- </Style>
- <Style x:Key="Read2" TargetType="local:MyButton" BasedOn="{StaticResource Read}">
- <Setter Property="Grid.Column" Value="1" />
- <Setter Property="Text" Value="官网" />
- </Style>
- <Style x:Key="Read2+" TargetType="local:MyButton" BasedOn="{StaticResource Read2}">
- <Setter Property="Grid.Column" Value="1" />
- <Setter Property="Grid.Row" Value="1" />
- </Style>
- <Style x:Key="ReadR" TargetType="local:MyButton" BasedOn="{StaticResource Read}">
- <Setter Property="Grid.Column" Value="3" />
- <Setter Property="Text" Value="Reddit" />
- </Style>
- <Style x:Key="ReadR+" TargetType="local:MyButton" BasedOn="{StaticResource ReadR}">
- <Setter Property="Grid.Column" Value="2" />
- <Setter Property="Grid.Row" Value="1" />
- </Style>
- <Style x:Key="Code" TargetType="Border">
- <Setter Property="Background" Value="#e0e0e0" />
- <Setter Property="BorderBrush" Value="#444" />
- <Setter Property="CornerRadius" Value="1" />
- <Setter Property="Margin" Value="5,0,5,0" />
- <Setter Property="BorderThickness" Value="1" />
- </Style>
- <Style TargetType="TextBox">
- <Setter Property="Background" Value="{x:Null}" />
- <Setter Property="Padding" Value="3,0,3,0" />
- <Setter Property="IsReadOnly" Value="True" />
- <Setter Property="BorderBrush" Value="{x:Null}" />
- </Style>
- <Style x:Key="verImgBdr" TargetType="Border">
- <Setter Property="HorizontalAlignment" Value="Center" />
- <Setter Property="BorderThickness" Value="4" />
- <Setter Property="VerticalAlignment" Value="Top" />
- <Setter Property="BorderBrush" Value="{DynamicResource ColorBrush3}" />
- <Setter Property="CornerRadius" Value="7" />
- <Setter Property="MaxHeight" Value="140" />
- </Style>
- <Style x:Key="verTxtBlk" TargetType="TextBlock">
- <Setter Property="HorizontalAlignment" Value="Center" />
- <Setter Property="TextAlignment" Value="Center" />
- <Setter Property="VerticalAlignment" Value="Center" />
- <Setter Property="Foreground" Value="{DynamicResource ColorBrush7}" />
- <Setter Property="Width" Value="180" />
- <Setter Property="TextWrapping" Value="Wrap" />
- <Setter Property="FontSize" Value="18" />
- </Style>
- <Style x:Key="imgTitle" TargetType="TextBlock">
- <Setter Property="FontSize" Value="14" />
- <Setter Property="Foreground" Value="#FF777777" />
- <Setter Property="HorizontalAlignment" Value="Center" />
- <Setter Property="Margin" Value="0,0,0,15" />
- </Style>
- <Style x:Key="verTxtBdr" TargetType="Border">
- <Setter Property="Margin" Value="0,-18,-1,10" />
- <Setter Property="Background" Value="{DynamicResource ColorBrush3}" />
- <Setter Property="Width" Value="190" />
- <Setter Property="Height" Value="32" />
- <Setter Property="CornerRadius" Value="6" />
- <Setter Property="BorderThickness" Value="0,0,0,1" />
- <Setter Property="BorderBrush" Value="{DynamicResource ColorBrush2}" />
- </Style>
- <!--h2-->
- <Style x:Key="h2" TargetType="TextBlock">
- <Setter Property="FontSize" Value="24" />
- <Setter Property="Padding" Value="15,5" />
- <Setter Property="Margin" Value="5,15,5,10" />
- <Setter Property="FontWeight" Value="Bold" />
- <Setter Property="Foreground" Value="{DynamicResource ColorBrush3}" />
- </Style>
- <!--h3-->
- <Style x:Key="h3" TargetType="TextBlock">
- <Setter Property="FontSize" Value="20" />
- <Setter Property="Padding" Value="30,0" />
- <Setter Property="Margin" Value="-10,0,10,17" />
- <Setter Property="FontWeight" Value="Bold" />
- <Setter Property="Foreground" Value="{DynamicResource ColorBrush4}" />
- </Style>
- <!--h4-->
- <Style x:Key="h4" TargetType="TextBlock">
- <Setter Property="FontSize" Value="16" />
- <Setter Property="Padding" Value="30,0" />
- <Setter Property="Margin" Value="5,0,10,10" />
- <Setter Property="FontWeight" Value="Bold" />
- <Setter Property="Foreground" Value="{DynamicResource ColorBrush4}" />
- </Style>
- <!--footnote-->
- <Style x:Key="footnote" TargetType="TextBlock">
- <Setter Property="FontSize" Value="14" />
- <Setter Property="Padding" Value="30,0" />
- <Setter Property="Margin" Value="0,20,0,15" />
- <Setter Property="Foreground" Value="#FF777777" />
- <Setter Property="TextWrapping" Value="Wrap" />
- </Style>
- <!--ButtonNameBorder-->
- <!--ImageButtonStyle-->
- <Style x:Key="ImgBtnImg" TargetType="Image">
- <Setter Property="MaxWidth" Value="70px" />
- <Setter Property="MaxHeight" Value="70px" />
- <Setter Property="Margin" Value="3" />
- </Style>
- <Style x:Key="ImgBtnBdr" TargetType="Border">
- <Setter Property="Background" Value="{DynamicResource ColorBrush7}" />
- <Setter Property="BorderBrush" Value="{DynamicResource ColorBrush3}" />
- <Setter Property="BorderThickness" Value="2px" />
- <Setter Property="CornerRadius" Value="5" />
- <Setter Property="Margin" Value="2px" />
- </Style>
- <Style x:Key="NameBdr" TargetType="Border">
- <Setter Property="Background" Value="{DynamicResource ColorBrush3}" />
- <Setter Property="BorderThickness" Value="0" />
- <Setter Property="CornerRadius" Value="5,5,0,0" />
- <Setter Property="Margin" Value="-2,-2,-2,2" />
- </Style>
- <Style x:Key="ImgBtnTxt" TargetType="TextBlock">
- <Setter Property="HorizontalAlignment" Value="Center" />
- <Setter Property="VerticalAlignment" Value="Center" />
- <Setter Property="Grid.Row" Value="0" />
- <Setter Property="Foreground" Value="{DynamicResource ColorBrush7}" />
- <Setter Property="FontSize" Value="12px" />
- <Setter Property="Margin" Value="8px,2px" />
- </Style>
- <!-- TEMPLATES -->
- <ControlTemplate x:Key="Separator" TargetType="ContentControl">
- <Grid Margin="0,0,0,15">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="1*" />
- <ColumnDefinition Width="100" />
- <ColumnDefinition Width="1*" />
- </Grid.ColumnDefinitions>
- <Line X1="0" X2="100" Stroke="{DynamicResource ColorBrush4}" StrokeThickness="1.5" HorizontalAlignment="Center" Stretch="Fill" Grid.Column="0" />
- <TextBlock Text="{TemplateBinding Content}" HorizontalAlignment="Center" FontSize="14" Foreground="{DynamicResource ColorBrush4}" Grid.Column="1" VerticalAlignment="Center" />
- <Line X1="0" X2="100" Stroke="{DynamicResource ColorBrush4}" StrokeThickness="1.5" HorizontalAlignment="Center" Stretch="Fill" Grid.Column="2" />
- </Grid>
- </ControlTemplate>
|