-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
915619e
commit 29ad419
Showing
10 changed files
with
279 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
{ | ||
"app_name": "EyeNurse 2", | ||
"about": "About", | ||
"setting": "Setting", | ||
"always_on_top": "Always on top", | ||
"app_name": "EyeNurse 2", | ||
"exit": "Exit", | ||
"installNow": "Install now", | ||
"installWebview2Tips": "This function requires Microsoft's latest webview2 runtime support. Please reopen this window after manual installation", | ||
"pause": "Pause", | ||
"resume": "Resume", | ||
"reset": "Reset", | ||
"resting": "Resting...", | ||
"rest_now": "Rest now", | ||
"installWebview2Tips": "This function requires Microsoft's latest webview2 runtime support. Please reopen this window after manual installation", | ||
"installNow": "Install now", | ||
"exit": "Exit" | ||
} | ||
"resting": "Resting...", | ||
"resume": "Resume", | ||
"setting": "Setting" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
{ | ||
"app_name": "眼睛护士2", | ||
"about": "关于", | ||
"setting": "设置", | ||
"always_on_top": "置于顶层", | ||
"app_name": "眼睛护士2", | ||
"exit": "退出", | ||
"installNow": "立刻安装", | ||
"installWebview2Tips": "本功能需要微软最新的webview2运行时支持,请手动安装后,重新打开本窗口", | ||
"pause": "暂停", | ||
"resume": "恢复", | ||
"reset": "重置", | ||
"resting": "休息中...", | ||
"rest_now": "立刻休息", | ||
"installWebview2Tips": "本功能需要微软最新的webview2运行时支持,请手动安装后,重新打开本窗口", | ||
"installNow": "立刻安装", | ||
"exit": "退出" | ||
} | ||
"resting": "休息中...", | ||
"resume": "恢复", | ||
"setting": "设置" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> | ||
<ResourceDictionary.MergedDictionaries> | ||
<ResourceDictionary Source="/Eye Nurse 2;component/Styles/CheckBox.xaml" /> | ||
</ResourceDictionary.MergedDictionaries> | ||
</ResourceDictionary> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,148 @@ | ||
<ResourceDictionary | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:hc="clr-namespace:HandyControl.Controls;assembly=HandyControl"> | ||
<!-- Control colors. --> | ||
<Color x:Key="WindowColor">#FFE8EDF9</Color> | ||
<Color x:Key="ContentAreaColorLight">#FFC5CBF9</Color> | ||
<Color x:Key="ContentAreaColorDark">#FF7381F9</Color> | ||
|
||
<Color x:Key="DisabledControlLightColor">#FFE8EDF9</Color> | ||
<Color x:Key="DisabledControlDarkColor">#FFC5CBF9</Color> | ||
<Color x:Key="DisabledForegroundColor">#FF888888</Color> | ||
|
||
<Color x:Key="SelectedBackgroundColor">#FFC5CBF9</Color> | ||
<Color x:Key="SelectedUnfocusedColor">#FFDDDDDD</Color> | ||
|
||
<Color x:Key="ControlLightColor">White</Color> | ||
<Color x:Key="ControlMediumColor">#FF7381F9</Color> | ||
<Color x:Key="ControlDarkColor">#FF211AA9</Color> | ||
|
||
<Color x:Key="ControlMouseOverColor">#FF3843C4</Color> | ||
<Color x:Key="ControlPressedColor">#FF211AA9</Color> | ||
|
||
|
||
<Color x:Key="GlyphColor">#FF444444</Color> | ||
<Color x:Key="GlyphMouseOver">sc#1, 0.004391443, 0.002428215, 0.242281124</Color> | ||
|
||
<!-- Border colors --> | ||
<Color x:Key="BorderLightColor">#FFCCCCCC</Color> | ||
<Color x:Key="BorderMediumColor">#FF888888</Color> | ||
<Color x:Key="BorderDarkColor">#FF444444</Color> | ||
|
||
<Color x:Key="PressedBorderLightColor">#FF888888</Color> | ||
<Color x:Key="PressedBorderDarkColor">#FF444444</Color> | ||
|
||
<Color x:Key="DisabledBorderLightColor">#FFAAAAAA</Color> | ||
<Color x:Key="DisabledBorderDarkColor">#FF888888</Color> | ||
|
||
<Color x:Key="DefaultBorderBrushDarkColor">Black</Color> | ||
|
||
<!-- Control-specific resources. --> | ||
<Color x:Key="HeaderTopColor">#FFC5CBF9</Color> | ||
<Color x:Key="DatagridCurrentCellBorderColor">Black</Color> | ||
<Color x:Key="SliderTrackDarkColor">#FFC5CBF9</Color> | ||
|
||
<Color x:Key="NavButtonFrameColor">#FF3843C4</Color> | ||
|
||
<LinearGradientBrush x:Key="MenuPopupBrush" StartPoint="0.5,0" EndPoint="0.5,1"> | ||
<GradientStop Offset="0" Color="{DynamicResource ControlLightColor}" /> | ||
<GradientStop Offset="0.5" Color="{DynamicResource ControlMediumColor}" /> | ||
<GradientStop Offset="1" Color="{DynamicResource ControlLightColor}" /> | ||
</LinearGradientBrush> | ||
|
||
<LinearGradientBrush x:Key="ProgressBarIndicatorAnimatedFill" StartPoint="0,0" EndPoint="1,0"> | ||
<LinearGradientBrush.GradientStops> | ||
<GradientStopCollection> | ||
<GradientStop Offset="0" Color="#000000FF" /> | ||
<GradientStop Offset="0.4" Color="#600000FF" /> | ||
<GradientStop Offset="0.6" Color="#600000FF" /> | ||
<GradientStop Offset="1" Color="#000000FF" /> | ||
</GradientStopCollection> | ||
</LinearGradientBrush.GradientStops> | ||
</LinearGradientBrush> | ||
<Style x:Key="TopMostCheckBox" TargetType="{x:Type CheckBox}"> | ||
<Setter Property="Width" Value="18" /> | ||
<Setter Property="Height" Value="18" /> | ||
<Setter Property="Margin" Value="0,0,1,0" /> | ||
<Setter Property="Template"> | ||
<Setter.Value> | ||
<ControlTemplate TargetType="{x:Type CheckBox}"> | ||
<BulletDecorator Background="Transparent"> | ||
<BulletDecorator.Bullet> | ||
<Border | ||
x:Name="Border" | ||
Background="Transparent" | ||
BorderBrush="Transparent" | ||
BorderThickness="1" | ||
CornerRadius="0"> | ||
<Grid> | ||
<Image | ||
x:Name="CheckMark" | ||
Source="/Assets/Img/TopMostChecked.png" | ||
Visibility="Collapsed" /> | ||
<Image | ||
x:Name="UnCheckMark" | ||
Source="/Assets/Img/TopMostUnChecked.png" | ||
Visibility="Collapsed" /> | ||
<!--<Grid | ||
x:Name="mask" | ||
Background="Gray" | ||
Opacity="0.5" />--> | ||
</Grid> | ||
</Border> | ||
</BulletDecorator.Bullet> | ||
<VisualStateManager.VisualStateGroups> | ||
<VisualStateGroup x:Name="CommonStates"> | ||
<VisualState x:Name="Normal" /> | ||
<VisualState x:Name="MouseOver"> | ||
<Storyboard> | ||
<ColorAnimation | ||
Storyboard.TargetName="Border" | ||
Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)" | ||
To="#FFFFFF" | ||
Duration="0:0:0" /> | ||
</Storyboard> | ||
</VisualState> | ||
<VisualState x:Name="Pressed"> | ||
<Storyboard> | ||
<ColorAnimation | ||
Storyboard.TargetName="Border" | ||
Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)" | ||
To="#FFFFFF" | ||
Duration="0:0:0" /> | ||
</Storyboard> | ||
</VisualState> | ||
<VisualState x:Name="Disabled" /> | ||
</VisualStateGroup> | ||
<VisualStateGroup x:Name="CheckStates"> | ||
<VisualState x:Name="Checked"> | ||
<Storyboard> | ||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="CheckMark" Storyboard.TargetProperty="(UIElement.Visibility)"> | ||
<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}" /> | ||
</ObjectAnimationUsingKeyFrames> | ||
</Storyboard> | ||
</VisualState> | ||
<VisualState x:Name="Unchecked"> | ||
<Storyboard> | ||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="UnCheckMark" Storyboard.TargetProperty="(UIElement.Visibility)"> | ||
<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}" /> | ||
</ObjectAnimationUsingKeyFrames> | ||
</Storyboard> | ||
</VisualState> | ||
<VisualState x:Name="Indeterminate"> | ||
<Storyboard> | ||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="InderminateMark" Storyboard.TargetProperty="(UIElement.Visibility)"> | ||
<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}" /> | ||
</ObjectAnimationUsingKeyFrames> | ||
</Storyboard> | ||
</VisualState> | ||
</VisualStateGroup> | ||
</VisualStateManager.VisualStateGroups> | ||
</BulletDecorator> | ||
</ControlTemplate> | ||
</Setter.Value> | ||
</Setter> | ||
</Style> | ||
|
||
</ResourceDictionary> |
Oops, something went wrong.