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>
|
Nicolas Jager | 95c526b | 2016-10-20 09:47:03 -0400 | [diff] [blame] | 59 | <Style x:Key="TextStyle4"
|
| 60 | TargetType="TextBlock">
|
| 61 | <Setter Property="FontSize"
|
| 62 | Value="12"/>
|
| 63 | <Setter Property="HorizontalAlignment"
|
| 64 | Value="Center"/>
|
| 65 | <Setter Property="VerticalAlignment"
|
| 66 | Value="Center"/>
|
| 67 | <Setter Property="Foreground"
|
| 68 | Value="Black"/>
|
| 69 | </Style>
|
Nicolas Jager | 586e362 | 2016-10-21 08:21:11 -0400 | [diff] [blame] | 70 | <Style x:Key="TextStyle5"
|
| 71 | TargetType="TextBlock">
|
| 72 | <Setter Property="FontSize"
|
| 73 | Value="15"/>
|
| 74 | <Setter Property="HorizontalAlignment"
|
| 75 | Value="Left"/>
|
| 76 | <Setter Property="VerticalAlignment"
|
| 77 | Value="Center"/>
|
| 78 | <Setter Property="FontStyle"
|
| 79 | Value="Italic"/>
|
| 80 | <Setter Property="Foreground"
|
| 81 | Value="Black"/>
|
| 82 | </Style>
|
| 83 | <Style x:Key="TextStyle6"
|
| 84 | TargetType="TextBlock">
|
| 85 | <Setter Property="FontSize"
|
| 86 | Value="12"/>
|
| 87 | <Setter Property="HorizontalAlignment"
|
| 88 | Value="Left"/>
|
| 89 | <Setter Property="VerticalAlignment"
|
| 90 | Value="Center"/>
|
| 91 | <Setter Property="Foreground"
|
| 92 | Value="Black"/>
|
| 93 | </Style>
|
Nicolas Jager | bff5fbb | 2016-08-18 08:58:56 -0400 | [diff] [blame] | 94 | <Style x:Key="TextSegoeStyle1"
|
| 95 | TargetType="TextBlock">
|
| 96 | <Setter Property="FontFamily"
|
| 97 | Value="Segoe MDL2 Assets"/>
|
| 98 | <Setter Property="FontSize"
|
| 99 | Value="15"/>
|
| 100 | <Setter Property="HorizontalAlignment"
|
| 101 | Value="Center"/>
|
| 102 | <Setter Property="VerticalAlignment"
|
| 103 | Value="Center"/>
|
| 104 | <Setter Property="Foreground"
|
| 105 | Value="White"/>
|
| 106 | </Style>
|
Nicolas Jager | 6abfc0d | 2016-10-21 14:57:47 -0400 | [diff] [blame^] | 107 | <Style x:Key="TextSegoeStyle-20pt-black"
|
| 108 | TargetType="TextBlock">
|
| 109 | <Setter Property="FontFamily"
|
| 110 | Value="Segoe MDL2 Assets"/>
|
| 111 | <Setter Property="FontSize"
|
| 112 | Value="20"/>
|
| 113 | <Setter Property="HorizontalAlignment"
|
| 114 | Value="Left"/>
|
| 115 | <Setter Property="VerticalAlignment"
|
| 116 | Value="Center"/>
|
| 117 | <Setter Property="Foreground"
|
| 118 | Value="Black"/>
|
| 119 | </Style>
|
Nicolas Jager | 1586120 | 2016-08-12 11:13:05 -0400 | [diff] [blame] | 120 | <Style x:Key="ButtonStyle1"
|
| 121 | TargetType="Button">
|
| 122 | <Setter Property="Width"
|
| 123 | Value="50"/>
|
| 124 | <Setter Property="Height"
|
| 125 | Value="50"/>
|
| 126 | <Setter Property="FontFamily"
|
| 127 | Value="Segoe MDL2 Assets"/>
|
| 128 | <Setter Property="Foreground"
|
| 129 | Value="White"/>
|
| 130 | </Style>
|
atraczyk | 0cf42d7 | 2016-09-06 11:16:37 -0400 | [diff] [blame] | 131 | <Style x:Key="HamburgerButtonStyle"
|
| 132 | TargetType="Button">
|
| 133 | <Setter Property="Width"
|
| 134 | Value="50"/>
|
| 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 | 1586120 | 2016-08-12 11:13:05 -0400 | [diff] [blame] | 144 | <Style x:Key="ButtonStyle2"
|
Nicolas Jager | bff5fbb | 2016-08-18 08:58:56 -0400 | [diff] [blame] | 145 | TargetType="Button">
|
| 146 | <Setter Property="Width"
|
atraczyk | 61b2842 | 2016-08-24 09:25:59 -0400 | [diff] [blame] | 147 | Value="400"/>
|
Nicolas Jager | bff5fbb | 2016-08-18 08:58:56 -0400 | [diff] [blame] | 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>
|
| 157 | <Style x:Key="ButtonStyle3"
|
Nicolas Jager | 1586120 | 2016-08-12 11:13:05 -0400 | [diff] [blame] | 158 | TargetType="Button">
|
Nicolas Jager | bff5fbb | 2016-08-18 08:58:56 -0400 | [diff] [blame] | 159 | <Setter Property="Foreground"
|
| 160 | Value="Black"/>
|
| 161 | <Setter Property="Background"
|
| 162 | Value="Transparent"/>
|
| 163 | <Setter Property="FontFamily"
|
| 164 | Value="Segoe MDL2 Assets"/>
|
| 165 | <Setter Property="Width"
|
| 166 | Value="80"/>
|
| 167 | <Setter Property="Width"
|
| 168 | Value="120"/>
|
| 169 | <Setter Property="FontSize"
|
| 170 | Value="70"/>
|
| 171 | </Style>
|
atraczyk | 61b2842 | 2016-08-24 09:25:59 -0400 | [diff] [blame] | 172 | <Style x:Key="ButtonStyle4"
|
| 173 | TargetType="Button">
|
| 174 | <Setter Property="Foreground"
|
| 175 | Value="White"/>
|
| 176 | <Setter Property="Background"
|
| 177 | Value="LightBlue"/>
|
| 178 | </Style>
|
atraczyk | 196936e | 2016-09-02 15:31:53 -0400 | [diff] [blame] | 179 | <Style x:Key="ButtonStyle5"
|
| 180 | TargetType="Button">
|
| 181 | <Setter Property="Width"
|
| 182 | Value="160"/>
|
| 183 | <Setter Property="Height"
|
| 184 | Value="30"/>
|
| 185 | <Setter Property="FontFamily"
|
| 186 | Value="Segoe MDL2 Assets"/>
|
| 187 | <Setter Property="Foreground"
|
| 188 | Value="White"/>
|
| 189 | <Setter Property="Background"
|
| 190 | Value="Transparent"/>
|
| 191 | </Style>
|
atraczyk | e87716f | 2016-09-20 13:46:22 -0400 | [diff] [blame] | 192 | <Style x:Key="ButtonStyle6"
|
| 193 | TargetType="Button">
|
| 194 | <Setter Property="Width"
|
| 195 | Value="320"/>
|
| 196 | <Setter Property="Height"
|
| 197 | Value="30"/>
|
| 198 | <Setter Property="FontFamily"
|
| 199 | Value="Segoe MDL2 Assets"/>
|
| 200 | <Setter Property="Foreground"
|
| 201 | Value="White"/>
|
| 202 | <Setter Property="Background"
|
| 203 | Value="Transparent"/>
|
| 204 | </Style>
|
Nicolas Jager | 586e362 | 2016-10-21 08:21:11 -0400 | [diff] [blame] | 205 | <Style x:Key="ButtonStyle7"
|
| 206 | TargetType="Button">
|
| 207 | <Setter Property="Width"
|
| 208 | Value="20"/>
|
| 209 | <Setter Property="Height"
|
| 210 | Value="20"/>
|
| 211 | <Setter Property="FontFamily"
|
| 212 | Value="Segoe MDL2 Assets"/>
|
| 213 | <Setter Property="Foreground"
|
| 214 | Value="White"/>
|
| 215 | <Setter Property="Background"
|
| 216 | Value="Transparent"/>
|
| 217 | </Style>
|
Nicolas Jager | bff5fbb | 2016-08-18 08:58:56 -0400 | [diff] [blame] | 218 | <Style x:Key="ToggleButtonStyle1"
|
| 219 | TargetType="ToggleButton">
|
Nicolas Jager | 1586120 | 2016-08-12 11:13:05 -0400 | [diff] [blame] | 220 | <Setter Property="Width"
|
| 221 | Value="50"/>
|
| 222 | <Setter Property="Height"
|
| 223 | Value="30"/>
|
| 224 | <Setter Property="FontFamily"
|
| 225 | Value="Segoe MDL2 Assets"/>
|
| 226 | <Setter Property="Foreground"
|
| 227 | Value="White"/>
|
| 228 | <Setter Property="Background"
|
| 229 | Value="Transparent"/>
|
| 230 | </Style>
|
Nicolas Jager | bff5fbb | 2016-08-18 08:58:56 -0400 | [diff] [blame] | 231 | <Style x:Key="TextBoxStyle2"
|
| 232 | TargetType="TextBox">
|
| 233 | <Setter Property="IsReadOnly" Value="True"/>
|
| 234 | <Setter Property="FontWeight" Value="Bold"/>
|
| 235 | <Setter Property="Foreground" Value="Black"/>
|
| 236 | <Setter Property="Background" Value="Transparent"/>
|
| 237 | <Setter Property="BorderBrush" Value="Transparent"/>
|
| 238 | <Setter Property="BorderThickness" Value="0"/>
|
| 239 | <Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}"/>
|
| 240 | <Setter Property="FontSize" Value="12"/>
|
| 241 | </Style>
|
| 242 |
|
| 243 | <!-- console -->
|
Nicolas Jager | 998fbd7 | 2016-08-08 11:41:28 -0400 | [diff] [blame] | 244 | <Style x:Key="ConsoleScrollViewerStyle"
|
| 245 | TargetType="ScrollViewer">
|
| 246 | <Setter Property="Background"
|
| 247 | Value="Black"/>
|
| 248 | </Style>
|
| 249 | <Style x:Key="ConsoleTextStyle1"
|
| 250 | TargetType="RichTextBlock">
|
| 251 | <Setter Property="FontSize"
|
| 252 | Value="12"/>
|
| 253 | <Setter Property="Foreground"
|
| 254 | Value="GreenYellow"/>
|
| 255 | </Style>
|
| 256 | <Style x:Key="ButtonSendCmdStyle"
|
| 257 | TargetType="Button">
|
| 258 | <Setter Property="FontFamily"
|
| 259 | Value="Segoe MDL2 Assets"/>
|
| 260 | <Setter Property="Width"
|
| 261 | Value="50"/>
|
| 262 | <Setter Property="Height"
|
| 263 | Value="30"/>
|
| 264 | <Setter Property="Foreground"
|
| 265 | Value="Black"/>
|
| 266 | <Setter Property="FontSize"
|
| 267 | Value="17"/>
|
| 268 | <Setter Property="Content"
|
| 269 | Value=""/>
|
| 270 | <Setter Property="Background"
|
| 271 | Value="Transparent"/>
|
| 272 | </Style>
|
| 273 | <Style x:Key="ConsoleTextBoxStyle"
|
| 274 | TargetType="TextBox">
|
| 275 | <Setter Property="Height"
|
| 276 | Value="30"/>
|
| 277 | </Style>
|
| 278 |
|
Nicolas Jager | bff5fbb | 2016-08-18 08:58:56 -0400 | [diff] [blame] | 279 | <!-- smartlist -->
|
| 280 | <Style x:Key="contactsListBoxStyle" TargetType="ListBoxItem">
|
| 281 | <Setter Property="MinWidth" Value="{StaticResource SplitViewCompactPaneThemeLength}"/>
|
| 282 | <Setter Property="Height" Value="auto"/>
|
| 283 | <Setter Property="Padding" Value="0"/>
|
| 284 | </Style>
|
| 285 |
|
| 286 | <Style x:Key ="greenRoundedButtonStyle1" TargetType ="Button">
|
| 287 | <Setter Property="Height" Value="50"/>
|
| 288 | <Setter Property="FontSize" Value="30"/>
|
| 289 |
|
| 290 | <Setter Property ="Template">
|
| 291 | <Setter.Value>
|
| 292 | <ControlTemplate TargetType ="Button">
|
| 293 | <Grid>
|
| 294 | <Ellipse Name ="OuterRing" Width ="50" Height ="50" Fill ="LightGreen"/>
|
| 295 | <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="White"/>
|
| 296 | </Grid>
|
| 297 | </ControlTemplate>
|
| 298 | </Setter.Value>
|
| 299 | </Setter>
|
| 300 | </Style>
|
| 301 | <Style x:Key ="redRoundedButtonStyle1" TargetType ="Button">
|
| 302 | <Setter Property ="Foreground" Value ="Black"/>
|
| 303 | <Setter Property ="FontWeight" Value ="Bold"/>
|
| 304 | <Setter Property ="Template">
|
| 305 | <Setter.Value>
|
| 306 | <ControlTemplate TargetType ="Button">
|
| 307 | <Grid>
|
| 308 | <Ellipse Name ="OuterRing" Width ="50" Height ="50" Fill ="LightCoral"/>
|
| 309 | <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="White"/>
|
| 310 | </Grid>
|
| 311 | </ControlTemplate>
|
| 312 | </Setter.Value>
|
| 313 | </Setter>
|
| 314 | </Style>
|
| 315 |
|
| 316 | <Style x:Key="BorderStyle1"
|
| 317 | TargetType="Border">
|
| 318 | <Setter Property="Background" Value="LightBlue"/>
|
| 319 | <Setter Property="CornerRadius" Value="6"/>
|
| 320 | <Setter Property="Width" Value="25"/>
|
| 321 | <Setter Property="Height" Value="23"/>
|
| 322 | <Setter Property="Padding" Value="4"/>
|
| 323 | </Style>
|
| 324 | <Style x:Key="BorderStyle2"
|
| 325 | TargetType="Border">
|
| 326 | <Setter Property="Background" Value="Red"/>
|
| 327 | <Setter Property="CornerRadius" Value="6"/>
|
| 328 | <Setter Property="Width" Value="25"/>
|
| 329 | <Setter Property="Height" Value="23"/>
|
| 330 | <Setter Property="Padding" Value="4"/>
|
| 331 | </Style>
|
Nicolas Jager | 586e362 | 2016-10-21 08:21:11 -0400 | [diff] [blame] | 332 | <Style x:Key="BorderStyle3"
|
| 333 | TargetType="Border">
|
| 334 | <Setter Property="Background" Value="LightBlue"/>
|
| 335 | <Setter Property="CornerRadius" Value="6"/>
|
| 336 | <Setter Property="Width" Value="28"/>
|
| 337 | <Setter Property="Height" Value="50"/>
|
| 338 | <Setter Property="BorderThickness" Value="2"/>
|
| 339 | <Setter Property="BorderBrush" Value="white"/>
|
| 340 | <Setter Property="Padding" Value="4"/>
|
| 341 | </Style>
|
Nicolas Jager | 7bef149 | 2016-09-14 11:23:29 -0400 | [diff] [blame] | 342 | <Style x:Key="messageBubleStyle"
|
| 343 | TargetType="ListBoxItem">
|
| 344 | <Setter Property="HorizontalAlignment" Value="Stretch" />
|
| 345 | <Setter Property="HorizontalContentAlignment" Value="Stretch" />
|
| 346 | <Setter Property="Margin" Value="20,0,40,0"/>
|
| 347 | <Setter Property="Template">
|
| 348 | <Setter.Value>
|
| 349 | <ControlTemplate TargetType="ListBoxItem">
|
| 350 | <Border Background="Transparent">
|
| 351 | <VisualStateManager.VisualStateGroups>
|
| 352 | <VisualStateGroup x:Name="SelectionStates">
|
| 353 | <VisualState x:Name="Selected" />
|
| 354 | <VisualState x:Name="Unselected">
|
| 355 | </VisualState>
|
| 356 | </VisualStateGroup>
|
| 357 | </VisualStateManager.VisualStateGroups>
|
| 358 | <ContentPresenter />
|
| 359 | </Border>
|
| 360 | </ControlTemplate>
|
| 361 | </Setter.Value>
|
| 362 | </Setter>
|
| 363 | </Style>
|
Nicolas Jager | c551c36 | 2016-10-01 19:24:50 -0400 | [diff] [blame] | 364 | <!-- rounded button for call -->
|
| 365 | <Style x:Key ="roundButtonTemplate" TargetType ="Button">
|
| 366 | <Setter Property ="Foreground" Value ="Black"/>
|
| 367 | <Setter Property ="FontWeight" Value ="Bold"/>
|
| 368 | <Setter Property ="Template">
|
| 369 | <Setter.Value>
|
| 370 | <ControlTemplate TargetType ="Button">
|
| 371 | <Grid>
|
| 372 | <Ellipse Name ="OuterRing" Width ="30" Height ="30" Fill ="LightBlue"/>
|
| 373 | <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="White"/>
|
| 374 | </Grid>
|
| 375 | </ControlTemplate>
|
| 376 | </Setter.Value>
|
| 377 | </Setter>
|
| 378 | </Style>
|
Nicolas Jager | bff5fbb | 2016-08-18 08:58:56 -0400 | [diff] [blame] | 379 |
|
Nicolas Jager | 998fbd7 | 2016-08-08 11:41:28 -0400 | [diff] [blame] | 380 | </ResourceDictionary>
|