Styles.xaml 34.2 KB
Newer Older
Nicolas Jager's avatar
Nicolas Jager committed
1
2
3
<!-- **********************************************************************
* Copyright (C) 2016 by Savoir-faire Linux                                *
* Author: Jäger Nicolas<nicolas.jager@savoirfairelinux.com>               *
4
* Author: Traczyk Andreas<andreas.traczyk@savoirfairelinux.com>           *
Nicolas Jager's avatar
Nicolas Jager committed
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
*                                                                         *
* This program is free software; you can redistribute it and/or modify    *
* it under the terms of the GNU General Public License as published by    *
* the Free Software Foundation; either version 3 of the License, or       *
* (at your option) any later version.                                     *
*                                                                         *
* This program is distributed in the hope that it will be useful,         *
* but WITHOUT ANY WARRANTY; without even the implied warranty of          *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the           *
* GNU General Public License for more details.                            *
*                                                                         *
* You should have received a copy of the GNU General Public License       *
* along with this program.  If not, see <http://www.gnu.org/licenses/> .  *
*********************************************************************** -->
<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

Nicolas Jager's avatar
Nicolas Jager committed
23
    <!-- general -->
atraczyk's avatar
atraczyk committed
24
    <Style x:Key="Grid#3bc1d3" TargetType="Grid">
Nicolas Jager's avatar
Nicolas Jager committed
25
        <Setter Property="Background"
atraczyk's avatar
atraczyk committed
26
                Value="#3bc1d3"/>
Nicolas Jager's avatar
Nicolas Jager committed
27
    </Style>
atraczyk's avatar
atraczyk committed
28
    <Style x:Key="Stack#3bc1d3" TargetType="StackPanel">
Nicolas Jager's avatar
Nicolas Jager committed
29
        <Setter Property="Background"
atraczyk's avatar
atraczyk committed
30
                Value="#3bc1d3"/>
Nicolas Jager's avatar
Nicolas Jager committed
31
    </Style>
Nicolas Jager's avatar
Nicolas Jager committed
32
33
34
35
36
37
38
    <Style x:Key="TextStyle1"
           TargetType="TextBlock">
        <Setter Property="FontSize"
                Value="20"/>
        <Setter Property="Foreground"
                Value="Black"/>
    </Style>
Nicolas Jager's avatar
Nicolas Jager committed
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
    <Style x:Key="TextStyle2"
           TargetType="TextBlock">
        <Setter Property="FontSize"
                Value="20"/>
        <Setter Property="VerticalAlignment"
                Value="Center"/>
        <Setter Property="Foreground"
                Value="White"/>
    </Style>
    <Style x:Key="TextStyle3"
           TargetType="TextBlock">
        <Setter Property="FontSize"
                Value="15"/>
        <Setter Property="HorizontalAlignment"
                Value="Center"/>
        <Setter Property="VerticalAlignment"
                Value="Center"/>
        <Setter Property="Foreground"
                Value="White"/>
    </Style>
59
60
61
62
63
64
65
66
67
68
69
    <Style x:Key="TextStyle4"
           TargetType="TextBlock">
        <Setter Property="FontSize"
                Value="12"/>
        <Setter Property="HorizontalAlignment"
                Value="Center"/>
        <Setter Property="VerticalAlignment"
                Value="Center"/>
        <Setter Property="Foreground"
                Value="Black"/>
    </Style>
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
    <Style x:Key="TextStyle5"
           TargetType="TextBlock">
        <Setter Property="FontSize"
                Value="15"/>
        <Setter Property="HorizontalAlignment"
                Value="Left"/>
        <Setter Property="VerticalAlignment"
                Value="Center"/>
        <Setter Property="FontStyle"
                Value="Italic"/>
        <Setter Property="Foreground"
                Value="Black"/>
    </Style>
    <Style x:Key="TextStyle6"
           TargetType="TextBlock">
        <Setter Property="FontSize"
                Value="12"/>
        <Setter Property="HorizontalAlignment"
                Value="Left"/>
        <Setter Property="VerticalAlignment"
                Value="Center"/>
        <Setter Property="Foreground"
                Value="Black"/>
    </Style>
Nicolas Jager's avatar
Nicolas Jager committed
94
95
96
97
98
    <Style x:Key="TextStyle7"
           TargetType="TextBlock">
        <Setter Property="Foreground"
                Value="White"/>
    </Style>
Nicolas Jager's avatar
Nicolas Jager committed
99
100
101
102
103
104
105
106
107
108
109
110
111
    <Style x:Key="TextSegoeStyle1"
           TargetType="TextBlock">
        <Setter Property="FontFamily"
                Value="Segoe MDL2 Assets"/>
        <Setter Property="FontSize"
                Value="15"/>
        <Setter Property="HorizontalAlignment"
                Value="Center"/>
        <Setter Property="VerticalAlignment"
                Value="Center"/>
        <Setter Property="Foreground"
                Value="White"/>
    </Style>
112
113
114
115
116
117
118
119
120
121
122
123
124
    <Style x:Key="TextSegoeStyle-20pt-black"
           TargetType="TextBlock">
        <Setter Property="FontFamily"
                Value="Segoe MDL2 Assets"/>
        <Setter Property="FontSize"
                Value="20"/>
        <Setter Property="HorizontalAlignment"
                Value="Left"/>
        <Setter Property="VerticalAlignment"
                Value="Center"/>
        <Setter Property="Foreground"
                Value="Black"/>
    </Style>
Nicolas Jager's avatar
Nicolas Jager committed
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
    <Style x:Key="TextSegoeStyle-24pt-black"
           TargetType="TextBlock">
        <Setter Property="FontFamily"
                Value="Segoe MDL2 Assets"/>
        <Setter Property="FontSize"
                Value="24"/>
        <Setter Property="HorizontalAlignment"
                Value="Left"/>
        <Setter Property="VerticalAlignment"
                Value="Bottom"/>
        <Setter Property="Foreground"
                Value="Black"/>
        <Setter Property="Margin"
                Value="0,0,10,0"/>
    </Style>
140
141
142
143
144
145
146
147
148
149
150
151
152
    <Style x:Key="TextSegoeStyle-Centered-40pt-white"
           TargetType="TextBlock">
        <Setter Property="FontFamily"
                Value="Segoe MDL2 Assets"/>
        <Setter Property="FontSize"
                Value="40"/>
        <Setter Property="HorizontalAlignment"
                Value="Center"/>
        <Setter Property="VerticalAlignment"
                Value="Center"/>
        <Setter Property="Foreground"
                Value="White"/>
    </Style>
Nicolas Jager's avatar
Nicolas Jager committed
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
    <Style x:Key="TextSegoeStyle-20pt-green"
           TargetType="TextBlock">
        <Setter Property="HorizontalAlignment"
                Value="Center"/>
        <Setter Property="FontFamily"
                Value="Segoe MDL2 Assets"/>
        <Setter Property="VerticalAlignment"
                Value="Center"/>
        <Setter Property="Foreground"
                Value="Green"/>
        <Setter Property="FontSize"
                Value="20"/>
    </Style>
    <Style x:Key="TextSegoeStyle-20pt-red"
           TargetType="TextBlock">
        <Setter Property="HorizontalAlignment"
                Value="Center"/>
        <Setter Property="FontFamily"
                Value="Segoe MDL2 Assets"/>
        <Setter Property="VerticalAlignment"
                Value="Center"/>
        <Setter Property="Foreground"
                Value="Red"/>
        <Setter Property="FontSize"
                Value="20"/>
    </Style>
Nicolas Jager's avatar
Nicolas Jager committed
179
180
181
182
183
184
185
186
187
188
    <Style x:Key="ButtonStyle1"
           TargetType="Button">
        <Setter Property="Width"
                Value="50"/>
        <Setter Property="Height"
                Value="50"/>
        <Setter Property="FontFamily"
                Value="Segoe MDL2 Assets"/>
        <Setter Property="Foreground"
                Value="White"/>
atraczyk's avatar
atraczyk committed
189
190
        <Setter Property="BorderThickness"
                Value="0"/>
Nicolas Jager's avatar
Nicolas Jager committed
191
    </Style>
192
193
194
195
196
197
198
199
200
201
202
203
    <Style x:Key="HamburgerButtonStyle"
           TargetType="Button">
        <Setter Property="Width"
                Value="50"/>
        <Setter Property="Height"
                Value="30"/>
        <Setter Property="FontFamily"
                Value="Segoe MDL2 Assets"/>
        <Setter Property="Foreground"
                Value="White"/>
        <Setter Property="Background"
                Value="Transparent"/>
atraczyk's avatar
atraczyk committed
204
205
        <Setter Property="BorderThickness"
                Value="0"/>
206
    </Style>
Nicolas Jager's avatar
Nicolas Jager committed
207
    <Style x:Key="ButtonStyle2"
Nicolas Jager's avatar
Nicolas Jager committed
208
209
        TargetType="Button">
        <Setter Property="Width"
210
            Value="400"/>
Nicolas Jager's avatar
Nicolas Jager committed
211
212
213
214
215
216
217
        <Setter Property="Height"
            Value="30"/>
        <Setter Property="FontFamily"
            Value="Segoe MDL2 Assets"/>
        <Setter Property="Foreground"
            Value="White"/>
        <Setter Property="Background"
atraczyk's avatar
atraczyk committed
218
219
220
            Value="#3bc1d3"/>
        <Setter Property="BorderThickness"
                Value="0"/>
Nicolas Jager's avatar
Nicolas Jager committed
221
222
    </Style>
    <Style x:Key="ButtonStyle3"
Nicolas Jager's avatar
Nicolas Jager committed
223
           TargetType="Button">
Nicolas Jager's avatar
Nicolas Jager committed
224
225
226
227
228
229
230
231
232
233
234
235
        <Setter Property="Foreground"
                Value="Black"/>
        <Setter Property="Background"
                Value="Transparent"/>
        <Setter Property="FontFamily"
                Value="Segoe MDL2 Assets"/>
        <Setter Property="Width"
                Value="80"/>
        <Setter Property="Width"
                Value="120"/>
        <Setter Property="FontSize"
                Value="70"/>
atraczyk's avatar
atraczyk committed
236
237
        <Setter Property="BorderThickness"
                Value="0"/>
Nicolas Jager's avatar
Nicolas Jager committed
238
    </Style>
239
240
241
242
243
    <Style x:Key="ButtonStyle4"
           TargetType="Button">
        <Setter Property="Foreground"
                Value="White"/>
        <Setter Property="Background"
atraczyk's avatar
atraczyk committed
244
245
246
                Value="#3bc1d3"/>
        <Setter Property="BorderThickness"
                Value="0"/>
247
    </Style>
atraczyk's avatar
atraczyk committed
248
249
250
251
252
253
254
255
256
257
258
    <Style x:Key="ButtonStyle5"
        TargetType="Button">
        <Setter Property="Width"
            Value="160"/>
        <Setter Property="Height"
            Value="30"/>
        <Setter Property="FontFamily"
            Value="Segoe MDL2 Assets"/>
        <Setter Property="Foreground"
            Value="White"/>
        <Setter Property="Background"
atraczyk's avatar
atraczyk committed
259
260
261
            Value="#3bc1d3"/>
        <Setter Property="BorderThickness"
                Value="0"/>
atraczyk's avatar
atraczyk committed
262
    </Style>
263
264
265
266
267
268
269
270
271
272
273
274
    <Style x:Key="ButtonStyle6"
        TargetType="Button">
        <Setter Property="Width"
            Value="320"/>
        <Setter Property="Height"
            Value="30"/>
        <Setter Property="FontFamily"
            Value="Segoe MDL2 Assets"/>
        <Setter Property="Foreground"
            Value="White"/>
        <Setter Property="Background"
            Value="Transparent"/>
atraczyk's avatar
atraczyk committed
275
276
        <Setter Property="BorderThickness"
                Value="0"/>
277
    </Style>
278
279
280
281
282
283
284
285
286
287
288
289
    <Style x:Key="ButtonStyle7"
        TargetType="Button">
        <Setter Property="Width"
            Value="20"/>
        <Setter Property="Height"
            Value="20"/>
        <Setter Property="FontFamily"
            Value="Segoe MDL2 Assets"/>
        <Setter Property="Foreground"
            Value="White"/>
        <Setter Property="Background"
            Value="Transparent"/>
atraczyk's avatar
atraczyk committed
290
291
        <Setter Property="BorderThickness"
                Value="0"/>
292
    </Style>
Nicolas Jager's avatar
Nicolas Jager committed
293
294
295
296
297
298
299
300
301
302
303
    <Style x:Key="ButtonStyle8"
           TargetType="Button">
        <Setter Property="Foreground"
                Value="White"/>
        <Setter Property="Background"
                Value="#3bc1d3"/>
        <Setter Property="BorderThickness"
                Value="0"/>
        <Setter Property="FontSize"
                Value="30"/>
    </Style>
Nicolas Jager's avatar
Nicolas Jager committed
304
305
    <Style x:Key="ToggleButtonStyle1"
           TargetType="ToggleButton">
Nicolas Jager's avatar
Nicolas Jager committed
306
        <Setter Property="Width"
atraczyk's avatar
atraczyk committed
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
                Value="46"/>
        <Setter Property="Height"
                Value="30"/>
        <Setter Property="FontFamily"
                Value="Segoe MDL2 Assets"/>
        <Setter Property="Foreground"
                Value="White"/>
        <Setter Property="Background"
                Value="Transparent"/>
        <Setter Property="BorderThickness"
                Value="0"/>
    </Style>
    <Style x:Key="smartGridButtonStyle"
           TargetType="Button">
        <Setter Property="Width"
                Value="46"/>
Nicolas Jager's avatar
Nicolas Jager committed
323
324
325
326
327
328
329
330
        <Setter Property="Height"
                Value="30"/>
        <Setter Property="FontFamily"
                Value="Segoe MDL2 Assets"/>
        <Setter Property="Foreground"
                Value="White"/>
        <Setter Property="Background"
                Value="Transparent"/>
atraczyk's avatar
atraczyk committed
331
332
        <Setter Property="BorderThickness"
                Value="0"/>
Nicolas Jager's avatar
Nicolas Jager committed
333
    </Style>
Nicolas Jager's avatar
Nicolas Jager committed
334
335
336
337
338
339
340
341
342
343
344
345
346
    <Style x:Key="TextBoxStyle2"
           TargetType="TextBox">
        <Setter Property="IsReadOnly" Value="True"/>
        <Setter Property="FontWeight" Value="Bold"/>
        <Setter Property="Foreground" Value="Black"/>
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="BorderBrush" Value="Transparent"/>
        <Setter Property="BorderThickness" Value="0"/>
        <Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}"/>
        <Setter Property="FontSize" Value="12"/>
    </Style>

    <!-- console -->
Nicolas Jager's avatar
Nicolas Jager committed
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
    <Style x:Key="ConsoleScrollViewerStyle"
           TargetType="ScrollViewer">
        <Setter Property="Background"
                Value="Black"/>
    </Style>
    <Style x:Key="ConsoleTextStyle1"
           TargetType="RichTextBlock">
        <Setter Property="FontSize"
                Value="12"/>
        <Setter Property="Foreground"
                Value="GreenYellow"/>
    </Style>
    <Style x:Key="ButtonSendCmdStyle"
           TargetType="Button">
        <Setter Property="FontFamily"
                Value="Segoe MDL2 Assets"/>
        <Setter Property="Width"
                Value="50"/>
        <Setter Property="Height"
                Value="30"/>
        <Setter Property="Foreground"
                Value="Black"/>
        <Setter Property="FontSize"
                Value="17"/>
        <Setter Property="Content"
                Value="&#xE751;"/>
        <Setter Property="Background"
                Value="Transparent"/>
    </Style>
    <Style x:Key="ConsoleTextBoxStyle"
           TargetType="TextBox">
        <Setter Property="Height"
                Value="30"/>
    </Style>

Nicolas Jager's avatar
Nicolas Jager committed
382
    <!-- smartlist -->
383
384
385
386
    <!--<Style x:Key="smartListStyle" TargetType="ListBox">
        <Setter Property="Background" Value="#FFE4F1F9"/>
        <Setter Property="" Value="#FFE4F1F9"/>
    </Style>-->
Nicolas Jager's avatar
Nicolas Jager committed
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
    <Style x:Key="contactsListBoxStyle" TargetType="ListBoxItem">
        <Setter Property="MinWidth" Value="{StaticResource SplitViewCompactPaneThemeLength}"/>
        <Setter Property="Height" Value="auto"/>
        <Setter Property="Padding" Value="0"/>
    </Style>

    <Style x:Key ="greenRoundedButtonStyle1" TargetType ="Button">
        <Setter Property="Height" Value="50"/>
        <Setter Property="FontSize" Value="30"/>

        <Setter Property ="Template">
            <Setter.Value>
                <ControlTemplate TargetType ="Button">
                    <Grid>
                        <Ellipse Name ="OuterRing" Width ="50" Height ="50" Fill ="LightGreen"/>
                        <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="White"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key ="redRoundedButtonStyle1" TargetType ="Button">
        <Setter Property ="Foreground" Value ="Black"/>
        <Setter Property ="FontWeight" Value ="Bold"/>
        <Setter Property ="Template">
            <Setter.Value>
                <ControlTemplate TargetType ="Button">
                    <Grid>
                        <Ellipse Name ="OuterRing" Width ="50" Height ="50" Fill ="LightCoral"/>
                        <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="White"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="BorderStyle1"
           TargetType="Border">
atraczyk's avatar
atraczyk committed
425
        <Setter Property="Background" Value="#3bc1d3"/>
Nicolas Jager's avatar
Nicolas Jager committed
426
427
428
429
430
431
432
433
434
435
436
437
438
        <Setter Property="CornerRadius" Value="6"/>
        <Setter Property="Width" Value="25"/>
        <Setter Property="Height" Value="23"/>
        <Setter Property="Padding" Value="4"/>
    </Style>
    <Style x:Key="BorderStyle2"
           TargetType="Border">
        <Setter Property="Background" Value="Red"/>
        <Setter Property="CornerRadius" Value="6"/>
        <Setter Property="Width" Value="25"/>
        <Setter Property="Height" Value="23"/>
        <Setter Property="Padding" Value="4"/>
    </Style>
439
440
    <Style x:Key="BorderStyle3"
           TargetType="Border">
atraczyk's avatar
atraczyk committed
441
        <Setter Property="Background" Value="#3bc1d3"/>
442
443
444
445
446
447
448
        <Setter Property="CornerRadius" Value="6"/>
        <Setter Property="Width" Value="28"/>
        <Setter Property="Height" Value="50"/>
        <Setter Property="BorderThickness" Value="2"/>
        <Setter Property="BorderBrush" Value="white"/>
        <Setter Property="Padding" Value="4"/>
    </Style>
449
450
451
452
    <Style x:Key="messageBubleStyle"
       TargetType="ListBoxItem">
        <Setter Property="HorizontalAlignment" Value="Stretch" />
        <Setter Property="HorizontalContentAlignment" Value="Stretch" />
atraczyk's avatar
atraczyk committed
453
        <Setter Property="Margin" Value="0,0,2,0"/>
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="ListBoxItem">
                    <Border Background="Transparent">
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="SelectionStates">
                                <VisualState x:Name="Selected" />
                                <VisualState x:Name="Unselected">
                                </VisualState>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <ContentPresenter />
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
Nicolas Jager's avatar
Nicolas Jager committed
471
472
473
474
475
476
477
478
    <!-- rounded button for call -->
    <Style x:Key ="roundButtonTemplate" TargetType ="Button">
        <Setter Property ="Foreground" Value ="Black"/>
        <Setter Property ="FontWeight" Value ="Bold"/>
        <Setter Property ="Template">
            <Setter.Value>
                <ControlTemplate TargetType ="Button">
                    <Grid>
479
                        <Ellipse Name ="OuterRing" Width ="30" Height ="30" Fill ="#004c60"/>
Nicolas Jager's avatar
Nicolas Jager committed
480
481
482
483
484
485
                        <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="White"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
Nicolas Jager's avatar
Nicolas Jager committed
486
487
488
489
490
491
492
493
494
    <Style x:Key="ButtonStyleForCallBar"
           TargetType="Button">
        <Setter Property="Foreground"
                Value="White"/>
        <Setter Property="Background"
                Value="#004c60"/>
        <Setter Property="BorderThickness"
                Value="0"/>
    </Style>
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
    <Style x:Key="ToggleButtonStyle2" TargetType="ToggleButton">
        <Setter Property="Width"
                Value="40"/>
        <Setter Property="Height"
                Value="30"/>
        <Setter Property="FontFamily"
                Value="Segoe MDL2 Assets"/>
        <Setter Property="FontSize"
                Value="15"/>
        <Setter Property="Foreground"
                Value="White"/>
        <Setter Property="Background"
                Value="Transparent"/>
        <Setter Property="BorderThickness"
                Value="0"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="ToggleButton">
                    <Grid x:Name="RootGrid" Background="{TemplateBinding Background}">
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualState x:Name="Normal">
                                    <Storyboard>
                                        <PointerUpThemeAnimation Storyboard.TargetName="RootGrid"/>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="PointerOver">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="RootGrid">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="#abdaf9"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentPresenter">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="White"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="ContentPresenter">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="Transparent"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <PointerUpThemeAnimation Storyboard.TargetName="RootGrid"/>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Pressed">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="RootGrid">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="#abdaf9"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentPresenter">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="White"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="ContentPresenter">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="Transparent"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <PointerDownThemeAnimation Storyboard.TargetName="RootGrid"/>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="RootGrid">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="#abdaf9"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentPresenter">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="White"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="ContentPresenter">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="Transparent"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Checked">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="RootGrid">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="#e4f1f9"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentPresenter">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="Black"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="ContentPresenter">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="Transparent"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <PointerUpThemeAnimation Storyboard.TargetName="RootGrid"/>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="CheckedPointerOver">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="RootGrid">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="#e4f1f9"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentPresenter">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="Black"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="ContentPresenter">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="Transparent"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <PointerUpThemeAnimation Storyboard.TargetName="RootGrid"/>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="CheckedPressed">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="RootGrid">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="#e4f1f9"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentPresenter">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="Black"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="ContentPresenter">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="Transparent"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <PointerDownThemeAnimation Storyboard.TargetName="RootGrid"/>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="CheckedDisabled">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="RootGrid">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="#e4f1f9"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentPresenter">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="Black"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="ContentPresenter">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="Transparent"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Indeterminate">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="RootGrid">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="#abdaf9"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentPresenter">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="White"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="ContentPresenter">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="Transparent"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <PointerUpThemeAnimation Storyboard.TargetName="RootGrid"/>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="IndeterminatePointerOver">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="RootGrid">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="#abdaf9"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentPresenter">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="White"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="ContentPresenter">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="Transparent"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <PointerUpThemeAnimation Storyboard.TargetName="RootGrid"/>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="IndeterminatePressed">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="RootGrid">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="#abdaf9"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentPresenter">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="White"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="ContentPresenter">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="Transparent"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <PointerDownThemeAnimation Storyboard.TargetName="RootGrid"/>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="IndeterminateDisabled">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="RootGrid">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="#abdaf9"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentPresenter">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="White"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="ContentPresenter">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="Transparent"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <ContentPresenter x:Name="ContentPresenter" AutomationProperties.AccessibilityView="Raw" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" ContentTemplate="{TemplateBinding ContentTemplate}" ContentTransitions="{TemplateBinding ContentTransitions}" Content="{TemplateBinding Content}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" Padding="{TemplateBinding Padding}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
Nicolas Jager's avatar
Nicolas Jager committed
680

Nicolas Jager's avatar
Nicolas Jager committed
681
</ResourceDictionary>