|
|
|
|
@ -25,12 +25,19 @@
|
|
|
|
|
<Style x:Key="SettingLabelStyle" TargetType="TextBlock">
|
|
|
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
|
|
|
<Setter Property="Foreground" Value="#666"/>
|
|
|
|
|
<Setter Property="Margin" Value="0,5"/>
|
|
|
|
|
<Setter Property="Margin" Value="24,5,0,5"/>
|
|
|
|
|
</Style>
|
|
|
|
|
<Style x:Key="SettingTextBoxStyle" TargetType="TextBox" BasedOn="{StaticResource NormalTextBoxStyle}">
|
|
|
|
|
<Setter Property="Height" Value="32"/>
|
|
|
|
|
<Setter Property="Margin" Value="0,5"/>
|
|
|
|
|
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
|
|
|
|
<Style.Triggers>
|
|
|
|
|
<Trigger Property="IsReadOnly" Value="True">
|
|
|
|
|
<Setter Property="Background" Value="#FFF2F4F7"/>
|
|
|
|
|
<Setter Property="BorderBrush" Value="#FFD0D5DD"/>
|
|
|
|
|
<Setter Property="Foreground" Value="#FF7A8491"/>
|
|
|
|
|
</Trigger>
|
|
|
|
|
</Style.Triggers>
|
|
|
|
|
</Style>
|
|
|
|
|
<Style x:Key="SettingCheckBoxStyle" TargetType="CheckBox">
|
|
|
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
|
|
|
@ -44,6 +51,14 @@
|
|
|
|
|
<Setter Property="FontSize" Value="13"/>
|
|
|
|
|
<Setter Property="Background" Value="#FFE9F7FD"/>
|
|
|
|
|
<Setter Property="Foreground" Value="#FF0886B8"/>
|
|
|
|
|
<Style.Triggers>
|
|
|
|
|
<Trigger Property="IsEnabled" Value="False">
|
|
|
|
|
<Setter Property="Background" Value="#FFF2F4F7"/>
|
|
|
|
|
<Setter Property="Foreground" Value="#FF98A2B3"/>
|
|
|
|
|
<Setter Property="BorderBrush" Value="#FFD0D5DD"/>
|
|
|
|
|
<Setter Property="Opacity" Value="1"/>
|
|
|
|
|
</Trigger>
|
|
|
|
|
</Style.Triggers>
|
|
|
|
|
</Style>
|
|
|
|
|
</ResourceDictionary>
|
|
|
|
|
</UserControl.Resources>
|
|
|
|
|
@ -279,12 +294,12 @@
|
|
|
|
|
<TextBox Grid.Row="3" Grid.Column="3" Text="{Binding DataCacheTimeLenMins, UpdateSourceTrigger=PropertyChanged}" IsReadOnly="{Binding SystemSettingsReadOnly}" Style="{StaticResource SettingTextBoxStyle}" Visibility="Collapsed"/>
|
|
|
|
|
|
|
|
|
|
<Button Grid.Row="4"
|
|
|
|
|
Grid.Column="3"
|
|
|
|
|
Grid.Column="0"
|
|
|
|
|
Content="{Binding SystemSettingsEditButtonText}"
|
|
|
|
|
Width="86"
|
|
|
|
|
Height="30"
|
|
|
|
|
Margin="0,10,0,0"
|
|
|
|
|
HorizontalAlignment="Right"
|
|
|
|
|
Margin="24,10,0,0"
|
|
|
|
|
HorizontalAlignment="Left"
|
|
|
|
|
Style="{StaticResource NormalButtonStyle}"
|
|
|
|
|
Background="#FFE9F7FD"
|
|
|
|
|
Foreground="#FF0886B8"
|
|
|
|
|
|