|
510 | 510 | <Setter Property="Background" Value="Transparent"/> |
511 | 511 | </Style> |
512 | 512 | <Style Selector="Button.flat.primary"> |
| 513 | + <Setter Property="Foreground" Value="{DynamicResource AccentButtonForeground}"/> |
513 | 514 | <Setter Property="BorderBrush" Value="{DynamicResource AccentButtonBorderBrush}"/> |
514 | 515 | <Setter Property="Background" Value="{DynamicResource AccentButtonBackground}"/> |
515 | 516 | </Style> |
516 | 517 | <Style Selector="Button.flat.primary:pointerover /template/ Border#PART_Border"> |
517 | 518 | <Setter Property="Background" Value="{DynamicResource AccentButtonBackgroundPointerOver}"/> |
518 | 519 | </Style> |
519 | 520 | <Style Selector="Button.flat.primary:pointerover /template/ ContentPresenter#PART_ContentPresenter"> |
| 521 | + <Setter Property="Foreground" Value="{DynamicResource AccentButtonForeground}"/> |
520 | 522 | <Setter Property="Background" Value="Transparent"/> |
521 | 523 | </Style> |
522 | 524 | <Style Selector="Button.flat.primary:disabled"> |
523 | 525 | <Setter Property="Opacity" Value=".65"/> |
524 | 526 | </Style> |
525 | | - <Style Selector="Button.flat.primary TextBlock"> |
| 527 | + <Style Selector="Button.flat.primary:disabled /template/ ContentPresenter#PART_ContentPresenter"> |
526 | 528 | <Setter Property="Foreground" Value="{DynamicResource AccentButtonForeground}"/> |
527 | 529 | </Style> |
528 | 530 | <Style Selector="Button.flat.primary ToolTip TextBlock"> |
529 | 531 | <Setter Property="Foreground" Value="{DynamicResource Brush.FG1}"/> |
530 | 532 | </Style> |
531 | 533 |
|
532 | | - <Style Selector="SplitButton"> |
533 | | - <Setter Property="MinHeight" Value="24"/> |
534 | | - <Setter Property="Template"> |
535 | | - <ControlTemplate> |
536 | | - <Grid ColumnDefinitions="*,1,Auto"> |
537 | | - <Button x:Name="PART_PrimaryButton" |
538 | | - Grid.Column="0" |
539 | | - Classes="flat primary" |
540 | | - MinWidth="32" |
541 | | - HorizontalAlignment="Stretch" |
542 | | - VerticalAlignment="Stretch" |
543 | | - Content="{TemplateBinding Content}" |
544 | | - ContentTemplate="{TemplateBinding ContentTemplate}" |
545 | | - Command="{TemplateBinding Command}" |
546 | | - CommandParameter="{TemplateBinding CommandParameter}" |
547 | | - CornerRadius="3,0,0,3" |
548 | | - Padding="{TemplateBinding Padding}" |
549 | | - Focusable="False" |
550 | | - KeyboardNavigation.IsTabStop="False" /> |
551 | | - |
552 | | - <Button x:Name="PART_SecondaryButton" |
553 | | - Grid.Column="2" |
554 | | - Classes="flat primary" |
555 | | - Width="32" |
556 | | - CornerRadius="0,3,3,0" |
557 | | - Padding="0" |
558 | | - Focusable="False" |
559 | | - HorizontalAlignment="Stretch" |
560 | | - VerticalAlignment="Stretch" |
561 | | - KeyboardNavigation.IsTabStop="False"> |
562 | | - <Path Height="12" Width="12" |
563 | | - Margin="0,4,0,0" |
564 | | - Fill="{DynamicResource AccentButtonForeground}" |
565 | | - Data="{DynamicResource Icons.Down}"/> |
566 | | - </Button> |
567 | | - </Grid> |
568 | | - </ControlTemplate> |
569 | | - </Setter> |
570 | | - |
571 | | - <Style Selector="^:disabled /template/ Button"> |
572 | | - <Setter Property="BorderThickness" Value="1"/> |
573 | | - <Setter Property="BorderBrush" Value="{DynamicResource Brush.Border2}"/> |
574 | | - <Setter Property="Background" Value="Transparent"/> |
575 | | - </Style> |
576 | | - |
577 | | - <Style Selector="^:disabled TextBlock"> |
578 | | - <Setter Property="Foreground" Value="{DynamicResource Brush.FG2}"/> |
579 | | - </Style> |
580 | | - |
581 | | - <Style Selector="^:disabled Path"> |
582 | | - <Setter Property="Fill" Value="{DynamicResource Brush.FG2}"/> |
583 | | - </Style> |
584 | | - </Style> |
585 | | - |
586 | 534 | <Style Selector="aee|TextArea"> |
587 | 535 | <Setter Property="SelectionBorder"> |
588 | 536 | <Setter.Value> |
|
0 commit comments