Nicolas Jager | 998fbd7 | 2016-08-08 11:41:28 -0400 | [diff] [blame] | 1 | <!-- **********************************************************************
|
| 2 | * Copyright (C) 2016 by Savoir-faire Linux *
|
| 3 | * Author: Jäger Nicolas<nicolas.jager@savoirfairelinux.com> *
|
atraczyk | 61b2842 | 2016-08-24 09:25:59 -0400 | [diff] [blame] | 4 | * Author: Traczyk Andreas<andreas.traczyk@savoirfairelinux.com> *
|
Nicolas Jager | 998fbd7 | 2016-08-08 11:41:28 -0400 | [diff] [blame] | 5 | * *
|
| 6 | * This program is free software; you can redistribute it and/or modify *
|
| 7 | * it under the terms of the GNU General Public License as published by *
|
| 8 | * the Free Software Foundation; either version 3 of the License, or *
|
| 9 | * (at your option) any later version. *
|
| 10 | * *
|
| 11 | * This program is distributed in the hope that it will be useful, *
|
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
| 14 | * GNU General Public License for more details. *
|
| 15 | * *
|
| 16 | * You should have received a copy of the GNU General Public License *
|
| 17 | * along with this program. If not, see <http://www.gnu.org/licenses/> . *
|
| 18 | *********************************************************************** -->
|
| 19 | <ResourceDictionary
|
| 20 | xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
| 21 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
| 22 |
|
Nicolas Jager | bff5fbb | 2016-08-18 08:58:56 -0400 | [diff] [blame] | 23 | <!-- general -->
|
| 24 | <Style x:Key="GridLightBlue" TargetType="Grid">
|
| 25 | <Setter Property="Background"
|
| 26 | Value="#FFE4F1F9"/>
|
| 27 | </Style>
|
| 28 | <Style x:Key="StackLightBlue" TargetType="StackPanel">
|
| 29 | <Setter Property="Background"
|
| 30 | Value="#FFE4F1F9"/>
|
| 31 | </Style>
|
Nicolas Jager | 998fbd7 | 2016-08-08 11:41:28 -0400 | [diff] [blame] | 32 | <Style x:Key="TextStyle1"
|
| 33 | TargetType="TextBlock">
|
| 34 | <Setter Property="FontSize"
|
| 35 | Value="20"/>
|
| 36 | <Setter Property="Foreground"
|
| 37 | Value="Black"/>
|
| 38 | </Style>
|
Nicolas Jager | bff5fbb | 2016-08-18 08:58:56 -0400 | [diff] [blame] | 39 | <Style x:Key="TextStyle2"
|
| 40 | TargetType="TextBlock">
|
| 41 | <Setter Property="FontSize"
|
| 42 | Value="20"/>
|
| 43 | <Setter Property="VerticalAlignment"
|
| 44 | Value="Center"/>
|
| 45 | <Setter Property="Foreground"
|
| 46 | Value="White"/>
|
| 47 | </Style>
|
| 48 | <Style x:Key="TextStyle3"
|
| 49 | TargetType="TextBlock">
|
| 50 | <Setter Property="FontSize"
|
| 51 | Value="15"/>
|
| 52 | <Setter Property="HorizontalAlignment"
|
| 53 | Value="Center"/>
|
| 54 | <Setter Property="VerticalAlignment"
|
| 55 | Value="Center"/>
|
| 56 | <Setter Property="Foreground"
|
| 57 | Value="White"/>
|
| 58 | </Style>
|
| 59 | <Style x:Key="TextSegoeStyle1"
|
| 60 | TargetType="TextBlock">
|
| 61 | <Setter Property="FontFamily"
|
| 62 | Value="Segoe MDL2 Assets"/>
|
| 63 | <Setter Property="FontSize"
|
| 64 | Value="15"/>
|
| 65 | <Setter Property="HorizontalAlignment"
|
| 66 | Value="Center"/>
|
| 67 | <Setter Property="VerticalAlignment"
|
| 68 | Value="Center"/>
|
| 69 | <Setter Property="Foreground"
|
| 70 | Value="White"/>
|
| 71 | </Style>
|
Nicolas Jager | 1586120 | 2016-08-12 11:13:05 -0400 | [diff] [blame] | 72 | <Style x:Key="ButtonStyle1"
|
| 73 | TargetType="Button">
|
| 74 | <Setter Property="Width"
|
| 75 | Value="50"/>
|
| 76 | <Setter Property="Height"
|
| 77 | Value="50"/>
|
| 78 | <Setter Property="FontFamily"
|
| 79 | Value="Segoe MDL2 Assets"/>
|
| 80 | <Setter Property="Foreground"
|
| 81 | Value="White"/>
|
| 82 | </Style>
|
| 83 | <Style x:Key="ButtonStyle2"
|
Nicolas Jager | bff5fbb | 2016-08-18 08:58:56 -0400 | [diff] [blame] | 84 | TargetType="Button">
|
| 85 | <Setter Property="Width"
|
atraczyk | 61b2842 | 2016-08-24 09:25:59 -0400 | [diff] [blame] | 86 | Value="400"/>
|
Nicolas Jager | bff5fbb | 2016-08-18 08:58:56 -0400 | [diff] [blame] | 87 | <Setter Property="Height"
|
| 88 | Value="30"/>
|
| 89 | <Setter Property="FontFamily"
|
| 90 | Value="Segoe MDL2 Assets"/>
|
| 91 | <Setter Property="Foreground"
|
| 92 | Value="White"/>
|
| 93 | <Setter Property="Background"
|
| 94 | Value="Transparent"/>
|
| 95 | </Style>
|
| 96 | <Style x:Key="ButtonStyle3"
|
Nicolas Jager | 1586120 | 2016-08-12 11:13:05 -0400 | [diff] [blame] | 97 | TargetType="Button">
|
Nicolas Jager | bff5fbb | 2016-08-18 08:58:56 -0400 | [diff] [blame] | 98 | <Setter Property="Foreground"
|
| 99 | Value="Black"/>
|
| 100 | <Setter Property="Background"
|
| 101 | Value="Transparent"/>
|
| 102 | <Setter Property="FontFamily"
|
| 103 | Value="Segoe MDL2 Assets"/>
|
| 104 | <Setter Property="Width"
|
| 105 | Value="80"/>
|
| 106 | <Setter Property="Width"
|
| 107 | Value="120"/>
|
| 108 | <Setter Property="FontSize"
|
| 109 | Value="70"/>
|
| 110 | </Style>
|
atraczyk | 61b2842 | 2016-08-24 09:25:59 -0400 | [diff] [blame] | 111 | <Style x:Key="ButtonStyle4"
|
| 112 | TargetType="Button">
|
| 113 | <Setter Property="Foreground"
|
| 114 | Value="White"/>
|
| 115 | <Setter Property="Background"
|
| 116 | Value="LightBlue"/>
|
| 117 | </Style>
|
Nicolas Jager | bff5fbb | 2016-08-18 08:58:56 -0400 | [diff] [blame] | 118 | <Style x:Key="ToggleButtonStyle1"
|
| 119 | TargetType="ToggleButton">
|
Nicolas Jager | 1586120 | 2016-08-12 11:13:05 -0400 | [diff] [blame] | 120 | <Setter Property="Width"
|
| 121 | Value="50"/>
|
| 122 | <Setter Property="Height"
|
| 123 | Value="30"/>
|
| 124 | <Setter Property="FontFamily"
|
| 125 | Value="Segoe MDL2 Assets"/>
|
| 126 | <Setter Property="Foreground"
|
| 127 | Value="White"/>
|
| 128 | <Setter Property="Background"
|
| 129 | Value="Transparent"/>
|
| 130 | </Style>
|
Nicolas Jager | bff5fbb | 2016-08-18 08:58:56 -0400 | [diff] [blame] | 131 | <Style x:Key="TextBoxStyle1"
|
| 132 | TargetType="TextBox">
|
| 133 | <Setter Property="MinWidth" Value="{ThemeResource TextControlThemeMinWidth}"/>
|
| 134 | <Setter Property="MinHeight" Value="{ThemeResource TextControlThemeMinHeight}"/>
|
| 135 | <Setter Property="Foreground" Value="Black"/>
|
| 136 | <Setter Property="Background" Value="white"/>
|
| 137 | <Setter Property="BorderBrush" Value="Red"/>
|
| 138 | <Setter Property="BorderThickness" Value="0"/>
|
| 139 | <Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}"/>
|
| 140 | <Setter Property="FontSize" Value="{ThemeResource ControlContentThemeFontSize}"/>
|
| 141 | <Setter Property="ScrollViewer.HorizontalScrollMode" Value="Auto"/>
|
| 142 | <Setter Property="ScrollViewer.VerticalScrollMode" Value="Auto"/>
|
| 143 | <Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Hidden"/>
|
| 144 | <Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Hidden"/>
|
| 145 | <Setter Property="ScrollViewer.IsDeferredScrollingEnabled" Value="False"/>
|
| 146 | <Setter Property="Padding" Value="4,4"/>
|
| 147 | <Setter Property="Template">
|
| 148 | <Setter.Value>
|
| 149 | <ControlTemplate TargetType="TextBox">
|
| 150 | <Grid>
|
| 151 | <Grid.Resources>
|
| 152 | <Style x:Name="DeleteButtonStyle" TargetType="Button">
|
| 153 | <Setter Property="Template">
|
| 154 | <Setter.Value>
|
| 155 | <ControlTemplate TargetType="Button">
|
| 156 | <Grid x:Name="ButtonLayoutGrid"
|
| 157 | BorderThickness="5"
|
| 158 | Background="Yellow">
|
| 159 | </Grid>
|
| 160 | </ControlTemplate>
|
| 161 | </Setter.Value>
|
| 162 | </Setter>
|
| 163 | </Style>
|
| 164 | </Grid.Resources>
|
| 165 | <Grid.ColumnDefinitions>
|
| 166 | <ColumnDefinition Width="*"/>
|
| 167 | <ColumnDefinition Width="Auto"/>
|
| 168 | </Grid.ColumnDefinitions>
|
| 169 | <Grid.RowDefinitions>
|
| 170 | <RowDefinition Height="Auto"/>
|
| 171 | <RowDefinition Height="*"/>
|
| 172 | </Grid.RowDefinitions>
|
| 173 | <Border x:Name="BackgroundElement"
|
| 174 | Grid.Row="1"
|
| 175 | Background="{TemplateBinding Background}"
|
| 176 | Margin="5"
|
| 177 | Opacity="1"
|
| 178 | Grid.ColumnSpan="2"
|
| 179 | Grid.RowSpan="1"/>
|
| 180 | <ScrollViewer x:Name="ContentElement"
|
| 181 | Grid.Row="1"
|
| 182 | HorizontalScrollMode="{TemplateBinding ScrollViewer.HorizontalScrollMode}"
|
| 183 | HorizontalScrollBarVisibility="{TemplateBinding ScrollViewer.HorizontalScrollBarVisibility}"
|
| 184 | VerticalScrollMode="{TemplateBinding ScrollViewer.VerticalScrollMode}"
|
| 185 | VerticalScrollBarVisibility="{TemplateBinding ScrollViewer.VerticalScrollBarVisibility}"
|
| 186 | IsHorizontalRailEnabled="{TemplateBinding ScrollViewer.IsHorizontalRailEnabled}"
|
| 187 | IsVerticalRailEnabled="{TemplateBinding ScrollViewer.IsVerticalRailEnabled}"
|
| 188 | IsDeferredScrollingEnabled="{TemplateBinding ScrollViewer.IsDeferredScrollingEnabled}"
|
| 189 | Margin="5"
|
| 190 | Padding="{TemplateBinding Padding}"
|
| 191 | IsTabStop="False"
|
| 192 | AutomationProperties.AccessibilityView="Raw"
|
| 193 | ZoomMode="Disabled"/>
|
| 194 |
|
| 195 | <Button x:Name="DeleteButton"
|
| 196 | Background="Transparent"
|
| 197 | Grid.Row="1"
|
| 198 | FontFamily="Segoe MDL2 Assets"
|
| 199 | Foreground="LightBlue"
|
| 200 | Content=""
|
| 201 | BorderThickness="{TemplateBinding BorderThickness}"
|
| 202 | Margin="{ThemeResource HelperButtonThemePadding}"
|
| 203 | IsTabStop="False"
|
| 204 | Grid.Column="1"
|
| 205 | Visibility="Visible"
|
| 206 | FontSize="{TemplateBinding FontSize}"
|
| 207 | MinWidth="34"
|
| 208 | VerticalAlignment="Stretch"/>
|
| 209 | </Grid>
|
| 210 | </ControlTemplate>
|
| 211 | </Setter.Value>
|
| 212 | </Setter>
|
| 213 | </Style>
|
| 214 | <Style x:Key="TextBoxStyle2"
|
| 215 | TargetType="TextBox">
|
| 216 | <Setter Property="IsReadOnly" Value="True"/>
|
| 217 | <Setter Property="FontWeight" Value="Bold"/>
|
| 218 | <Setter Property="Foreground" Value="Black"/>
|
| 219 | <Setter Property="Background" Value="Transparent"/>
|
| 220 | <Setter Property="BorderBrush" Value="Transparent"/>
|
| 221 | <Setter Property="BorderThickness" Value="0"/>
|
| 222 | <Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}"/>
|
| 223 | <Setter Property="FontSize" Value="12"/>
|
| 224 | </Style>
|
| 225 |
|
| 226 | <!-- console -->
|
Nicolas Jager | 998fbd7 | 2016-08-08 11:41:28 -0400 | [diff] [blame] | 227 | <Style x:Key="ConsoleScrollViewerStyle"
|
| 228 | TargetType="ScrollViewer">
|
| 229 | <Setter Property="Background"
|
| 230 | Value="Black"/>
|
| 231 | </Style>
|
| 232 | <Style x:Key="ConsoleTextStyle1"
|
| 233 | TargetType="RichTextBlock">
|
| 234 | <Setter Property="FontSize"
|
| 235 | Value="12"/>
|
| 236 | <Setter Property="Foreground"
|
| 237 | Value="GreenYellow"/>
|
| 238 | </Style>
|
| 239 | <Style x:Key="ButtonSendCmdStyle"
|
| 240 | TargetType="Button">
|
| 241 | <Setter Property="FontFamily"
|
| 242 | Value="Segoe MDL2 Assets"/>
|
| 243 | <Setter Property="Width"
|
| 244 | Value="50"/>
|
| 245 | <Setter Property="Height"
|
| 246 | Value="30"/>
|
| 247 | <Setter Property="Foreground"
|
| 248 | Value="Black"/>
|
| 249 | <Setter Property="FontSize"
|
| 250 | Value="17"/>
|
| 251 | <Setter Property="Content"
|
| 252 | Value=""/>
|
| 253 | <Setter Property="Background"
|
| 254 | Value="Transparent"/>
|
| 255 | </Style>
|
| 256 | <Style x:Key="ConsoleTextBoxStyle"
|
| 257 | TargetType="TextBox">
|
| 258 | <Setter Property="Height"
|
| 259 | Value="30"/>
|
| 260 | </Style>
|
| 261 |
|
Nicolas Jager | bff5fbb | 2016-08-18 08:58:56 -0400 | [diff] [blame] | 262 | <!-- smartlist -->
|
| 263 | <Style x:Key="contactsListBoxStyle" TargetType="ListBoxItem">
|
| 264 | <Setter Property="MinWidth" Value="{StaticResource SplitViewCompactPaneThemeLength}"/>
|
| 265 | <Setter Property="Height" Value="auto"/>
|
| 266 | <Setter Property="Padding" Value="0"/>
|
| 267 | </Style>
|
| 268 |
|
| 269 | <Style x:Key ="greenRoundedButtonStyle1" TargetType ="Button">
|
| 270 | <Setter Property="Height" Value="50"/>
|
| 271 | <Setter Property="FontSize" Value="30"/>
|
| 272 |
|
| 273 | <Setter Property ="Template">
|
| 274 | <Setter.Value>
|
| 275 | <ControlTemplate TargetType ="Button">
|
| 276 | <Grid>
|
| 277 | <Ellipse Name ="OuterRing" Width ="50" Height ="50" Fill ="LightGreen"/>
|
| 278 | <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="White"/>
|
| 279 | </Grid>
|
| 280 | </ControlTemplate>
|
| 281 | </Setter.Value>
|
| 282 | </Setter>
|
| 283 | </Style>
|
| 284 | <Style x:Key ="redRoundedButtonStyle1" TargetType ="Button">
|
| 285 | <Setter Property ="Foreground" Value ="Black"/>
|
| 286 | <Setter Property ="FontWeight" Value ="Bold"/>
|
| 287 | <Setter Property ="Template">
|
| 288 | <Setter.Value>
|
| 289 | <ControlTemplate TargetType ="Button">
|
| 290 | <Grid>
|
| 291 | <Ellipse Name ="OuterRing" Width ="50" Height ="50" Fill ="LightCoral"/>
|
| 292 | <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="White"/>
|
| 293 | </Grid>
|
| 294 | </ControlTemplate>
|
| 295 | </Setter.Value>
|
| 296 | </Setter>
|
| 297 | </Style>
|
| 298 |
|
| 299 | <Style x:Key="BorderStyle1"
|
| 300 | TargetType="Border">
|
| 301 | <Setter Property="Background" Value="LightBlue"/>
|
| 302 | <Setter Property="CornerRadius" Value="6"/>
|
| 303 | <Setter Property="Width" Value="25"/>
|
| 304 | <Setter Property="Height" Value="23"/>
|
| 305 | <Setter Property="Padding" Value="4"/>
|
| 306 | </Style>
|
| 307 | <Style x:Key="BorderStyle2"
|
| 308 | TargetType="Border">
|
| 309 | <Setter Property="Background" Value="Red"/>
|
| 310 | <Setter Property="CornerRadius" Value="6"/>
|
| 311 | <Setter Property="Width" Value="25"/>
|
| 312 | <Setter Property="Height" Value="23"/>
|
| 313 | <Setter Property="Padding" Value="4"/>
|
| 314 | </Style>
|
| 315 |
|
| 316 |
|
Nicolas Jager | 998fbd7 | 2016-08-08 11:41:28 -0400 | [diff] [blame] | 317 | </ResourceDictionary>
|