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>
|
atraczyk | 0cf42d7 | 2016-09-06 11:16:37 -0400 | [diff] [blame] | 83 | <Style x:Key="HamburgerButtonStyle"
|
| 84 | TargetType="Button">
|
| 85 | <Setter Property="Width"
|
| 86 | Value="50"/>
|
| 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>
|
Nicolas Jager | 1586120 | 2016-08-12 11:13:05 -0400 | [diff] [blame] | 96 | <Style x:Key="ButtonStyle2"
|
Nicolas Jager | bff5fbb | 2016-08-18 08:58:56 -0400 | [diff] [blame] | 97 | TargetType="Button">
|
| 98 | <Setter Property="Width"
|
atraczyk | 61b2842 | 2016-08-24 09:25:59 -0400 | [diff] [blame] | 99 | Value="400"/>
|
Nicolas Jager | bff5fbb | 2016-08-18 08:58:56 -0400 | [diff] [blame] | 100 | <Setter Property="Height"
|
| 101 | Value="30"/>
|
| 102 | <Setter Property="FontFamily"
|
| 103 | Value="Segoe MDL2 Assets"/>
|
| 104 | <Setter Property="Foreground"
|
| 105 | Value="White"/>
|
| 106 | <Setter Property="Background"
|
| 107 | Value="Transparent"/>
|
| 108 | </Style>
|
| 109 | <Style x:Key="ButtonStyle3"
|
Nicolas Jager | 1586120 | 2016-08-12 11:13:05 -0400 | [diff] [blame] | 110 | TargetType="Button">
|
Nicolas Jager | bff5fbb | 2016-08-18 08:58:56 -0400 | [diff] [blame] | 111 | <Setter Property="Foreground"
|
| 112 | Value="Black"/>
|
| 113 | <Setter Property="Background"
|
| 114 | Value="Transparent"/>
|
| 115 | <Setter Property="FontFamily"
|
| 116 | Value="Segoe MDL2 Assets"/>
|
| 117 | <Setter Property="Width"
|
| 118 | Value="80"/>
|
| 119 | <Setter Property="Width"
|
| 120 | Value="120"/>
|
| 121 | <Setter Property="FontSize"
|
| 122 | Value="70"/>
|
| 123 | </Style>
|
atraczyk | 61b2842 | 2016-08-24 09:25:59 -0400 | [diff] [blame] | 124 | <Style x:Key="ButtonStyle4"
|
| 125 | TargetType="Button">
|
| 126 | <Setter Property="Foreground"
|
| 127 | Value="White"/>
|
| 128 | <Setter Property="Background"
|
| 129 | Value="LightBlue"/>
|
| 130 | </Style>
|
atraczyk | 196936e | 2016-09-02 15:31:53 -0400 | [diff] [blame] | 131 | <Style x:Key="ButtonStyle5"
|
| 132 | TargetType="Button">
|
| 133 | <Setter Property="Width"
|
| 134 | Value="160"/>
|
| 135 | <Setter Property="Height"
|
| 136 | Value="30"/>
|
| 137 | <Setter Property="FontFamily"
|
| 138 | Value="Segoe MDL2 Assets"/>
|
| 139 | <Setter Property="Foreground"
|
| 140 | Value="White"/>
|
| 141 | <Setter Property="Background"
|
| 142 | Value="Transparent"/>
|
| 143 | </Style>
|
Nicolas Jager | bff5fbb | 2016-08-18 08:58:56 -0400 | [diff] [blame] | 144 | <Style x:Key="ToggleButtonStyle1"
|
| 145 | TargetType="ToggleButton">
|
Nicolas Jager | 1586120 | 2016-08-12 11:13:05 -0400 | [diff] [blame] | 146 | <Setter Property="Width"
|
| 147 | Value="50"/>
|
| 148 | <Setter Property="Height"
|
| 149 | Value="30"/>
|
| 150 | <Setter Property="FontFamily"
|
| 151 | Value="Segoe MDL2 Assets"/>
|
| 152 | <Setter Property="Foreground"
|
| 153 | Value="White"/>
|
| 154 | <Setter Property="Background"
|
| 155 | Value="Transparent"/>
|
| 156 | </Style>
|
Nicolas Jager | bff5fbb | 2016-08-18 08:58:56 -0400 | [diff] [blame] | 157 | <Style x:Key="TextBoxStyle1"
|
| 158 | TargetType="TextBox">
|
| 159 | <Setter Property="MinWidth" Value="{ThemeResource TextControlThemeMinWidth}"/>
|
| 160 | <Setter Property="MinHeight" Value="{ThemeResource TextControlThemeMinHeight}"/>
|
| 161 | <Setter Property="Foreground" Value="Black"/>
|
| 162 | <Setter Property="Background" Value="white"/>
|
| 163 | <Setter Property="BorderBrush" Value="Red"/>
|
| 164 | <Setter Property="BorderThickness" Value="0"/>
|
| 165 | <Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}"/>
|
| 166 | <Setter Property="FontSize" Value="{ThemeResource ControlContentThemeFontSize}"/>
|
| 167 | <Setter Property="ScrollViewer.HorizontalScrollMode" Value="Auto"/>
|
| 168 | <Setter Property="ScrollViewer.VerticalScrollMode" Value="Auto"/>
|
| 169 | <Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Hidden"/>
|
| 170 | <Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Hidden"/>
|
| 171 | <Setter Property="ScrollViewer.IsDeferredScrollingEnabled" Value="False"/>
|
| 172 | <Setter Property="Padding" Value="4,4"/>
|
| 173 | <Setter Property="Template">
|
| 174 | <Setter.Value>
|
| 175 | <ControlTemplate TargetType="TextBox">
|
| 176 | <Grid>
|
| 177 | <Grid.Resources>
|
| 178 | <Style x:Name="DeleteButtonStyle" TargetType="Button">
|
| 179 | <Setter Property="Template">
|
| 180 | <Setter.Value>
|
| 181 | <ControlTemplate TargetType="Button">
|
| 182 | <Grid x:Name="ButtonLayoutGrid"
|
| 183 | BorderThickness="5"
|
| 184 | Background="Yellow">
|
| 185 | </Grid>
|
| 186 | </ControlTemplate>
|
| 187 | </Setter.Value>
|
| 188 | </Setter>
|
| 189 | </Style>
|
| 190 | </Grid.Resources>
|
| 191 | <Grid.ColumnDefinitions>
|
| 192 | <ColumnDefinition Width="*"/>
|
| 193 | <ColumnDefinition Width="Auto"/>
|
| 194 | </Grid.ColumnDefinitions>
|
| 195 | <Grid.RowDefinitions>
|
| 196 | <RowDefinition Height="Auto"/>
|
| 197 | <RowDefinition Height="*"/>
|
| 198 | </Grid.RowDefinitions>
|
| 199 | <Border x:Name="BackgroundElement"
|
| 200 | Grid.Row="1"
|
| 201 | Background="{TemplateBinding Background}"
|
| 202 | Margin="5"
|
| 203 | Opacity="1"
|
| 204 | Grid.ColumnSpan="2"
|
| 205 | Grid.RowSpan="1"/>
|
| 206 | <ScrollViewer x:Name="ContentElement"
|
| 207 | Grid.Row="1"
|
| 208 | HorizontalScrollMode="{TemplateBinding ScrollViewer.HorizontalScrollMode}"
|
| 209 | HorizontalScrollBarVisibility="{TemplateBinding ScrollViewer.HorizontalScrollBarVisibility}"
|
| 210 | VerticalScrollMode="{TemplateBinding ScrollViewer.VerticalScrollMode}"
|
| 211 | VerticalScrollBarVisibility="{TemplateBinding ScrollViewer.VerticalScrollBarVisibility}"
|
| 212 | IsHorizontalRailEnabled="{TemplateBinding ScrollViewer.IsHorizontalRailEnabled}"
|
| 213 | IsVerticalRailEnabled="{TemplateBinding ScrollViewer.IsVerticalRailEnabled}"
|
| 214 | IsDeferredScrollingEnabled="{TemplateBinding ScrollViewer.IsDeferredScrollingEnabled}"
|
| 215 | Margin="5"
|
| 216 | Padding="{TemplateBinding Padding}"
|
| 217 | IsTabStop="False"
|
| 218 | AutomationProperties.AccessibilityView="Raw"
|
| 219 | ZoomMode="Disabled"/>
|
| 220 |
|
| 221 | <Button x:Name="DeleteButton"
|
| 222 | Background="Transparent"
|
| 223 | Grid.Row="1"
|
| 224 | FontFamily="Segoe MDL2 Assets"
|
| 225 | Foreground="LightBlue"
|
| 226 | Content=""
|
| 227 | BorderThickness="{TemplateBinding BorderThickness}"
|
| 228 | Margin="{ThemeResource HelperButtonThemePadding}"
|
| 229 | IsTabStop="False"
|
| 230 | Grid.Column="1"
|
| 231 | Visibility="Visible"
|
| 232 | FontSize="{TemplateBinding FontSize}"
|
| 233 | MinWidth="34"
|
| 234 | VerticalAlignment="Stretch"/>
|
| 235 | </Grid>
|
| 236 | </ControlTemplate>
|
| 237 | </Setter.Value>
|
| 238 | </Setter>
|
| 239 | </Style>
|
| 240 | <Style x:Key="TextBoxStyle2"
|
| 241 | TargetType="TextBox">
|
| 242 | <Setter Property="IsReadOnly" Value="True"/>
|
| 243 | <Setter Property="FontWeight" Value="Bold"/>
|
| 244 | <Setter Property="Foreground" Value="Black"/>
|
| 245 | <Setter Property="Background" Value="Transparent"/>
|
| 246 | <Setter Property="BorderBrush" Value="Transparent"/>
|
| 247 | <Setter Property="BorderThickness" Value="0"/>
|
| 248 | <Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}"/>
|
| 249 | <Setter Property="FontSize" Value="12"/>
|
| 250 | </Style>
|
| 251 |
|
| 252 | <!-- console -->
|
Nicolas Jager | 998fbd7 | 2016-08-08 11:41:28 -0400 | [diff] [blame] | 253 | <Style x:Key="ConsoleScrollViewerStyle"
|
| 254 | TargetType="ScrollViewer">
|
| 255 | <Setter Property="Background"
|
| 256 | Value="Black"/>
|
| 257 | </Style>
|
| 258 | <Style x:Key="ConsoleTextStyle1"
|
| 259 | TargetType="RichTextBlock">
|
| 260 | <Setter Property="FontSize"
|
| 261 | Value="12"/>
|
| 262 | <Setter Property="Foreground"
|
| 263 | Value="GreenYellow"/>
|
| 264 | </Style>
|
| 265 | <Style x:Key="ButtonSendCmdStyle"
|
| 266 | TargetType="Button">
|
| 267 | <Setter Property="FontFamily"
|
| 268 | Value="Segoe MDL2 Assets"/>
|
| 269 | <Setter Property="Width"
|
| 270 | Value="50"/>
|
| 271 | <Setter Property="Height"
|
| 272 | Value="30"/>
|
| 273 | <Setter Property="Foreground"
|
| 274 | Value="Black"/>
|
| 275 | <Setter Property="FontSize"
|
| 276 | Value="17"/>
|
| 277 | <Setter Property="Content"
|
| 278 | Value=""/>
|
| 279 | <Setter Property="Background"
|
| 280 | Value="Transparent"/>
|
| 281 | </Style>
|
| 282 | <Style x:Key="ConsoleTextBoxStyle"
|
| 283 | TargetType="TextBox">
|
| 284 | <Setter Property="Height"
|
| 285 | Value="30"/>
|
| 286 | </Style>
|
| 287 |
|
Nicolas Jager | bff5fbb | 2016-08-18 08:58:56 -0400 | [diff] [blame] | 288 | <!-- smartlist -->
|
| 289 | <Style x:Key="contactsListBoxStyle" TargetType="ListBoxItem">
|
| 290 | <Setter Property="MinWidth" Value="{StaticResource SplitViewCompactPaneThemeLength}"/>
|
| 291 | <Setter Property="Height" Value="auto"/>
|
| 292 | <Setter Property="Padding" Value="0"/>
|
| 293 | </Style>
|
| 294 |
|
| 295 | <Style x:Key ="greenRoundedButtonStyle1" TargetType ="Button">
|
| 296 | <Setter Property="Height" Value="50"/>
|
| 297 | <Setter Property="FontSize" Value="30"/>
|
| 298 |
|
| 299 | <Setter Property ="Template">
|
| 300 | <Setter.Value>
|
| 301 | <ControlTemplate TargetType ="Button">
|
| 302 | <Grid>
|
| 303 | <Ellipse Name ="OuterRing" Width ="50" Height ="50" Fill ="LightGreen"/>
|
| 304 | <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="White"/>
|
| 305 | </Grid>
|
| 306 | </ControlTemplate>
|
| 307 | </Setter.Value>
|
| 308 | </Setter>
|
| 309 | </Style>
|
| 310 | <Style x:Key ="redRoundedButtonStyle1" TargetType ="Button">
|
| 311 | <Setter Property ="Foreground" Value ="Black"/>
|
| 312 | <Setter Property ="FontWeight" Value ="Bold"/>
|
| 313 | <Setter Property ="Template">
|
| 314 | <Setter.Value>
|
| 315 | <ControlTemplate TargetType ="Button">
|
| 316 | <Grid>
|
| 317 | <Ellipse Name ="OuterRing" Width ="50" Height ="50" Fill ="LightCoral"/>
|
| 318 | <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="White"/>
|
| 319 | </Grid>
|
| 320 | </ControlTemplate>
|
| 321 | </Setter.Value>
|
| 322 | </Setter>
|
| 323 | </Style>
|
| 324 |
|
| 325 | <Style x:Key="BorderStyle1"
|
| 326 | TargetType="Border">
|
| 327 | <Setter Property="Background" Value="LightBlue"/>
|
| 328 | <Setter Property="CornerRadius" Value="6"/>
|
| 329 | <Setter Property="Width" Value="25"/>
|
| 330 | <Setter Property="Height" Value="23"/>
|
| 331 | <Setter Property="Padding" Value="4"/>
|
| 332 | </Style>
|
| 333 | <Style x:Key="BorderStyle2"
|
| 334 | TargetType="Border">
|
| 335 | <Setter Property="Background" Value="Red"/>
|
| 336 | <Setter Property="CornerRadius" Value="6"/>
|
| 337 | <Setter Property="Width" Value="25"/>
|
| 338 | <Setter Property="Height" Value="23"/>
|
| 339 | <Setter Property="Padding" Value="4"/>
|
| 340 | </Style>
|
Nicolas Jager | 7bef149 | 2016-09-14 11:23:29 -0400 | [diff] [blame] | 341 | <Style x:Key="messageBubleStyle"
|
| 342 | TargetType="ListBoxItem">
|
| 343 | <Setter Property="HorizontalAlignment" Value="Stretch" />
|
| 344 | <Setter Property="HorizontalContentAlignment" Value="Stretch" />
|
| 345 | <Setter Property="Margin" Value="20,0,40,0"/>
|
| 346 | <Setter Property="Template">
|
| 347 | <Setter.Value>
|
| 348 | <ControlTemplate TargetType="ListBoxItem">
|
| 349 | <Border Background="Transparent">
|
| 350 | <VisualStateManager.VisualStateGroups>
|
| 351 | <VisualStateGroup x:Name="SelectionStates">
|
| 352 | <VisualState x:Name="Selected" />
|
| 353 | <VisualState x:Name="Unselected">
|
| 354 | </VisualState>
|
| 355 | </VisualStateGroup>
|
| 356 | </VisualStateManager.VisualStateGroups>
|
| 357 | <ContentPresenter />
|
| 358 | </Border>
|
| 359 | </ControlTemplate>
|
| 360 | </Setter.Value>
|
| 361 | </Setter>
|
| 362 | </Style>
|
Nicolas Jager | bff5fbb | 2016-08-18 08:58:56 -0400 | [diff] [blame] | 363 |
|
Nicolas Jager | 998fbd7 | 2016-08-08 11:41:28 -0400 | [diff] [blame] | 364 | </ResourceDictionary>
|