<commit_before>﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:Fluent="clr-namespace:Fluent" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d">
    <Style x:Key="RibbonStyle" TargetType="{x:Type Fluent:Ribbon}">
    	<Setter Property="Foreground" Value="{DynamicResource DefaultFontBrush}"/>
    	<Setter Property="FontFamily" Value="{DynamicResource DefaultFontFamily}"/>
    	<Setter Property="FontSize" Value="{DynamicResource DefaultFontSize}"/>
    	<Setter Property="Template" Value="{DynamicResource RibbonControlTemplate}"/>
    	<Setter Property="FocusVisualStyle" Value="{DynamicResource ControlStyleEmptyFocus}"/>
		<Setter Property="FocusManager.IsFocusScope" Value="True"/>
    </Style>
    <ControlTemplate x:Key="RibbonControlTemplate" TargetType="{x:Type Fluent:Ribbon}">
    	<Grid x:Name="PART_LayoutRoot" Width="Auto" Height="Auto">
    		<Grid.RowDefinitions>
    			<RowDefinition Height="0.748*"/>
    			<RowDefinition Height="0.252*"/>
    		</Grid.RowDefinitions>
    		<Fluent:RibbonTitleBar x:Name="PART_RibbonTitleBar" Height="25" Style="{DynamicResource RibbonTitleBarStyle}" Margin="28,0,111,0" VerticalAlignment="Top">
				<Fluent:RibbonTitleBar.Header>
					<Grid>
    			<Rectangle x:Name="rectangle" Fill="#7FFFFFFF" Stroke="{x:Null}" StrokeThickness="0" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="-4,5,-4,3" Width="{Binding ActualWidth, ElementName=textBlock, Mode=Default}" Height="{Binding ActualHeight, ElementName=textBlock, Mode=Default}" RadiusX="2" RadiusY="2">
    				<Rectangle.Effect>
    					<BlurEffect Radius="10"/>
    				</Rectangle.Effect>
    			</Rectangle>
    			<TextBlock x:Name="textBlock" Margin="0,3,0,0" VerticalAlignment="Center" TextWrapping="Wrap" d:LayoutOverrides="Width" HorizontalAlignment="Center" Text="{Binding Path=Title,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Window}}}" Foreground="Black"/>
    		</Grid>
				</Fluent:RibbonTitleBar.Header>
    			
    		</Fluent:RibbonTitleBar>
    		<Fluent:RibbonTabControl Style="{DynamicResource RibbonTabControlStyle}" x:Name="PART_RibbonTabControl" Margin="0,25,0,0" Focusable="False"/>
    		<Fluent:BackstageButton x:Name="PART_BackstageButton" Margin="2,26,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Width="56" Height="22" Style="{DynamicResource BackstageToggleButtonStyle}" Text="File" Size="Small" Background="{TemplateBinding BackstageBrush}" Fluent:KeyTip.Keys="{TemplateBinding BackstageKeyTipKeys}"/>
    		<Border x:Name="border" Margin="0" BorderBrush="#FF98A1AB" BorderThickness="0,1" Grid.Row="1" Height="26">
    			<Border BorderBrush="#FFDFE3EA" BorderThickness="0,1" Background="#FFD5D9DE">
    				<ContentControl x:Name="contentControl" HorizontalAlignment="Left">
    					<Fluent:QuickAccessToolBar x:Name="PART_QuickAccessToolBar" Style="{DynamicResource QuickAccessToolbarStyle}" ShowAboveRibbon="{Binding ShowQuickAccessToolBarAboveRibbon, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" HorizontalAlignment="Left"/>
    				</ContentControl>
    			</Border>
    		</Border>
    		
    	</Grid>
    	<ControlTemplate.Triggers>
    		<Trigger Property="ShowQuickAccessToolBarAboveRibbon" Value="True">
    			<Setter Property="QuickAccessToolBar" TargetName="PART_RibbonTitleBar" Value="{Binding ElementName=PART_QuickAccessToolBar, Mode=OneWay}"/>
				<Setter Property="Content" TargetName="contentControl" Value="{x:Null}"/>
				<Setter Property="Visibility" TargetName="border" Value="Collapsed"/>
				<Setter Property="Margin" TargetName="PART_QuickAccessToolBar" Value="0,2,0,0"/>
    		</Trigger>
    	</ControlTemplate.Triggers>
    </ControlTemplate>
    <Style x:Key="BackstageToggleButtonStyle" TargetType="{x:Type Fluent:BackstageButton}">
    	<Setter Property="Template" Value="{DynamicResource BackstageToggleButtonControlTemplate}"/>
    	<Setter Property="Width" Value="56"/>
    	<Setter Property="Height" Value="22"/>
    	<Setter Property="Background" Value="Blue"/>
    	<Setter Property="FontFamily" Value="{DynamicResource DefaultFontFamily}"/>
    	<Setter Property="FontSize" Value="{DynamicResource DefaultFontSize}"/>
    	<Setter Property="Foreground" Value="White"/>
    </Style>
    <ControlTemplate x:Key="BackstageToggleButtonControlTemplate" TargetType="{x:Type Fluent:BackstageButton}">
    	<Border Width="56" Height="22" CornerRadius="1,1,0,0" Background="{TemplateBinding Background}">
    		<Border x:Name="border1" BorderBrush="#666C6C6C" BorderThickness="1,1,1,0" CornerRadius="1,1,0,0">
    			<Border x:Name="border" BorderBrush="#66FFFFFF" BorderThickness="1,1,1,0" CornerRadius="1,1,0,0">
    				<Border.Background>
    					<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
    						<GradientStop Color="#66FFFFFF" Offset="0"/>
    						<GradientStop Offset="1"/>
    						<GradientStop Offset="0.5"/>
    					</LinearGradientBrush>
    				</Border.Background>
    				<Grid>
    					<Rectangle x:Name="rectangle" StrokeThickness="0">
    						<Rectangle.Fill>
    							<RadialGradientBrush Center="0.5,1.001" GradientOrigin="0.5,1.001" RadiusX="0.993" RadiusY="1">
    								<GradientStop Color="#66FFFFFF" Offset="0.015"/>
    								<GradientStop Offset="1"/>
    							</RadialGradientBrush>
    						</Rectangle.Fill>
    					</Rectangle>
    					<TextBlock Margin="2,0,2,2" Text="{TemplateBinding Text}" TextWrapping="Wrap" d:LayoutOverrides="Width, Height" HorizontalAlignment="Center" VerticalAlignment="Center"/>
    				</Grid>
    			</Border>
    		</Border>
    	</Border>
    	<ControlTemplate.Triggers>
    		<MultiTrigger>
    			<MultiTrigger.Conditions>
    				<Condition Property="IsMouseOver" Value="True"/>
    			</MultiTrigger.Conditions>
    			<Setter Property="Fill" TargetName="rectangle">
    				<Setter.Value>
    					<RadialGradientBrush Center="0.5,1.001" GradientOrigin="0.5,1.001" RadiusX="0.993" RadiusY="1">
    						<GradientStop Color="#B2FFFFFF" Offset="0.015"/>
    						<GradientStop Offset="1"/>
    					</RadialGradientBrush>
    				</Setter.Value>
    			</Setter>
    			<Setter Property="Background" TargetName="border">
    				<Setter.Value>
    					<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
    						<GradientStop Color="#B2FFFFFF" Offset="0.011"/>
    						<GradientStop Offset="1"/>
    						<GradientStop Offset="0.5"/>
    					</LinearGradientBrush>
    				</Setter.Value>
    			</Setter>
    			<Setter Property="BorderBrush" TargetName="border" Value="#B2FFFFFF"/>
    		</MultiTrigger>
    		<Trigger Property="IsOpen" Value="True">
    			<Setter Property="BorderBrush" TargetName="border1" Value="#66000000"/>
    			<Setter Property="Visibility" TargetName="rectangle" Value="Collapsed"/>
    			<Setter Property="BorderBrush" TargetName="border" Value="#59FFFFFF"/>
    			<Setter Property="Background" TargetName="border">
    				<Setter.Value>
    					<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
    						<GradientStop Color="Transparent" Offset="0"/>
    						<GradientStop Offset="1" Color="#59FFFFFF"/>
    						<GradientStop Offset="0"/>
    					</LinearGradientBrush>
    				</Setter.Value>
    			</Setter>
    		</Trigger>
			<MultiTrigger>
    			<MultiTrigger.Conditions>
    				<Condition Property="IsMouseOver" Value="True"/>
					<Condition Property="IsOpen" Value="True"/>
    			</MultiTrigger.Conditions>
    			<Setter Property="BorderBrush" TargetName="border1" Value="#66000000"/>
    			<Setter Property="Visibility" TargetName="rectangle" Value="Collapsed"/>
    			<Setter Property="BorderBrush" TargetName="border" Value="#99FFFFFF"/>
    			<Setter Property="Background" TargetName="border">
    				<Setter.Value>
    					<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
    						<GradientStop Color="Transparent" Offset="0"/>
    						<GradientStop Offset="1" Color="#99FFFFFF"/>
    						<GradientStop Offset="0"/>
    					</LinearGradientBrush>
    				</Setter.Value>
    			</Setter>
    		</MultiTrigger>
    	</ControlTemplate.Triggers>
    </ControlTemplate>
</ResourceDictionary><commit_msg>Fixed styles.<commit_after>﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:Fluent="clr-namespace:Fluent" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d">
    <Style x:Key="RibbonStyle" TargetType="{x:Type Fluent:Ribbon}">
    	<Setter Property="Foreground" Value="{DynamicResource DefaultFontBrush}"/>
    	<Setter Property="FontFamily" Value="{DynamicResource DefaultFontFamily}"/>
    	<Setter Property="FontSize" Value="{DynamicResource DefaultFontSize}"/>
    	<Setter Property="Template" Value="{DynamicResource RibbonControlTemplate}"/>
    	<Setter Property="FocusVisualStyle" Value="{DynamicResource ControlStyleEmptyFocus}"/>
		<Setter Property="FocusManager.IsFocusScope" Value="True"/>
    </Style>
    <ControlTemplate x:Key="RibbonControlTemplate" TargetType="{x:Type Fluent:Ribbon}">
    	<Grid x:Name="PART_LayoutRoot" Width="Auto" Height="Auto">
    		<Grid.RowDefinitions>
    			<RowDefinition Height="0.748*"/>
    			<RowDefinition Height="0.252*"/>
    		</Grid.RowDefinitions>
    		<Fluent:RibbonTitleBar x:Name="PART_RibbonTitleBar" Height="25" Style="{DynamicResource RibbonTitleBarStyle}" Margin="28,0,111,0" VerticalAlignment="Top">
				<Fluent:RibbonTitleBar.Header>
					<Grid>
    			<Rectangle x:Name="rectangle" Fill="#7FFFFFFF" Stroke="{x:Null}" StrokeThickness="0" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="-4,5,-4,3" Width="{Binding ActualWidth, ElementName=textBlock, Mode=Default}" Height="{Binding ActualHeight, ElementName=textBlock, Mode=Default}" RadiusX="2" RadiusY="2">
    				<Rectangle.Effect>
    					<BlurEffect Radius="10"/>
    				</Rectangle.Effect>
    			</Rectangle>
    			<TextBlock x:Name="textBlock" Margin="0,3,0,0" VerticalAlignment="Center" d:LayoutOverrides="Width" HorizontalAlignment="Center" Text="{Binding Path=Title,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Window}}}" Foreground="Black" TextWrapping="NoWrap" TextTrimming="CharacterEllipsis"/>
    		</Grid>
				</Fluent:RibbonTitleBar.Header>
    			
    		</Fluent:RibbonTitleBar>
    		<Fluent:RibbonTabControl Style="{DynamicResource RibbonTabControlStyle}" x:Name="PART_RibbonTabControl" Margin="0,25,0,0" Focusable="False"/>
    		<Fluent:BackstageButton x:Name="PART_BackstageButton" Margin="2,26,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Width="56" Height="22" Style="{DynamicResource BackstageToggleButtonStyle}" Text="File" Size="Small" Background="{TemplateBinding BackstageBrush}" Fluent:KeyTip.Keys="{TemplateBinding BackstageKeyTipKeys}"/>
    		<Border x:Name="border" Margin="0" BorderBrush="#FF98A1AB" BorderThickness="0,1" Grid.Row="1" Height="26">
    			<Border BorderBrush="#FFDFE3EA" BorderThickness="0,1" Background="#FFD5D9DE">
    				<ContentControl x:Name="contentControl" HorizontalAlignment="Left">
    					<Fluent:QuickAccessToolBar x:Name="PART_QuickAccessToolBar" Style="{DynamicResource QuickAccessToolbarStyle}" ShowAboveRibbon="{Binding ShowQuickAccessToolBarAboveRibbon, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" HorizontalAlignment="Left"/>
    				</ContentControl>
    			</Border>
    		</Border>
    		
    	</Grid>
    	<ControlTemplate.Triggers>
    		<Trigger Property="ShowQuickAccessToolBarAboveRibbon" Value="True">
    			<Setter Property="QuickAccessToolBar" TargetName="PART_RibbonTitleBar" Value="{Binding ElementName=PART_QuickAccessToolBar, Mode=OneWay}"/>
				<Setter Property="Content" TargetName="contentControl" Value="{x:Null}"/>
				<Setter Property="Visibility" TargetName="border" Value="Collapsed"/>
				<Setter Property="Margin" TargetName="PART_QuickAccessToolBar" Value="0,2,0,0"/>
    		</Trigger>
    	</ControlTemplate.Triggers>
    </ControlTemplate>
    <Style x:Key="BackstageToggleButtonStyle" TargetType="{x:Type Fluent:BackstageButton}">
    	<Setter Property="Template" Value="{DynamicResource BackstageToggleButtonControlTemplate}"/>
    	<Setter Property="Width" Value="56"/>
    	<Setter Property="Height" Value="22"/>
    	<Setter Property="Background" Value="Blue"/>
    	<Setter Property="FontFamily" Value="{DynamicResource DefaultFontFamily}"/>
    	<Setter Property="FontSize" Value="{DynamicResource DefaultFontSize}"/>
    	<Setter Property="Foreground" Value="White"/>
    </Style>
    <ControlTemplate x:Key="BackstageToggleButtonControlTemplate" TargetType="{x:Type Fluent:BackstageButton}">
    	<Border Width="56" Height="22" CornerRadius="1,1,0,0" Background="{TemplateBinding Background}">
    		<Border x:Name="border1" BorderBrush="#666C6C6C" BorderThickness="1,1,1,0" CornerRadius="1,1,0,0">
    			<Border x:Name="border" BorderBrush="#66FFFFFF" BorderThickness="1,1,1,0" CornerRadius="1,1,0,0">
    				<Border.Background>
    					<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
    						<GradientStop Color="#66FFFFFF" Offset="0"/>
    						<GradientStop Offset="1"/>
    						<GradientStop Offset="0.5"/>
    					</LinearGradientBrush>
    				</Border.Background>
    				<Grid>
    					<Rectangle x:Name="rectangle" StrokeThickness="0">
    						<Rectangle.Fill>
    							<RadialGradientBrush Center="0.5,1.001" GradientOrigin="0.5,1.001" RadiusX="0.993" RadiusY="1">
    								<GradientStop Color="#66FFFFFF" Offset="0.015"/>
    								<GradientStop Offset="1"/>
    							</RadialGradientBrush>
    						</Rectangle.Fill>
    					</Rectangle>
    					<TextBlock Margin="2,0,2,2" Text="{TemplateBinding Text}" TextWrapping="Wrap" d:LayoutOverrides="Width, Height" HorizontalAlignment="Center" VerticalAlignment="Center"/>
    				</Grid>
    			</Border>
    		</Border>
    	</Border>
    	<ControlTemplate.Triggers>
    		<MultiTrigger>
    			<MultiTrigger.Conditions>
    				<Condition Property="IsMouseOver" Value="True"/>
    			</MultiTrigger.Conditions>
    			<Setter Property="Fill" TargetName="rectangle">
    				<Setter.Value>
    					<RadialGradientBrush Center="0.5,1.001" GradientOrigin="0.5,1.001" RadiusX="0.993" RadiusY="1">
    						<GradientStop Color="#B2FFFFFF" Offset="0.015"/>
    						<GradientStop Offset="1"/>
    					</RadialGradientBrush>
    				</Setter.Value>
    			</Setter>
    			<Setter Property="Background" TargetName="border">
    				<Setter.Value>
    					<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
    						<GradientStop Color="#B2FFFFFF" Offset="0.011"/>
    						<GradientStop Offset="1"/>
    						<GradientStop Offset="0.5"/>
    					</LinearGradientBrush>
    				</Setter.Value>
    			</Setter>
    			<Setter Property="BorderBrush" TargetName="border" Value="#B2FFFFFF"/>
    		</MultiTrigger>
    		<Trigger Property="IsOpen" Value="True">
    			<Setter Property="BorderBrush" TargetName="border1" Value="#66000000"/>
    			<Setter Property="Visibility" TargetName="rectangle" Value="Collapsed"/>
    			<Setter Property="BorderBrush" TargetName="border" Value="#59FFFFFF"/>
    			<Setter Property="Background" TargetName="border">
    				<Setter.Value>
    					<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
    						<GradientStop Color="Transparent" Offset="0"/>
    						<GradientStop Offset="1" Color="#59FFFFFF"/>
    						<GradientStop Offset="0"/>
    					</LinearGradientBrush>
    				</Setter.Value>
    			</Setter>
    		</Trigger>
			<MultiTrigger>
    			<MultiTrigger.Conditions>
    				<Condition Property="IsMouseOver" Value="True"/>
					<Condition Property="IsOpen" Value="True"/>
    			</MultiTrigger.Conditions>
    			<Setter Property="BorderBrush" TargetName="border1" Value="#66000000"/>
    			<Setter Property="Visibility" TargetName="rectangle" Value="Collapsed"/>
    			<Setter Property="BorderBrush" TargetName="border" Value="#99FFFFFF"/>
    			<Setter Property="Background" TargetName="border">
    				<Setter.Value>
    					<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
    						<GradientStop Color="Transparent" Offset="0"/>
    						<GradientStop Offset="1" Color="#99FFFFFF"/>
    						<GradientStop Offset="0"/>
    					</LinearGradientBrush>
    				</Setter.Value>
    			</Setter>
    		</MultiTrigger>
    	</ControlTemplate.Triggers>
    </ControlTemplate>
</ResourceDictionary>
{'fraction_non_alphanumeric': 0.15227232641542712, 'fraction_numerical': 0.027985184314186607, 'mean_word_length': 4.011785503830288, 'pattern_counts': {'":': 0, '<': 281, '<?xml version=': 0, '>': 281, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 12}, 'pii_count': 0, 'substrings_counts': 2, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6641715', 'n_tokens_mistral': 6351, 'n_tokens_neox': 5288, 'n_words': 775}